RTEMS 4.11
Annotated Report
Fri Jul 2 09:24:05 2010

00048ce0 <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 ) {                                              
   48ce0:	7206           	moveq #6,%d1                                
#define MAXSYMLINK 5                                                  
                                                                      
int IMFS_Set_handlers(                                                
  rtems_filesystem_location_info_t   *loc                             
)                                                                     
{                                                                     
   48ce2:	4e56 0000      	linkw %fp,#0                                
   48ce6:	206e 0008      	moveal %fp@(8),%a0                          
   48cea:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
  switch( node->type ) {                                              
   48cec:	2450           	moveal %a0@,%a2                             
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
   48cee:	2268 0010      	moveal %a0@(16),%a1                         
  switch( node->type ) {                                              
   48cf2:	202a 0048      	movel %a2@(72),%d0                          
   48cf6:	5380           	subql #1,%d0                                
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
   48cf8:	2269 0034      	moveal %a1@(52),%a1                         
  switch( node->type ) {                                              
   48cfc:	b280           	cmpl %d0,%d1                                
   48cfe:	6546           	bcss 48d46 <IMFS_Set_handlers+0x66>         <== NEVER TAKEN
   48d00:	303b 0a08      	movew %pc@(48d0a <IMFS_Set_handlers+0x2a>,%d0:l:2),%d0
   48d04:	48c0           	extl %d0                                    
   48d06:	4efb 0802      	jmp %pc@(48d0a <IMFS_Set_handlers+0x2a>,%d0:l)
   48d0a:	000e           	016                                         <== NOT EXECUTED
   48d0c:	0016           	026                                         <== NOT EXECUTED
   48d0e:	0022           	042                                         <== NOT EXECUTED
   48d10:	0022           	042                                         <== NOT EXECUTED
   48d12:	002e           	056                                         <== NOT EXECUTED
   48d14:	002e           	056                                         <== NOT EXECUTED
   48d16:	0036           	066                                         <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
   48d18:	2169 000c 0008 	movel %a1@(12),%a0@(8)                      
      break;                                                          
   48d1e:	6026           	bras 48d46 <IMFS_Set_handlers+0x66>         
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
   48d20:	203c 0005 b3f4 	movel #373748,%d0                           
   48d26:	2140 0008      	movel %d0,%a0@(8)                           
      break;                                                          
   48d2a:	601a           	bras 48d46 <IMFS_Set_handlers+0x66>         
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
   48d2c:	223c 0005 b464 	movel #373860,%d1                           
   48d32:	2141 0008      	movel %d1,%a0@(8)                           
      break;                                                          
   48d36:	600e           	bras 48d46 <IMFS_Set_handlers+0x66>         
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
   48d38:	2169 0008 0008 	movel %a1@(8),%a0@(8)                       
      break;                                                          
   48d3e:	6006           	bras 48d46 <IMFS_Set_handlers+0x66>         
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
   48d40:	2169 0010 0008 	movel %a1@(16),%a0@(8)                      
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   48d46:	245f           	moveal %sp@+,%a2                            
   48d48:	4280           	clrl %d0                                    
   48d4a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048b20 <IMFS_allocate_node>: IMFS_jnode_t *IMFS_allocate_node( IMFS_jnode_types_t type, const char *name, mode_t mode ) {
   48b20:	4e56 fff8      	linkw %fp,#-8                               
   48b24:	2f0a           	movel %a2,%sp@-                             
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
   48b26:	4878 0060      	pea 60 <DBL_MANT_DIG+0x2b>                  
   48b2a:	4878 0001      	pea 1 <ADD>                                 
   48b2e:	4eb9 0004 2468 	jsr 42468 <calloc>                          
  if ( !node )                                                        
   48b34:	508f           	addql #8,%sp                                
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
   48b36:	2440           	moveal %d0,%a2                              
  if ( !node )                                                        
   48b38:	4a80           	tstl %d0                                    
   48b3a:	6758           	beqs 48b94 <IMFS_allocate_node+0x74>        <== NEVER TAKEN
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
  node->type     = type;                                              
  strncpy( node->name, name, IMFS_NAME_MAX );                         
   48b3c:	4878 0020      	pea 20 <OPER2+0xc>                          
   48b40:	2f2e 000c      	movel %fp@(12),%sp@-                        
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
  node->type     = type;                                              
   48b44:	256e 0008 0048 	movel %fp@(8),%a2@(72)                      
  strncpy( node->name, name, IMFS_NAME_MAX );                         
   48b4a:	486a 000c      	pea %a2@(12)                                
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
   48b4e:	7001           	moveq #1,%d0                                
   48b50:	3540 0032      	movew %d0,%a2@(50)                          
  node->type     = type;                                              
  strncpy( node->name, name, IMFS_NAME_MAX );                         
   48b54:	4eb9 0004 dea0 	jsr 4dea0 <strncpy>                         
                                                                      
  /*                                                                  
   *  Fill in the mode and permission information for the jnode structure.
   */                                                                 
  node->st_mode = mode;                                               
   48b5a:	256e 0010 002e 	movel %fp@(16),%a2@(46)                     
  #if defined(RTEMS_POSIX_API)                                        
    node->st_uid = geteuid();                                         
   48b60:	4eb9 0004 9860 	jsr 49860 <geteuid>                         
   48b66:	3540 0038      	movew %d0,%a2@(56)                          
    node->st_gid = getegid();                                         
   48b6a:	4eb9 0004 984c 	jsr 4984c <getegid>                         
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
   48b70:	42a7           	clrl %sp@-                                  
   48b72:	486e fff8      	pea %fp@(-8)                                
   *  Fill in the mode and permission information for the jnode structure.
   */                                                                 
  node->st_mode = mode;                                               
  #if defined(RTEMS_POSIX_API)                                        
    node->st_uid = geteuid();                                         
    node->st_gid = getegid();                                         
   48b76:	3540 003a      	movew %d0,%a2@(58)                          
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
   48b7a:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
   48b80:	202e fff8      	movel %fp@(-8),%d0                          
  node->stat_mtime  = (time_t) tv.tv_sec;                             
  node->stat_ctime  = (time_t) tv.tv_sec;                             
                                                                      
  return node;                                                        
   48b84:	4fef 0014      	lea %sp@(20),%sp                            
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
   48b88:	2540 003c      	movel %d0,%a2@(60)                          
  node->stat_mtime  = (time_t) tv.tv_sec;                             
   48b8c:	2540 0040      	movel %d0,%a2@(64)                          
  node->stat_ctime  = (time_t) tv.tv_sec;                             
   48b90:	2540 0044      	movel %d0,%a2@(68)                          
                                                                      
  return node;                                                        
}                                                                     
   48b94:	200a           	movel %a2,%d0                               
   48b96:	246e fff4      	moveal %fp@(-12),%a2                        
   48b9a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049548 <IMFS_check_node_remove>: void IMFS_check_node_remove( IMFS_jnode_t *jnode ) {
   49548:	4e56 0000      	linkw %fp,#0                                
   4954c:	2f0a           	movel %a2,%sp@-                             
   4954e:	246e 0008      	moveal %fp@(8),%a2                          
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
   49552:	2f0a           	movel %a2,%sp@-                             
   49554:	4eb9 0004 9a54 	jsr 49a54 <rtems_libio_is_file_open>        
   4955a:	588f           	addql #4,%sp                                
   4955c:	4a80           	tstl %d0                                    
   4955e:	664e           	bnes 495ae <IMFS_check_node_remove+0x66>    
   49560:	4a6a 0032      	tstw %a2@(50)                               
   49564:	6648           	bnes 495ae <IMFS_check_node_remove+0x66>    
    if ( rtems_filesystem_current.node_access == jnode )              
   49566:	2079 0005 c1c0 	moveal 5c1c0 <rtems_current_user_env>,%a0   
   4956c:	b5e8 0004      	cmpal %a0@(4),%a2                           
   49570:	6604           	bnes 49576 <IMFS_check_node_remove+0x2e>    <== ALWAYS TAKEN
       rtems_filesystem_current.node_access = NULL;                   
   49572:	42a8 0004      	clrl %a0@(4)                                <== NOT EXECUTED
                                                                      
    switch ( jnode->type ) {                                          
   49576:	202a 0048      	movel %a2@(72),%d0                          
   4957a:	7204           	moveq #4,%d1                                
   4957c:	b280           	cmpl %d0,%d1                                
   4957e:	6712           	beqs 49592 <IMFS_check_node_remove+0x4a>    
   49580:	123c 0005      	moveb #5,%d1                                
   49584:	b280           	cmpl %d0,%d1                                
   49586:	6616           	bnes 4959e <IMFS_check_node_remove+0x56>    
      case IMFS_MEMORY_FILE:                                          
        IMFS_memfile_remove( jnode );                                 
   49588:	2f0a           	movel %a2,%sp@-                             
   4958a:	4eb9 0004 b692 	jsr 4b692 <IMFS_memfile_remove>             
   49590:	600a           	bras 4959c <IMFS_check_node_remove+0x54>    
        break;                                                        
      case IMFS_SYM_LINK:                                             
        free( jnode->info.sym_link.name );                            
   49592:	2f2a 004c      	movel %a2@(76),%sp@-                        
   49596:	4eb9 0004 2854 	jsr 42854 <free>                            
        break;                                                        
   4959c:	588f           	addql #4,%sp                                
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4959e:	2d4a 0008      	movel %a2,%fp@(8)                           
  }                                                                   
}                                                                     
   495a2:	246e fffc      	moveal %fp@(-4),%a2                         
   495a6:	4e5e           	unlk %fp                                    
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   495a8:	4ef9 0004 2854 	jmp 42854 <free>                            
  }                                                                   
}                                                                     
   495ae:	246e fffc      	moveal %fp@(-4),%a2                         
   495b2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048ab8 <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
   48ab8:	4e56 ffe8      	linkw %fp,#-24                              
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
   48abc:	206e 0008      	moveal %fp@(8),%a0                          
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
   48ac0:	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;                      
   48ac4:	2450           	moveal %a0@,%a2                             
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   48ac6:	4284           	clrl %d4                                    
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
   48ac8:	362e 000e      	movew %fp@(14),%d3                          
   48acc:	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();                                                 
   48ad0:	4eb9 0004 9860 	jsr 49860 <geteuid>                         
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   48ad6:	4281           	clrl %d1                                    
   48ad8:	3800           	movew %d0,%d4                               
   48ada:	322a 0038      	movew %a2@(56),%d1                          
   48ade:	b284           	cmpl %d4,%d1                                
   48ae0:	6714           	beqs 48af6 <IMFS_chown+0x3e>                <== ALWAYS TAKEN
   48ae2:	4a40           	tstw %d0                                    <== NOT EXECUTED
   48ae4:	6710           	beqs 48af6 <IMFS_chown+0x3e>                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
   48ae6:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   48aec:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   48aee:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   48af0:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   48af2:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   48af4:	601e           	bras 48b14 <IMFS_chown+0x5c>                <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
   48af6:	3543 0038      	movew %d3,%a2@(56)                          
  jnode->st_gid = group;                                              
   48afa:	3542 003a      	movew %d2,%a2@(58)                          
                                                                      
  IMFS_update_ctime( jnode );                                         
   48afe:	42a7           	clrl %sp@-                                  
   48b00:	486e fff8      	pea %fp@(-8)                                
   48b04:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   48b0a:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
   48b10:	508f           	addql #8,%sp                                
   48b12:	4280           	clrl %d0                                    
}                                                                     
   48b14:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   48b1a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048b9e <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
   48b9e:	4e56 ffec      	linkw %fp,#-20                              
   48ba2:	206e 0008      	moveal %fp@(8),%a0                          
   48ba6:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   48baa:	242e 000c      	movel %fp@(12),%d2                          
   48bae:	246e 0018      	moveal %fp@(24),%a2                         
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
   48bb2:	4a88           	tstl %a0                                    
   48bb4:	6700 00e2      	beqw 48c98 <IMFS_create_node+0xfa>          
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
   48bb8:	2850           	moveal %a0@,%a4                             
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
   48bba:	7007           	moveq #7,%d0                                
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  fs_info = parent_loc->mt_entry->fs_info;                            
   48bbc:	2068 0010      	moveal %a0@(16),%a0                         
   48bc0:	2668 0034      	moveal %a0@(52),%a3                         
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
   48bc4:	b082           	cmpl %d2,%d0                                
   48bc6:	660e           	bnes 48bd6 <IMFS_create_node+0x38>          
   48bc8:	223c 0005 b194 	movel #373140,%d1                           
   48bce:	b2ab 0010      	cmpl %a3@(16),%d1                           
   48bd2:	6700 00c4      	beqw 48c98 <IMFS_create_node+0xfa>          
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
   48bd6:	2079 0005 c1c0 	moveal 5c1c0 <rtems_current_user_env>,%a0   
   48bdc:	2028 002c      	movel %a0@(44),%d0                          
   48be0:	4680           	notl %d0                                    
   48be2:	c0ae 0014      	andl %fp@(20),%d0                           
   48be6:	2f00           	movel %d0,%sp@-                             
   48be8:	2f2e 0010      	movel %fp@(16),%sp@-                        
   48bec:	2f02           	movel %d2,%sp@-                             
   48bee:	4eb9 0004 8b20 	jsr 48b20 <IMFS_allocate_node>              
  if ( !node )                                                        
   48bf4:	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 );
   48bf8:	2a40           	moveal %d0,%a5                              
  if ( !node )                                                        
   48bfa:	4a80           	tstl %d0                                    
   48bfc:	6700 009c      	beqw 48c9a <IMFS_create_node+0xfc>          
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
   48c00:	5382           	subql #1,%d2                                
   48c02:	7006           	moveq #6,%d0                                
   48c04:	b082           	cmpl %d2,%d0                                
   48c06:	656e           	bcss 48c76 <IMFS_create_node+0xd8>          <== NEVER TAKEN
   48c08:	303b 2a08      	movew %pc@(48c12 <IMFS_create_node+0x74>,%d2:l:2),%d0
   48c0c:	48c0           	extl %d0                                    
   48c0e:	4efb 0802      	jmp %pc@(48c12 <IMFS_create_node+0x74>,%d0:l)
   48c12:	000e           	016                                         <== NOT EXECUTED
   48c14:	002a           	052                                         <== NOT EXECUTED
   48c16:	0024           	044                                         <== NOT EXECUTED
   48c18:	0024           	044                                         <== NOT EXECUTED
   48c1a:	0046           	0106                                        <== NOT EXECUTED
   48c1c:	0036           	066                                         <== NOT EXECUTED
   48c1e:	0060           	0140                                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   48c20:	41ed 0050      	lea %a5@(80),%a0                            
   48c24:	2b48 004c      	movel %a0,%a5@(76)                          
    case IMFS_DIRECTORY:                                              
      rtems_chain_initialize_empty(&node->info.directory.Entries);    
   48c28:	41ed 004c      	lea %a5@(76),%a0                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   48c2c:	42ad 0050      	clrl %a5@(80)                               
   48c30:	2b48 0054      	movel %a0,%a5@(84)                          
   48c34:	6040           	bras 48c76 <IMFS_create_node+0xd8>          
    case IMFS_HARD_LINK:                                              
      node->info.hard_link.link_node = info->hard_link.link_node;     
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      node->info.sym_link.name = info->sym_link.name;                 
   48c36:	2b52 004c      	movel %a2@,%a5@(76)                         
      break;                                                          
   48c3a:	603a           	bras 48c76 <IMFS_create_node+0xd8>          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
   48c3c:	2b52 004c      	movel %a2@,%a5@(76)                         
      node->info.device.minor = info->device.minor;                   
   48c40:	2b6a 0004 0050 	movel %a2@(4),%a5@(80)                      
      break;                                                          
   48c46:	602e           	bras 48c76 <IMFS_create_node+0xd8>          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
   48c48:	42ad 0054      	clrl %a5@(84)                               <== NOT EXECUTED
      node->info.device.major = info->device.major;                   
      node->info.device.minor = info->device.minor;                   
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
   48c4c:	4280           	clrl %d0                                    <== NOT EXECUTED
   48c4e:	4281           	clrl %d1                                    <== NOT EXECUTED
   48c50:	2b40 004c      	movel %d0,%a5@(76)                          <== NOT EXECUTED
   48c54:	2b41 0050      	movel %d1,%a5@(80)                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
   48c58:	42ad 0054      	clrl %a5@(84)                               
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
   48c5c:	4280           	clrl %d0                                    
   48c5e:	4281           	clrl %d1                                    
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
   48c60:	42ad 0058      	clrl %a5@(88)                               
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
   48c64:	2b40 004c      	movel %d0,%a5@(76)                          
   48c68:	2b41 0050      	movel %d1,%a5@(80)                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
   48c6c:	42ad 005c      	clrl %a5@(92)                               
      break;                                                          
   48c70:	6004           	bras 48c76 <IMFS_create_node+0xd8>          
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
   48c72:	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;                                
   48c76:	202b 0004      	movel %a3@(4),%d0                           
   48c7a:	5280           	addql #1,%d0                                
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
                                                                      
  node->Parent = parent;                                              
   48c7c:	2b4c 0008      	movel %a4,%a5@(8)                           
  node->st_ino = ++fs_info->ino_count;                                
   48c80:	2740 0004      	movel %d0,%a3@(4)                           
   48c84:	2b40 0034      	movel %d0,%a5@(52)                          
   48c88:	2f0d           	movel %a5,%sp@-                             
   48c8a:	486c 004c      	pea %a4@(76)                                
   48c8e:	4eb9 0004 612c 	jsr 4612c <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   48c94:	508f           	addql #8,%sp                                
   48c96:	6002           	bras 48c9a <IMFS_create_node+0xfc>          
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
       fs_info->fifo_handlers == &rtems_filesystem_null_handlers )    
    return NULL;                                                      
   48c98:	9bcd           	subal %a5,%a5                               
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
   48c9a:	200d           	movel %a5,%d0                               
   48c9c:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   48ca2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048ca6 <IMFS_create_root_node>: return node; } IMFS_jnode_t *IMFS_create_root_node(void) {
   48ca6:	4e56 0000      	linkw %fp,#0                                
  IMFS_jnode_t        *node;                                          
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node = IMFS_allocate_node( IMFS_DIRECTORY, "", (S_IFDIR | 0755) );  
   48caa:	4878 41ed      	pea 41ed <D_MAX_EXP+0x39ee>                 
   48cae:	4879 0005 b20c 	pea 5b20c <rtems_filesystem_default_pathconf+0x40>
   48cb4:	4878 0001      	pea 1 <ADD>                                 
   48cb8:	4eb9 0004 8b20 	jsr 48b20 <IMFS_allocate_node>              
  if ( !node )                                                        
   48cbe:	4fef 000c      	lea %sp@(12),%sp                            
   48cc2:	4a80           	tstl %d0                                    
   48cc4:	6716           	beqs 48cdc <IMFS_create_root_node+0x36>     <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   48cc6:	2240           	moveal %d0,%a1                              
   48cc8:	2040           	moveal %d0,%a0                              
   48cca:	43e9 0050      	lea %a1@(80),%a1                            
   48cce:	2149 004c      	movel %a1,%a0@(76)                          
  /*                                                                  
   *  Set the type specific information                               
   *                                                                  
   *  NOTE: Root node is always a directory.                          
   */                                                                 
  rtems_chain_initialize_empty(&node->info.directory.Entries);        
   48cd2:	5989           	subql #4,%a1                                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   48cd4:	42a8 0050      	clrl %a0@(80)                               
   48cd8:	2149 0054      	movel %a1,%a0@(84)                          
                                                                      
  return node;                                                        
}                                                                     
   48cdc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048e06 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
   48e06:	4e56 ff9c      	linkw %fp,#-100                             
   48e0a:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   48e0e:	246e 0014      	moveal %fp@(20),%a2                         
   *  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 );  
   48e12:	2a0e           	movel %fp,%d5                               
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
   48e14:	4282           	clrl %d2                                    
   *  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 );  
   48e16:	0685 ffff ffc7 	addil #-57,%d5                              
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   48e1c:	2e3c 0004 93dc 	movel #299996,%d7                           
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
   48e22:	2a6e 0008      	moveal %fp@(8),%a5                          
   48e26:	286e 000c      	moveal %fp@(12),%a4                         
   48e2a:	282e 0010      	movel %fp@(16),%d4                          
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
   48e2e:	2652           	moveal %a2@,%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 );  
   48e30:	486e fffc      	pea %fp@(-4)                                
   48e34:	2f05           	movel %d5,%sp@-                             
   48e36:	2f0c           	movel %a4,%sp@-                             
   48e38:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   48e3c:	4eb9 0004 9450 	jsr 49450 <IMFS_get_token>                  
    pathnamelen -= len;                                               
   48e42:	2c2e fffc      	movel %fp@(-4),%d6                          
   *  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 );  
   48e46:	2600           	movel %d0,%d3                               
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
   48e48:	4fef 0010      	lea %sp@(16),%sp                            
   48e4c:	4a92           	tstl %a2@                                   
   48e4e:	6700 00ea      	beqw 48f3a <IMFS_eval_path+0x134>           
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
   48e52:	4a80           	tstl %d0                                    
   48e54:	672c           	beqs 48e82 <IMFS_eval_path+0x7c>            
      if ( node->type == IMFS_DIRECTORY )                             
   48e56:	7001           	moveq #1,%d0                                
   48e58:	b0ab 0048      	cmpl %a3@(72),%d0                           
   48e5c:	6624           	bnes 48e82 <IMFS_eval_path+0x7c>            
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
   48e5e:	4878 0001      	pea 1 <ADD>                                 
   48e62:	2f0a           	movel %a2,%sp@-                             
   48e64:	4eb9 0004 8d4e 	jsr 48d4e <IMFS_evaluate_permission>        
   48e6a:	508f           	addql #8,%sp                                
   48e6c:	4a80           	tstl %d0                                    
   48e6e:	6612           	bnes 48e82 <IMFS_eval_path+0x7c>            
          rtems_set_errno_and_return_minus_one( EACCES );             
   48e70:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   48e76:	780d           	moveq #13,%d4                               
   48e78:	2040           	moveal %d0,%a0                              
   48e7a:	2084           	movel %d4,%a0@                              
   48e7c:	76ff           	moveq #-1,%d3                               
   48e7e:	6000 0162      	braw 48fe2 <IMFS_eval_path+0x1dc>           
                                                                      
    node = pathloc->node_access;                                      
   48e82:	2652           	moveal %a2@,%a3                             
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
   48e84:	99c6           	subal %d6,%a4                               
    i += len;                                                         
   48e86:	d486           	addl %d6,%d2                                
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
   48e88:	7003           	moveq #3,%d0                                
   48e8a:	b083           	cmpl %d3,%d0                                
   48e8c:	6742           	beqs 48ed0 <IMFS_eval_path+0xca>            
   48e8e:	7204           	moveq #4,%d1                                
   48e90:	b283           	cmpl %d3,%d1                                
   48e92:	6700 00bc      	beqw 48f50 <IMFS_eval_path+0x14a>           
   48e96:	103c 0002      	moveb #2,%d0                                
   48e9a:	b083           	cmpl %d3,%d0                                
   48e9c:	6600 00c2      	bnew 48f60 <IMFS_eval_path+0x15a>           
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
   48ea0:	2079 0005 c1c0 	moveal 5c1c0 <rtems_current_user_env>,%a0   
   48ea6:	b7e8 0018      	cmpal %a0@(24),%a3                          
   48eaa:	6784           	beqs 48e30 <IMFS_eval_path+0x2a>            <== NEVER TAKEN
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
   48eac:	206a 0010      	moveal %a2@(16),%a0                         
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
   48eb0:	b7e8 001c      	cmpal %a0@(28),%a3                          
   48eb4:	6614           	bnes 48eca <IMFS_eval_path+0xc4>            
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
   48eb6:	4878 0014      	pea 14 <OPER2>                              
   48eba:	260e           	movel %fp,%d3                               
   48ebc:	4868 0008      	pea %a0@(8)                                 
   48ec0:	0683 ffff ffe8 	addil #-24,%d3                              
   48ec6:	6000 00c4      	braw 48f8c <IMFS_eval_path+0x186>           
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
   48eca:	266b 0008      	moveal %a3@(8),%a3                          
   48ece:	6066           	bras 48f36 <IMFS_eval_path+0x130>           
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
   48ed0:	202b 0048      	movel %a3@(72),%d0                          
   48ed4:	7203           	moveq #3,%d1                                
   48ed6:	b280           	cmpl %d0,%d1                                
   48ed8:	6614           	bnes 48eee <IMFS_eval_path+0xe8>            
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
   48eda:	42a7           	clrl %sp@-                                  
   48edc:	2f0a           	movel %a2,%sp@-                             
   48ede:	4eb9 0004 8dac 	jsr 48dac <IMFS_evaluate_hard_link>         
                                                                      
          node = pathloc->node_access;                                
   48ee4:	2652           	moveal %a2@,%a3                             
          if ( !node )                                                
   48ee6:	508f           	addql #8,%sp                                
   48ee8:	4a8b           	tstl %a3                                    
   48eea:	661e           	bnes 48f0a <IMFS_eval_path+0x104>           <== ALWAYS TAKEN
   48eec:	6024           	bras 48f12 <IMFS_eval_path+0x10c>           <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
   48eee:	7204           	moveq #4,%d1                                
   48ef0:	b280           	cmpl %d0,%d1                                
   48ef2:	6616           	bnes 48f0a <IMFS_eval_path+0x104>           
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
   48ef4:	42a7           	clrl %sp@-                                  
   48ef6:	2f0a           	movel %a2,%sp@-                             
   48ef8:	4eb9 0004 8fee 	jsr 48fee <IMFS_evaluate_sym_link>          
                                                                      
          node = pathloc->node_access;                                
   48efe:	2652           	moveal %a2@,%a3                             
          if ( result == -1 )                                         
   48f00:	508f           	addql #8,%sp                                
   48f02:	72ff           	moveq #-1,%d1                               
   48f04:	b280           	cmpl %d0,%d1                                
   48f06:	6700 00d8      	beqw 48fe0 <IMFS_eval_path+0x1da>           
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
   48f0a:	7001           	moveq #1,%d0                                
   48f0c:	b0ab 0048      	cmpl %a3@(72),%d0                           
   48f10:	6710           	beqs 48f22 <IMFS_eval_path+0x11c>           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
   48f12:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   48f18:	7614           	moveq #20,%d3                               
   48f1a:	2040           	moveal %d0,%a0                              
   48f1c:	2083           	movel %d3,%a0@                              
   48f1e:	6000 ff5c      	braw 48e7c <IMFS_eval_path+0x76>            
        /*                                                            
         *  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 ) {                   
   48f22:	206b 0058      	moveal %a3@(88),%a0                         
   48f26:	4a88           	tstl %a0                                    
   48f28:	6652           	bnes 48f7c <IMFS_eval_path+0x176>           
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   48f2a:	2f05           	movel %d5,%sp@-                             
   48f2c:	2047           	moveal %d7,%a0                              
   48f2e:	2f0b           	movel %a3,%sp@-                             
   48f30:	4e90           	jsr %a0@                                    
        if ( !node )                                                  
   48f32:	508f           	addql #8,%sp                                
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   48f34:	2640           	moveal %d0,%a3                              
        if ( !node )                                                  
   48f36:	4a8b           	tstl %a3                                    
   48f38:	6610           	bnes 48f4a <IMFS_eval_path+0x144>           
          rtems_set_errno_and_return_minus_one( ENOENT );             
   48f3a:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   48f40:	7402           	moveq #2,%d2                                
   48f42:	2040           	moveal %d0,%a0                              
   48f44:	2082           	movel %d2,%a0@                              
   48f46:	6000 ff34      	braw 48e7c <IMFS_eval_path+0x76>            
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
   48f4a:	248b           	movel %a3,%a2@                              
   48f4c:	6000 fee2      	braw 48e30 <IMFS_eval_path+0x2a>            
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   48f50:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   48f56:	725b           	moveq #91,%d1                               
   48f58:	2040           	moveal %d0,%a0                              
   48f5a:	2081           	movel %d1,%a0@                              
   48f5c:	6000 ff1e      	braw 48e7c <IMFS_eval_path+0x76>            
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
   48f60:	4a83           	tstl %d3                                    
   48f62:	6708           	beqs 48f6c <IMFS_eval_path+0x166>           
   48f64:	7004           	moveq #4,%d0                                
   48f66:	b083           	cmpl %d3,%d0                                
   48f68:	6600 fec6      	bnew 48e30 <IMFS_eval_path+0x2a>            
   *  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 ) {                               
   48f6c:	7201           	moveq #1,%d1                                
   48f6e:	b2ab 0048      	cmpl %a3@(72),%d1                           
   48f72:	664e           	bnes 48fc2 <IMFS_eval_path+0x1bc>           
    if ( node->info.directory.mt_fs != NULL ) {                       
   48f74:	206b 0058      	moveal %a3@(88),%a0                         
   48f78:	4a88           	tstl %a0                                    
   48f7a:	6746           	beqs 48fc2 <IMFS_eval_path+0x1bc>           
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
   48f7c:	4878 0014      	pea 14 <OPER2>                              
   48f80:	260e           	movel %fp,%d3                               
   48f82:	0683 ffff ffe8 	addil #-24,%d3                              
   48f88:	4868 001c      	pea %a0@(28)                                
   48f8c:	2f03           	movel %d3,%sp@-                             
   48f8e:	47f9 0004 d2dc 	lea 4d2dc <memcpy>,%a3                      
   48f94:	4e93           	jsr %a3@                                    
      *pathloc = newloc;                                              
   48f96:	4878 0014      	pea 14 <OPER2>                              
   48f9a:	2f03           	movel %d3,%sp@-                             
   48f9c:	2f0a           	movel %a2,%sp@-                             
   48f9e:	4e93           	jsr %a3@                                    
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
   48fa0:	226a 000c      	moveal %a2@(12),%a1                         
   48fa4:	2f0a           	movel %a2,%sp@-                             
   48fa6:	206e fffc      	moveal %fp@(-4),%a0                         
   48faa:	9488           	subl %a0,%d2                                
   48fac:	2f04           	movel %d4,%sp@-                             
   48fae:	4874 8800      	pea %a4@(00000000,%a0:l)                    
   48fb2:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   48fb6:	2051           	moveal %a1@,%a0                             
   48fb8:	4e90           	jsr %a0@                                    
   48fba:	4fef 0028      	lea %sp@(40),%sp                            
   48fbe:	2600           	movel %d0,%d3                               
   48fc0:	6020           	bras 48fe2 <IMFS_eval_path+0x1dc>           
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
   48fc2:	2f0a           	movel %a2,%sp@-                             
   48fc4:	4eb9 0004 8ce0 	jsr 48ce0 <IMFS_Set_handlers>               
   48fca:	2600           	movel %d0,%d3                               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
   48fcc:	2e84           	movel %d4,%sp@                              
   48fce:	2f0a           	movel %a2,%sp@-                             
   48fd0:	4eb9 0004 8d4e 	jsr 48d4e <IMFS_evaluate_permission>        
   48fd6:	508f           	addql #8,%sp                                
   48fd8:	4a80           	tstl %d0                                    
   48fda:	6606           	bnes 48fe2 <IMFS_eval_path+0x1dc>           
   48fdc:	6000 fe92      	braw 48e70 <IMFS_eval_path+0x6a>            
   48fe0:	2600           	movel %d0,%d3                               <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   48fe2:	2003           	movel %d3,%d0                               
   48fe4:	4cee 3cfc ff9c 	moveml %fp@(-100),%d2-%d7/%a2-%a5           
   48fea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049122 <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 */ ) {
   49122:	4e56 ff9c      	linkw %fp,#-100                             
   49126:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4912a:	246e 000c      	moveal %fp@(12),%a2                         
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   4912e:	2c0e           	movel %fp,%d6                               
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
  int                                 i = 0;                          
   49130:	4282           	clrl %d2                                    
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   49132:	0686 ffff ffc7 	addil #-57,%d6                              
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   49138:	2a3c 0004 908a 	movel #299146,%d5                           
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
   4913e:	286e 0008      	moveal %fp@(8),%a4                          
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
   49142:	2652           	moveal %a2@,%a3                             
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   49144:	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    */       
)                                                                     
{                                                                     
   49146:	2a6e 0010      	moveal %fp@(16),%a5                         
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   4914a:	4eb9 0004 de88 	jsr 4de88 <strlen>                          
   49150:	588f           	addql #4,%sp                                
   49152:	2800           	movel %d0,%d4                               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   49154:	486e fffc      	pea %fp@(-4)                                
   49158:	2f06           	movel %d6,%sp@-                             
   4915a:	2f04           	movel %d4,%sp@-                             
   4915c:	4874 2800      	pea %a4@(00000000,%d2:l)                    
   49160:	4eb9 0004 9450 	jsr 49450 <IMFS_get_token>                  
    pathlen -= len;                                                   
   49166:	2e2e fffc      	movel %fp@(-4),%d7                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   4916a:	2600           	movel %d0,%d3                               
    pathlen -= len;                                                   
   4916c:	9887           	subl %d7,%d4                                
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
   4916e:	4fef 0010      	lea %sp@(16),%sp                            
   49172:	4a92           	tstl %a2@                                   
   49174:	6700 0154      	beqw 492ca <IMFS_evaluate_for_make+0x1a8>   
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
   49178:	4a80           	tstl %d0                                    
   4917a:	671c           	beqs 49198 <IMFS_evaluate_for_make+0x76>    
      if ( node->type == IMFS_DIRECTORY )                             
   4917c:	7001           	moveq #1,%d0                                
   4917e:	b0ab 0048      	cmpl %a3@(72),%d0                           
   49182:	6614           	bnes 49198 <IMFS_evaluate_for_make+0x76>    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
   49184:	4878 0001      	pea 1 <ADD>                                 
   49188:	2f0a           	movel %a2,%sp@-                             
   4918a:	4eb9 0004 8d4e 	jsr 48d4e <IMFS_evaluate_permission>        
   49190:	508f           	addql #8,%sp                                
   49192:	4a80           	tstl %d0                                    
   49194:	6700 017c      	beqw 49312 <IMFS_evaluate_for_make+0x1f0>   
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
   49198:	2652           	moveal %a2@,%a3                             
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
   4919a:	d487           	addl %d7,%d2                                
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
   4919c:	7002           	moveq #2,%d0                                
   4919e:	b083           	cmpl %d3,%d0                                
   491a0:	671a           	beqs 491bc <IMFS_evaluate_for_make+0x9a>    
   491a2:	6508           	bcss 491ac <IMFS_evaluate_for_make+0x8a>    
   491a4:	4a83           	tstl %d3                                    
   491a6:	6700 00e4      	beqw 4928c <IMFS_evaluate_for_make+0x16a>   
   491aa:	60a8           	bras 49154 <IMFS_evaluate_for_make+0x32>    
   491ac:	7203           	moveq #3,%d1                                
   491ae:	b283           	cmpl %d3,%d1                                
   491b0:	6740           	beqs 491f2 <IMFS_evaluate_for_make+0xd0>    
   491b2:	7004           	moveq #4,%d0                                
   491b4:	b083           	cmpl %d3,%d0                                
   491b6:	669c           	bnes 49154 <IMFS_evaluate_for_make+0x32>    <== NEVER TAKEN
   491b8:	6000 00e2      	braw 4929c <IMFS_evaluate_for_make+0x17a>   
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
   491bc:	2079 0005 c1c0 	moveal 5c1c0 <rtems_current_user_env>,%a0   
   491c2:	b7e8 0018      	cmpal %a0@(24),%a3                          
   491c6:	678c           	beqs 49154 <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){
   491c8:	206a 0010      	moveal %a2@(16),%a0                         
   491cc:	b7e8 001c      	cmpal %a0@(28),%a3                          
   491d0:	6612           	bnes 491e4 <IMFS_evaluate_for_make+0xc2>    
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
   491d2:	4878 0014      	pea 14 <OPER2>                              
   491d6:	260e           	movel %fp,%d3                               
   491d8:	4868 0008      	pea %a0@(8)                                 
   491dc:	0683 ffff ffe8 	addil #-24,%d3                              
   491e2:	605c           	bras 49240 <IMFS_evaluate_for_make+0x11e>   
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
   491e4:	266b 0008      	moveal %a3@(8),%a3                          
   491e8:	4a8b           	tstl %a3                                    
   491ea:	6600 009a      	bnew 49286 <IMFS_evaluate_for_make+0x164>   
   491ee:	6000 00da      	braw 492ca <IMFS_evaluate_for_make+0x1a8>   
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
   491f2:	202b 0048      	movel %a3@(72),%d0                          
   491f6:	7203           	moveq #3,%d1                                
   491f8:	b280           	cmpl %d0,%d1                                
   491fa:	6706           	beqs 49202 <IMFS_evaluate_for_make+0xe0>    
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
   491fc:	7204           	moveq #4,%d1                                
   491fe:	b280           	cmpl %d0,%d1                                
   49200:	6614           	bnes 49216 <IMFS_evaluate_for_make+0xf4>    
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   49202:	42a7           	clrl %sp@-                                  
   49204:	2045           	moveal %d5,%a0                              
   49206:	2f0a           	movel %a2,%sp@-                             
   49208:	4e90           	jsr %a0@                                    
                                                                      
          if ( result == -1 )                                         
   4920a:	508f           	addql #8,%sp                                
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   4920c:	2600           	movel %d0,%d3                               
                                                                      
          if ( result == -1 )                                         
   4920e:	70ff           	moveq #-1,%d0                               
   49210:	b083           	cmpl %d3,%d0                                
   49212:	6700 010c      	beqw 49320 <IMFS_evaluate_for_make+0x1fe>   
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
   49216:	2052           	moveal %a2@,%a0                             
        if ( !node )                                                  
   49218:	4a88           	tstl %a0                                    
   4921a:	6700 00d6      	beqw 492f2 <IMFS_evaluate_for_make+0x1d0>   
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
   4921e:	7001           	moveq #1,%d0                                
   49220:	b0a8 0048      	cmpl %a0@(72),%d0                           
   49224:	6600 00cc      	bnew 492f2 <IMFS_evaluate_for_make+0x1d0>   
	/*                                                                   
	 * 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 ) {                   
   49228:	2268 0058      	moveal %a0@(88),%a1                         
   4922c:	4a89           	tstl %a1                                    
   4922e:	6744           	beqs 49274 <IMFS_evaluate_for_make+0x152>   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
   49230:	4878 0014      	pea 14 <OPER2>                              
   49234:	260e           	movel %fp,%d3                               
   49236:	0683 ffff ffe8 	addil #-24,%d3                              
   4923c:	4869 001c      	pea %a1@(28)                                
   49240:	2f03           	movel %d3,%sp@-                             
   49242:	47f9 0004 d2dc 	lea 4d2dc <memcpy>,%a3                      
   49248:	4e93           	jsr %a3@                                    
          *pathloc = newloc;                                          
   4924a:	4878 0014      	pea 14 <OPER2>                              
   4924e:	2f03           	movel %d3,%sp@-                             
   49250:	2f0a           	movel %a2,%sp@-                             
   49252:	4e93           	jsr %a3@                                    
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   49254:	206a 000c      	moveal %a2@(12),%a0                         
   49258:	94ae fffc      	subl %fp@(-4),%d2                           
   4925c:	2f0d           	movel %a5,%sp@-                             
   4925e:	2f0a           	movel %a2,%sp@-                             
   49260:	4874 2800      	pea %a4@(00000000,%d2:l)                    
   49264:	2068 0004      	moveal %a0@(4),%a0                          
   49268:	4e90           	jsr %a0@                                    
   4926a:	4fef 0024      	lea %sp@(36),%sp                            
   4926e:	2600           	movel %d0,%d3                               
   49270:	6000 00ae      	braw 49320 <IMFS_evaluate_for_make+0x1fe>   
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49274:	2f06           	movel %d6,%sp@-                             
   49276:	2f08           	movel %a0,%sp@-                             
   49278:	4eb9 0004 93dc 	jsr 493dc <IMFS_find_match_in_dir>          
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
   4927e:	508f           	addql #8,%sp                                
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49280:	2640           	moveal %d0,%a3                              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
   49282:	4a80           	tstl %d0                                    
   49284:	6724           	beqs 492aa <IMFS_evaluate_for_make+0x188>   
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
   49286:	248b           	movel %a3,%a2@                              
   49288:	6000 feca      	braw 49154 <IMFS_evaluate_for_make+0x32>    
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
   4928c:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   49292:	7c11           	moveq #17,%d6                               
   49294:	2040           	moveal %d0,%a0                              
   49296:	2086           	movel %d6,%a0@                              
   49298:	6000 0084      	braw 4931e <IMFS_evaluate_for_make+0x1fc>   
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   4929c:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   492a2:	7a5b           	moveq #91,%d5                               
   492a4:	2040           	moveal %d0,%a0                              
   492a6:	2085           	movel %d5,%a0@                              
   492a8:	6074           	bras 4931e <IMFS_evaluate_for_make+0x1fc>   
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
   492aa:	2002           	movel %d2,%d0                               
   492ac:	90ae fffc      	subl %fp@(-4),%d0                           
   * 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 ] ) )                            
   492b0:	47f9 0004 356c 	lea 4356c <rtems_filesystem_is_separator>,%a3
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
   492b6:	d08c           	addl %a4,%d0                                
 *  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(                                           
   492b8:	d9c2           	addal %d2,%a4                               
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
   492ba:	2a80           	movel %d0,%a5@                              
  /*                                                                  
   * 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++) {                                      
   492bc:	601a           	bras 492d8 <IMFS_evaluate_for_make+0x1b6>   
    if ( !IMFS_is_separator( path[ i ] ) )                            
   492be:	49c0           	extbl %d0                                   
   492c0:	2f00           	movel %d0,%sp@-                             
   492c2:	4e93           	jsr %a3@                                    
   492c4:	588f           	addql #4,%sp                                
   492c6:	4a80           	tstl %d0                                    
   492c8:	660e           	bnes 492d8 <IMFS_evaluate_for_make+0x1b6>   
      rtems_set_errno_and_return_minus_one( ENOENT );                 
   492ca:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   492d0:	7802           	moveq #2,%d4                                
   492d2:	2040           	moveal %d0,%a0                              
   492d4:	2084           	movel %d4,%a0@                              
   492d6:	6046           	bras 4931e <IMFS_evaluate_for_make+0x1fc>   
  /*                                                                  
   * 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++) {                                      
   492d8:	101c           	moveb %a4@+,%d0                             
   492da:	66e2           	bnes 492be <IMFS_evaluate_for_make+0x19c>   
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
   492dc:	2f0a           	movel %a2,%sp@-                             
   492de:	4eb9 0004 8ce0 	jsr 48ce0 <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
   492e4:	2052           	moveal %a2@,%a0                             
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
   492e6:	2600           	movel %d0,%d3                               
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
   492e8:	588f           	addql #4,%sp                                
   492ea:	7001           	moveq #1,%d0                                
   492ec:	b0a8 0048      	cmpl %a0@(72),%d0                           
   492f0:	670e           	beqs 49300 <IMFS_evaluate_for_make+0x1de>   <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   492f2:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   492f8:	7614           	moveq #20,%d3                               
   492fa:	2040           	moveal %d0,%a0                              
   492fc:	2083           	movel %d3,%a0@                              
   492fe:	601e           	bras 4931e <IMFS_evaluate_for_make+0x1fc>   
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
   49300:	4878 0003      	pea 3 <DIVIDE>                              
   49304:	2f0a           	movel %a2,%sp@-                             
   49306:	4eb9 0004 8d4e 	jsr 48d4e <IMFS_evaluate_permission>        
   4930c:	508f           	addql #8,%sp                                
   4930e:	4a80           	tstl %d0                                    
   49310:	660e           	bnes 49320 <IMFS_evaluate_for_make+0x1fe>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
   49312:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   49318:	740d           	moveq #13,%d2                               
   4931a:	2040           	moveal %d0,%a0                              
   4931c:	2082           	movel %d2,%a0@                              
   4931e:	76ff           	moveq #-1,%d3                               
                                                                      
  return result;                                                      
}                                                                     
   49320:	2003           	movel %d3,%d0                               
   49322:	4cee 3cfc ff9c 	moveml %fp@(-100),%d2-%d7/%a2-%a5           
   49328:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048dac <IMFS_evaluate_hard_link>: /* * Check for things that should never happen. */ if ( jnode->type != IMFS_HARD_LINK )
   48dac:	7003           	moveq #3,%d0                                
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
   48dae:	4e56 0000      	linkw %fp,#0                                
   48db2:	2f0a           	movel %a2,%sp@-                             
   48db4:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_jnode_t                     *jnode  = node->node_access;       
   48db8:	2052           	moveal %a2@,%a0                             
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
   48dba:	b0a8 0048      	cmpl %a0@(72),%d0                           
   48dbe:	670c           	beqs 48dcc <IMFS_evaluate_hard_link+0x20>   <== ALWAYS TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
   48dc0:	2f3c abcd 0000 	movel #-1412628480,%sp@-                    <== NOT EXECUTED
   48dc6:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
   48dcc:	24a8 004c      	movel %a0@(76),%a2@                         
                                                                      
  IMFS_Set_handlers( node );                                          
   48dd0:	2f0a           	movel %a2,%sp@-                             
   48dd2:	4eb9 0004 8ce0 	jsr 48ce0 <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
   48dd8:	2f2e 000c      	movel %fp@(12),%sp@-                        
   48ddc:	2f0a           	movel %a2,%sp@-                             
   48dde:	4eb9 0004 8d4e 	jsr 48d4e <IMFS_evaluate_permission>        
   48de4:	4fef 000c      	lea %sp@(12),%sp                            
   48de8:	4a80           	tstl %d0                                    
   48dea:	6610           	bnes 48dfc <IMFS_evaluate_hard_link+0x50>   <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EACCES );                   
   48dec:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   48df2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   48df4:	700d           	moveq #13,%d0                               <== NOT EXECUTED
   48df6:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   48df8:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   48dfa:	6002           	bras 48dfe <IMFS_evaluate_hard_link+0x52>   <== NOT EXECUTED
                                                                      
  return result;                                                      
   48dfc:	4280           	clrl %d0                                    
}                                                                     
   48dfe:	246e fffc      	moveal %fp@(-4),%a2                         
   48e02:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048d4e <IMFS_evaluate_permission>: int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
   48d4e:	4e56 fff4      	linkw %fp,#-12                              
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
   48d52:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
   48d56:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
   48d5a:	2450           	moveal %a0@,%a2                             
                                                                      
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
   48d5c:	242e 000c      	movel %fp@(12),%d2                          
  }                                                                   
                                                                      
  jnode = node->node_access;                                          
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   48d60:	4eb9 0004 9860 	jsr 49860 <geteuid>                         
   48d66:	3600           	movew %d0,%d3                               
  st_gid = getegid();                                                 
   48d68:	4eb9 0004 984c 	jsr 4984c <getegid>                         
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
   48d6e:	4281           	clrl %d1                                    
   48d70:	0283 0000 ffff 	andil #65535,%d3                            
   48d76:	322a 0038      	movew %a2@(56),%d1                          
   48d7a:	b283           	cmpl %d3,%d1                                
   48d7c:	6604           	bnes 48d82 <IMFS_evaluate_permission+0x34>  
    flags_to_test <<= 6;                                              
   48d7e:	ed8a           	lsll #6,%d2                                 
   48d80:	6012           	bras 48d94 <IMFS_evaluate_permission+0x46>  
  else if ( st_gid == jnode->st_gid )                                 
   48d82:	4281           	clrl %d1                                    
   48d84:	0280 0000 ffff 	andil #65535,%d0                            
   48d8a:	322a 003a      	movew %a2@(58),%d1                          
   48d8e:	b280           	cmpl %d0,%d1                                
   48d90:	6602           	bnes 48d94 <IMFS_evaluate_permission+0x46>  <== NEVER TAKEN
    flags_to_test <<= 3;                                              
   48d92:	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 )           
   48d94:	2002           	movel %d2,%d0                               
   48d96:	c0aa 002e      	andl %a2@(46),%d0                           
    return 1;                                                         
                                                                      
  return 0;                                                           
   48d9a:	b480           	cmpl %d0,%d2                                
   48d9c:	57c0           	seq %d0                                     
}                                                                     
   48d9e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   48da4:	4e5e           	unlk %fp                                    
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
   48da6:	49c0           	extbl %d0                                   
}                                                                     
   48da8:	4480           	negl %d0                                    <== NOT EXECUTED
                                                                      

00048fee <IMFS_evaluate_sym_link>: /* * Check for things that should never happen. */ if ( jnode->type != IMFS_SYM_LINK )
   48fee:	7004           	moveq #4,%d0                                
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
   48ff0:	4e56 ffec      	linkw %fp,#-20                              
   48ff4:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   48ff8:	246e 0008      	moveal %fp@(8),%a2                          
   48ffc:	262e 000c      	movel %fp@(12),%d3                          
  IMFS_jnode_t                     *jnode  = node->node_access;       
   49000:	2652           	moveal %a2@,%a3                             
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
   49002:	b0ab 0048      	cmpl %a3@(72),%d0                           
   49006:	6708           	beqs 49010 <IMFS_evaluate_sym_link+0x22>    <== ALWAYS TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
   49008:	2f3c abcd 0000 	movel #-1412628480,%sp@-                    <== NOT EXECUTED
   4900e:	600c           	bras 4901c <IMFS_evaluate_sym_link+0x2e>    <== NOT EXECUTED
                                                                      
  if ( !jnode->Parent )                                               
   49010:	202b 0008      	movel %a3@(8),%d0                           
   49014:	660c           	bnes 49022 <IMFS_evaluate_sym_link+0x34>    <== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xBAD00000 );                         
   49016:	2f3c bad0 0000 	movel #-1160773632,%sp@-                    <== NOT EXECUTED
   4901c:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
   49022:	2480           	movel %d0,%a2@                              
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
   49024:	2f0a           	movel %a2,%sp@-                             
   49026:	486e fffc      	pea %fp@(-4)                                
   4902a:	2f2b 004c      	movel %a3@(76),%sp@-                        
   4902e:	4eb9 0004 9cc8 	jsr 49cc8 <rtems_filesystem_get_sym_start_loc>
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
   49034:	242b 004c      	movel %a3@(76),%d2                          
   49038:	d4ae fffc      	addl %fp@(-4),%d2                           
   4903c:	2f02           	movel %d2,%sp@-                             
   4903e:	4eb9 0004 de88 	jsr 4de88 <strlen>                          
   49044:	2e8a           	movel %a2,%sp@                              
   49046:	2f03           	movel %d3,%sp@-                             
   49048:	2f00           	movel %d0,%sp@-                             
   4904a:	2f02           	movel %d2,%sp@-                             
   4904c:	4eb9 0004 8e06 	jsr 48e06 <IMFS_eval_path>                  
   49052:	2400           	movel %d0,%d2                               
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
   49054:	2f0a           	movel %a2,%sp@-                             
   49056:	4eb9 0004 8ce0 	jsr 48ce0 <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
   4905c:	4fef 001c      	lea %sp@(28),%sp                            
   49060:	2e83           	movel %d3,%sp@                              
   49062:	2f0a           	movel %a2,%sp@-                             
   49064:	4eb9 0004 8d4e 	jsr 48d4e <IMFS_evaluate_permission>        
   4906a:	508f           	addql #8,%sp                                
   4906c:	4a80           	tstl %d0                                    
   4906e:	660e           	bnes 4907e <IMFS_evaluate_sym_link+0x90>    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EACCES );                   
   49070:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   49076:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   49078:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4907a:	700d           	moveq #13,%d0                               <== NOT EXECUTED
   4907c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   4907e:	2002           	movel %d2,%d0                               
   49080:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   49086:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c14c <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
   4c14c:	4e56 fff8      	linkw %fp,#-8                               
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
   4c150:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
   4c154:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
   4c156:	2450           	moveal %a0@,%a2                             
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
   4c158:	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 ) )               
   4c15a:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   4c15c:	4eb9 0004 9860 	jsr 49860 <geteuid>                         
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   4c162:	4281           	clrl %d1                                    
   4c164:	3400           	movew %d0,%d2                               
   4c166:	322a 0038      	movew %a2@(56),%d1                          
   4c16a:	b282           	cmpl %d2,%d1                                
   4c16c:	6714           	beqs 4c182 <IMFS_fchmod+0x36>               <== ALWAYS TAKEN
   4c16e:	4a40           	tstw %d0                                    <== NOT EXECUTED
   4c170:	6710           	beqs 4c182 <IMFS_fchmod+0x36>               <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4c172:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4c178:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c17a:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4c17c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4c17e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4c180:	6030           	bras 4c1b2 <IMFS_fchmod+0x66>               <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4c182:	202a 002e      	movel %a2@(46),%d0                          
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4c186:	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);
   4c18a:	0280 ffff f000 	andil #-4096,%d0                            
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4c190:	0281 0000 0fff 	andil #4095,%d1                             
   4c196:	8280           	orl %d0,%d1                                 
   4c198:	2541 002e      	movel %d1,%a2@(46)                          
                                                                      
  IMFS_update_ctime( jnode );                                         
   4c19c:	42a7           	clrl %sp@-                                  
   4c19e:	486e fff8      	pea %fp@(-8)                                
   4c1a2:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   4c1a8:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
   4c1ae:	508f           	addql #8,%sp                                
   4c1b0:	4280           	clrl %d0                                    
}                                                                     
   4c1b2:	242e fff0      	movel %fp@(-16),%d2                         
   4c1b6:	246e fff4      	moveal %fp@(-12),%a2                        
   4c1ba:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042cb6 <IMFS_fifo_close>: } int IMFS_fifo_close( rtems_libio_t *iop ) {
   42cb6:	4e56 fff4      	linkw %fp,#-12                              
   42cba:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   42cbe:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_jnode_t *jnode = iop->file_info;                               
   42cc2:	266a 0038      	moveal %a2@(56),%a3                         
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
   42cc6:	2f0a           	movel %a2,%sp@-                             
   42cc8:	486b 004c      	pea %a3@(76)                                
   42ccc:	4eb9 0004 af7e 	jsr 4af7e <pipe_release>                    
                                                                      
  if (err == 0) {                                                     
   42cd2:	508f           	addql #8,%sp                                
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
   42cd4:	2400           	movel %d0,%d2                               
                                                                      
  if (err == 0) {                                                     
   42cd6:	6616           	bnes 42cee <IMFS_fifo_close+0x38>           <== NEVER TAKEN
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   42cd8:	203c ffff feff 	movel #-257,%d0                             
   42cde:	c1aa 0014      	andl %d0,%a2@(20)                           
    IMFS_check_node_remove(jnode);                                    
   42ce2:	2f0b           	movel %a3,%sp@-                             
   42ce4:	4eb9 0004 32a8 	jsr 432a8 <IMFS_check_node_remove>          
   42cea:	588f           	addql #4,%sp                                
   42cec:	6012           	bras 42d00 <IMFS_fifo_close+0x4a>           
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   42cee:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42cf0:	6c0e           	bges 42d00 <IMFS_fifo_close+0x4a>           <== NOT EXECUTED
   42cf2:	4eb9 0004 e274 	jsr 4e274 <__errno>                         <== NOT EXECUTED
   42cf8:	4482           	negl %d2                                    <== NOT EXECUTED
   42cfa:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42cfc:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   42cfe:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   42d00:	2002           	movel %d2,%d0                               
   42d02:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   42d08:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042b80 <IMFS_fifo_ioctl>: int IMFS_fifo_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
   42b80:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   42b84:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   42b88:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
   42b8c:	226e 0010      	moveal %fp@(16),%a1                         <== NOT EXECUTED
   42b90:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
   42b92:	0c80 8004 667e 	cmpil #-2147195266,%d0                      <== NOT EXECUTED
   42b98:	661a           	bnes 42bb4 <IMFS_fifo_ioctl+0x34>           <== NOT EXECUTED
    if (buffer == NULL)                                               
   42b9a:	4a89           	tstl %a1                                    <== NOT EXECUTED
   42b9c:	6734           	beqs 42bd2 <IMFS_fifo_ioctl+0x52>           <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
   42b9e:	4a91           	tstl %a1@                                   <== NOT EXECUTED
   42ba0:	6708           	beqs 42baa <IMFS_fifo_ioctl+0x2a>           <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
   42ba2:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   42ba4:	81a8 0014      	orl %d0,%a0@(20)                            <== NOT EXECUTED
   42ba8:	6006           	bras 42bb0 <IMFS_fifo_ioctl+0x30>           <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
   42baa:	70fe           	moveq #-2,%d0                               <== NOT EXECUTED
   42bac:	c1a8 0014      	andl %d0,%a0@(20)                           <== NOT EXECUTED
      return 0;                                                       
   42bb0:	4282           	clrl %d2                                    <== NOT EXECUTED
   42bb2:	602e           	bras 42be2 <IMFS_fifo_ioctl+0x62>           <== NOT EXECUTED
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
   42bb4:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   42bb6:	2f09           	movel %a1,%sp@-                             <== NOT EXECUTED
   42bb8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42bba:	2068 0038      	moveal %a0@(56),%a0                         <== NOT EXECUTED
   42bbe:	2f28 004c      	movel %a0@(76),%sp@-                        <== NOT EXECUTED
   42bc2:	4eb9 0004 b684 	jsr 4b684 <pipe_ioctl>                      <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   42bc8:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
   42bcc:	2400           	movel %d0,%d2                               <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   42bce:	6c12           	bges 42be2 <IMFS_fifo_ioctl+0x62>           <== NOT EXECUTED
   42bd0:	6002           	bras 42bd4 <IMFS_fifo_ioctl+0x54>           <== NOT EXECUTED
{                                                                     
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
    if (buffer == NULL)                                               
      err = -EFAULT;                                                  
   42bd2:	74f2           	moveq #-14,%d2                              <== NOT EXECUTED
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   42bd4:	4eb9 0004 e274 	jsr 4e274 <__errno>                         <== NOT EXECUTED
   42bda:	4482           	negl %d2                                    <== NOT EXECUTED
   42bdc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42bde:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   42be0:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   42be2:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   42be4:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   42be8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042b28 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
   42b28:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   42b2c:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   42b30:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42b32:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
   42b34:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   42b36:	2f2e 0014      	movel %fp@(20),%sp@-                        <== NOT EXECUTED
   42b3a:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   42b3e:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   42b42:	2068 0038      	moveal %a0@(56),%a0                         <== NOT EXECUTED
   42b46:	2f28 004c      	movel %a0@(76),%sp@-                        <== NOT EXECUTED
   42b4a:	4eb9 0004 b6e4 	jsr 4b6e4 <pipe_lseek>                      <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
   42b50:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
   42b54:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   42b56:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   42b58:	5bc1           	smi %d1                                     <== NOT EXECUTED
   42b5a:	49c1           	extbl %d1                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
   42b5c:	4a81           	tstl %d1                                    <== NOT EXECUTED
   42b5e:	6a10           	bpls 42b70 <IMFS_fifo_lseek+0x48>           <== NOT EXECUTED
   42b60:	4eb9 0004 e274 	jsr 4e274 <__errno>                         <== NOT EXECUTED
   42b66:	4483           	negl %d3                                    <== NOT EXECUTED
   42b68:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42b6a:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   42b6c:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   42b6e:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
}                                                                     
   42b70:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   42b72:	2202           	movel %d2,%d1                               <== NOT EXECUTED
   42b74:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   42b78:	262e fffc      	movel %fp@(-4),%d3                          <== NOT EXECUTED
   42b7c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042c54 <IMFS_fifo_read>: ssize_t IMFS_fifo_read( rtems_libio_t *iop, void *buffer, size_t count ) {
   42c54:	4e56 fff8      	linkw %fp,#-8                               
   42c58:	206e 0008      	moveal %fp@(8),%a0                          
   42c5c:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *jnode = iop->file_info;                               
   42c5e:	2468 0038      	moveal %a0@(56),%a2                         
ssize_t IMFS_fifo_read(                                               
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
   42c62:	2f02           	movel %d2,%sp@-                             
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
   42c64:	2f08           	movel %a0,%sp@-                             
   42c66:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42c6a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   42c6e:	2f2a 004c      	movel %a2@(76),%sp@-                        
   42c72:	4eb9 0004 b398 	jsr 4b398 <pipe_read>                       
  if (err > 0)                                                        
   42c78:	4fef 0010      	lea %sp@(16),%sp                            
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
   42c7c:	2400           	movel %d0,%d2                               
  if (err > 0)                                                        
   42c7e:	6f16           	bles 42c96 <IMFS_fifo_read+0x42>            <== NEVER TAKEN
    IMFS_update_atime(jnode);                                         
   42c80:	42a7           	clrl %sp@-                                  
   42c82:	486e fff8      	pea %fp@(-8)                                
   42c86:	4eb9 0004 3cb4 	jsr 43cb4 <gettimeofday>                    
   42c8c:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
   42c92:	508f           	addql #8,%sp                                
   42c94:	6012           	bras 42ca8 <IMFS_fifo_read+0x54>            
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   42c96:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42c98:	670e           	beqs 42ca8 <IMFS_fifo_read+0x54>            <== NOT EXECUTED
   42c9a:	4eb9 0004 e274 	jsr 4e274 <__errno>                         <== NOT EXECUTED
   42ca0:	4482           	negl %d2                                    <== NOT EXECUTED
   42ca2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42ca4:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   42ca6:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   42ca8:	2002           	movel %d2,%d0                               
   42caa:	242e fff0      	movel %fp@(-16),%d2                         
   42cae:	246e fff4      	moveal %fp@(-12),%a2                        
   42cb2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042bec <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   42bec:	4e56 fff8      	linkw %fp,#-8                               
   42bf0:	206e 0008      	moveal %fp@(8),%a0                          
   42bf4:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *jnode = iop->file_info;                               
   42bf6:	2468 0038      	moveal %a0@(56),%a2                         
ssize_t IMFS_fifo_write(                                              
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
   42bfa:	2f02           	movel %d2,%sp@-                             
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   42bfc:	2f08           	movel %a0,%sp@-                             
   42bfe:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42c02:	2f2e 000c      	movel %fp@(12),%sp@-                        
   42c06:	2f2a 004c      	movel %a2@(76),%sp@-                        
   42c0a:	4eb9 0004 b4f2 	jsr 4b4f2 <pipe_write>                      
  if (err > 0) {                                                      
   42c10:	4fef 0010      	lea %sp@(16),%sp                            
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   42c14:	2400           	movel %d0,%d2                               
  if (err > 0) {                                                      
   42c16:	6f1c           	bles 42c34 <IMFS_fifo_write+0x48>           <== NEVER TAKEN
    IMFS_mtime_ctime_update(jnode);                                   
   42c18:	42a7           	clrl %sp@-                                  
   42c1a:	486e fff8      	pea %fp@(-8)                                
   42c1e:	4eb9 0004 3cb4 	jsr 43cb4 <gettimeofday>                    
   42c24:	202e fff8      	movel %fp@(-8),%d0                          
   42c28:	508f           	addql #8,%sp                                
   42c2a:	2540 0040      	movel %d0,%a2@(64)                          
   42c2e:	2540 0044      	movel %d0,%a2@(68)                          
   42c32:	6012           	bras 42c46 <IMFS_fifo_write+0x5a>           
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   42c34:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42c36:	670e           	beqs 42c46 <IMFS_fifo_write+0x5a>           <== NOT EXECUTED
   42c38:	4eb9 0004 e274 	jsr 4e274 <__errno>                         <== NOT EXECUTED
   42c3e:	4482           	negl %d2                                    <== NOT EXECUTED
   42c40:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42c42:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   42c44:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   42c46:	2002           	movel %d2,%d0                               
   42c48:	242e fff0      	movel %fp@(-16),%d2                         
   42c4c:	246e fff4      	moveal %fp@(-12),%a2                        
   42c50:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000493dc <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
   493dc:	4e56 fff0      	linkw %fp,#-16                              
   493e0:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   493e4:	246e 0008      	moveal %fp@(8),%a2                          
   493e8:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( directory );                                              
    assert( name );                                                   
  #endif                                                              
  if ( !name )                                                        
   493ec:	674e           	beqs 4943c <IMFS_find_match_in_dir+0x60>    <== NEVER TAKEN
    return 0;                                                         
                                                                      
  if ( !directory )                                                   
   493ee:	4a8a           	tstl %a2                                    
   493f0:	6750           	beqs 49442 <IMFS_find_match_in_dir+0x66>    <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
   493f2:	4879 0005 b3ec 	pea 5b3ec <dotname>                         
   493f8:	49f9 0004 d930 	lea 4d930 <strcmp>,%a4                      
   493fe:	2f02           	movel %d2,%sp@-                             
   49400:	4e94           	jsr %a4@                                    
   49402:	508f           	addql #8,%sp                                
   49404:	4a80           	tstl %d0                                    
   49406:	673a           	beqs 49442 <IMFS_find_match_in_dir+0x66>    <== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
   49408:	4879 0005 b3ee 	pea 5b3ee <dotdotname>                      
   4940e:	2f02           	movel %d2,%sp@-                             
   49410:	4e94           	jsr %a4@                                    
   49412:	508f           	addql #8,%sp                                
   49414:	4a80           	tstl %d0                                    
   49416:	6606           	bnes 4941e <IMFS_find_match_in_dir+0x42>    <== ALWAYS TAKEN
    return directory->Parent;                                         
   49418:	246a 0008      	moveal %a2@(8),%a2                          <== NOT EXECUTED
   4941c:	6024           	bras 49442 <IMFS_find_match_in_dir+0x66>    <== NOT EXECUTED
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
   4941e:	266a 004c      	moveal %a2@(76),%a3                         
   49422:	45ea 0050      	lea %a2@(80),%a2                            
   49426:	6010           	bras 49438 <IMFS_find_match_in_dir+0x5c>    
        !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 ) )                           
   49428:	486b 000c      	pea %a3@(12)                                
   4942c:	2f02           	movel %d2,%sp@-                             
   4942e:	4e94           	jsr %a4@                                    
   49430:	508f           	addql #8,%sp                                
   49432:	4a80           	tstl %d0                                    
   49434:	670a           	beqs 49440 <IMFS_find_match_in_dir+0x64>    
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
   49436:	2653           	moveal %a3@,%a3                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
   49438:	b5cb           	cmpal %a3,%a2                               
   4943a:	66ec           	bnes 49428 <IMFS_find_match_in_dir+0x4c>    
  #if defined(RTEMS_DEBUG)                                            
    assert( directory );                                              
    assert( name );                                                   
  #endif                                                              
  if ( !name )                                                        
    return 0;                                                         
   4943c:	95ca           	subal %a2,%a2                               
   4943e:	6002           	bras 49442 <IMFS_find_match_in_dir+0x66>    
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
   49440:	244b           	moveal %a3,%a2                              
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   49442:	200a           	movel %a2,%d0                               
   49444:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   4944a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049338 <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 ) {
   49338:	4e56 ffd8      	linkw %fp,#-40                              
   4933c:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   49340:	266e 0008      	moveal %fp@(8),%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;     
   loc = temp_mt_entry->mt_fs_root;                                   
   49344:	240e           	movel %fp,%d2                               
   49346:	0682 ffff ffec 	addil #-20,%d2                              
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
   4934c:	49f9 0004 8ce0 	lea 48ce0 <IMFS_Set_handlers>,%a4           
   /*                                                                 
    * 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;     
   49352:	246b 001c      	moveal %a3@(28),%a2                         
   loc = temp_mt_entry->mt_fs_root;                                   
   49356:	4878 0014      	pea 14 <OPER2>                              
   4935a:	486b 001c      	pea %a3@(28)                                
   4935e:	2f02           	movel %d2,%sp@-                             
   49360:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
   49366:	4fef 000c      	lea %sp@(12),%sp                            
   4936a:	42ab 001c      	clrl %a3@(28)                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
   4936e:	47f9 0004 2160 	lea 42160 <IMFS_unlink>,%a3                 
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
   49374:	262a 0008      	movel %a2@(8),%d3                           
     loc.node_access = (void *)jnode;                                 
   49378:	2d4a ffec      	movel %a2,%fp@(-20)                         
     IMFS_Set_handlers( &loc );                                       
   4937c:	2f02           	movel %d2,%sp@-                             
   4937e:	4e94           	jsr %a4@                                    
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
   49380:	588f           	addql #4,%sp                                
   49382:	7001           	moveq #1,%d0                                
   49384:	b0aa 0048      	cmpl %a2@(72),%d0                           
   49388:	660e           	bnes 49398 <IMFS_fsunmount+0x60>            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4938a:	200a           	movel %a2,%d0                               
   4938c:	0680 0000 0050 	addil #80,%d0                               
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
   49392:	b0aa 004c      	cmpl %a2@(76),%d0                           
   49396:	660e           	bnes 493a6 <IMFS_fsunmount+0x6e>            
        result = IMFS_unlink( NULL, &loc );                           
   49398:	2f02           	movel %d2,%sp@-                             
   4939a:	42a7           	clrl %sp@-                                  
   4939c:	4e93           	jsr %a3@                                    
        if (result != 0)                                              
   4939e:	508f           	addql #8,%sp                                
   493a0:	4a80           	tstl %d0                                    
   493a2:	6626           	bnes 493ca <IMFS_fsunmount+0x92>            <== NEVER TAKEN
          return -1;                                                  
        jnode = next;                                                 
   493a4:	2443           	moveal %d3,%a2                              
     }                                                                
     if ( jnode != NULL ) {                                           
   493a6:	4a8a           	tstl %a2                                    
   493a8:	6724           	beqs 493ce <IMFS_fsunmount+0x96>            
       if ( jnode->type == IMFS_DIRECTORY ) {                         
   493aa:	7001           	moveq #1,%d0                                
   493ac:	b0aa 0048      	cmpl %a2@(72),%d0                           
   493b0:	66c2           	bnes 49374 <IMFS_fsunmount+0x3c>            <== NEVER TAKEN
   493b2:	200a           	movel %a2,%d0                               
   493b4:	0680 0000 0050 	addil #80,%d0                               
         if ( jnode_has_children( jnode ) )                           
   493ba:	b0aa 004c      	cmpl %a2@(76),%d0                           
   493be:	67b4           	beqs 49374 <IMFS_fsunmount+0x3c>            
           jnode = jnode_get_first_child( jnode );                    
   493c0:	246a 004c      	moveal %a2@(76),%a2                         
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
   493c4:	4a8a           	tstl %a2                                    
   493c6:	66ac           	bnes 49374 <IMFS_fsunmount+0x3c>            <== ALWAYS TAKEN
   493c8:	6004           	bras 493ce <IMFS_fsunmount+0x96>            <== NOT EXECUTED
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
   493ca:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   493cc:	6002           	bras 493d0 <IMFS_fsunmount+0x98>            <== NOT EXECUTED
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
   493ce:	4280           	clrl %d0                                    
}                                                                     
   493d0:	4cee 1c0c ffd8 	moveml %fp@(-40),%d2-%d3/%a2-%a4            
   493d6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049450 <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
   49450:	4e56 ffe4      	linkw %fp,#-28                              
   49454:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   49458:	246e 0010      	moveal %fp@(16),%a2                         
  register int i = 0;                                                 
   4945c:	4283           	clrl %d3                                    
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   4945e:	284a           	moveal %a2,%a4                              
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   49460:	4bf9 0004 356c 	lea 4356c <rtems_filesystem_is_separator>,%a5
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   49466:	266e 0008      	moveal %fp@(8),%a3                          
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
   4946a:	282e 000c      	movel %fp@(12),%d4                          
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   4946e:	141b           	moveb %a3@+,%d2                             
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   49470:	600c           	bras 4947e <IMFS_get_token+0x2e>            
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
   49472:	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;                                                    
   49474:	18c2           	moveb %d2,%a4@+                             
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
   49476:	b083           	cmpl %d3,%d0                                
   49478:	6772           	beqs 494ec <IMFS_get_token+0x9c>            
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
   4947a:	5283           	addql #1,%d3                                
   4947c:	141b           	moveb %a3@+,%d2                             
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   4947e:	1002           	moveb %d2,%d0                               
   49480:	49c0           	extbl %d0                                   
   49482:	2f00           	movel %d0,%sp@-                             
   49484:	4e95           	jsr %a5@                                    
   49486:	588f           	addql #4,%sp                                
   49488:	4a80           	tstl %d0                                    
   4948a:	6604           	bnes 49490 <IMFS_get_token+0x40>            
   4948c:	b883           	cmpl %d3,%d4                                
   4948e:	6ee2           	bgts 49472 <IMFS_get_token+0x22>            <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
   49490:	4a83           	tstl %d3                                    
   49492:	660a           	bnes 4949e <IMFS_get_token+0x4e>            
    token[i] = c;                                                     
   49494:	1482           	moveb %d2,%a2@                              
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
   49496:	6714           	beqs 494ac <IMFS_get_token+0x5c>            
   49498:	4a84           	tstl %d4                                    
   4949a:	6614           	bnes 494b0 <IMFS_get_token+0x60>            
   4949c:	600e           	bras 494ac <IMFS_get_token+0x5c>            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
   4949e:	4a32 38ff      	tstb %a2@(ffffffff,%d3:l)                   
   494a2:	6712           	beqs 494b6 <IMFS_get_token+0x66>            <== NEVER TAKEN
    token[i] = '\0';                                                  
   494a4:	4200           	clrb %d0                                    
   494a6:	1580 3800      	moveb %d0,%a2@(00000000,%d3:l)              
   494aa:	600a           	bras 494b6 <IMFS_get_token+0x66>            
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
   494ac:	4282           	clrl %d2                                    
   494ae:	6008           	bras 494b8 <IMFS_get_token+0x68>            
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
   494b0:	7401           	moveq #1,%d2                                
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
   494b2:	7601           	moveq #1,%d3                                
   494b4:	6002           	bras 494b8 <IMFS_get_token+0x68>            
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
  IMFS_token_types  type = IMFS_NAME;                                 
   494b6:	7403           	moveq #3,%d2                                
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   494b8:	206e 0014      	moveal %fp@(20),%a0                         
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
   494bc:	7003           	moveq #3,%d0                                
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   494be:	2083           	movel %d3,%a0@                              
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
   494c0:	b082           	cmpl %d2,%d0                                
   494c2:	6632           	bnes 494f6 <IMFS_get_token+0xa6>            
    if ( strcmp( token, "..") == 0 )                                  
   494c4:	4879 0005 b3f1 	pea 5b3f1 <dotdotname+0x3>                  
   494ca:	47f9 0004 d930 	lea 4d930 <strcmp>,%a3                      
   494d0:	2f0a           	movel %a2,%sp@-                             
   494d2:	4e93           	jsr %a3@                                    
   494d4:	508f           	addql #8,%sp                                
   494d6:	4a80           	tstl %d0                                    
   494d8:	6716           	beqs 494f0 <IMFS_get_token+0xa0>            
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
   494da:	4879 0005 b3f2 	pea 5b3f2 <dotdotname+0x4>                  
   494e0:	2f0a           	movel %a2,%sp@-                             
   494e2:	4e93           	jsr %a3@                                    
   494e4:	508f           	addql #8,%sp                                
   494e6:	4a80           	tstl %d0                                    
   494e8:	670a           	beqs 494f4 <IMFS_get_token+0xa4>            
   494ea:	600a           	bras 494f6 <IMFS_get_token+0xa6>            
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
       return IMFS_INVALID_TOKEN;                                     
   494ec:	7404           	moveq #4,%d2                                
   494ee:	6006           	bras 494f6 <IMFS_get_token+0xa6>            
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
   494f0:	7402           	moveq #2,%d2                                
   494f2:	6002           	bras 494f6 <IMFS_get_token+0xa6>            
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
   494f4:	7401           	moveq #1,%d2                                
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   494f6:	2002           	movel %d2,%d0                               
   494f8:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   494fe:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041d80 <IMFS_initialize_support>: IMFS_jnode_t *jnode; /* * determine/check value for imfs_memfile_bytes_per_block */ IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,
   41d80:	307c 0006      	moveaw #6,%a0                               
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
   41d84:	7210           	moveq #16,%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          
)                                                                     
{                                                                     
   41d86:	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,       
   41d8a:	2039 0005 c0a8 	movel 5c0a8 <imfs_rq_memfile_bytes_per_block>,%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          
)                                                                     
{                                                                     
   41d90:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   41d94:	246e 0008      	moveal %fp@(8),%a2                          
   41d98:	242e 0014      	movel %fp@(20),%d2                          
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
   41d9c:	b081           	cmpl %d1,%d0                                
   41d9e:	670e           	beqs 41dae <IMFS_initialize_support+0x2e>   
   41da0:	5388           	subql #1,%a0                                
   41da2:	d281           	addl %d1,%d1                                
   41da4:	4a88           	tstl %a0                                    
   41da6:	66f4           	bnes 41d9c <IMFS_initialize_support+0x1c>   <== ALWAYS TAKEN
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
   41da8:	203c 0000 0080 	movel #128,%d0                              <== NOT EXECUTED
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
   41dae:	23c0 0005 cfb4 	movel %d0,5cfb4 <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();
   41db4:	4eb9 0004 8ca6 	jsr 48ca6 <IMFS_create_root_node>           
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
   41dba:	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();
   41dc0:	2640           	moveal %d0,%a3                              
   41dc2:	2540 001c      	movel %d0,%a2@(28)                          
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
   41dc6:	2542 0024      	movel %d2,%a2@(36)                          
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
   41dca:	4878 0030      	pea 30 <OPER2+0x1c>                         
   41dce:	4879 0005 b3bc 	pea 5b3bc <IMFS_LIMITS_AND_OPTIONS>         
   41dd4:	486a 0038      	pea %a2@(56)                                
   41dd8:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
   41dde:	4878 0014      	pea 14 <OPER2>                              
   41de2:	4878 0001      	pea 1 <ADD>                                 
   41de6:	4eb9 0004 2468 	jsr 42468 <calloc>                          
  if ( !fs_info ) {                                                   
   41dec:	4fef 0014      	lea %sp@(20),%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 ) );                    
   41df0:	2040           	moveal %d0,%a0                              
  if ( !fs_info ) {                                                   
   41df2:	4a80           	tstl %d0                                    
   41df4:	661a           	bnes 41e10 <IMFS_initialize_support+0x90>   <== ALWAYS TAKEN
    free(temp_mt_entry->mt_fs_root.node_access);                      
   41df6:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   41df8:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   41dfe:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   41e04:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41e06:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41e08:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41e0a:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41e0c:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41e0e:	6030           	bras 41e40 <IMFS_initialize_support+0xc0>   <== NOT EXECUTED
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
   41e10:	2540 0034      	movel %d0,%a2@(52)                          
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   41e14:	2039 0005 cfb8 	movel 5cfb8 <imfs_instance.5818>,%d0        
   41e1a:	2080           	movel %d0,%a0@                              
   41e1c:	5280           	addql #1,%d0                                
   41e1e:	23c0 0005 cfb8 	movel %d0,5cfb8 <imfs_instance.5818>        
  fs_info->ino_count             = 1;                                 
   41e24:	7001           	moveq #1,%d0                                
  fs_info->memfile_handlers      = memfile_handlers;                  
   41e26:	216e 0010 0008 	movel %fp@(16),%a0@(8)                      
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
   41e2c:	216e 0018 0010 	movel %fp@(24),%a0@(16)                     
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
   41e32:	2140 0004      	movel %d0,%a0@(4)                           
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
   41e36:	2142 000c      	movel %d2,%a0@(12)                          
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
   41e3a:	2740 0034      	movel %d0,%a3@(52)                          
                                                                      
  return 0;                                                           
   41e3e:	4200           	clrb %d0                                    
}                                                                     
   41e40:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   41e46:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041e4c <IMFS_link>: /* * Verify this node can be linked to. */ info.hard_link.link_node = to_loc->node_access; if ( info.hard_link.link_node->st_nlink >= LINK_MAX )
   41e4c:	4280           	clrl %d0                                    
   41e4e:	7207           	moveq #7,%d1                                
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
   41e50:	4e56 ffbc      	linkw %fp,#-68                              
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
   41e54:	206e 0008      	moveal %fp@(8),%a0                          
   41e58:	2050           	moveal %a0@,%a0                             
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
   41e5a:	2f03           	movel %d3,%sp@-                             
   41e5c:	262e 0010      	movel %fp@(16),%d3                          
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
   41e60:	3028 0032      	movew %a0@(50),%d0                          
int IMFS_link(                                                        
  rtems_filesystem_location_info_t  *to_loc,      /* IN */            
  rtems_filesystem_location_info_t  *parent_loc,  /* IN */            
  const char                        *token        /* IN */            
)                                                                     
{                                                                     
   41e64:	2f02           	movel %d2,%sp@-                             
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
   41e66:	2d48 ffe0      	movel %a0,%fp@(-32)                         
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
   41e6a:	b280           	cmpl %d0,%d1                                
   41e6c:	640e           	bccs 41e7c <IMFS_link+0x30>                 
    rtems_set_errno_and_return_minus_one( EMLINK );                   
   41e6e:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   41e74:	721f           	moveq #31,%d1                               
   41e76:	2040           	moveal %d0,%a0                              
   41e78:	2081           	movel %d1,%a0@                              
   41e7a:	6050           	bras 41ecc <IMFS_link+0x80>                 
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
   41e7c:	2f03           	movel %d3,%sp@-                             
   41e7e:	240e           	movel %fp,%d2                               
   41e80:	0682 ffff ffbf 	addil #-65,%d2                              
   41e86:	4eb9 0004 de88 	jsr 4de88 <strlen>                          
   41e8c:	588f           	addql #4,%sp                                
   41e8e:	486e fffc      	pea %fp@(-4)                                
   41e92:	2f02           	movel %d2,%sp@-                             
   41e94:	2f00           	movel %d0,%sp@-                             
   41e96:	2f03           	movel %d3,%sp@-                             
   41e98:	4eb9 0004 9450 	jsr 49450 <IMFS_get_token>                  
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
   41e9e:	486e ffe0      	pea %fp@(-32)                               
   41ea2:	2f3c 0000 a1ff 	movel #41471,%sp@-                          
   41ea8:	2f02           	movel %d2,%sp@-                             
   41eaa:	4878 0003      	pea 3 <DIVIDE>                              
   41eae:	2f2e 000c      	movel %fp@(12),%sp@-                        
   41eb2:	4eb9 0004 8b9e 	jsr 48b9e <IMFS_create_node>                
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
   41eb8:	4fef 0024      	lea %sp@(36),%sp                            
   41ebc:	4a80           	tstl %d0                                    
   41ebe:	6610           	bnes 41ed0 <IMFS_link+0x84>                 
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   41ec0:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   41ec6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41ec8:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41eca:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41ecc:	70ff           	moveq #-1,%d0                               
   41ece:	6028           	bras 41ef8 <IMFS_link+0xac>                 
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
   41ed0:	206e ffe0      	moveal %fp@(-32),%a0                        
   41ed4:	3028 0032      	movew %a0@(50),%d0                          
   41ed8:	5280           	addql #1,%d0                                
   41eda:	3140 0032      	movew %d0,%a0@(50)                          
  IMFS_update_ctime( info.hard_link.link_node );                      
   41ede:	42a7           	clrl %sp@-                                  
   41ee0:	486e fff4      	pea %fp@(-12)                               
   41ee4:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   41eea:	206e ffe0      	moveal %fp@(-32),%a0                        
                                                                      
  return 0;                                                           
   41eee:	508f           	addql #8,%sp                                
   41ef0:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
  IMFS_update_ctime( info.hard_link.link_node );                      
   41ef2:	216e fff4 0044 	movel %fp@(-12),%a0@(68)                    
                                                                      
  return 0;                                                           
}                                                                     
   41ef8:	242e ffb4      	movel %fp@(-76),%d2                         
   41efc:	262e ffb8      	movel %fp@(-72),%d3                         
   41f00:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b5f2 <IMFS_memfile_addblock>: MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
   4b5f2:	4e56 0000      	linkw %fp,#0                                
   4b5f6:	2f0a           	movel %a2,%sp@-                             
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
   4b5f8:	4878 0001      	pea 1 <ADD>                                 
   4b5fc:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4b600:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4b604:	4eb9 0004 b2b0 	jsr 4b2b0 <IMFS_memfile_get_block_pointer>  
  if ( *block_entry_ptr )                                             
   4b60a:	4fef 000c      	lea %sp@(12),%sp                            
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
   4b60e:	2440           	moveal %d0,%a2                              
  if ( *block_entry_ptr )                                             
   4b610:	4a92           	tstl %a2@                                   
   4b612:	660c           	bnes 4b620 <IMFS_memfile_addblock+0x2e>     
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
   4b614:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
  if ( !memory )                                                      
   4b61a:	4a80           	tstl %d0                                    
   4b61c:	6706           	beqs 4b624 <IMFS_memfile_addblock+0x32>     <== NEVER TAKEN
    return 1;                                                         
  *block_entry_ptr = memory;                                          
   4b61e:	2480           	movel %d0,%a2@                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
  if ( *block_entry_ptr )                                             
    return 0;                                                         
   4b620:	4280           	clrl %d0                                    
   4b622:	6002           	bras 4b626 <IMFS_memfile_addblock+0x34>     
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
    return 1;                                                         
   4b624:	7001           	moveq #1,%d0                                <== NOT EXECUTED
  *block_entry_ptr = memory;                                          
                                                                      
  return 0;                                                           
}                                                                     
   4b626:	246e fffc      	moveal %fp@(-4),%a2                         
   4b62a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b7a4 <IMFS_memfile_extend>: #if defined(RTEMS_DEBUG) assert( the_jnode ); assert( the_jnode->type == IMFS_MEMORY_FILE ); #endif if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )
   4b7a4:	4280           	clrl %d0                                    
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   4b7a6:	4e56 ffdc      	linkw %fp,#-36                              
   4b7aa:	48d7 1cfc      	moveml %d2-%d7/%a2-%a4,%sp@                 
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   4b7ae:	2c39 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d6
   4b7b4:	2a06           	movel %d6,%d5                               
   4b7b6:	e48d           	lsrl #2,%d5                                 
   4b7b8:	2805           	movel %d5,%d4                               
   4b7ba:	5284           	addql #1,%d4                                
   4b7bc:	4c05 4800      	mulsl %d5,%d4                               
                                                                      
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   4b7c0:	242e 000c      	movel %fp@(12),%d2                          
   4b7c4:	262e 0010      	movel %fp@(16),%d3                          
   4b7c8:	246e 0008      	moveal %fp@(8),%a2                          
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
    assert( the_jnode->type == IMFS_MEMORY_FILE );                    
  #endif                                                              
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   4b7cc:	5284           	addql #1,%d4                                
   4b7ce:	4c05 4800      	mulsl %d5,%d4                               
   4b7d2:	5384           	subql #1,%d4                                
   4b7d4:	4c06 4800      	mulsl %d6,%d4                               
   4b7d8:	2204           	movel %d4,%d1                               
   4b7da:	2802           	movel %d2,%d4                               
   4b7dc:	2a03           	movel %d3,%d5                               
   4b7de:	9a81           	subl %d1,%d5                                
   4b7e0:	9980           	subxl %d0,%d4                               
   4b7e2:	6d0e           	blts 4b7f2 <IMFS_memfile_extend+0x4e>       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4b7e4:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   4b7ea:	7416           	moveq #22,%d2                               
   4b7ec:	2040           	moveal %d0,%a0                              
   4b7ee:	2082           	movel %d2,%a0@                              
   4b7f0:	6078           	bras 4b86a <IMFS_memfile_extend+0xc6>       
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
   4b7f2:	282a 004c      	movel %a2@(76),%d4                          
   4b7f6:	2a2a 0050      	movel %a2@(80),%d5                          
   4b7fa:	2002           	movel %d2,%d0                               
   4b7fc:	2203           	movel %d3,%d1                               
   4b7fe:	9285           	subl %d5,%d1                                
   4b800:	9184           	subxl %d4,%d0                               
   4b802:	6f78           	bles 4b87c <IMFS_memfile_extend+0xd8>       
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
   4b804:	47f9 0005 87c4 	lea 587c4 <__divdi3>,%a3                    
   4b80a:	2e06           	movel %d6,%d7                               
   4b80c:	5bc6           	smi %d6                                     
   4b80e:	49c6           	extbl %d6                                   
   4b810:	2f07           	movel %d7,%sp@-                             
   4b812:	2f06           	movel %d6,%sp@-                             
   4b814:	2f03           	movel %d3,%sp@-                             
   4b816:	2f02           	movel %d2,%sp@-                             
   4b818:	4e93           	jsr %a3@                                    
   4b81a:	4fef 0010      	lea %sp@(16),%sp                            
   4b81e:	2841           	moveal %d1,%a4                              
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
   4b820:	2f07           	movel %d7,%sp@-                             
   4b822:	2f06           	movel %d6,%sp@-                             
   4b824:	2f05           	movel %d5,%sp@-                             
   4b826:	2f04           	movel %d4,%sp@-                             
   4b828:	4e93           	jsr %a3@                                    
   4b82a:	4fef 0010      	lea %sp@(16),%sp                            
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
   4b82e:	47f9 0004 b5f2 	lea 4b5f2 <IMFS_memfile_addblock>,%a3       
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
   4b834:	2c01           	movel %d1,%d6                               
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   4b836:	2801           	movel %d1,%d4                               
   4b838:	6036           	bras 4b870 <IMFS_memfile_extend+0xcc>       
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
   4b83a:	2f04           	movel %d4,%sp@-                             
   4b83c:	2f0a           	movel %a2,%sp@-                             
   4b83e:	4e93           	jsr %a3@                                    
   4b840:	508f           	addql #8,%sp                                
   4b842:	4a80           	tstl %d0                                    
   4b844:	6728           	beqs 4b86e <IMFS_memfile_extend+0xca>       <== ALWAYS TAKEN
   4b846:	600c           	bras 4b854 <IMFS_memfile_extend+0xb0>       <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
   4b848:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
   4b84a:	5384           	subql #1,%d4                                <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
   4b84c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4b84e:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
   4b850:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4b852:	6006           	bras 4b85a <IMFS_memfile_extend+0xb6>       <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
   4b854:	47f9 0004 b772 	lea 4b772 <IMFS_memfile_remove_block>,%a3   <== NOT EXECUTED
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
   4b85a:	bc84           	cmpl %d4,%d6                                <== NOT EXECUTED
   4b85c:	63ea           	blss 4b848 <IMFS_memfile_extend+0xa4>       <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
   4b85e:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4b864:	721c           	moveq #28,%d1                               <== NOT EXECUTED
   4b866:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b868:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   4b86a:	70ff           	moveq #-1,%d0                               
   4b86c:	6010           	bras 4b87e <IMFS_memfile_extend+0xda>       
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   4b86e:	5284           	addql #1,%d4                                
   4b870:	b9c4           	cmpal %d4,%a4                               
   4b872:	64c6           	bccs 4b83a <IMFS_memfile_extend+0x96>       
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
   4b874:	2542 004c      	movel %d2,%a2@(76)                          
   4b878:	2543 0050      	movel %d3,%a2@(80)                          
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
   4b87c:	4280           	clrl %d0                                    
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
   4b87e:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
   4b884:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b2b0 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
   4b2b0:	4e56 fff0      	linkw %fp,#-16                              
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
   4b2b4:	2039 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d0
   4b2ba:	e488           	lsrl #2,%d0                                 
   4b2bc:	2200           	movel %d0,%d1                               
   4b2be:	5381           	subql #1,%d1                                
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
   4b2c0:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   4b2c4:	246e 0008      	moveal %fp@(8),%a2                          
   4b2c8:	242e 000c      	movel %fp@(12),%d2                          
   4b2cc:	206e 0010      	moveal %fp@(16),%a0                         
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
   4b2d0:	b282           	cmpl %d2,%d1                                
   4b2d2:	6536           	bcss 4b30a <IMFS_memfile_get_block_pointer+0x5a>
    p = info->indirect;                                               
   4b2d4:	226a 0054      	moveal %a2@(84),%a1                         
                                                                      
    if ( malloc_it ) {                                                
   4b2d8:	4a88           	tstl %a0                                    
   4b2da:	6720           	beqs 4b2fc <IMFS_memfile_get_block_pointer+0x4c>
                                                                      
      if ( !p ) {                                                     
   4b2dc:	4a89           	tstl %a1                                    
   4b2de:	6610           	bnes 4b2f0 <IMFS_memfile_get_block_pointer+0x40>
        p = memfile_alloc_block();                                    
   4b2e0:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
        if ( !p )                                                     
   4b2e6:	4a80           	tstl %d0                                    
   4b2e8:	6700 0118      	beqw 4b402 <IMFS_memfile_get_block_pointer+0x152>
           return 0;                                                  
        info->indirect = p;                                           
   4b2ec:	2540 0054      	movel %d0,%a2@(84)                          
      }                                                               
      return &info->indirect[ my_block ];                             
   4b2f0:	206a 0054      	moveal %a2@(84),%a0                         
   4b2f4:	e58a           	lsll #2,%d2                                 
   4b2f6:	d1c2           	addal %d2,%a0                               
   4b2f8:	6000 010a      	braw 4b404 <IMFS_memfile_get_block_pointer+0x154>
    }                                                                 
                                                                      
    if ( !p )                                                         
   4b2fc:	4a89           	tstl %a1                                    
   4b2fe:	6700 0102      	beqw 4b402 <IMFS_memfile_get_block_pointer+0x152>
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
   4b302:	41f1 2c00      	lea %a1@(00000000,%d2:l:4),%a0              
   4b306:	6000 00fc      	braw 4b404 <IMFS_memfile_get_block_pointer+0x154>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
   4b30a:	2200           	movel %d0,%d1                               
   4b30c:	5281           	addql #1,%d1                                
   4b30e:	4c00 1800      	mulsl %d0,%d1                               
   4b312:	2241           	moveal %d1,%a1                              
   4b314:	5389           	subql #1,%a1                                
   4b316:	b3c2           	cmpal %d2,%a1                               
   4b318:	6562           	bcss 4b37c <IMFS_memfile_get_block_pointer+0xcc>
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
   4b31a:	9480           	subl %d0,%d2                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
   4b31c:	4c40 2003      	remul %d0,%d3,%d2                           
   4b320:	4c40 2002      	remul %d0,%d2,%d2                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
   4b324:	202a 0058      	movel %a2@(88),%d0                          
    if ( malloc_it ) {                                                
   4b328:	4a88           	tstl %a0                                    
   4b32a:	6736           	beqs 4b362 <IMFS_memfile_get_block_pointer+0xb2>
                                                                      
      if ( !p ) {                                                     
   4b32c:	4a80           	tstl %d0                                    
   4b32e:	6610           	bnes 4b340 <IMFS_memfile_get_block_pointer+0x90>
        p = memfile_alloc_block();                                    
   4b330:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
        if ( !p )                                                     
   4b336:	4a80           	tstl %d0                                    
   4b338:	6700 00c8      	beqw 4b402 <IMFS_memfile_get_block_pointer+0x152>
           return 0;                                                  
        info->doubly_indirect = p;                                    
   4b33c:	2540 0058      	movel %d0,%a2@(88)                          
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
   4b340:	2040           	moveal %d0,%a0                              
   4b342:	45f0 2c00      	lea %a0@(00000000,%d2:l:4),%a2              
   4b346:	2012           	movel %a2@,%d0                              
      if ( !p1 ) {                                                    
   4b348:	660e           	bnes 4b358 <IMFS_memfile_get_block_pointer+0xa8>
        p1 = memfile_alloc_block();                                   
   4b34a:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
        if ( !p1 )                                                    
   4b350:	4a80           	tstl %d0                                    
   4b352:	6700 00ae      	beqw 4b402 <IMFS_memfile_get_block_pointer+0x152>
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
   4b356:	2480           	movel %d0,%a2@                              
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
   4b358:	2240           	moveal %d0,%a1                              
   4b35a:	41f1 3c00      	lea %a1@(00000000,%d3:l:4),%a0              
   4b35e:	6000 00a4      	braw 4b404 <IMFS_memfile_get_block_pointer+0x154>
    }                                                                 
                                                                      
    if ( !p )                                                         
   4b362:	4a80           	tstl %d0                                    
   4b364:	6700 009c      	beqw 4b402 <IMFS_memfile_get_block_pointer+0x152>
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
   4b368:	2240           	moveal %d0,%a1                              
   4b36a:	2071 2c00      	moveal %a1@(00000000,%d2:l:4),%a0           
    if ( !p )                                                         
   4b36e:	4a88           	tstl %a0                                    
   4b370:	6700 0090      	beqw 4b402 <IMFS_memfile_get_block_pointer+0x152>
#if 0                                                                 
fprintf(stdout, "(d %d %d %d %d %p %p) ", block, my_block, doubly,    
                                       singly, p, &p[singly] );       
fflush(stdout);                                                       
#endif                                                                
    return (block_p *)&p[ singly ];                                   
   4b374:	41f0 3c00      	lea %a0@(00000000,%d3:l:4),%a0              
   4b378:	6000 008a      	braw 4b404 <IMFS_memfile_get_block_pointer+0x154>
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
   4b37c:	2601           	movel %d1,%d3                               
   4b37e:	5283           	addql #1,%d3                                
   4b380:	4c00 3800      	mulsl %d0,%d3                               
   4b384:	5383           	subql #1,%d3                                
   4b386:	b682           	cmpl %d2,%d3                                
   4b388:	6578           	bcss 4b402 <IMFS_memfile_get_block_pointer+0x152><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
   4b38a:	9481           	subl %d1,%d2                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
   4b38c:	4c40 2004      	remul %d0,%d4,%d2                           
   4b390:	4c40 2002      	remul %d0,%d2,%d2                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
   4b394:	4c40 2003      	remul %d0,%d3,%d2                           
   4b398:	4c40 2002      	remul %d0,%d2,%d2                           
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
   4b39c:	202a 005c      	movel %a2@(92),%d0                          
                                                                      
    if ( malloc_it ) {                                                
   4b3a0:	4a88           	tstl %a0                                    
   4b3a2:	6746           	beqs 4b3ea <IMFS_memfile_get_block_pointer+0x13a>
      if ( !p ) {                                                     
   4b3a4:	4a80           	tstl %d0                                    
   4b3a6:	660e           	bnes 4b3b6 <IMFS_memfile_get_block_pointer+0x106>
        p = memfile_alloc_block();                                    
   4b3a8:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
        if ( !p )                                                     
   4b3ae:	4a80           	tstl %d0                                    
   4b3b0:	6750           	beqs 4b402 <IMFS_memfile_get_block_pointer+0x152><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
   4b3b2:	2540 005c      	movel %d0,%a2@(92)                          
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
   4b3b6:	2040           	moveal %d0,%a0                              
   4b3b8:	45f0 2c00      	lea %a0@(00000000,%d2:l:4),%a2              
   4b3bc:	2012           	movel %a2@,%d0                              
      if ( !p1 ) {                                                    
   4b3be:	660c           	bnes 4b3cc <IMFS_memfile_get_block_pointer+0x11c>
        p1 = memfile_alloc_block();                                   
   4b3c0:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
        if ( !p1 )                                                    
   4b3c6:	4a80           	tstl %d0                                    
   4b3c8:	6738           	beqs 4b402 <IMFS_memfile_get_block_pointer+0x152><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
   4b3ca:	2480           	movel %d0,%a2@                              
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
   4b3cc:	2240           	moveal %d0,%a1                              
   4b3ce:	45f1 3c00      	lea %a1@(00000000,%d3:l:4),%a2              
   4b3d2:	2012           	movel %a2@,%d0                              
      if ( !p2 ) {                                                    
   4b3d4:	660c           	bnes 4b3e2 <IMFS_memfile_get_block_pointer+0x132>
        p2 = memfile_alloc_block();                                   
   4b3d6:	4eb9 0004 b28c 	jsr 4b28c <memfile_alloc_block>             
        if ( !p2 )                                                    
   4b3dc:	4a80           	tstl %d0                                    
   4b3de:	6722           	beqs 4b402 <IMFS_memfile_get_block_pointer+0x152><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
   4b3e0:	2480           	movel %d0,%a2@                              
      }                                                               
      return (block_p *)&p2[ singly ];                                
   4b3e2:	2240           	moveal %d0,%a1                              
   4b3e4:	41f1 4c00      	lea %a1@(00000000,%d4:l:4),%a0              
   4b3e8:	601a           	bras 4b404 <IMFS_memfile_get_block_pointer+0x154>
    }                                                                 
                                                                      
    if ( !p )                                                         
   4b3ea:	4a80           	tstl %d0                                    
   4b3ec:	6714           	beqs 4b402 <IMFS_memfile_get_block_pointer+0x152><== NEVER TAKEN
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
   4b3ee:	2040           	moveal %d0,%a0                              
   4b3f0:	2270 2c00      	moveal %a0@(00000000,%d2:l:4),%a1           
    if ( !p1 )                                                        
   4b3f4:	4a89           	tstl %a1                                    
   4b3f6:	670a           	beqs 4b402 <IMFS_memfile_get_block_pointer+0x152><== NEVER TAKEN
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
   4b3f8:	2071 3c00      	moveal %a1@(00000000,%d3:l:4),%a0           
   4b3fc:	e58c           	lsll #2,%d4                                 
   4b3fe:	d1c4           	addal %d4,%a0                               
   4b400:	6002           	bras 4b404 <IMFS_memfile_get_block_pointer+0x154>
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
    if ( !p1 )                                                        
      return 0;                                                       
   4b402:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
   4b404:	2008           	movel %a0,%d0                               
   4b406:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4b40c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b410 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
   4b410:	4e56 ffc8      	linkw %fp,#-56                              
   4b414:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4b418:	246e 0008      	moveal %fp@(8),%a2                          
   4b41c:	2e2e 0014      	movel %fp@(20),%d7                          
   4b420:	2c2e 0018      	movel %fp@(24),%d6                          
   4b424:	242e 000c      	movel %fp@(12),%d2                          
   4b428:	262e 0010      	movel %fp@(16),%d3                          
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  if ( !dest )                                                        
   4b42c:	4a87           	tstl %d7                                    
   4b42e:	6704           	beqs 4b434 <IMFS_memfile_read+0x24>         <== NEVER TAKEN
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
   4b430:	4a86           	tstl %d6                                    
   4b432:	6612           	bnes 4b446 <IMFS_memfile_read+0x36>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4b434:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4b43a:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   4b43c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b43e:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   4b440:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4b442:	6000 017c      	braw 4b5c0 <IMFS_memfile_read+0x1b0>        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4b446:	7006           	moveq #6,%d0                                
   4b448:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4b44c:	6656           	bnes 4b4a4 <IMFS_memfile_read+0x94>         <== ALWAYS TAKEN
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   4b44e:	2246           	moveal %d6,%a1                              <== NOT EXECUTED
   4b450:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
   4b452:	282a 004c      	movel %a2@(76),%d4                          <== NOT EXECUTED
   4b456:	2a2a 0050      	movel %a2@(80),%d5                          <== NOT EXECUTED
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
   4b45a:	266a 0054      	moveal %a2@(84),%a3                         <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   4b45e:	2d44 fff0      	movel %d4,%fp@(-16)                         <== NOT EXECUTED
   4b462:	2d45 fff4      	movel %d5,%fp@(-12)                         <== NOT EXECUTED
   4b466:	9a83           	subl %d3,%d5                                <== NOT EXECUTED
   4b468:	9982           	subxl %d2,%d4                               <== NOT EXECUTED
   4b46a:	2008           	movel %a0,%d0                               <== NOT EXECUTED
   4b46c:	2209           	movel %a1,%d1                               <== NOT EXECUTED
   4b46e:	9285           	subl %d5,%d1                                <== NOT EXECUTED
   4b470:	9184           	subxl %d4,%d0                               <== NOT EXECUTED
   4b472:	6f06           	bles 4b47a <IMFS_memfile_read+0x6a>         <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
   4b474:	2c2e fff4      	movel %fp@(-12),%d6                         <== NOT EXECUTED
   4b478:	9c83           	subl %d3,%d6                                <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
   4b47a:	2f06           	movel %d6,%sp@-                             <== NOT EXECUTED
   4b47c:	4873 3800      	pea %a3@(00000000,%d3:l)                    <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
                                                                      
    return my_length;                                                 
   4b480:	2406           	movel %d6,%d2                               <== 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);                        
   4b482:	2f07           	movel %d7,%sp@-                             <== NOT EXECUTED
   4b484:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
   4b48a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b48c:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   4b490:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    <== NOT EXECUTED
   4b496:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     <== NOT EXECUTED
                                                                      
    return my_length;                                                 
   4b49c:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   4b4a0:	6000 011e      	braw 4b5c0 <IMFS_memfile_read+0x1b0>        <== NOT EXECUTED
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
   4b4a4:	2043           	moveal %d3,%a0                              
   4b4a6:	43f0 6800      	lea %a0@(00000000,%d6:l),%a1                
  if ( last_byte > the_jnode->info.file.size )                        
   4b4aa:	97cb           	subal %a3,%a3                               
   4b4ac:	2849           	moveal %a1,%a4                              
   4b4ae:	202a 004c      	movel %a2@(76),%d0                          
   4b4b2:	222a 0050      	movel %a2@(80),%d1                          
   4b4b6:	280b           	movel %a3,%d4                               
   4b4b8:	2a0c           	movel %a4,%d5                               
   4b4ba:	9a81           	subl %d1,%d5                                
   4b4bc:	9980           	subxl %d0,%d4                               
   4b4be:	6f04           	bles 4b4c4 <IMFS_memfile_read+0xb4>         
    my_length = the_jnode->info.file.size - start;                    
   4b4c0:	2c01           	movel %d1,%d6                               
   4b4c2:	9c83           	subl %d3,%d6                                
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4b4c4:	2879 0005 cfb4 	moveal 5cfb4 <imfs_memfile_bytes_per_block>,%a4
   4b4ca:	2a0c           	movel %a4,%d5                               
   4b4cc:	5bc4           	smi %d4                                     
   4b4ce:	49c4           	extbl %d4                                   
   4b4d0:	2f05           	movel %d5,%sp@-                             
   4b4d2:	2f04           	movel %d4,%sp@-                             
   4b4d4:	2f03           	movel %d3,%sp@-                             
   4b4d6:	2f02           	movel %d2,%sp@-                             
   4b4d8:	4eb9 0005 8b90 	jsr 58b90 <__moddi3>                        
   4b4de:	4fef 0010      	lea %sp@(16),%sp                            
   4b4e2:	2641           	moveal %d1,%a3                              
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4b4e4:	2f05           	movel %d5,%sp@-                             
   4b4e6:	2f04           	movel %d4,%sp@-                             
   4b4e8:	2f03           	movel %d3,%sp@-                             
   4b4ea:	2f02           	movel %d2,%sp@-                             
   4b4ec:	4eb9 0005 87c4 	jsr 587c4 <__divdi3>                        
   4b4f2:	4fef 0010      	lea %sp@(16),%sp                            
   4b4f6:	2801           	movel %d1,%d4                               
  if ( start_offset )  {                                              
   4b4f8:	4a8b           	tstl %a3                                    
   4b4fa:	673c           	beqs 4b538 <IMFS_memfile_read+0x128>        
    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 );
   4b4fc:	42a7           	clrl %sp@-                                  
   4b4fe:	2f01           	movel %d1,%sp@-                             
   4b500:	2f0a           	movel %a2,%sp@-                             
   4b502:	4eb9 0004 b2b0 	jsr 4b2b0 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4b508:	4fef 000c      	lea %sp@(12),%sp                            
   4b50c:	4a80           	tstl %d0                                    
   4b50e:	6700 00ae      	beqw 4b5be <IMFS_memfile_read+0x1ae>        
   */                                                                 
                                                                      
  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;            
   4b512:	99cb           	subal %a3,%a4                               
   4b514:	2406           	movel %d6,%d2                               
   4b516:	b9c6           	cmpal %d6,%a4                               
   4b518:	6402           	bccs 4b51c <IMFS_memfile_read+0x10c>        
   4b51a:	240c           	movel %a4,%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 );           
   4b51c:	2f02           	movel %d2,%sp@-                             
   4b51e:	2040           	moveal %d0,%a0                              
   4b520:	d7d0           	addal %a0@,%a3                              
    dest += to_copy;                                                  
    block++;                                                          
   4b522:	5284           	addql #1,%d4                                
    my_length -= to_copy;                                             
   4b524:	9c82           	subl %d2,%d6                                
    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 );           
   4b526:	2f0b           	movel %a3,%sp@-                             
   4b528:	2f07           	movel %d7,%sp@-                             
    dest += to_copy;                                                  
   4b52a:	de82           	addl %d2,%d7                                
    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 );           
   4b52c:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
   4b532:	4fef 000c      	lea %sp@(12),%sp                            
   4b536:	6002           	bras 4b53a <IMFS_memfile_read+0x12a>        
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
   4b538:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   4b53a:	2679 0005 cfb4 	moveal 5cfb4 <imfs_memfile_bytes_per_block>,%a3
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4b540:	4bf9 0004 b2b0 	lea 4b2b0 <IMFS_memfile_get_block_pointer>,%a5
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4b546:	49f9 0004 d2dc 	lea 4d2dc <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 ) {               
   4b54c:	6026           	bras 4b574 <IMFS_memfile_read+0x164>        
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4b54e:	42a7           	clrl %sp@-                                  
   4b550:	2f04           	movel %d4,%sp@-                             
   4b552:	2f0a           	movel %a2,%sp@-                             
   4b554:	4e95           	jsr %a5@                                    
    if ( !block_ptr )                                                 
   4b556:	4fef 000c      	lea %sp@(12),%sp                            
   4b55a:	4a80           	tstl %d0                                    
   4b55c:	6762           	beqs 4b5c0 <IMFS_memfile_read+0x1b0>        <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4b55e:	2040           	moveal %d0,%a0                              
    dest += to_copy;                                                  
    block++;                                                          
   4b560:	5284           	addql #1,%d4                                
    my_length -= to_copy;                                             
   4b562:	9c8b           	subl %a3,%d6                                
    copied += to_copy;                                                
   4b564:	d48b           	addl %a3,%d2                                
  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 );                      
   4b566:	2f0b           	movel %a3,%sp@-                             
   4b568:	2f10           	movel %a0@,%sp@-                            
   4b56a:	2f07           	movel %d7,%sp@-                             
    dest += to_copy;                                                  
   4b56c:	de8b           	addl %a3,%d7                                
  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 );                      
   4b56e:	4e94           	jsr %a4@                                    
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4b570:	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 ) {               
   4b574:	bcb9 0005 cfb4 	cmpl 5cfb4 <imfs_memfile_bytes_per_block>,%d6
   4b57a:	64d2           	bccs 4b54e <IMFS_memfile_read+0x13e>        
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );               
  #endif                                                              
                                                                      
  if ( my_length ) {                                                  
   4b57c:	4a86           	tstl %d6                                    
   4b57e:	6728           	beqs 4b5a8 <IMFS_memfile_read+0x198>        
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4b580:	42a7           	clrl %sp@-                                  
   4b582:	2f04           	movel %d4,%sp@-                             
   4b584:	2f0a           	movel %a2,%sp@-                             
   4b586:	4eb9 0004 b2b0 	jsr 4b2b0 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4b58c:	4fef 000c      	lea %sp@(12),%sp                            
   4b590:	4a80           	tstl %d0                                    
   4b592:	672c           	beqs 4b5c0 <IMFS_memfile_read+0x1b0>        <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
   4b594:	2040           	moveal %d0,%a0                              
    copied += my_length;                                              
   4b596:	d486           	addl %d6,%d2                                
                                                                      
  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 );                    
   4b598:	2f06           	movel %d6,%sp@-                             
   4b59a:	2f10           	movel %a0@,%sp@-                            
   4b59c:	2f07           	movel %d7,%sp@-                             
   4b59e:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
    copied += my_length;                                              
   4b5a4:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
   4b5a8:	42a7           	clrl %sp@-                                  
   4b5aa:	486e fff8      	pea %fp@(-8)                                
   4b5ae:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   4b5b4:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
                                                                      
  return copied;                                                      
   4b5ba:	508f           	addql #8,%sp                                
   4b5bc:	6002           	bras 4b5c0 <IMFS_memfile_read+0x1b0>        
    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;                                                  
   4b5be:	4282           	clrl %d2                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
   4b5c0:	2002           	movel %d2,%d0                               
   4b5c2:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   4b5c8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b692 <IMFS_memfile_remove>: */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
   4b692:	4e56 ffe4      	linkw %fp,#-28                              
   4b696:	48d7 1c3c      	moveml %d2-%d5/%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;                                 
   4b69a:	2439 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d2
   4b6a0:	e48a           	lsrl #2,%d2                                 
 */                                                                   
                                                                      
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
   4b6a2:	246e 0008      	moveal %fp@(8),%a2                          
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
   4b6a6:	4aaa 0054      	tstl %a2@(84)                               
   4b6aa:	670e           	beqs 4b6ba <IMFS_memfile_remove+0x28>       
    memfile_free_blocks_in_table( &info->indirect, to_free );         
   4b6ac:	2f02           	movel %d2,%sp@-                             
   4b6ae:	486a 0054      	pea %a2@(84)                                
   4b6b2:	4eb9 0004 b648 	jsr 4b648 <memfile_free_blocks_in_table>    
   4b6b8:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
   4b6ba:	4aaa 0058      	tstl %a2@(88)                               
   4b6be:	673e           	beqs 4b6fe <IMFS_memfile_remove+0x6c>       <== ALWAYS TAKEN
   4b6c0:	4283           	clrl %d3                                    <== NOT EXECUTED
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
   4b6c2:	47f9 0004 b648 	lea 4b648 <memfile_free_blocks_in_table>,%a3<== NOT EXECUTED
   4b6c8:	601a           	bras 4b6e4 <IMFS_memfile_remove+0x52>       <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
   4b6ca:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   4b6cc:	206a 0058      	moveal %a2@(88),%a0                         <== NOT EXECUTED
   4b6d0:	e588           	lsll #2,%d0                                 <== NOT EXECUTED
   4b6d2:	4ab0 0800      	tstl %a0@(00000000,%d0:l)                   <== NOT EXECUTED
   4b6d6:	670a           	beqs 4b6e2 <IMFS_memfile_remove+0x50>       <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
   4b6d8:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b6da:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   4b6de:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4b6e0:	508f           	addql #8,%sp                                <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4b6e2:	5283           	addql #1,%d3                                <== NOT EXECUTED
   4b6e4:	2039 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d0<== NOT EXECUTED
   4b6ea:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4b6ec:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   4b6ee:	62da           	bhis 4b6ca <IMFS_memfile_remove+0x38>       <== NOT EXECUTED
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
         (block_p **)&info->doubly_indirect[i], to_free );            
      }                                                               
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
   4b6f0:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b6f2:	486a 0058      	pea %a2@(88)                                <== NOT EXECUTED
   4b6f6:	4eb9 0004 b648 	jsr 4b648 <memfile_free_blocks_in_table>    <== NOT EXECUTED
   4b6fc:	508f           	addql #8,%sp                                <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
   4b6fe:	4aaa 005c      	tstl %a2@(92)                               
   4b702:	6762           	beqs 4b766 <IMFS_memfile_remove+0xd4>       <== ALWAYS TAKEN
   4b704:	4283           	clrl %d3                                    <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
   4b706:	49f9 0004 b648 	lea 4b648 <memfile_free_blocks_in_table>,%a4<== NOT EXECUTED
   4b70c:	603e           	bras 4b74c <IMFS_memfile_remove+0xba>       <== NOT EXECUTED
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
   4b70e:	2a03           	movel %d3,%d5                               <== NOT EXECUTED
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4b710:	206a 005c      	moveal %a2@(92),%a0                         <== NOT EXECUTED
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
   4b714:	e58d           	lsll #2,%d5                                 <== NOT EXECUTED
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4b716:	2670 5800      	moveal %a0@(00000000,%d5:l),%a3             <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
   4b71a:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   4b71c:	673a           	beqs 4b758 <IMFS_memfile_remove+0xc6>       <== NOT EXECUTED
   4b71e:	4284           	clrl %d4                                    <== NOT EXECUTED
   4b720:	6010           	bras 4b732 <IMFS_memfile_remove+0xa0>       <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
   4b722:	4a93           	tstl %a3@                                   <== NOT EXECUTED
   4b724:	6708           	beqs 4b72e <IMFS_memfile_remove+0x9c>       <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
   4b726:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b728:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4b72a:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4b72c:	508f           	addql #8,%sp                                <== NOT EXECUTED
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
   4b72e:	5284           	addql #1,%d4                                <== NOT EXECUTED
   4b730:	588b           	addql #4,%a3                                <== NOT EXECUTED
   4b732:	2039 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d0<== NOT EXECUTED
   4b738:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4b73a:	b084           	cmpl %d4,%d0                                <== NOT EXECUTED
   4b73c:	62e4           	bhis 4b722 <IMFS_memfile_remove+0x90>       <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
   4b73e:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b740:	daaa 005c      	addl %a2@(92),%d5                           <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4b744:	5283           	addql #1,%d3                                <== NOT EXECUTED
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
   4b746:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   4b748:	4e94           	jsr %a4@                                    <== NOT EXECUTED
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4b74a:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4b74c:	2039 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d0<== NOT EXECUTED
   4b752:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4b754:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   4b756:	62b6           	bhis 4b70e <IMFS_memfile_remove+0x7c>       <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
   4b758:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b75a:	486a 005c      	pea %a2@(92)                                <== NOT EXECUTED
   4b75e:	4eb9 0004 b648 	jsr 4b648 <memfile_free_blocks_in_table>    <== NOT EXECUTED
   4b764:	508f           	addql #8,%sp                                <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4b766:	4280           	clrl %d0                                    
   4b768:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4b76e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b772 <IMFS_memfile_remove_block>: MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
   4b772:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
   4b776:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b778:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4b77c:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   4b780:	4eb9 0004 b2b0 	jsr 4b2b0 <IMFS_memfile_get_block_pointer>  <== NOT EXECUTED
  #if defined(RTEMS_DEBUG)                                            
    assert( block_ptr );                                              
  #endif                                                              
                                                                      
  if ( block_ptr ) {                                                  
   4b786:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4b78a:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b78c:	6710           	beqs 4b79e <IMFS_memfile_remove_block+0x2c> <== NOT EXECUTED
    ptr = *block_ptr;                                                 
   4b78e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b790:	2210           	movel %a0@,%d1                              <== NOT EXECUTED
    *block_ptr = 0;                                                   
   4b792:	4290           	clrl %a0@                                   <== NOT EXECUTED
    memfile_free_block( ptr );                                        
   4b794:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4b796:	4eb9 0004 b62e 	jsr 4b62e <memfile_free_block>              <== NOT EXECUTED
   4b79c:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
   4b79e:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4b7a0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b888 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
   4b888:	4e56 ffd0      	linkw %fp,#-48                              
   4b88c:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4b890:	246e 0008      	moveal %fp@(8),%a2                          
   4b894:	2e2e 0014      	movel %fp@(20),%d7                          
   4b898:	2c2e 0018      	movel %fp@(24),%d6                          
   4b89c:	242e 000c      	movel %fp@(12),%d2                          
   4b8a0:	262e 0010      	movel %fp@(16),%d3                          
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  if ( !source )                                                      
   4b8a4:	4a87           	tstl %d7                                    
   4b8a6:	6704           	beqs 4b8ac <IMFS_memfile_write+0x24>        <== NEVER TAKEN
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
   4b8a8:	4a86           	tstl %d6                                    
   4b8aa:	660e           	bnes 4b8ba <IMFS_memfile_write+0x32>        <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4b8ac:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4b8b2:	7816           	moveq #22,%d4                               <== NOT EXECUTED
   4b8b4:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b8b6:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
   4b8b8:	6036           	bras 4b8f0 <IMFS_memfile_write+0x68>        <== NOT EXECUTED
  /*                                                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
   4b8ba:	2046           	moveal %d6,%a0                              
   4b8bc:	d1c3           	addal %d3,%a0                               
  if ( last_byte > the_jnode->info.file.size ) {                      
   4b8be:	2208           	movel %a0,%d1                               
   4b8c0:	4280           	clrl %d0                                    
   4b8c2:	282a 004c      	movel %a2@(76),%d4                          
   4b8c6:	2a2a 0050      	movel %a2@(80),%d5                          
   4b8ca:	9a81           	subl %d1,%d5                                
   4b8cc:	9980           	subxl %d0,%d4                               
   4b8ce:	6c28           	bges 4b8f8 <IMFS_memfile_write+0x70>        <== NEVER TAKEN
    status = IMFS_memfile_extend( the_jnode, last_byte );             
   4b8d0:	2f08           	movel %a0,%sp@-                             
   4b8d2:	2f00           	movel %d0,%sp@-                             
   4b8d4:	2f0a           	movel %a2,%sp@-                             
   4b8d6:	4eb9 0004 b7a4 	jsr 4b7a4 <IMFS_memfile_extend>             
    if ( status )                                                     
   4b8dc:	4fef 000c      	lea %sp@(12),%sp                            
   4b8e0:	4a80           	tstl %d0                                    
   4b8e2:	6714           	beqs 4b8f8 <IMFS_memfile_write+0x70>        
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   4b8e4:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   4b8ea:	761c           	moveq #28,%d3                               
   4b8ec:	2040           	moveal %d0,%a0                              
   4b8ee:	2083           	movel %d3,%a0@                              
   4b8f0:	387c ffff      	moveaw #-1,%a4                              
   4b8f4:	6000 0102      	braw 4b9f8 <IMFS_memfile_write+0x170>       
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4b8f8:	2879 0005 cfb4 	moveal 5cfb4 <imfs_memfile_bytes_per_block>,%a4
   4b8fe:	2a0c           	movel %a4,%d5                               
   4b900:	5bc4           	smi %d4                                     
   4b902:	49c4           	extbl %d4                                   
   4b904:	2f05           	movel %d5,%sp@-                             
   4b906:	2f04           	movel %d4,%sp@-                             
   4b908:	2f03           	movel %d3,%sp@-                             
   4b90a:	2f02           	movel %d2,%sp@-                             
   4b90c:	4eb9 0005 8b90 	jsr 58b90 <__moddi3>                        
   4b912:	4fef 0010      	lea %sp@(16),%sp                            
   4b916:	2641           	moveal %d1,%a3                              
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4b918:	2f05           	movel %d5,%sp@-                             
   4b91a:	2f04           	movel %d4,%sp@-                             
   4b91c:	2f03           	movel %d3,%sp@-                             
   4b91e:	2f02           	movel %d2,%sp@-                             
   4b920:	4eb9 0005 87c4 	jsr 587c4 <__divdi3>                        
   4b926:	4fef 0010      	lea %sp@(16),%sp                            
   4b92a:	2401           	movel %d1,%d2                               
  if ( start_offset )  {                                              
   4b92c:	4a8b           	tstl %a3                                    
   4b92e:	673a           	beqs 4b96a <IMFS_memfile_write+0xe2>        
    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 );
   4b930:	42a7           	clrl %sp@-                                  
   4b932:	2f01           	movel %d1,%sp@-                             
   4b934:	2f0a           	movel %a2,%sp@-                             
   4b936:	4eb9 0004 b2b0 	jsr 4b2b0 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4b93c:	4fef 000c      	lea %sp@(12),%sp                            
   4b940:	4a80           	tstl %d0                                    
   4b942:	6700 00b2      	beqw 4b9f6 <IMFS_memfile_write+0x16e>       
   */                                                                 
                                                                      
  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;            
   4b946:	99cb           	subal %a3,%a4                               
   4b948:	bc8c           	cmpl %a4,%d6                                
   4b94a:	6402           	bccs 4b94e <IMFS_memfile_write+0xc6>        
   4b94c:	2846           	moveal %d6,%a4                              
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4b94e:	2f0c           	movel %a4,%sp@-                             
   4b950:	2040           	moveal %d0,%a0                              
    src += to_copy;                                                   
    block++;                                                          
   4b952:	5282           	addql #1,%d2                                
    my_length -= to_copy;                                             
   4b954:	9c8c           	subl %a4,%d6                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4b956:	2f07           	movel %d7,%sp@-                             
   4b958:	d7d0           	addal %a0@,%a3                              
    src += to_copy;                                                   
   4b95a:	de8c           	addl %a4,%d7                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4b95c:	2f0b           	movel %a3,%sp@-                             
   4b95e:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4b964:	4fef 000c      	lea %sp@(12),%sp                            
   4b968:	6002           	bras 4b96c <IMFS_memfile_write+0xe4>        
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
   4b96a:	99cc           	subal %a4,%a4                               
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   4b96c:	2839 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%d4
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4b972:	4bf9 0004 b2b0 	lea 4b2b0 <IMFS_memfile_get_block_pointer>,%a5
    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 );                       
   4b978:	47f9 0004 d2dc 	lea 4d2dc <memcpy>,%a3                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   4b97e:	6026           	bras 4b9a6 <IMFS_memfile_write+0x11e>       
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4b980:	42a7           	clrl %sp@-                                  
   4b982:	2f02           	movel %d2,%sp@-                             
   4b984:	2f0a           	movel %a2,%sp@-                             
   4b986:	4e95           	jsr %a5@                                    
    if ( !block_ptr )                                                 
   4b988:	4fef 000c      	lea %sp@(12),%sp                            
   4b98c:	4a80           	tstl %d0                                    
   4b98e:	6768           	beqs 4b9f8 <IMFS_memfile_write+0x170>       <== 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, to_copy );                       
   4b990:	2f04           	movel %d4,%sp@-                             
   4b992:	2040           	moveal %d0,%a0                              
    src += to_copy;                                                   
    block++;                                                          
   4b994:	5282           	addql #1,%d2                                
    my_length -= to_copy;                                             
   4b996:	9c84           	subl %d4,%d6                                
 *                                                                    
 *  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(                            
   4b998:	d9c4           	addal %d4,%a4                               
    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 );                       
   4b99a:	2f07           	movel %d7,%sp@-                             
   4b99c:	2f10           	movel %a0@,%sp@-                            
    src += to_copy;                                                   
   4b99e:	de84           	addl %d4,%d7                                
    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 );                       
   4b9a0:	4e93           	jsr %a3@                                    
 *                                                                    
 *  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(                            
   4b9a2:	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 ) {               
   4b9a6:	bcb9 0005 cfb4 	cmpl 5cfb4 <imfs_memfile_bytes_per_block>,%d6
   4b9ac:	64d2           	bccs 4b980 <IMFS_memfile_write+0xf8>        
  #if defined(RTEMS_DEBUG)                                            
    assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );               
  #endif                                                              
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
   4b9ae:	4a86           	tstl %d6                                    
   4b9b0:	6728           	beqs 4b9da <IMFS_memfile_write+0x152>       
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4b9b2:	42a7           	clrl %sp@-                                  
   4b9b4:	2f02           	movel %d2,%sp@-                             
   4b9b6:	2f0a           	movel %a2,%sp@-                             
   4b9b8:	4eb9 0004 b2b0 	jsr 4b2b0 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4b9be:	4fef 000c      	lea %sp@(12),%sp                            
   4b9c2:	4a80           	tstl %d0                                    
   4b9c4:	6732           	beqs 4b9f8 <IMFS_memfile_write+0x170>       <== 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 );                     
   4b9c6:	2f06           	movel %d6,%sp@-                             
   4b9c8:	2040           	moveal %d0,%a0                              
    my_length = 0;                                                    
    copied += to_copy;                                                
   4b9ca:	d9c6           	addal %d6,%a4                               
    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 );                     
   4b9cc:	2f07           	movel %d7,%sp@-                             
   4b9ce:	2f10           	movel %a0@,%sp@-                            
   4b9d0:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
    my_length = 0;                                                    
    copied += to_copy;                                                
   4b9d6:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   4b9da:	42a7           	clrl %sp@-                                  
   4b9dc:	486e fff8      	pea %fp@(-8)                                
   4b9e0:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   4b9e6:	202e fff8      	movel %fp@(-8),%d0                          
                                                                      
  return copied;                                                      
   4b9ea:	508f           	addql #8,%sp                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   4b9ec:	2540 0040      	movel %d0,%a2@(64)                          
   4b9f0:	2540 0044      	movel %d0,%a2@(68)                          
                                                                      
  return copied;                                                      
   4b9f4:	6002           	bras 4b9f8 <IMFS_memfile_write+0x170>       
    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;                                                  
   4b9f6:	99cc           	subal %a4,%a4                               <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
   4b9f8:	200c           	movel %a4,%d0                               
   4b9fa:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            
   4ba00:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041f04 <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
   41f04:	4e56 ffb4      	linkw %fp,#-76                              
   41f08:	48d7 003c      	moveml %d2-%d5,%sp@                         
   41f0c:	262e 0008      	movel %fp@(8),%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 );        
   41f10:	2f03           	movel %d3,%sp@-                             
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   41f12:	242e 000c      	movel %fp@(12),%d2                          
  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 );        
   41f16:	4eb9 0004 de88 	jsr 4de88 <strlen>                          
   41f1c:	588f           	addql #4,%sp                                
   41f1e:	486e fffc      	pea %fp@(-4)                                
   41f22:	486e ffc7      	pea %fp@(-57)                               
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   41f26:	2a2e 0010      	movel %fp@(16),%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 );        
   41f2a:	2f00           	movel %d0,%sp@-                             
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   41f2c:	282e 0014      	movel %fp@(20),%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 );        
   41f30:	2f03           	movel %d3,%sp@-                             
   41f32:	4eb9 0004 9450 	jsr 49450 <IMFS_get_token>                  
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
   41f38:	4fef 0010      	lea %sp@(16),%sp                            
   41f3c:	2002           	movel %d2,%d0                               
   41f3e:	0280 0000 f000 	andil #61440,%d0                            
   41f44:	0c80 0000 4000 	cmpil #16384,%d0                            
   41f4a:	673a           	beqs 41f86 <IMFS_mknod+0x82>                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
   41f4c:	0c80 0000 8000 	cmpil #32768,%d0                            
   41f52:	6736           	beqs 41f8a <IMFS_mknod+0x86>                
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
   41f54:	0c80 0000 6000 	cmpil #24576,%d0                            
   41f5a:	6708           	beqs 41f64 <IMFS_mknod+0x60>                
   41f5c:	0c80 0000 2000 	cmpil #8192,%d0                             
   41f62:	660c           	bnes 41f70 <IMFS_mknod+0x6c>                
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
   41f64:	2d45 ffe8      	movel %d5,%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;                                               
   41f68:	7002           	moveq #2,%d0                                
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
   41f6a:	2d44 ffec      	movel %d4,%fp@(-20)                         
   41f6e:	6020           	bras 41f90 <IMFS_mknod+0x8c>                
  }                                                                   
  else if (S_ISFIFO(mode))                                            
   41f70:	0c80 0000 1000 	cmpil #4096,%d0                             
   41f76:	6716           	beqs 41f8e <IMFS_mknod+0x8a>                <== ALWAYS TAKEN
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   41f78:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   41f7e:	7216           	moveq #22,%d1                               <== NOT EXECUTED
   41f80:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41f82:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   41f84:	6034           	bras 41fba <IMFS_mknod+0xb6>                <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
   41f86:	7001           	moveq #1,%d0                                
   41f88:	6006           	bras 41f90 <IMFS_mknod+0x8c>                
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
   41f8a:	7005           	moveq #5,%d0                                
   41f8c:	6002           	bras 41f90 <IMFS_mknod+0x8c>                
  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;                                                 
   41f8e:	7007           	moveq #7,%d0                                
   *        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(                                        
   41f90:	486e ffe8      	pea %fp@(-24)                               
   41f94:	2f02           	movel %d2,%sp@-                             
   41f96:	486e ffc7      	pea %fp@(-57)                               
   41f9a:	2f00           	movel %d0,%sp@-                             
   41f9c:	2f2e 0018      	movel %fp@(24),%sp@-                        
   41fa0:	4eb9 0004 8b9e 	jsr 48b9e <IMFS_create_node>                
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
   41fa6:	4fef 0014      	lea %sp@(20),%sp                            
   41faa:	4a80           	tstl %d0                                    
   41fac:	6610           	bnes 41fbe <IMFS_mknod+0xba>                
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   41fae:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   41fb4:	2040           	moveal %d0,%a0                              
   41fb6:	700c           	moveq #12,%d0                               
   41fb8:	2080           	movel %d0,%a0@                              
   41fba:	70ff           	moveq #-1,%d0                               
   41fbc:	6002           	bras 41fc0 <IMFS_mknod+0xbc>                
                                                                      
  return 0;                                                           
   41fbe:	4280           	clrl %d0                                    
}                                                                     
   41fc0:	4cee 003c ffb4 	moveml %fp@(-76),%d2-%d5                    
   41fc6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041fcc <IMFS_mount>: /* * Is the node that we are mounting onto a directory node ? */ if ( node->type != IMFS_DIRECTORY )
   41fcc:	7001           	moveq #1,%d0                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
   41fce:	4e56 0000      	linkw %fp,#0                                
   41fd2:	226e 0008      	moveal %fp@(8),%a1                          
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
   41fd6:	2069 0008      	moveal %a1@(8),%a0                          
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
   41fda:	b0a8 0048      	cmpl %a0@(72),%d0                           
   41fde:	6710           	beqs 41ff0 <IMFS_mount+0x24>                <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   41fe0:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   41fe6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41fe8:	7014           	moveq #20,%d0                               <== NOT EXECUTED
   41fea:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41fec:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41fee:	6006           	bras 41ff6 <IMFS_mount+0x2a>                <== NOT EXECUTED
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
   41ff0:	2149 0058      	movel %a1,%a0@(88)                          
  return 0;                                                           
   41ff4:	4280           	clrl %d0                                    
}                                                                     
   41ff6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043840 <IMFS_print_jnode>: */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
   43840:	4e56 0000      	linkw %fp,#0                                
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   43844:	2079 0006 0ab4 	moveal 60ab4 <_impure_ptr>,%a0              
 */                                                                   
                                                                      
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
   4384a:	2f0a           	movel %a2,%sp@-                             
   4384c:	246e 0008      	moveal %fp@(8),%a2                          
   43850:	2f02           	movel %d2,%sp@-                             
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   43852:	2f28 0008      	movel %a0@(8),%sp@-                         
  switch( the_jnode->type ) {                                         
   43856:	7406           	moveq #6,%d2                                
{                                                                     
  #if defined(RTEMS_DEBUG)                                            
    assert( the_jnode );                                              
  #endif                                                              
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   43858:	486a 000c      	pea %a2@(12)                                
   4385c:	4eb9 0004 fc9c 	jsr 4fc9c <fputs>                           
  switch( the_jnode->type ) {                                         
   43862:	202a 0048      	movel %a2@(72),%d0                          
   43866:	2200           	movel %d0,%d1                               
   43868:	508f           	addql #8,%sp                                
   4386a:	5381           	subql #1,%d1                                
   4386c:	b481           	cmpl %d1,%d2                                
   4386e:	6500 009c      	bcsw 4390c <IMFS_print_jnode+0xcc>          
   43872:	2079 0006 0ab4 	moveal 60ab4 <_impure_ptr>,%a0              
   43878:	303b 1a08      	movew %pc@(43882 <IMFS_print_jnode+0x42>,%d1:l:2),%d0
   4387c:	48c0           	extl %d0                                    
   4387e:	4efb 0802      	jmp %pc@(43882 <IMFS_print_jnode+0x42>,%d0:l)
   43882:	000e           	016                                         <== NOT EXECUTED
   43884:	0022           	042                                         <== NOT EXECUTED
   43886:	006a           	0152                                        <== NOT EXECUTED
   43888:	006a           	0152                                        <== NOT EXECUTED
   4388a:	0050           	0120                                        <== NOT EXECUTED
   4388c:	0032           	062                                         <== NOT EXECUTED
   4388e:	0076           	0166                                        <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
   43890:	2f28 0008      	movel %a0@(8),%sp@-                         
   43894:	4878 002f      	pea 2f <OPER2+0x1b>                         
   43898:	4eb9 0004 fbcc 	jsr 4fbcc <fputc>                           
      break;                                                          
   4389e:	508f           	addql #8,%sp                                
   438a0:	6000 0088      	braw 4392a <IMFS_print_jnode+0xea>          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
   438a4:	2f2a 0050      	movel %a2@(80),%sp@-                        
   438a8:	2f2a 004c      	movel %a2@(76),%sp@-                        
   438ac:	4879 0005 f24c 	pea 5f24c <IntUartPollCallbacks.6221+0x20>  
   438b2:	600e           	bras 438c2 <IMFS_print_jnode+0x82>          
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
   438b4:	2f2a 0054      	movel %a2@(84),%sp@-                        <== NOT EXECUTED
   438b8:	2f2a 0050      	movel %a2@(80),%sp@-                        <== NOT EXECUTED
   438bc:	4879 0005 f25f 	pea 5f25f <IntUartPollCallbacks.6221+0x33>  <== NOT EXECUTED
   438c2:	2f28 0008      	movel %a0@(8),%sp@-                         
   438c6:	4eb9 0004 fb4e 	jsr 4fb4e <fprintf>                         
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
   438cc:	4fef 0010      	lea %sp@(16),%sp                            
   438d0:	6058           	bras 4392a <IMFS_print_jnode+0xea>          
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
   438d2:	2f2a 0050      	movel %a2@(80),%sp@-                        
   438d6:	4879 0005 f26e 	pea 5f26e <IntUartPollCallbacks.6221+0x42>  
   438dc:	2f28 0008      	movel %a0@(8),%sp@-                         
   438e0:	4eb9 0004 fb4e 	jsr 4fb4e <fprintf>                         
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
   438e6:	4fef 000c      	lea %sp@(12),%sp                            
   438ea:	603e           	bras 4392a <IMFS_print_jnode+0xea>          
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
   438ec:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   438f0:	4879 0005 f27a 	pea 5f27a <IntUartPollCallbacks.6221+0x4e>  <== NOT EXECUTED
   438f6:	600a           	bras 43902 <IMFS_print_jnode+0xc2>          <== NOT EXECUTED
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
   438f8:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   438fc:	4879 0005 f28e 	pea 5f28e <IntUartPollCallbacks.6221+0x62>  <== NOT EXECUTED
   43902:	4eb9 0004 fc9c 	jsr 4fc9c <fputs>                           <== NOT EXECUTED
      return;                                                         
   43908:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4390a:	6038           	bras 43944 <IMFS_print_jnode+0x104>         <== NOT EXECUTED
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
   4390c:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4390e:	4879 0005 f2a1 	pea 5f2a1 <IntUartPollCallbacks.6221+0x75>  <== NOT EXECUTED
   43914:	2079 0006 0ab4 	moveal 60ab4 <_impure_ptr>,%a0              <== NOT EXECUTED
   4391a:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   4391e:	4eb9 0004 fb4e 	jsr 4fb4e <fprintf>                         <== NOT EXECUTED
      return;                                                         
   43924:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43928:	601a           	bras 43944 <IMFS_print_jnode+0x104>         <== NOT EXECUTED
  }                                                                   
  puts("");                                                           
}                                                                     
   4392a:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   4392e:	203c 0005 f932 	movel #391474,%d0                           
}                                                                     
   43934:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   43938:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   4393c:	4e5e           	unlk %fp                                    
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   4393e:	4ef9 0005 14b2 	jmp 514b2 <puts>                            
}                                                                     
   43944:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   43948:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   4394c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042010 <IMFS_readlink>: IMFS_jnode_t *node; int i; node = loc->node_access; if ( node->type != IMFS_SYM_LINK )
   42010:	7004           	moveq #4,%d0                                
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
   42012:	4e56 0000      	linkw %fp,#0                                
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
   42016:	206e 0008      	moveal %fp@(8),%a0                          
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
   4201a:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
   4201c:	2250           	moveal %a0@,%a1                             
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
   4201e:	2f02           	movel %d2,%sp@-                             
   42020:	242e 0010      	movel %fp@(16),%d2                          
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
   42024:	b0a9 0048      	cmpl %a1@(72),%d0                           
   42028:	6608           	bnes 42032 <IMFS_readlink+0x22>             <== NEVER TAKEN
   4202a:	206e 000c      	moveal %fp@(12),%a0                         
   4202e:	4200           	clrb %d0                                    
   42030:	6014           	bras 42046 <IMFS_readlink+0x36>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   42032:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42038:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4203a:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   4203c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4203e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42040:	6012           	bras 42054 <IMFS_readlink+0x44>             <== NOT EXECUTED
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
   42042:	5280           	addql #1,%d0                                
    buf[i] = node->info.sym_link.name[i];                             
   42044:	10c1           	moveb %d1,%a0@+                             
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
   42046:	b480           	cmpl %d0,%d2                                
   42048:	630a           	blss 42054 <IMFS_readlink+0x44>             
   4204a:	2469 004c      	moveal %a1@(76),%a2                         
   4204e:	1232 0800      	moveb %a2@(00000000,%d0:l),%d1              
   42052:	66ee           	bnes 42042 <IMFS_readlink+0x32>             
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
   42054:	242e fff8      	movel %fp@(-8),%d2                          
   42058:	246e fffc      	moveal %fp@(-4),%a2                         
   4205c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042060 <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 */ ) {
   42060:	4e56 fff8      	linkw %fp,#-8                               
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
   42064:	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 */        
)                                                                     
{                                                                     
   42068:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
   4206a:	2450           	moveal %a0@,%a2                             
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
   4206c:	4878 0020      	pea 20 <OPER2+0xc>                          
   42070:	2f2e 0014      	movel %fp@(20),%sp@-                        
   42074:	486a 000c      	pea %a2@(12)                                
   42078:	4eb9 0004 dea0 	jsr 4dea0 <strncpy>                         
                                                                      
  if ( the_jnode->Parent != NULL )                                    
   4207e:	4fef 000c      	lea %sp@(12),%sp                            
   42082:	4aaa 0008      	tstl %a2@(8)                                
   42086:	670a           	beqs 42092 <IMFS_rename+0x32>               <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   42088:	2f0a           	movel %a2,%sp@-                             
   4208a:	4eb9 0004 6164 	jsr 46164 <_Chain_Extract>                  
   42090:	588f           	addql #4,%sp                                
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
   42092:	206e 0010      	moveal %fp@(16),%a0                         
   42096:	2050           	moveal %a0@,%a0                             
  the_jnode->Parent = new_parent;                                     
   42098:	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 );                               
   4209c:	2f0a           	movel %a2,%sp@-                             
   4209e:	4868 004c      	pea %a0@(76)                                
   420a2:	4eb9 0004 612c 	jsr 4612c <_Chain_Append>                   
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
   420a8:	42a7           	clrl %sp@-                                  
   420aa:	486e fff8      	pea %fp@(-8)                                
   420ae:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   420b4:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
}                                                                     
   420ba:	4280           	clrl %d0                                    
   420bc:	246e fff4      	moveal %fp@(-12),%a2                        
   420c0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000495dc <IMFS_stat>: IMFS_device_t *io; the_jnode = loc->node_access; switch ( the_jnode->type ) {
   495dc:	7205           	moveq #5,%d1                                
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
   495de:	4e56 0000      	linkw %fp,#0                                
   495e2:	206e 000c      	moveal %fp@(12),%a0                         
   495e6:	2f0a           	movel %a2,%sp@-                             
   495e8:	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;                                       
   495ec:	2252           	moveal %a2@,%a1                             
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
   495ee:	2029 0048      	movel %a1@(72),%d0                          
   495f2:	5580           	subql #2,%d0                                
   495f4:	b280           	cmpl %d0,%d1                                
   495f6:	653e           	bcss 49636 <IMFS_stat+0x5a>                 <== NEVER TAKEN
   495f8:	303b 0a08      	movew %pc@(49602 <IMFS_stat+0x26>,%d0:l:2),%d0
   495fc:	48c0           	extl %d0                                    
   495fe:	4efb 0802      	jmp %pc@(49602 <IMFS_stat+0x26>,%d0:l)      
   49602:	000c           	014                                         <== NOT EXECUTED
   49604:	0034           	064                                         <== NOT EXECUTED
   49606:	0026           	046                                         <== NOT EXECUTED
   49608:	001c           	034                                         <== NOT EXECUTED
   4960a:	001c           	034                                         <== NOT EXECUTED
   4960c:	0026           	046                                         <== NOT EXECUTED
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
   4960e:	2029 0050      	movel %a1@(80),%d0                          
   49612:	2169 004c 0016 	movel %a1@(76),%a0@(22)                     
   49618:	2140 001a      	movel %d0,%a0@(26)                          
      break;                                                          
   4961c:	602a           	bras 49648 <IMFS_stat+0x6c>                 
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
   4961e:	2029 004c      	movel %a1@(76),%d0                          
   49622:	2229 0050      	movel %a1@(80),%d1                          
   49626:	6004           	bras 4962c <IMFS_stat+0x50>                 
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
   49628:	4280           	clrl %d0                                    
   4962a:	4281           	clrl %d1                                    
   4962c:	2140 001e      	movel %d0,%a0@(30)                          
   49630:	2141 0022      	movel %d1,%a0@(34)                          
      break;                                                          
   49634:	6012           	bras 49648 <IMFS_stat+0x6c>                 
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
   49636:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4963c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4963e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   49640:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   49646:	6046           	bras 4968e <IMFS_stat+0xb2>                 <== 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;                                   
   49648:	246a 0010      	moveal %a2@(16),%a2                         
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4964c:	246a 0034      	moveal %a2@(52),%a2                         
   49650:	2012           	movel %a2@,%d0                              
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
   49652:	2169 002e 000c 	movel %a1@(46),%a0@(12)                     
  buf->st_nlink = the_jnode->st_nlink;                                
   49658:	3169 0032 0010 	movew %a1@(50),%a0@(16)                     
  buf->st_ino   = the_jnode->st_ino;                                  
   4965e:	2169 0034 0008 	movel %a1@(52),%a0@(8)                      
  buf->st_uid   = the_jnode->st_uid;                                  
   49664:	3169 0038 0012 	movew %a1@(56),%a0@(18)                     
  buf->st_gid   = the_jnode->st_gid;                                  
   4966a:	3169 003a 0014 	movew %a1@(58),%a0@(20)                     
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
   49670:	2169 003c 0026 	movel %a1@(60),%a0@(38)                     
  buf->st_mtime = the_jnode->stat_mtime;                              
   49676:	2169 0040 002e 	movel %a1@(64),%a0@(46)                     
  buf->st_ctime = the_jnode->stat_ctime;                              
   4967c:	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 =                                                       
   49682:	2140 0004      	movel %d0,%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;                                                           
   49686:	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 =                                                       
   49688:	20bc 0000 fffe 	movel #65534,%a0@                           
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
   4968e:	246e fffc      	moveal %fp@(-4),%a2                         
   49692:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000420c4 <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
   420c4:	4e56 ffc4      	linkw %fp,#-60                              
   420c8:	2f03           	movel %d3,%sp@-                             
   420ca:	262e 0010      	movel %fp@(16),%d3                          
   420ce:	2f02           	movel %d2,%sp@-                             
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
   420d0:	240e           	movel %fp,%d2                               
   420d2:	0682 ffff ffc7 	addil #-57,%d2                              
   420d8:	2f03           	movel %d3,%sp@-                             
   420da:	4eb9 0004 de88 	jsr 4de88 <strlen>                          
   420e0:	588f           	addql #4,%sp                                
   420e2:	486e fffc      	pea %fp@(-4)                                
   420e6:	2f02           	movel %d2,%sp@-                             
   420e8:	2f00           	movel %d0,%sp@-                             
   420ea:	2f03           	movel %d3,%sp@-                             
   420ec:	4eb9 0004 9450 	jsr 49450 <IMFS_get_token>                  
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
   420f2:	2f2e 000c      	movel %fp@(12),%sp@-                        
   420f6:	4eb9 0004 d9f8 	jsr 4d9f8 <strdup>                          
  if (info.sym_link.name == NULL) {                                   
   420fc:	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);                             
   42100:	2d40 ffe8      	movel %d0,%fp@(-24)                         
  if (info.sym_link.name == NULL) {                                   
   42104:	660e           	bnes 42114 <IMFS_symlink+0x50>              <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   42106:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4210c:	720c           	moveq #12,%d1                               <== NOT EXECUTED
   4210e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42110:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   42112:	603a           	bras 4214e <IMFS_symlink+0x8a>              <== 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(                                        
   42114:	486e ffe8      	pea %fp@(-24)                               
   42118:	2f3c 0000 a1ff 	movel #41471,%sp@-                          
   4211e:	2f02           	movel %d2,%sp@-                             
   42120:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   42124:	2f2e 0008      	movel %fp@(8),%sp@-                         
   42128:	4eb9 0004 8b9e 	jsr 48b9e <IMFS_create_node>                
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
   4212e:	4fef 0014      	lea %sp@(20),%sp                            
   42132:	4a80           	tstl %d0                                    
   42134:	661c           	bnes 42152 <IMFS_symlink+0x8e>              <== ALWAYS TAKEN
    free(info.sym_link.name);                                         
   42136:	2f2e ffe8      	movel %fp@(-24),%sp@-                       <== NOT EXECUTED
   4213a:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   42140:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42146:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42148:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4214a:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   4214c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4214e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42150:	6002           	bras 42154 <IMFS_symlink+0x90>              <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
   42152:	4280           	clrl %d0                                    
}                                                                     
   42154:	242e ffbc      	movel %fp@(-68),%d2                         
   42158:	262e ffc0      	movel %fp@(-64),%d3                         
   4215c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042160 <IMFS_unlink>: /* * If this is the last last pointer to the node * free the node. */ if ( node->type == IMFS_HARD_LINK ) {
   42160:	7003           	moveq #3,%d0                                
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
   42162:	4e56 ffd0      	linkw %fp,#-48                              
   42166:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   4216a:	246e 000c      	moveal %fp@(12),%a2                         
   4216e:	262e 0008      	movel %fp@(8),%d3                           
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
   42172:	2652           	moveal %a2@,%a3                             
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
   42174:	b0ab 0048      	cmpl %a3@(72),%d0                           
   42178:	6600 0082      	bnew 421fc <IMFS_unlink+0x9c>               
                                                                      
    if ( !node->info.hard_link.link_node )                            
   4217c:	282b 004c      	movel %a3@(76),%d4                          
   42180:	660e           	bnes 42190 <IMFS_unlink+0x30>               <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   42182:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42188:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4218a:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   4218c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4218e:	607e           	bras 4220e <IMFS_unlink+0xae>               <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
   42190:	4878 0014      	pea 14 <OPER2>                              
   42194:	240e           	movel %fp,%d2                               
   42196:	0682 ffff ffe4 	addil #-28,%d2                              
   4219c:	2f0a           	movel %a2,%sp@-                             
   4219e:	2f02           	movel %d2,%sp@-                             
   421a0:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
    the_link.node_access = node->info.hard_link.link_node;            
   421a6:	2d44 ffe4      	movel %d4,%fp@(-28)                         
    /*                                                                
     *  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)               
   421aa:	7801           	moveq #1,%d4                                
    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;            
    IMFS_Set_handlers( &the_link );                                   
   421ac:	2f02           	movel %d2,%sp@-                             
   421ae:	4eb9 0004 8ce0 	jsr 48ce0 <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)               
   421b4:	206b 004c      	moveal %a3@(76),%a0                         
   421b8:	4281           	clrl %d1                                    
   421ba:	4fef 0010      	lea %sp@(16),%sp                            
   421be:	3028 0032      	movew %a0@(50),%d0                          
   421c2:	3200           	movew %d0,%d1                               
   421c4:	b881           	cmpl %d1,%d4                                
   421c6:	6616           	bnes 421de <IMFS_unlink+0x7e>               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
   421c8:	2f02           	movel %d2,%sp@-                             
   421ca:	206e ffec      	moveal %fp@(-20),%a0                        
   421ce:	2f03           	movel %d3,%sp@-                             
   421d0:	2068 0034      	moveal %a0@(52),%a0                         
   421d4:	4e90           	jsr %a0@                                    
        if ( result != 0 )                                            
   421d6:	508f           	addql #8,%sp                                
   421d8:	4a80           	tstl %d0                                    
   421da:	6720           	beqs 421fc <IMFS_unlink+0x9c>               
   421dc:	6030           	bras 4220e <IMFS_unlink+0xae>               
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
   421de:	5380           	subql #1,%d0                                
   421e0:	3140 0032      	movew %d0,%a0@(50)                          
        IMFS_update_ctime( node->info.hard_link.link_node );          
   421e4:	42a7           	clrl %sp@-                                  
   421e6:	486e fff8      	pea %fp@(-8)                                
   421ea:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   421f0:	206b 004c      	moveal %a3@(76),%a0                         
   421f4:	508f           	addql #8,%sp                                
   421f6:	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 );               
   421fc:	206a 0008      	moveal %a2@(8),%a0                          
   42200:	2f0a           	movel %a2,%sp@-                             
   42202:	2f03           	movel %d3,%sp@-                             
   42204:	2068 0034      	moveal %a0@(52),%a0                         
   42208:	4e90           	jsr %a0@                                    
                                                                      
  return result;                                                      
   4220a:	508f           	addql #8,%sp                                
   4220c:	6002           	bras 42210 <IMFS_unlink+0xb0>               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
        if ( result != 0 )                                            
            return -1;                                                
   4220e:	70ff           	moveq #-1,%d0                               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
                                                                      
  return result;                                                      
}                                                                     
   42210:	4cee 0c1c ffd0 	moveml %fp@(-48),%d2-%d4/%a2-%a3            
   42216:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004221c <IMFS_unmount>: /* * Is the node that we are mounting onto a directory node ? */ if ( node->type != IMFS_DIRECTORY )
   4221c:	7001           	moveq #1,%d0                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
   4221e:	4e56 0000      	linkw %fp,#0                                
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
   42222:	206e 0008      	moveal %fp@(8),%a0                          
   42226:	2068 0008      	moveal %a0@(8),%a0                          
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
   4222a:	b0a8 0048      	cmpl %a0@(72),%d0                           
   4222e:	670e           	beqs 4223e <IMFS_unmount+0x22>              <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   42230:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42236:	7214           	moveq #20,%d1                               <== NOT EXECUTED
   42238:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4223a:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   4223c:	6012           	bras 42250 <IMFS_unmount+0x34>              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
   4223e:	4aa8 0058      	tstl %a0@(88)                               
   42242:	6610           	bnes 42254 <IMFS_unmount+0x38>              <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
   42244:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4224a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4224c:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   4224e:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42250:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42252:	6006           	bras 4225a <IMFS_unmount+0x3e>              <== NOT EXECUTED
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
   42254:	42a8 0058      	clrl %a0@(88)                               
                                                                      
  return 0;                                                           
   42258:	4280           	clrl %d0                                    
}                                                                     
   4225a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042a84 <RTEMS_Malloc_Initialize>: void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, size_t sbrk_amount ) {
   42a84:	4e56 0000      	linkw %fp,#0                                
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
   42a88:	2079 0005 c746 	moveal 5c746 <rtems_malloc_statistics_helpers>,%a0
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
   42a8e:	2f03           	movel %d3,%sp@-                             
   42a90:	262e 0008      	movel %fp@(8),%d3                           
   42a94:	2f02           	movel %d2,%sp@-                             
   42a96:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
   42a9a:	4a88           	tstl %a0                                    
   42a9c:	6704           	beqs 42aa2 <RTEMS_Malloc_Initialize+0x1e>   <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->initialize)();                 
   42a9e:	2050           	moveal %a0@,%a0                             <== NOT EXECUTED
   42aa0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
   42aa2:	4eb9 0004 2a12 	jsr 42a12 <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
   42aa8:	2079 0005 c74a 	moveal 5c74a <rtems_malloc_sbrk_helpers>,%a0
   42aae:	4a88           	tstl %a0                                    
   42ab0:	6712           	beqs 42ac4 <RTEMS_Malloc_Initialize+0x40>   <== ALWAYS TAKEN
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
   42ab2:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
   42ab6:	d483           	addl %d3,%d2                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
   42ab8:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42aba:	2050           	moveal %a0@,%a0                             <== NOT EXECUTED
   42abc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
   42abe:	508f           	addql #8,%sp                                <== NOT EXECUTED
   42ac0:	9480           	subl %d0,%d2                                <== NOT EXECUTED
    heap_begin = new_heap_begin;                                      
   42ac2:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if (                                                                
   42ac4:	4a39 0005 c744 	tstb 5c744 <rtems_unified_work_area>        
   42aca:	6618           	bnes 42ae4 <RTEMS_Malloc_Initialize+0x60>   
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
   42acc:	4a39 0005 c17c 	tstb 5c17c <Configuration+0x28>             
   42ad2:	6710           	beqs 42ae4 <RTEMS_Malloc_Initialize+0x60>   
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
   42ad4:	2f02           	movel %d2,%sp@-                             
   42ad6:	42a7           	clrl %sp@-                                  
   42ad8:	2f03           	movel %d3,%sp@-                             
   42ada:	4eb9 0004 d34c 	jsr 4d34c <memset>                          
   42ae0:	4fef 000c      	lea %sp@(12),%sp                            
   *  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 ) {                                   
   42ae4:	4a39 0005 c744 	tstb 5c744 <rtems_unified_work_area>        
   42aea:	6626           	bnes 42b12 <RTEMS_Malloc_Initialize+0x8e>   
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
   42aec:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   42af0:	2f02           	movel %d2,%sp@-                             
   42af2:	2f03           	movel %d3,%sp@-                             
   42af4:	2f39 0005 c0b0 	movel 5c0b0 <RTEMS_Malloc_Heap>,%sp@-       
   42afa:	4eb9 0004 6682 	jsr 46682 <_Heap_Initialize>                
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
   42b00:	4fef 0010      	lea %sp@(16),%sp                            
   42b04:	4a80           	tstl %d0                                    
   42b06:	660a           	bnes 42b12 <RTEMS_Malloc_Initialize+0x8e>   <== ALWAYS TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
   42b08:	4878 001a      	pea 1a <OPER2+0x6>                          <== NOT EXECUTED
   42b0c:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   42b12:	2f39 0005 c0b0 	movel 5c0b0 <RTEMS_Malloc_Heap>,%sp@-       
   42b18:	2439 0005 d7cc 	movel 5d7cc <rtems_malloc_statistics>,%d2   
   42b1e:	4eb9 0004 7174 	jsr 47174 <_Protected_heap_Get_size>        
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
   42b24:	262e fffc      	movel %fp@(-4),%d3                          
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   42b28:	d082           	addl %d2,%d0                                
   42b2a:	588f           	addql #4,%sp                                
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
   42b2c:	242e fff8      	movel %fp@(-8),%d2                          
   42b30:	4e5e           	unlk %fp                                    
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   42b32:	23c0 0005 d7cc 	movel %d0,5d7cc <rtems_malloc_statistics>   
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
	...                                                                  
                                                                      

00041d28 <Stack_check_Dump_threads_usage>: /* * Obtain interrupt stack information */ #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) if (the_thread == (Thread_Control *) -1) {
   41d28:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   41d2a:	4e56 ffec      	linkw %fp,#-20                              <== NOT EXECUTED
   41d2e:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     <== NOT EXECUTED
   41d32:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
   41d36:	b08a           	cmpl %a2,%d0                                <== NOT EXECUTED
   41d38:	660c           	bnes 41d46 <Stack_check_Dump_threads_usage+0x1e><== NOT EXECUTED
      if (!Stack_check_Interrupt_stack.area)                          
   41d3a:	4ab9 0005 dc5c 	tstl 5dc5c <Stack_check_Interrupt_stack+0x4><== NOT EXECUTED
   41d40:	6700 00a0      	beqw 41de2 <Stack_check_Dump_threads_usage+0xba><== NOT EXECUTED
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
   41d44:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
  #endif                                                              
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
   41d46:	2439 0005 dc58 	movel 5dc58 <Stack_check_Interrupt_stack>,%d2<== NOT EXECUTED
   41d4c:	0682 ffff fff0 	addil #-16,%d2                              <== NOT EXECUTED
   41d52:	2679 0005 d448 	moveal 5d448 <print_handler>,%a3            <== NOT EXECUTED
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
   41d58:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   41d5a:	672c           	beqs 41d88 <Stack_check_Dump_threads_usage+0x60><== NOT EXECUTED
    (*print_handler)(                                                 
   41d5c:	486e fffb      	pea %fp@(-5)                                <== NOT EXECUTED
   41d60:	4878 0005      	pea 5 <COMPARE>                             <== NOT EXECUTED
   41d64:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   41d68:	4eb9 0004 581c 	jsr 4581c <rtems_object_get_name>           <== NOT EXECUTED
   41d6e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41d70:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   41d74:	4879 0005 afac 	pea 5afac <IntUartPollCallbacks.6221+0x20>  <== NOT EXECUTED
   41d7a:	2f39 0005 d444 	movel 5d444 <print_context>,%sp@-           <== NOT EXECUTED
   41d80:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   41d82:	4fef 001c      	lea %sp@(28),%sp                            <== NOT EXECUTED
   41d86:	6016           	bras 41d9e <Stack_check_Dump_threads_usage+0x76><== NOT EXECUTED
      "0x%08" PRIx32 "  %4s",                                         
      the_thread->Object.id,                                          
      rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
   41d88:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   41d8c:	4879 0005 afb9 	pea 5afb9 <IntUartPollCallbacks.6221+0x2d>  <== NOT EXECUTED
   41d92:	2f39 0005 d444 	movel 5d444 <print_context>,%sp@-           <== NOT EXECUTED
   41d98:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   41d9a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
                                                                      
  (*print_handler)(                                                   
   41d9e:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
   41da0:	2039 0005 dc58 	movel 5dc58 <Stack_check_Interrupt_stack>,%d0<== NOT EXECUTED
   41da6:	5380           	subql #1,%d0                                <== NOT EXECUTED
   41da8:	2079 0005 dc5c 	moveal 5dc5c <Stack_check_Interrupt_stack+0x4>,%a0<== NOT EXECUTED
    );                                                                
  } else {                                                            
    (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );   
  }                                                                   
                                                                      
  (*print_handler)(                                                   
   41dae:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   41db0:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   41db4:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   41db6:	4879 0005 afc7 	pea 5afc7 <IntUartPollCallbacks.6221+0x3b>  <== NOT EXECUTED
   41dbc:	2f39 0005 d444 	movel 5d444 <print_context>,%sp@-           <== NOT EXECUTED
   41dc2:	2079 0005 d448 	moveal 5d448 <print_handler>,%a0            <== NOT EXECUTED
   41dc8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
   41dca:	4879 0005 afe5 	pea 5afe5 <IntUartPollCallbacks.6221+0x59>  <== NOT EXECUTED
   41dd0:	2f39 0005 d444 	movel 5d444 <print_context>,%sp@-           <== NOT EXECUTED
   41dd6:	2079 0005 d448 	moveal 5d448 <print_handler>,%a0            <== NOT EXECUTED
   41ddc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   41dde:	4fef 0020      	lea %sp@(32),%sp                            <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
   41de2:	4cee 0c04 ffec 	moveml %fp@(-20),%d2/%a2-%a3                <== NOT EXECUTED
   41de8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041dec <Stack_check_Initialize>: /* * Stack_check_Initialize */ void Stack_check_Initialize( void ) {
   41dec:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
}                                                                     
   41df0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041e4a <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) {
   41e4a:	4e56 ffd0      	linkw %fp,#-48                              <== NOT EXECUTED
   41e4e:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     <== NOT EXECUTED
   41e52:	266e 0008      	moveal %fp@(8),%a3                          <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
   41e56:	45f9 0004 37a4 	lea 437a4 <printk>,%a2                      <== NOT EXECUTED
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
   41e5c:	286b 00c2      	moveal %a3@(194),%a4                        <== NOT EXECUTED
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
   41e60:	4879 0005 aff2 	pea 5aff2 <IntUartPollCallbacks.6221+0x66>  <== 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)
{                                                                     
   41e66:	142e 000f      	moveb %fp@(15),%d2                          <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
   41e6a:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
   41e6c:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   41e6e:	4879 0005 b002 	pea 5b002 <IntUartPollCallbacks.6221+0x76>  <== NOT EXECUTED
   41e74:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
   41e76:	2f2b 0008      	movel %a3@(8),%sp@-                         <== NOT EXECUTED
   41e7a:	4879 0005 b01f 	pea 5b01f <IntUartPollCallbacks.6221+0x93>  <== NOT EXECUTED
   41e80:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  printk(                                                             
   41e82:	2f2b 000c      	movel %a3@(12),%sp@-                        <== NOT EXECUTED
   41e86:	4879 0005 b031 	pea 5b031 <IntUartPollCallbacks.6221+0xa5>  <== NOT EXECUTED
   41e8c:	4e92           	jsr %a2@                                    <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
   41e8e:	486e ffe0      	pea %fp@(-32)                               <== NOT EXECUTED
   41e92:	4878 0020      	pea 20 <OPER2+0xc>                          <== NOT EXECUTED
   41e96:	2f2b 0008      	movel %a3@(8),%sp@-                         <== NOT EXECUTED
   41e9a:	4eb9 0004 581c 	jsr 4581c <rtems_object_get_name>           <== NOT EXECUTED
   41ea0:	4fef 0024      	lea %sp@(36),%sp                            <== NOT EXECUTED
   41ea4:	2e80           	movel %d0,%sp@                              <== NOT EXECUTED
   41ea6:	4879 0005 b045 	pea 5b045 <IntUartPollCallbacks.6221+0xb9>  <== NOT EXECUTED
   41eac:	4e92           	jsr %a2@                                    <== 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)                              
   41eae:	206b 00c2      	moveal %a3@(194),%a0                        <== NOT EXECUTED
   41eb2:	202b 00be      	movel %a3@(190),%d0                         <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
   41eb6:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   41eba:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   41ebc:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41ebe:	4879 0005 b05b 	pea 5b05b <IntUartPollCallbacks.6221+0xcf>  <== NOT EXECUTED
   41ec4:	4e92           	jsr %a2@                                    <== 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) {                                                  
   41ec6:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   41eca:	4a02           	tstb %d2                                    <== NOT EXECUTED
   41ecc:	6618           	bnes 41ee6 <Stack_check_report_blown_task+0x9c><== NOT EXECUTED
    printk(                                                           
   41ece:	486c 0018      	pea %a4@(24)                                <== NOT EXECUTED
   41ed2:	486c 0008      	pea %a4@(8)                                 <== NOT EXECUTED
   41ed6:	4878 0010      	pea 10 <INVALID_OPERATION>                  <== NOT EXECUTED
   41eda:	4879 0005 b08c 	pea 5b08c <IntUartPollCallbacks.6221+0x100> <== NOT EXECUTED
   41ee0:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   41ee2:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
   41ee6:	4878 0081      	pea 81 <DBL_MANT_DIG+0x4c>                  <== NOT EXECUTED
   41eea:	4eb9 0004 60a4 	jsr 460a4 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

000460f8 <_API_Mutex_Unlock>: #include <rtems/score/apimutex.h> void _API_Mutex_Unlock( API_Mutex_Control *the_mutex ) {
   460f8:	4e56 0000      	linkw %fp,#0                                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   460fc:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   46102:	5280           	addql #1,%d0                                
   46104:	206e 0008      	moveal %fp@(8),%a0                          
   46108:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level>
  _Thread_Disable_dispatch();                                         
    _CORE_mutex_Surrender(                                            
   4610e:	42a7           	clrl %sp@-                                  
   46110:	2f28 0008      	movel %a0@(8),%sp@-                         
   46114:	4868 0010      	pea %a0@(16)                                
   46118:	4eb9 0004 637c 	jsr 4637c <_CORE_mutex_Surrender>           
      &the_mutex->Mutex,                                              
      the_mutex->Object.id,                                           
      NULL                                                            
   );                                                                 
  _Thread_Enable_dispatch();                                          
   4611e:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   46122:	4e5e           	unlk %fp                                    
    _CORE_mutex_Surrender(                                            
      &the_mutex->Mutex,                                              
      the_mutex->Object.id,                                           
      NULL                                                            
   );                                                                 
  _Thread_Enable_dispatch();                                          
   46124:	4ef9 0004 76ba 	jmp 476ba <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

00048120 <_CORE_RWLock_Obtain_for_reading>: * If unlocked, then OK to read. * If locked for reading and no waiters, then OK to read. * If any thread is waiting, then we wait. */ _ISR_Disable( level );
   48120:	203c 0000 0700 	movel #1792,%d0                             
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
   48126:	4e56 ffe8      	linkw %fp,#-24                              
   4812a:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   4812e:	246e 0008      	moveal %fp@(8),%a2                          
   48132:	282e 000c      	movel %fp@(12),%d4                          
   48136:	262e 0014      	movel %fp@(20),%d3                          
   4813a:	1a2e 0013      	moveb %fp@(19),%d5                          
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
   4813e:	2679 0006 07a0 	moveal 607a0 <_Per_CPU_Information+0xc>,%a3 
   *  If unlocked, then OK to read.                                   
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
   48144:	40c2           	movew %sr,%d2                               
   48146:	8082           	orl %d2,%d0                                 
   48148:	46c0           	movew %d0,%sr                               
    switch ( the_rwlock->current_state ) {                            
   4814a:	202a 0044      	movel %a2@(68),%d0                          
   4814e:	6708           	beqs 48158 <_CORE_RWLock_Obtain_for_reading+0x38>
   48150:	7201           	moveq #1,%d1                                
   48152:	b280           	cmpl %d0,%d1                                
   48154:	662a           	bnes 48180 <_CORE_RWLock_Obtain_for_reading+0x60>
   48156:	600e           	bras 48166 <_CORE_RWLock_Obtain_for_reading+0x46>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
   48158:	7001           	moveq #1,%d0                                
	the_rwlock->number_of_readers += 1;                                  
   4815a:	52aa 0048      	addql #1,%a2@(72)                           
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    switch ( the_rwlock->current_state ) {                            
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
   4815e:	2540 0044      	movel %d0,%a2@(68)                          
	the_rwlock->number_of_readers += 1;                                  
	_ISR_Enable( level );                                                
   48162:	46c2           	movew %d2,%sr                               
   48164:	6014           	bras 4817a <_CORE_RWLock_Obtain_for_reading+0x5a>
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
	return;                                                              
                                                                      
      case CORE_RWLOCK_LOCKED_FOR_READING: {                          
        Thread_Control *waiter;                                       
        waiter = _Thread_queue_First( &the_rwlock->Wait_queue );      
   48166:	2f0a           	movel %a2,%sp@-                             
   48168:	4eb9 0004 9cdc 	jsr 49cdc <_Thread_queue_First>             
        if ( !waiter ) {                                              
   4816e:	588f           	addql #4,%sp                                
   48170:	4a80           	tstl %d0                                    
   48172:	660c           	bnes 48180 <_CORE_RWLock_Obtain_for_reading+0x60><== NEVER TAKEN
	  the_rwlock->number_of_readers += 1;                                
   48174:	52aa 0048      	addql #1,%a2@(72)                           
	  _ISR_Enable( level );                                              
   48178:	46c2           	movew %d2,%sr                               
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
   4817a:	42ab 0034      	clrl %a3@(52)                               
          return;                                                     
   4817e:	6046           	bras 481c6 <_CORE_RWLock_Obtain_for_reading+0xa6>
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
   48180:	4a05           	tstb %d5                                    
   48182:	660a           	bnes 4818e <_CORE_RWLock_Obtain_for_reading+0x6e>
      _ISR_Enable( level );                                           
   48184:	46c2           	movew %d2,%sr                               
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   48186:	7202           	moveq #2,%d1                                
   48188:	2741 0034      	movel %d1,%a3@(52)                          
   4818c:	6038           	bras 481c6 <_CORE_RWLock_Obtain_for_reading+0xa6>
   4818e:	7001           	moveq #1,%d0                                
   48190:	2540 0030      	movel %d0,%a2@(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;            
   48194:	274a 0044      	movel %a2,%a3@(68)                          
    executing->Wait.id          = id;                                 
   48198:	2744 0020      	movel %d4,%a3@(32)                          
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
   4819c:	42ab 0030      	clrl %a3@(48)                               
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
   481a0:	42ab 0034      	clrl %a3@(52)                               
    _ISR_Enable( level );                                             
   481a4:	46c2           	movew %d2,%sr                               
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   481a6:	2d43 000c      	movel %d3,%fp@(12)                          
   481aa:	223c 0004 8310 	movel #295696,%d1                           
   481b0:	2d4a 0008      	movel %a2,%fp@(8)                           
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   481b4:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   481ba:	2d41 0010      	movel %d1,%fp@(16)                          
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   481be:	4e5e           	unlk %fp                                    
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   481c0:	4ef9 0004 99d0 	jmp 499d0 <_Thread_queue_Enqueue_with_handler>
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   481c6:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   481cc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004825c <_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 );
   4825c:	223c 0000 0700 	movel #1792,%d1                             
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
   48262:	4e56 fff0      	linkw %fp,#-16                              
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
   48266:	2079 0006 07a0 	moveal 607a0 <_Per_CPU_Information+0xc>,%a0 
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
   4826c:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   48270:	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 );                                              
   48274:	40c0           	movew %sr,%d0                               
   48276:	8280           	orl %d0,%d1                                 
   48278:	46c1           	movew %d1,%sr                               
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
   4827a:	222a 0044      	movel %a2@(68),%d1                          
   4827e:	660a           	bnes 4828a <_CORE_RWLock_Release+0x2e>      
      _ISR_Enable( level );                                           
   48280:	46c0           	movew %d0,%sr                               
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   48282:	7002           	moveq #2,%d0                                
   48284:	2140 0034      	movel %d0,%a0@(52)                          
      return CORE_RWLOCK_SUCCESSFUL;                                  
   48288:	6078           	bras 48302 <_CORE_RWLock_Release+0xa6>      
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
   4828a:	7401           	moveq #1,%d2                                
   4828c:	b481           	cmpl %d1,%d2                                
   4828e:	6610           	bnes 482a0 <_CORE_RWLock_Release+0x44>      
	the_rwlock->number_of_readers -= 1;                                  
   48290:	222a 0048      	movel %a2@(72),%d1                          
   48294:	5381           	subql #1,%d1                                
   48296:	2541 0048      	movel %d1,%a2@(72)                          
	if ( the_rwlock->number_of_readers != 0 ) {                          
   4829a:	6704           	beqs 482a0 <_CORE_RWLock_Release+0x44>      
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
   4829c:	46c0           	movew %d0,%sr                               
          return CORE_RWLOCK_SUCCESSFUL;                              
   4829e:	6062           	bras 48302 <_CORE_RWLock_Release+0xa6>      
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
   482a0:	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;                 
   482a4:	42aa 0044      	clrl %a2@(68)                               
  _ISR_Enable( level );                                               
   482a8:	46c0           	movew %d0,%sr                               
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
   482aa:	2f0a           	movel %a2,%sp@-                             
   482ac:	4eb9 0004 9894 	jsr 49894 <_Thread_queue_Dequeue>           
                                                                      
  if ( next ) {                                                       
   482b2:	588f           	addql #4,%sp                                
   482b4:	4a80           	tstl %d0                                    
   482b6:	674a           	beqs 48302 <_CORE_RWLock_Release+0xa6>      
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
   482b8:	7201           	moveq #1,%d1                                
   482ba:	2040           	moveal %d0,%a0                              
   482bc:	b2a8 0030      	cmpl %a0@(48),%d1                           
   482c0:	6608           	bnes 482ca <_CORE_RWLock_Release+0x6e>      
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
   482c2:	7002           	moveq #2,%d0                                
   482c4:	2540 0044      	movel %d0,%a2@(68)                          
      return CORE_RWLOCK_SUCCESSFUL;                                  
   482c8:	6038           	bras 48302 <_CORE_RWLock_Release+0xa6>      
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
   482ca:	7201           	moveq #1,%d1                                
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
   482cc:	52aa 0048      	addql #1,%a2@(72)                           
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
   482d0:	49f9 0004 9cdc 	lea 49cdc <_Thread_queue_First>,%a4         
      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 );         
   482d6:	47f9 0004 9bb0 	lea 49bb0 <_Thread_queue_Extract>,%a3       
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
   482dc:	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 );          
   482e0:	2f0a           	movel %a2,%sp@-                             
   482e2:	4e94           	jsr %a4@                                    
      if ( !next ||                                                   
   482e4:	588f           	addql #4,%sp                                
   482e6:	4a80           	tstl %d0                                    
   482e8:	6718           	beqs 48302 <_CORE_RWLock_Release+0xa6>      
   482ea:	7401           	moveq #1,%d2                                
   482ec:	2040           	moveal %d0,%a0                              
   482ee:	b4a8 0030      	cmpl %a0@(48),%d2                           
   482f2:	670e           	beqs 48302 <_CORE_RWLock_Release+0xa6>      <== NEVER TAKEN
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
   482f4:	52aa 0048      	addql #1,%a2@(72)                           
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
   482f8:	2f00           	movel %d0,%sp@-                             
   482fa:	2f0a           	movel %a2,%sp@-                             
   482fc:	4e93           	jsr %a3@                                    
    }                                                                 
   482fe:	508f           	addql #8,%sp                                
   48300:	60de           	bras 482e0 <_CORE_RWLock_Release+0x84>      
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   48302:	4280           	clrl %d0                                    
   48304:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   4830a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048310 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
   48310:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   48314:	486e fffc      	pea %fp@(-4)                                
   48318:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4831c:	4eb9 0004 9570 	jsr 49570 <_Thread_Get>                     
  switch ( location ) {                                               
   48322:	508f           	addql #8,%sp                                
   48324:	4aae fffc      	tstl %fp@(-4)                               
   48328:	6618           	bnes 48342 <_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 );                    
   4832a:	2f00           	movel %d0,%sp@-                             
   4832c:	4eb9 0004 9ddc 	jsr 49ddc <_Thread_queue_Process_timeout>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   48332:	588f           	addql #4,%sp                                
   48334:	2039 0006 0310 	movel 60310 <_Thread_Dispatch_disable_level>,%d0
   4833a:	5380           	subql #1,%d0                                
   4833c:	23c0 0006 0310 	movel %d0,60310 <_Thread_Dispatch_disable_level>
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   48342:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047190 <_CORE_barrier_Wait>: Thread_Control *executing; ISR_Level level; executing = _Thread_Executing; executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL; _ISR_Disable( level );
   47190:	203c 0000 0700 	movel #1792,%d0                             
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   47196:	4e56 fff4      	linkw %fp,#-12                              
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
   4719a:	2279 0005 f380 	moveal 5f380 <_Per_CPU_Information+0xc>,%a1 
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   471a0:	48d7 001c      	moveml %d2-%d4,%sp@                         
   471a4:	206e 0008      	moveal %fp@(8),%a0                          
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL;       
   471a8:	42a9 0034      	clrl %a1@(52)                               
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   471ac:	242e 000c      	movel %fp@(12),%d2                          
   471b0:	262e 0014      	movel %fp@(20),%d3                          
   471b4:	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 );                                              
   471b8:	40c1           	movew %sr,%d1                               
   471ba:	8081           	orl %d1,%d0                                 
   471bc:	46c0           	movew %d0,%sr                               
  the_barrier->number_of_waiting_threads++;                           
   471be:	2028 0048      	movel %a0@(72),%d0                          
   471c2:	5280           	addql #1,%d0                                
   471c4:	2140 0048      	movel %d0,%a0@(72)                          
  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {     
   471c8:	4aa8 0040      	tstl %a0@(64)                               
   471cc:	6626           	bnes 471f4 <_CORE_barrier_Wait+0x64>        
    if ( the_barrier->number_of_waiting_threads ==                    
   471ce:	b0a8 0044      	cmpl %a0@(68),%d0                           
   471d2:	6620           	bnes 471f4 <_CORE_barrier_Wait+0x64>        
	 the_barrier->Attributes.maximum_count) {                            
      executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
   471d4:	7001           	moveq #1,%d0                                
   471d6:	2340 0034      	movel %d0,%a1@(52)                          
      _ISR_Enable( level );                                           
   471da:	46c1           	movew %d1,%sr                               
      _CORE_barrier_Release( the_barrier, id, api_barrier_mp_support );
   471dc:	2d44 0010      	movel %d4,%fp@(16)                          
   471e0:	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 );         
}                                                                     
   471e4:	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 );
   471e8:	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 );         
}                                                                     
   471ec:	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 );
   471ee:	4ef9 0004 ba0c 	jmp 4ba0c <_CORE_barrier_Release>           
                                                                      
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;
   471f4:	7001           	moveq #1,%d0                                
   471f6:	2140 0030      	movel %d0,%a0@(48)                          
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );   
  executing->Wait.queue          = &the_barrier->Wait_queue;          
   471fa:	2348 0044      	movel %a0,%a1@(68)                          
  executing->Wait.id             = id;                                
   471fe:	2342 0020      	movel %d2,%a1@(32)                          
  _ISR_Enable( level );                                               
   47202:	46c1           	movew %d1,%sr                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
   47204:	2d43 000c      	movel %d3,%fp@(12)                          
   47208:	203c 0004 8e40 	movel #298560,%d0                           
   4720e:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   47212:	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 );         
   47216:	2d40 0010      	movel %d0,%fp@(16)                          
}                                                                     
   4721a:	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 );         
   4721c:	4ef9 0004 8b30 	jmp 48b30 <_Thread_queue_Enqueue_with_handler>
	...                                                                  
                                                                      

00052d50 <_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 ) {
   52d50:	4e56 ffe0      	linkw %fp,#-32                              
   52d54:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   52d58:	246e 0008      	moveal %fp@(8),%a2                          
   52d5c:	2a2e 000c      	movel %fp@(12),%d5                          
   52d60:	262e 0010      	movel %fp@(16),%d3                          
   52d64:	286e 001c      	moveal %fp@(28),%a4                         
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
   52d68:	b6aa 004c      	cmpl %a2@(76),%d3                           
   52d6c:	6244           	bhis 52db2 <_CORE_message_queue_Broadcast+0x62><== NEVER TAKEN
   *  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 ) {         
   52d6e:	4aaa 0048      	tstl %a2@(72)                               
   52d72:	6610           	bnes 52d84 <_CORE_message_queue_Broadcast+0x34>
   52d74:	4282           	clrl %d2                                    
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   52d76:	283c 0005 51d8 	movel #348632,%d4                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   52d7c:	4bf9 0005 a9bc 	lea 5a9bc <memcpy>,%a5                      
   52d82:	601a           	bras 52d9e <_CORE_message_queue_Broadcast+0x4e>
   *        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;                                                       
   52d84:	4294           	clrl %a4@                                   
   52d86:	6026           	bras 52dae <_CORE_message_queue_Broadcast+0x5e>
   52d88:	2f03           	movel %d3,%sp@-                             
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
   52d8a:	5282           	addql #1,%d2                                
   52d8c:	2f05           	movel %d5,%sp@-                             
   52d8e:	2f2b 002c      	movel %a3@(44),%sp@-                        
   52d92:	4e95           	jsr %a5@                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
   52d94:	206b 0028      	moveal %a3@(40),%a0                         
   52d98:	4fef 000c      	lea %sp@(12),%sp                            
   52d9c:	2083           	movel %d3,%a0@                              
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   52d9e:	2f0a           	movel %a2,%sp@-                             
   52da0:	2044           	moveal %d4,%a0                              
   52da2:	4e90           	jsr %a0@                                    
   52da4:	588f           	addql #4,%sp                                
   52da6:	2640           	moveal %d0,%a3                              
   52da8:	4a80           	tstl %d0                                    
   52daa:	66dc           	bnes 52d88 <_CORE_message_queue_Broadcast+0x38>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
   52dac:	2882           	movel %d2,%a4@                              
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
   52dae:	4280           	clrl %d0                                    
   52db0:	6002           	bras 52db4 <_CORE_message_queue_Broadcast+0x64>
  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;                    
   52db2:	7001           	moveq #1,%d0                                <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   52db4:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   52dba:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004dfc4 <_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)) {
   4dfc4:	7003           	moveq #3,%d0                                
  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                 
)                                                                     
{                                                                     
   4dfc6:	4e56 fff4      	linkw %fp,#-12                              
   4dfca:	222e 0014      	movel %fp@(20),%d1                          
   4dfce:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4dfd2:	246e 0008      	moveal %fp@(8),%a2                          
   4dfd6:	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)) {              
   4dfda:	c081           	andl %d1,%d0                                
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
   4dfdc:	2542 0044      	movel %d2,%a2@(68)                          
  the_message_queue->number_of_pending_messages = 0;                  
   4dfe0:	42aa 0048      	clrl %a2@(72)                               
  the_message_queue->maximum_message_size       = maximum_message_size;
   4dfe4:	2541 004c      	movel %d1,%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;                 
   4dfe8:	42aa 0060      	clrl %a2@(96)                               
    the_message_queue->notify_argument = the_argument;                
   4dfec:	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)) {              
   4dff0:	4a80           	tstl %d0                                    
   4dff2:	670e           	beqs 4e002 <_CORE_message_queue_Initialize+0x3e>
    allocated_message_size += sizeof(uint32_t);                       
   4dff4:	2001           	movel %d1,%d0                               
   4dff6:	5880           	addql #4,%d0                                
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
   4dff8:	76fc           	moveq #-4,%d3                               
   4dffa:	c083           	andl %d3,%d0                                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
   4dffc:	b280           	cmpl %d0,%d1                                
   4dffe:	6272           	bhis 4e072 <_CORE_message_queue_Initialize+0xae><== NEVER TAKEN
   4e000:	6002           	bras 4e004 <_CORE_message_queue_Initialize+0x40>
  /*                                                                  
   *  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)) {              
   4e002:	2001           	movel %d1,%d0                               
  /*                                                                  
   *  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));
   4e004:	2600           	movel %d0,%d3                               
   4e006:	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 *    
   4e00c:	2203           	movel %d3,%d1                               
   4e00e:	4c02 1800      	mulsl %d2,%d1                               
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
   4e012:	b081           	cmpl %d1,%d0                                
   4e014:	625c           	bhis 4e072 <_CORE_message_queue_Initialize+0xae><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
   4e016:	2f01           	movel %d1,%sp@-                             
   4e018:	4eb9 0005 0a34 	jsr 50a34 <_Workspace_Allocate>             
                                                                      
  if (the_message_queue->message_buffers == 0)                        
   4e01e:	588f           	addql #4,%sp                                
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
   4e020:	2540 005c      	movel %d0,%a2@(92)                          
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
   4e024:	674c           	beqs 4e072 <_CORE_message_queue_Initialize+0xae>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
   4e026:	2f03           	movel %d3,%sp@-                             
   4e028:	2f02           	movel %d2,%sp@-                             
   4e02a:	2f00           	movel %d0,%sp@-                             
   4e02c:	486a 0068      	pea %a2@(104)                               
   4e030:	4eb9 0005 2b58 	jsr 52b58 <_Chain_Initialize>               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4e036:	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(                                           
   4e03a:	7001           	moveq #1,%d0                                
   4e03c:	2548 0050      	movel %a0,%a2@(80)                          
    the_message_queue->message_buffers,                               
    (size_t) maximum_pending_messages,                                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
   4e040:	41ea 0050      	lea %a2@(80),%a0                            
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   4e044:	42aa 0054      	clrl %a2@(84)                               
   4e048:	2548 0058      	movel %a0,%a2@(88)                          
                                                                      
  _Thread_queue_Initialize(                                           
   4e04c:	4878 0006      	pea 6 <EXTENDSFDF>                          
   4e050:	206e 000c      	moveal %fp@(12),%a0                         
   4e054:	4878 0080      	pea 80 <DBL_MANT_DIG+0x4b>                  
   4e058:	b090           	cmpl %a0@,%d0                               
   4e05a:	57c0           	seq %d0                                     
   4e05c:	49c0           	extbl %d0                                   
   4e05e:	4480           	negl %d0                                    
   4e060:	2f00           	movel %d0,%sp@-                             
   4e062:	2f0a           	movel %a2,%sp@-                             
   4e064:	4eb9 0004 ff08 	jsr 4ff08 <_Thread_queue_Initialize>        
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
   4e06a:	4fef 0020      	lea %sp@(32),%sp                            
   4e06e:	7001           	moveq #1,%d0                                
   4e070:	6002           	bras 4e074 <_CORE_message_queue_Initialize+0xb0>
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
    return false;                                                     
   4e072:	4200           	clrb %d0                                    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
   4e074:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   4e07a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000462d8 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
   462d8:	4e56 0000      	linkw %fp,#0                                
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   462dc:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
   462e2:	2f0a           	movel %a2,%sp@-                             
   462e4:	246e 0008      	moveal %fp@(8),%a2                          
   462e8:	2f02           	movel %d2,%sp@-                             
   462ea:	142e 0013      	moveb %fp@(19),%d2                          
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   462ee:	4a80           	tstl %d0                                    
   462f0:	671c           	beqs 4630e <_CORE_mutex_Seize+0x36>         
   462f2:	4a02           	tstb %d2                                    
   462f4:	6718           	beqs 4630e <_CORE_mutex_Seize+0x36>         <== NEVER TAKEN
   462f6:	7001           	moveq #1,%d0                                
   462f8:	b0b9 0005 da7a 	cmpl 5da7a <_System_state_Current>,%d0      
   462fe:	640e           	bccs 4630e <_CORE_mutex_Seize+0x36>         
   46300:	4878 0013      	pea 13 <INVALID_OPERATION+0x3>              
   46304:	42a7           	clrl %sp@-                                  
   46306:	42a7           	clrl %sp@-                                  
   46308:	4eb9 0004 694c 	jsr 4694c <_Internal_error_Occurred>        
   4630e:	486e 0018      	pea %fp@(24)                                
   46312:	2f0a           	movel %a2,%sp@-                             
   46314:	4eb9 0004 a9fc 	jsr 4a9fc <_CORE_mutex_Seize_interrupt_trylock>
   4631a:	508f           	addql #8,%sp                                
   4631c:	4a80           	tstl %d0                                    
   4631e:	6750           	beqs 46370 <_CORE_mutex_Seize+0x98>         
   46320:	4a02           	tstb %d2                                    
   46322:	6614           	bnes 46338 <_CORE_mutex_Seize+0x60>         
   46324:	202e 0018      	movel %fp@(24),%d0                          
   46328:	46c0           	movew %d0,%sr                               
   4632a:	2079 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a0 
   46330:	7001           	moveq #1,%d0                                
   46332:	2140 0034      	movel %d0,%a0@(52)                          
   46336:	6038           	bras 46370 <_CORE_mutex_Seize+0x98>         
                                                                      
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;
   46338:	7001           	moveq #1,%d0                                
   4633a:	2079 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a0 
   46340:	2540 0030      	movel %d0,%a2@(48)                          
   46344:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   4634a:	5280           	addql #1,%d0                                
   4634c:	216e 000c 0020 	movel %fp@(12),%a0@(32)                     
   46352:	214a 0044      	movel %a2,%a0@(68)                          
   46356:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level>
   4635c:	202e 0018      	movel %fp@(24),%d0                          
   46360:	46c0           	movew %d0,%sr                               
   46362:	2f2e 0014      	movel %fp@(20),%sp@-                        
   46366:	2f0a           	movel %a2,%sp@-                             
   46368:	4eb9 0004 6274 	jsr 46274 <_CORE_mutex_Seize_interrupt_blocking>
   4636e:	508f           	addql #8,%sp                                
}                                                                     
   46370:	242e fff8      	movel %fp@(-8),%d2                          
   46374:	246e fffc      	moveal %fp@(-4),%a2                         
   46378:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000464c0 <_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 ) {
   464c0:	4e56 0000      	linkw %fp,#0                                
   464c4:	2f0a           	movel %a2,%sp@-                             
   464c6:	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)) ) {
   464ca:	2f0a           	movel %a2,%sp@-                             
   464cc:	4eb9 0004 7a04 	jsr 47a04 <_Thread_queue_Dequeue>           
   464d2:	588f           	addql #4,%sp                                
   464d4:	4a80           	tstl %d0                                    
   464d6:	6624           	bnes 464fc <_CORE_semaphore_Surrender+0x3c> 
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
   464d8:	303c 0700      	movew #1792,%d0                             
   464dc:	40c1           	movew %sr,%d1                               
   464de:	8081           	orl %d1,%d0                                 
   464e0:	46c0           	movew %d0,%sr                               
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
   464e2:	202a 0048      	movel %a2@(72),%d0                          
   464e6:	b0aa 0040      	cmpl %a2@(64),%d0                           
   464ea:	640a           	bccs 464f6 <_CORE_semaphore_Surrender+0x36> <== NEVER TAKEN
        the_semaphore->count += 1;                                    
   464ec:	5280           	addql #1,%d0                                
   464ee:	2540 0048      	movel %d0,%a2@(72)                          
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
   464f2:	4280           	clrl %d0                                    
   464f4:	6002           	bras 464f8 <_CORE_semaphore_Surrender+0x38> 
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
   464f6:	7004           	moveq #4,%d0                                <== NOT EXECUTED
    _ISR_Enable( level );                                             
   464f8:	46c1           	movew %d1,%sr                               
   464fa:	6002           	bras 464fe <_CORE_semaphore_Surrender+0x3e> 
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
   464fc:	4280           	clrl %d0                                    
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
   464fe:	246e fffc      	moveal %fp@(-4),%a2                         
   46502:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045234 <_Event_Seize>: executing = _Thread_Executing; executing->Wait.return_code = RTEMS_SUCCESSFUL; api = executing->API_Extensions[ THREAD_API_RTEMS ]; _ISR_Disable( level );
   45234:	203c 0000 0700 	movel #1792,%d0                             
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
   4523a:	4e56 ffec      	linkw %fp,#-20                              
   4523e:	226e 0010      	moveal %fp@(16),%a1                         
   45242:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
  rtems_event_set                   pending_events;                   
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
   45246:	2479 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a2 
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
   4524c:	242e 0008      	movel %fp@(8),%d2                           
   45250:	262e 000c      	movel %fp@(12),%d3                          
   45254:	206e 0014      	moveal %fp@(20),%a0                         
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
   45258:	42aa 0034      	clrl %a2@(52)                               
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   4525c:	266a 010a      	moveal %a2@(266),%a3                        
                                                                      
  _ISR_Disable( level );                                              
   45260:	40c1           	movew %sr,%d1                               
   45262:	8081           	orl %d1,%d0                                 
   45264:	46c0           	movew %d0,%sr                               
  pending_events = api->pending_events;                               
   45266:	2813           	movel %a3@,%d4                              
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 );                    
   45268:	2002           	movel %d2,%d0                               
   4526a:	c084           	andl %d4,%d0                                
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
   4526c:	6716           	beqs 45284 <_Event_Seize+0x50>              
   4526e:	b480           	cmpl %d0,%d2                                
   45270:	6706           	beqs 45278 <_Event_Seize+0x44>              
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
   45272:	0803 0001      	btst #1,%d3                                 
   45276:	670c           	beqs 45284 <_Event_Seize+0x50>              <== 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) );                            
   45278:	2400           	movel %d0,%d2                               
   4527a:	4682           	notl %d2                                    
   4527c:	c484           	andl %d4,%d2                                
   4527e:	2682           	movel %d2,%a3@                              
    api->pending_events =                                             
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
   45280:	46c1           	movew %d1,%sr                               
   45282:	600e           	bras 45292 <_Event_Seize+0x5e>              
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
   45284:	0803 0000      	btst #0,%d3                                 
   45288:	670e           	beqs 45298 <_Event_Seize+0x64>              
    _ISR_Enable( level );                                             
   4528a:	46c1           	movew %d1,%sr                               
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
   4528c:	720d           	moveq #13,%d1                               
   4528e:	2541 0034      	movel %d1,%a2@(52)                          
    *event_out = seized_events;                                       
   45292:	2080           	movel %d0,%a0@                              
    return;                                                           
   45294:	6000 0096      	braw 4532c <_Event_Seize+0xf8>              
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
  executing->Wait.count             = (uint32_t) event_in;            
   45298:	2542 0024      	movel %d2,%a2@(36)                          
  executing->Wait.return_argument   = event_out;                      
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
   4529c:	7401           	moveq #1,%d2                                
   *  set properly when we are marked as in the event critical section.
   *                                                                  
   *  NOTE: Since interrupts are disabled, this isn't that much of an 
   *        issue but better safe than sorry.                         
   */                                                                 
  executing->Wait.option            = (uint32_t) option_set;          
   4529e:	2543 0030      	movel %d3,%a2@(48)                          
  executing->Wait.count             = (uint32_t) event_in;            
  executing->Wait.return_argument   = event_out;                      
   452a2:	2548 0028      	movel %a0,%a2@(40)                          
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
   452a6:	23c2 0005 e14a 	movel %d2,5e14a <_Event_Sync_state>         
                                                                      
  _ISR_Enable( level );                                               
   452ac:	46c1           	movew %d1,%sr                               
                                                                      
  if ( ticks ) {                                                      
   452ae:	4a89           	tstl %a1                                    
   452b0:	6730           	beqs 452e2 <_Event_Seize+0xae>              
    _Watchdog_Initialize(                                             
   452b2:	202a 0008      	movel %a2@(8),%d0                           
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   452b6:	223c 0004 5490 	movel #283792,%d1                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   452bc:	42aa 0050      	clrl %a2@(80)                               
  the_watchdog->routine   = routine;                                  
   452c0:	2541 0064      	movel %d1,%a2@(100)                         
  the_watchdog->id        = id;                                       
   452c4:	2540 0068      	movel %d0,%a2@(104)                         
  the_watchdog->user_data = user_data;                                
   452c8:	42aa 006c      	clrl %a2@(108)                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   452cc:	2549 0054      	movel %a1,%a2@(84)                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   452d0:	486a 0048      	pea %a2@(72)                                
   452d4:	4879 0005 d9ce 	pea 5d9ce <_Watchdog_Ticks_chain>           
   452da:	4eb9 0004 8638 	jsr 48638 <_Watchdog_Insert>                
   452e0:	508f           	addql #8,%sp                                
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
   452e2:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   452e6:	2f0a           	movel %a2,%sp@-                             
   452e8:	4eb9 0004 7ef8 	jsr 47ef8 <_Thread_Set_state>               
                                                                      
  _ISR_Disable( level );                                              
   452ee:	203c 0000 0700 	movel #1792,%d0                             
   452f4:	40c1           	movew %sr,%d1                               
   452f6:	8081           	orl %d1,%d0                                 
   452f8:	46c0           	movew %d0,%sr                               
                                                                      
  sync_state = _Event_Sync_state;                                     
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
   452fa:	7401           	moveq #1,%d2                                
   452fc:	508f           	addql #8,%sp                                
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
   452fe:	2039 0005 e14a 	movel 5e14a <_Event_Sync_state>,%d0         
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
   45304:	42b9 0005 e14a 	clrl 5e14a <_Event_Sync_state>              
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
   4530a:	b480           	cmpl %d0,%d2                                
   4530c:	6604           	bnes 45312 <_Event_Seize+0xde>              
    _ISR_Enable( level );                                             
   4530e:	46c1           	movew %d1,%sr                               
   45310:	601a           	bras 4532c <_Event_Seize+0xf8>              
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
   45312:	2d4a 000c      	movel %a2,%fp@(12)                          
   45316:	2d41 0010      	movel %d1,%fp@(16)                          
}                                                                     
   4531a:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
   45320:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   45324:	4e5e           	unlk %fp                                    
   *  An interrupt completed the thread's blocking request.           
   *  The blocking thread was satisfied by an ISR or timed out.       
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  _Thread_blocking_operation_Cancel( sync_state, executing, level );  
   45326:	4ef9 0004 7184 	jmp 47184 <_Thread_blocking_operation_Cancel>
}                                                                     
   4532c:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   45332:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004538c <_Event_Surrender>: api = the_thread->API_Extensions[ THREAD_API_RTEMS ]; option_set = (rtems_option) the_thread->Wait.option; _ISR_Disable( level );
   4538c:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _Event_Surrender(                                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   45392:	4e56 ffe8      	linkw %fp,#-24                              
   45396:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   4539a:	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 ];               
   4539e:	206a 010a      	moveal %a2@(266),%a0                        
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
   453a2:	282a 0030      	movel %a2@(48),%d4                          
                                                                      
  _ISR_Disable( level );                                              
   453a6:	40c1           	movew %sr,%d1                               
   453a8:	8081           	orl %d1,%d0                                 
   453aa:	46c0           	movew %d0,%sr                               
  pending_events  = api->pending_events;                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
   453ac:	262a 0024      	movel %a2@(36),%d3                          
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 );                    
   453b0:	2003           	movel %d3,%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;                              
   453b2:	2410           	movel %a0@,%d2                              
   453b4:	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 ) ) {                      
   453b6:	6606           	bnes 453be <_Event_Surrender+0x32>          
    _ISR_Enable( level );                                             
   453b8:	46c1           	movew %d1,%sr                               
    return;                                                           
   453ba:	6000 00ca      	braw 45486 <_Event_Surrender+0xfa>          
                                                                      
  /*                                                                  
   *  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() &&                                       
   453be:	4ab9 0005 dd98 	tstl 5dd98 <_Per_CPU_Information+0x8>       
   453c4:	674a           	beqs 45410 <_Event_Surrender+0x84>          
   453c6:	b5f9 0005 dd9c 	cmpal 5dd9c <_Per_CPU_Information+0xc>,%a2  
   453cc:	6642           	bnes 45410 <_Event_Surrender+0x84>          
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
   453ce:	2279 0005 e14a 	moveal 5e14a <_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 ) &&                          
   453d4:	7a02           	moveq #2,%d5                                
   453d6:	ba89           	cmpl %a1,%d5                                
   453d8:	670e           	beqs 453e8 <_Event_Surrender+0x5c>          <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
   453da:	2279 0005 e14a 	moveal 5e14a <_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) ||   
   453e0:	1a3c 0001      	moveb #1,%d5                                
   453e4:	ba89           	cmpl %a1,%d5                                
   453e6:	6628           	bnes 45410 <_Event_Surrender+0x84>          
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
   453e8:	b680           	cmpl %d0,%d3                                
   453ea:	6706           	beqs 453f2 <_Event_Surrender+0x66>          
   453ec:	0804 0001      	btst #1,%d4                                 
   453f0:	671a           	beqs 4540c <_Event_Surrender+0x80>          <== 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) );                            
   453f2:	2600           	movel %d0,%d3                               
   453f4:	4683           	notl %d3                                    
   453f6:	c682           	andl %d2,%d3                                
   453f8:	2083           	movel %d3,%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;
   453fa:	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;                                     
   453fe:	42aa 0024      	clrl %a2@(36)                               
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   45402:	2080           	movel %d0,%a0@                              
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
   45404:	7003           	moveq #3,%d0                                
   45406:	23c0 0005 e14a 	movel %d0,5e14a <_Event_Sync_state>         
    }                                                                 
    _ISR_Enable( level );                                             
   4540c:	46c1           	movew %d1,%sr                               
    return;                                                           
   4540e:	6076           	bras 45486 <_Event_Surrender+0xfa>          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
   45410:	2a2a 0010      	movel %a2@(16),%d5                          
   45414:	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 ) ) {  
   4541a:	6768           	beqs 45484 <_Event_Surrender+0xf8>          
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
   4541c:	b680           	cmpl %d0,%d3                                
   4541e:	6706           	beqs 45426 <_Event_Surrender+0x9a>          
   45420:	0804 0001      	btst #1,%d4                                 
   45424:	675e           	beqs 45484 <_Event_Surrender+0xf8>          <== NEVER TAKEN
   45426:	2600           	movel %d0,%d3                               
   45428:	4683           	notl %d3                                    
   4542a:	c682           	andl %d2,%d3                                
   4542c:	2083           	movel %d3,%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;
   4542e:	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;                                     
   45432:	42aa 0024      	clrl %a2@(36)                               
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   45436:	2080           	movel %d0,%a0@                              
                                                                      
      _ISR_Flash( level );                                            
   45438:	203c 0000 0700 	movel #1792,%d0                             
   4543e:	46c1           	movew %d1,%sr                               
   45440:	8081           	orl %d1,%d0                                 
   45442:	46c0           	movew %d0,%sr                               
   45444:	47f9 0004 7314 	lea 47314 <_Thread_Clear_state>,%a3         
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
   4544a:	7a02           	moveq #2,%d5                                
   4544c:	baaa 0050      	cmpl %a2@(80),%d5                           
   45450:	6710           	beqs 45462 <_Event_Surrender+0xd6>          
        _ISR_Enable( level );                                         
   45452:	46c1           	movew %d1,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   45454:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   4545a:	2f0a           	movel %a2,%sp@-                             
   4545c:	4e93           	jsr %a3@                                    
   4545e:	508f           	addql #8,%sp                                
   45460:	6024           	bras 45486 <_Event_Surrender+0xfa>          
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   45462:	7003           	moveq #3,%d0                                
   45464:	2540 0050      	movel %d0,%a2@(80)                          
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
   45468:	46c1           	movew %d1,%sr                               
        (void) _Watchdog_Remove( &the_thread->Timer );                
   4546a:	486a 0048      	pea %a2@(72)                                
   4546e:	4eb9 0004 8754 	jsr 48754 <_Watchdog_Remove>                
   45474:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   4547a:	2f0a           	movel %a2,%sp@-                             
   4547c:	4e93           	jsr %a3@                                    
   4547e:	4fef 000c      	lea %sp@(12),%sp                            
   45482:	6002           	bras 45486 <_Event_Surrender+0xfa>          
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
   45484:	46c1           	movew %d1,%sr                               
}                                                                     
   45486:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   4548c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045490 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
   45490:	4e56 fffc      	linkw %fp,#-4                               
   45494:	2f03           	movel %d3,%sp@-                             
   45496:	2f02           	movel %d2,%sp@-                             
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   45498:	486e fffc      	pea %fp@(-4)                                
   4549c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   454a0:	4eb9 0004 76e0 	jsr 476e0 <_Thread_Get>                     
  switch ( location ) {                                               
   454a6:	508f           	addql #8,%sp                                
   454a8:	4aae fffc      	tstl %fp@(-4)                               
   454ac:	6656           	bnes 45504 <_Event_Timeout+0x74>            <== 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 );                                          
   454ae:	223c 0000 0700 	movel #1792,%d1                             
   454b4:	40c2           	movew %sr,%d2                               
   454b6:	8282           	orl %d2,%d1                                 
   454b8:	46c1           	movew %d1,%sr                               
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
   454ba:	2040           	moveal %d0,%a0                              
   454bc:	42a8 0024      	clrl %a0@(36)                               
        if ( _Thread_Is_executing( the_thread ) ) {                   
   454c0:	b0b9 0005 dd9c 	cmpl 5dd9c <_Per_CPU_Information+0xc>,%d0   
   454c6:	6614           	bnes 454dc <_Event_Timeout+0x4c>            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
   454c8:	2239 0005 e14a 	movel 5e14a <_Event_Sync_state>,%d1         
   454ce:	7601           	moveq #1,%d3                                
   454d0:	b681           	cmpl %d1,%d3                                
   454d2:	6608           	bnes 454dc <_Event_Timeout+0x4c>            
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
   454d4:	7202           	moveq #2,%d1                                
   454d6:	23c1 0005 e14a 	movel %d1,5e14a <_Event_Sync_state>         
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
   454dc:	7606           	moveq #6,%d3                                
   454de:	2040           	moveal %d0,%a0                              
   454e0:	2143 0034      	movel %d3,%a0@(52)                          
      _ISR_Enable( level );                                           
   454e4:	46c2           	movew %d2,%sr                               
   454e6:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   454ec:	2f00           	movel %d0,%sp@-                             
   454ee:	4eb9 0004 7314 	jsr 47314 <_Thread_Clear_state>             
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
   454f4:	508f           	addql #8,%sp                                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   454f6:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   454fc:	5380           	subql #1,%d0                                
   454fe:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level>
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
   45504:	242e fff4      	movel %fp@(-12),%d2                         
   45508:	262e fff8      	movel %fp@(-8),%d3                          
   4550c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ab60 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
   4ab60:	4e56 ffbc      	linkw %fp,#-68                              
   4ab64:	202e 000c      	movel %fp@(12),%d0                          
   4ab68:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4ab6c:	246e 0008      	moveal %fp@(8),%a2                          
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
   4ab70:	2e00           	movel %d0,%d7                               
   4ab72:	5887           	addql #4,%d7                                
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
   4ab74:	222e 0010      	movel %fp@(16),%d1                          
   4ab78:	2a2e 0014      	movel %fp@(20),%d5                          
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
   4ab7c:	206a 0008      	moveal %a2@(8),%a0                          
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *block = _Heap_Free_list_first( heap );                  
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_BLOCK_SIZE_OFFSET;                                         
  uintptr_t const page_size = heap->page_size;                        
   4ab80:	2c2a 0010      	movel %a2@(16),%d6                          
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
   4ab84:	b087           	cmpl %d7,%d0                                
   4ab86:	6200 013e      	bhiw 4acc6 <_Heap_Allocate_aligned_with_boundary+0x166>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
   4ab8a:	4a85           	tstl %d5                                    
   4ab8c:	670c           	beqs 4ab9a <_Heap_Allocate_aligned_with_boundary+0x3a>
    if ( boundary < alloc_size ) {                                    
   4ab8e:	b085           	cmpl %d5,%d0                                
   4ab90:	6200 0134      	bhiw 4acc6 <_Heap_Allocate_aligned_with_boundary+0x166>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
   4ab94:	4a81           	tstl %d1                                    
   4ab96:	6602           	bnes 4ab9a <_Heap_Allocate_aligned_with_boundary+0x3a>
      alignment = page_size;                                          
   4ab98:	2206           	movel %d6,%d1                               
  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    
   4ab9a:	2406           	movel %d6,%d2                               
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
   4ab9c:	7804           	moveq #4,%d4                                
  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    
   4ab9e:	5e82           	addql #7,%d2                                
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
   4aba0:	9880           	subl %d0,%d4                                
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
   4aba2:	4283           	clrl %d3                                    
  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    
   4aba4:	2d42 fff8      	movel %d2,%fp@(-8)                          
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
   4aba8:	2d44 fff4      	movel %d4,%fp@(-12)                         
   4abac:	2d47 ffe4      	movel %d7,%fp@(-28)                         
   4abb0:	2d46 ffec      	movel %d6,%fp@(-20)                         
   4abb4:	6000 00fa      	braw 4acb0 <_Heap_Allocate_aligned_with_boundary+0x150>
    /*                                                                
     * 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 ) {                  
   4abb8:	2428 0004      	movel %a0@(4),%d2                           
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
   4abbc:	5283           	addql #1,%d3                                
    /*                                                                
     * 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 ) {                  
   4abbe:	b4ae ffe4      	cmpl %fp@(-28),%d2                          
   4abc2:	6300 00e8      	blsw 4acac <_Heap_Allocate_aligned_with_boundary+0x14c>
   4abc6:	43e8 0008      	lea %a0@(8),%a1                             
      if ( alignment == 0 ) {                                         
   4abca:	4a81           	tstl %d1                                    
   4abcc:	6606           	bnes 4abd4 <_Heap_Allocate_aligned_with_boundary+0x74>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   4abce:	2409           	movel %a1,%d2                               
   4abd0:	6000 00b6      	braw 4ac88 <_Heap_Allocate_aligned_with_boundary+0x128>
    - 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;                
   4abd4:	7cfe           	moveq #-2,%d6                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
   4abd6:	266a 0014      	moveal %a2@(20),%a3                         
   4abda:	c486           	andl %d6,%d2                                
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
   4abdc:	282e fff8      	movel %fp@(-8),%d4                          
   4abe0:	988b           	subl %a3,%d4                                
  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;               
   4abe2:	d488           	addl %a0,%d2                                
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
   4abe4:	2c04           	movel %d4,%d6                               
   4abe6:	dc82           	addl %d2,%d6                                
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
   4abe8:	d4ae fff4      	addl %fp@(-12),%d2                          
   4abec:	2d42 fffc      	movel %d2,%fp@(-4)                          
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4abf0:	4c41 2007      	remul %d1,%d7,%d2                           
   4abf4:	242e fffc      	movel %fp@(-4),%d2                          
   4abf8:	9487           	subl %d7,%d2                                
                                                                      
  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 ) {                          
   4abfa:	bc82           	cmpl %d2,%d6                                
   4abfc:	640a           	bccs 4ac08 <_Heap_Allocate_aligned_with_boundary+0xa8>
   4abfe:	2806           	movel %d6,%d4                               
   4ac00:	4c41 4002      	remul %d1,%d2,%d4                           
   4ac04:	9c82           	subl %d2,%d6                                
   4ac06:	2406           	movel %d6,%d2                               
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
   4ac08:	4a85           	tstl %d5                                    
   4ac0a:	675c           	beqs 4ac68 <_Heap_Allocate_aligned_with_boundary+0x108>
  /* 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;                               
   4ac0c:	2c02           	movel %d2,%d6                               
   4ac0e:	dc80           	addl %d0,%d6                                
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
   4ac10:	49f1 0800      	lea %a1@(00000000,%d0:l),%a4                
  /* 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;                               
   4ac14:	2d46 fff0      	movel %d6,%fp@(-16)                         
   4ac18:	2a6e fff0      	moveal %fp@(-16),%a5                        
   4ac1c:	4c45 6004      	remul %d5,%d4,%d6                           
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
   4ac20:	2d4c fffc      	movel %a4,%fp@(-4)                          
   4ac24:	2e2e ffe4      	movel %fp@(-28),%d7                         
   4ac28:	9bc4           	subal %d4,%a5                               
   4ac2a:	284d           	moveal %a5,%a4                              
   4ac2c:	2d43 ffe8      	movel %d3,%fp@(-24)                         
   4ac30:	282e fff0      	movel %fp@(-16),%d4                         
   4ac34:	6022           	bras 4ac58 <_Heap_Allocate_aligned_with_boundary+0xf8>
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
   4ac36:	b9ee fffc      	cmpal %fp@(-4),%a4                          
   4ac3a:	6568           	bcss 4aca4 <_Heap_Allocate_aligned_with_boundary+0x144>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
   4ac3c:	240c           	movel %a4,%d2                               
   4ac3e:	9480           	subl %d0,%d2                                
   4ac40:	2802           	movel %d2,%d4                               
   4ac42:	4c41 4003      	remul %d1,%d3,%d4                           
   4ac46:	9483           	subl %d3,%d2                                
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
   4ac48:	2802           	movel %d2,%d4                               
   4ac4a:	d880           	addl %d0,%d4                                
   4ac4c:	2c04           	movel %d4,%d6                               
   4ac4e:	2a44           	moveal %d4,%a5                              
   4ac50:	4c45 6003      	remul %d5,%d3,%d6                           
   4ac54:	9bc3           	subal %d3,%a5                               
   4ac56:	284d           	moveal %a5,%a4                              
  /* 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 ) {
   4ac58:	b9c2           	cmpal %d2,%a4                               
   4ac5a:	6304           	blss 4ac60 <_Heap_Allocate_aligned_with_boundary+0x100>
   4ac5c:	b88c           	cmpl %a4,%d4                                
   4ac5e:	62d6           	bhis 4ac36 <_Heap_Allocate_aligned_with_boundary+0xd6>
   4ac60:	262e ffe8      	movel %fp@(-24),%d3                         
   4ac64:	2d47 ffe4      	movel %d7,%fp@(-28)                         
      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 ) {                           
   4ac68:	b3c2           	cmpal %d2,%a1                               
   4ac6a:	6240           	bhis 4acac <_Heap_Allocate_aligned_with_boundary+0x14c>
   4ac6c:	2c2e ffec      	movel %fp@(-20),%d6                         
   4ac70:	2802           	movel %d2,%d4                               
   4ac72:	327c fff8      	moveaw #-8,%a1                              
   4ac76:	93c8           	subal %a0,%a1                               
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   4ac78:	d3c2           	addal %d2,%a1                               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4ac7a:	4c46 4007      	remul %d6,%d7,%d4                           
    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;      
   4ac7e:	93c7           	subal %d7,%a1                               
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
   4ac80:	b7c9           	cmpal %a1,%a3                               
   4ac82:	6304           	blss 4ac88 <_Heap_Allocate_aligned_with_boundary+0x128>
   4ac84:	4a89           	tstl %a1                                    
   4ac86:	6624           	bnes 4acac <_Heap_Allocate_aligned_with_boundary+0x14c>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
   4ac88:	4a82           	tstl %d2                                    
   4ac8a:	6720           	beqs 4acac <_Heap_Allocate_aligned_with_boundary+0x14c><== NEVER TAKEN
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
   4ac8c:	d7aa 004c      	addl %d3,%a2@(76)                           
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
   4ac90:	2f00           	movel %d0,%sp@-                             
   4ac92:	2f02           	movel %d2,%sp@-                             
   4ac94:	2f08           	movel %a0,%sp@-                             
   4ac96:	2f0a           	movel %a2,%sp@-                             
   4ac98:	4eb9 0004 6858 	jsr 46858 <_Heap_Block_allocate>            
   4ac9e:	4fef 0010      	lea %sp@(16),%sp                            
   4aca2:	6014           	bras 4acb8 <_Heap_Allocate_aligned_with_boundary+0x158>
   4aca4:	262e ffe8      	movel %fp@(-24),%d3                         
   4aca8:	2d47 ffe4      	movel %d7,%fp@(-28)                         
                                                                      
    if ( alloc_begin != 0 ) {                                         
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
   4acac:	2068 0008      	moveal %a0@(8),%a0                          
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
   4acb0:	b5c8           	cmpal %a0,%a2                               
   4acb2:	6600 ff04      	bnew 4abb8 <_Heap_Allocate_aligned_with_boundary+0x58>
   4acb6:	4282           	clrl %d2                                    
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
   4acb8:	b6aa 0044      	cmpl %a2@(68),%d3                           
   4acbc:	6304           	blss 4acc2 <_Heap_Allocate_aligned_with_boundary+0x162>
    stats->max_search = search_count;                                 
   4acbe:	2543 0044      	movel %d3,%a2@(68)                          
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
   4acc2:	2002           	movel %d2,%d0                               
   4acc4:	6002           	bras 4acc8 <_Heap_Allocate_aligned_with_boundary+0x168>
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
   4acc6:	4280           	clrl %d0                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
   4acc8:	4cee 3cfc ffbc 	moveml %fp@(-68),%d2-%d7/%a2-%a5            
   4acce:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ee40 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
   4ee40:	4e56 ffcc      	linkw %fp,#-52                              
   4ee44:	202e 0010      	movel %fp@(16),%d0                          
   4ee48:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4ee4c:	246e 0008      	moveal %fp@(8),%a2                          
   4ee50:	262e 000c      	movel %fp@(12),%d3                          
  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;
   4ee54:	2403           	movel %d3,%d2                               
   4ee56:	d480           	addl %d0,%d2                                
  uintptr_t const free_size = stats->free_size;                       
   4ee58:	206a 0030      	moveal %a2@(48),%a0                         
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
   4ee5c:	282a 0020      	movel %a2@(32),%d4                          
  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;                        
   4ee60:	2a2a 0010      	movel %a2@(16),%d5                          
  uintptr_t const min_block_size = heap->min_block_size;              
   4ee64:	222a 0014      	movel %a2@(20),%d1                          
  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;                              
   4ee68:	42ae fffc      	clrl %fp@(-4)                               
  Heap_Block *extend_last_block = NULL;                               
   4ee6c:	42ae fff8      	clrl %fp@(-8)                               
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
   4ee70:	2d48 fff4      	movel %a0,%fp@(-12)                         
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
   4ee74:	b682           	cmpl %d2,%d3                                
   4ee76:	6200 01aa      	bhiw 4f022 <_Heap_Extend+0x1e2>             
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
   4ee7a:	486e fff8      	pea %fp@(-8)                                
   4ee7e:	486e fffc      	pea %fp@(-4)                                
   4ee82:	2f01           	movel %d1,%sp@-                             
   4ee84:	2f05           	movel %d5,%sp@-                             
   4ee86:	2f00           	movel %d0,%sp@-                             
   4ee88:	2f03           	movel %d3,%sp@-                             
   4ee8a:	4eb9 0004 a22c 	jsr 4a22c <_Heap_Get_first_and_last_block>  
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
   4ee90:	4fef 0018      	lea %sp@(24),%sp                            
   4ee94:	4a00           	tstb %d0                                    
   4ee96:	6700 018a      	beqw 4f022 <_Heap_Extend+0x1e2>             
   4ee9a:	2044           	moveal %d4,%a0                              
   4ee9c:	9bcd           	subal %a5,%a5                               
   4ee9e:	4281           	clrl %d1                                    
   4eea0:	97cb           	subal %a3,%a3                               
   4eea2:	99cc           	subal %a4,%a4                               
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
   4eea4:	b888           	cmpl %a0,%d4                                
   4eea6:	6704           	beqs 4eeac <_Heap_Extend+0x6c>              
   4eea8:	2248           	moveal %a0,%a1                              
   4eeaa:	6004           	bras 4eeb0 <_Heap_Extend+0x70>              
   4eeac:	226a 0018      	moveal %a2@(24),%a1                         
    uintptr_t const sub_area_end = start_block->prev_size;            
   4eeb0:	2010           	movel %a0@,%d0                              
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
   4eeb2:	b680           	cmpl %d0,%d3                                
   4eeb4:	6406           	bccs 4eebc <_Heap_Extend+0x7c>              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
   4eeb6:	b3c2           	cmpal %d2,%a1                               
   4eeb8:	6500 0168      	bcsw 4f022 <_Heap_Extend+0x1e2>             
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
   4eebc:	b3c2           	cmpal %d2,%a1                               
   4eebe:	6706           	beqs 4eec6 <_Heap_Extend+0x86>              
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
   4eec0:	b082           	cmpl %d2,%d0                                
   4eec2:	6206           	bhis 4eeca <_Heap_Extend+0x8a>              
   4eec4:	6006           	bras 4eecc <_Heap_Extend+0x8c>              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
   4eec6:	2848           	moveal %a0,%a4                              
   4eec8:	6002           	bras 4eecc <_Heap_Extend+0x8c>              
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
   4eeca:	2208           	movel %a0,%d1                               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4eecc:	2e00           	movel %d0,%d7                               
   4eece:	2240           	moveal %d0,%a1                              
   4eed0:	5189           	subql #8,%a1                                
   4eed2:	4c45 7006      	remul %d5,%d6,%d7                           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   4eed6:	93c6           	subal %d6,%a1                               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
   4eed8:	b680           	cmpl %d0,%d3                                
   4eeda:	6606           	bnes 4eee2 <_Heap_Extend+0xa2>              
      start_block->prev_size = extend_area_end;                       
   4eedc:	2082           	movel %d2,%a0@                              
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 )   
   4eede:	2649           	moveal %a1,%a3                              
   4eee0:	6006           	bras 4eee8 <_Heap_Extend+0xa8>              
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
   4eee2:	b680           	cmpl %d0,%d3                                
   4eee4:	6302           	blss 4eee8 <_Heap_Extend+0xa8>              
   4eee6:	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;                
   4eee8:	70fe           	moveq #-2,%d0                               
   4eeea:	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);                 
   4eeee:	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 );                             
   4eef2:	b888           	cmpl %a0,%d4                                
   4eef4:	66ae           	bnes 4eea4 <_Heap_Extend+0x64>              
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
   4eef6:	b6aa 0018      	cmpl %a2@(24),%d3                           
   4eefa:	6406           	bccs 4ef02 <_Heap_Extend+0xc2>              
    heap->area_begin = extend_area_begin;                             
   4eefc:	2543 0018      	movel %d3,%a2@(24)                          
   4ef00:	600a           	bras 4ef0c <_Heap_Extend+0xcc>              
  } else if ( heap->area_end < extend_area_end ) {                    
   4ef02:	b4aa 001c      	cmpl %a2@(28),%d2                           
   4ef06:	6304           	blss 4ef0c <_Heap_Extend+0xcc>              
    heap->area_end = extend_area_end;                                 
   4ef08:	2542 001c      	movel %d2,%a2@(28)                          
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
   4ef0c:	206e fff8      	moveal %fp@(-8),%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 =                                           
   4ef10:	2008           	movel %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;                   
   4ef12:	7801           	moveq #1,%d4                                
  } 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;   
   4ef14:	226e fffc      	moveal %fp@(-4),%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 =                                           
   4ef18:	9089           	subl %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;                   
   4ef1a:	8880           	orl %d0,%d4                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
   4ef1c:	2282           	movel %d2,%a1@                              
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4ef1e:	2344 0004      	movel %d4,%a1@(4)                           
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
   4ef22:	2080           	movel %d0,%a0@                              
  extend_last_block->size_and_flag = 0;                               
   4ef24:	42a8 0004      	clrl %a0@(4)                                
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
   4ef28:	b3ea 0020      	cmpal %a2@(32),%a1                          
   4ef2c:	6406           	bccs 4ef34 <_Heap_Extend+0xf4>              
    heap->first_block = extend_first_block;                           
   4ef2e:	2549 0020      	movel %a1,%a2@(32)                          
   4ef32:	600a           	bras 4ef3e <_Heap_Extend+0xfe>              
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
   4ef34:	b1ea 0024      	cmpal %a2@(36),%a0                          
   4ef38:	6304           	blss 4ef3e <_Heap_Extend+0xfe>              
    heap->last_block = extend_last_block;                             
   4ef3a:	2548 0024      	movel %a0,%a2@(36)                          
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
   4ef3e:	4a8c           	tstl %a4                                    
   4ef40:	6732           	beqs 4ef74 <_Heap_Extend+0x134>             
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
   4ef42:	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 );
   4ef46:	5083           	addql #8,%d3                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
   4ef48:	2803           	movel %d3,%d4                               
   4ef4a:	4c40 4001      	remul %d0,%d1,%d4                           
                                                                      
  if ( remainder != 0 ) {                                             
   4ef4e:	4a81           	tstl %d1                                    
   4ef50:	6704           	beqs 4ef56 <_Heap_Extend+0x116>             <== ALWAYS TAKEN
    return value - remainder + alignment;                             
   4ef52:	d680           	addl %d0,%d3                                <== NOT EXECUTED
   4ef54:	9681           	subl %d1,%d3                                <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
   4ef56:	2043           	moveal %d3,%a0                              
   4ef58:	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 =                              
   4ef5a:	200c           	movel %a4,%d0                               
   4ef5c:	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;
   4ef5e:	7201           	moveq #1,%d1                                
   4ef60:	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;                
   4ef62:	2094           	movel %a4@,%a0@                             
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
   4ef64:	2141 0004      	movel %d1,%a0@(4)                           
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
   4ef68:	2f08           	movel %a0,%sp@-                             
   4ef6a:	2f0a           	movel %a2,%sp@-                             
   4ef6c:	4eba feb6      	jsr %pc@(4ee24 <_Heap_Free_block>)          
   4ef70:	508f           	addql #8,%sp                                
   4ef72:	6012           	bras 4ef86 <_Heap_Extend+0x146>             
    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 ) {                            
   4ef74:	4a81           	tstl %d1                                    
   4ef76:	670e           	beqs 4ef86 <_Heap_Extend+0x146>             
    _Heap_Link_below(                                                 
   4ef78:	206e fff8      	moveal %fp@(-8),%a0                         
{                                                                     
  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;           
   4ef7c:	7801           	moveq #1,%d4                                
   4ef7e:	9288           	subl %a0,%d1                                
   4ef80:	8881           	orl %d1,%d4                                 
   4ef82:	2144 0004      	movel %d4,%a0@(4)                           
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
   4ef86:	4a8b           	tstl %a3                                    
   4ef88:	6734           	beqs 4efbe <_Heap_Extend+0x17e>             
)                                                                     
{                                                                     
  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,      
   4ef8a:	5182           	subql #8,%d2                                
  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(             
   4ef8c:	948b           	subl %a3,%d2                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4ef8e:	2202           	movel %d2,%d1                               
   4ef90:	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;                                         
   4ef96:	7201           	moveq #1,%d1                                
   4ef98:	9480           	subl %d0,%d2                                
  );                                                                  
  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)                 
   4ef9a:	202b 0004      	movel %a3@(4),%d0                           
   4ef9e:	9082           	subl %d2,%d0                                
      | HEAP_PREV_BLOCK_USED;                                         
   4efa0:	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;       
   4efa2:	7001           	moveq #1,%d0                                
   4efa4:	2781 2804      	movel %d1,%a3@(00000004,%d2:l)              
   4efa8:	c0ab 0004      	andl %a3@(4),%d0                            
                                                                      
  block->size_and_flag = size | flag;                                 
   4efac:	8480           	orl %d0,%d2                                 
   4efae:	2742 0004      	movel %d2,%a3@(4)                           
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
   4efb2:	2f0b           	movel %a3,%sp@-                             
   4efb4:	2f0a           	movel %a2,%sp@-                             
   4efb6:	4eba fe6c      	jsr %pc@(4ee24 <_Heap_Free_block>)          
   4efba:	508f           	addql #8,%sp                                
   4efbc:	6020           	bras 4efde <_Heap_Extend+0x19e>             
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
   4efbe:	4a8d           	tstl %a5                                    
   4efc0:	671c           	beqs 4efde <_Heap_Extend+0x19e>             
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;       
   4efc2:	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 );       
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
   4efc4:	7801           	moveq #1,%d4                                
)                                                                     
{                                                                     
  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 );       
   4efc6:	222e fffc      	movel %fp@(-4),%d1                          
   4efca:	928d           	subl %a5,%d1                                
   4efcc:	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(                                                 
   4efd0:	206e fff8      	moveal %fp@(-8),%a0                         
                                                                      
  block->size_and_flag = size | flag;                                 
   4efd4:	8280           	orl %d0,%d1                                 
   4efd6:	2b41 0004      	movel %d1,%a5@(4)                           
  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;                  
   4efda:	89a8 0004      	orl %d4,%a0@(4)                             
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
   4efde:	4a8c           	tstl %a4                                    
   4efe0:	6610           	bnes 4eff2 <_Heap_Extend+0x1b2>             
   4efe2:	4a8b           	tstl %a3                                    
   4efe4:	660c           	bnes 4eff2 <_Heap_Extend+0x1b2>             
    _Heap_Free_block( heap, extend_first_block );                     
   4efe6:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   4efea:	2f0a           	movel %a2,%sp@-                             
   4efec:	4eba fe36      	jsr %pc@(4ee24 <_Heap_Free_block>)          
   4eff0:	508f           	addql #8,%sp                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
   4eff2:	206a 0024      	moveal %a2@(36),%a0                         
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;       
   4eff6:	7001           	moveq #1,%d0                                
 * 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(                                               
   4eff8:	222a 0020      	movel %a2@(32),%d1                          
   4effc:	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;       
   4effe:	c0a8 0004      	andl %a0@(4),%d0                            
                                                                      
  block->size_and_flag = size | flag;                                 
   4f002:	8280           	orl %d0,%d1                                 
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
   4f004:	202a 0030      	movel %a2@(48),%d0                          
   4f008:	90ae fff4      	subl %fp@(-12),%d0                          
   4f00c:	2141 0004      	movel %d1,%a0@(4)                           
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
   4f010:	d1aa 002c      	addl %d0,%a2@(44)                           
                                                                      
  if ( extended_size_ptr != NULL )                                    
   4f014:	4aae 0014      	tstl %fp@(20)                               
   4f018:	670c           	beqs 4f026 <_Heap_Extend+0x1e6>             <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
   4f01a:	206e 0014      	moveal %fp@(20),%a0                         
   4f01e:	2080           	movel %d0,%a0@                              
   4f020:	6004           	bras 4f026 <_Heap_Extend+0x1e6>             
      _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;                                                   
   4f022:	4200           	clrb %d0                                    
   4f024:	6002           	bras 4f028 <_Heap_Extend+0x1e8>             
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
   4f026:	7001           	moveq #1,%d0                                
}                                                                     
   4f028:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   4f02e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004acd4 <_Heap_Free>: #include <rtems/system.h> #include <rtems/score/sysstate.h> #include <rtems/score/heap.h> bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
   4acd4:	4e56 ffe8      	linkw %fp,#-24                              
   4acd8:	202e 000c      	movel %fp@(12),%d0                          
   4acdc:	2240           	moveal %d0,%a1                              
   4acde:	5189           	subql #8,%a1                                
   4ace0:	206e 0008      	moveal %fp@(8),%a0                          
   4ace4:	4c68 0001 0010 	remul %a0@(16),%d1,%d0                      
   4acea:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
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           
   4acee:	2828 0020      	movel %a0@(32),%d4                          
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   4acf2:	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;             
   4acf4:	b889           	cmpl %a1,%d4                                
   4acf6:	620c           	bhis 4ad04 <_Heap_Free+0x30>                
   4acf8:	b3e8 0024      	cmpal %a0@(36),%a1                          
   4acfc:	53c0           	sls %d0                                     
   4acfe:	49c0           	extbl %d0                                   
   4ad00:	4480           	negl %d0                                    
   4ad02:	6002           	bras 4ad06 <_Heap_Free+0x32>                
   4ad04:	4280           	clrl %d0                                    
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
   4ad06:	4a00           	tstb %d0                                    
   4ad08:	6700 012c      	beqw 4ae36 <_Heap_Free+0x162>               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4ad0c:	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;                
   4ad10:	70fe           	moveq #-2,%d0                               
   4ad12:	c083           	andl %d3,%d0                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4ad14:	45f1 0800      	lea %a1@(00000000,%d0: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;             
   4ad18:	b88a           	cmpl %a2,%d4                                
   4ad1a:	620c           	bhis 4ad28 <_Heap_Free+0x54>                <== NEVER TAKEN
   4ad1c:	b5e8 0024      	cmpal %a0@(36),%a2                          
   4ad20:	53c1           	sls %d1                                     
   4ad22:	49c1           	extbl %d1                                   
   4ad24:	4481           	negl %d1                                    
   4ad26:	6002           	bras 4ad2a <_Heap_Free+0x56>                
   4ad28:	4281           	clrl %d1                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
   4ad2a:	4a01           	tstb %d1                                    
   4ad2c:	6700 0108      	beqw 4ae36 <_Heap_Free+0x162>               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4ad30:	242a 0004      	movel %a2@(4),%d2                           
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
   4ad34:	0802 0000      	btst #0,%d2                                 
   4ad38:	6700 00fc      	beqw 4ae36 <_Heap_Free+0x162>               
    - 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;                
   4ad3c:	72fe           	moveq #-2,%d1                               
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
   4ad3e:	2668 0024      	moveal %a0@(36),%a3                         
   4ad42:	c481           	andl %d1,%d2                                
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
   4ad44:	b7ca           	cmpal %a2,%a3                               
   4ad46:	670c           	beqs 4ad54 <_Heap_Free+0x80>                
  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;                 
   4ad48:	7201           	moveq #1,%d1                                
   4ad4a:	c2b2 2804      	andl %a2@(00000004,%d2:l),%d1               
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/heap.h>                                         
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
   4ad4e:	5381           	subql #1,%d1                                
   4ad50:	4481           	negl %d1                                    
   4ad52:	6002           	bras 4ad56 <_Heap_Free+0x82>                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
   4ad54:	4281           	clrl %d1                                    
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
   4ad56:	1a01           	moveb %d1,%d5                               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
   4ad58:	0803 0000      	btst #0,%d3                                 
   4ad5c:	6662           	bnes 4adc0 <_Heap_Free+0xec>                
    uintptr_t const prev_size = block->prev_size;                     
   4ad5e:	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);                 
   4ad60:	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;             
   4ad62:	b889           	cmpl %a1,%d4                                
   4ad64:	620a           	bhis 4ad70 <_Heap_Free+0x9c>                <== NEVER TAKEN
   4ad66:	b3cb           	cmpal %a3,%a1                               
   4ad68:	53c1           	sls %d1                                     
   4ad6a:	49c1           	extbl %d1                                   
   4ad6c:	4481           	negl %d1                                    
   4ad6e:	6002           	bras 4ad72 <_Heap_Free+0x9e>                
   4ad70:	4281           	clrl %d1                                    <== NOT EXECUTED
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
   4ad72:	4a01           	tstb %d1                                    
   4ad74:	6700 00c0      	beqw 4ae36 <_Heap_Free+0x162>               
  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;                 
   4ad78:	7201           	moveq #1,%d1                                
   4ad7a:	c2a9 0004      	andl %a1@(4),%d1                            
      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) ) {                        
   4ad7e:	6700 00b6      	beqw 4ae36 <_Heap_Free+0x162>               
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
   4ad82:	4a05           	tstb %d5                                    
   4ad84:	6726           	beqs 4adac <_Heap_Free+0xd8>                
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
   4ad86:	266a 0008      	moveal %a2@(8),%a3                          
      uintptr_t const size = block_size + prev_size + next_block_size;
   4ad8a:	d480           	addl %d0,%d2                                
   4ad8c:	d682           	addl %d2,%d3                                
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4ad8e:	7401           	moveq #1,%d2                                
  Heap_Block *prev = block->prev;                                     
   4ad90:	246a 000c      	moveal %a2@(12),%a2                         
                                                                      
  prev->next = next;                                                  
   4ad94:	254b 0008      	movel %a3,%a2@(8)                           
   4ad98:	8483           	orl %d3,%d2                                 
  next->prev = prev;                                                  
   4ad9a:	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;                                        
   4ad9e:	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;                                   
   4ada2:	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;        
   4ada6:	2342 0004      	movel %d2,%a1@(4)                           
   4adaa:	607a           	bras 4ae26 <_Heap_Free+0x152>               
      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;                  
   4adac:	d680           	addl %d0,%d3                                
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4adae:	7201           	moveq #1,%d1                                
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
   4adb0:	74fe           	moveq #-2,%d2                               
      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;        
   4adb2:	8283           	orl %d3,%d1                                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
   4adb4:	2483           	movel %d3,%a2@                              
      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;        
   4adb6:	2341 0004      	movel %d1,%a1@(4)                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
   4adba:	c5aa 0004      	andl %d2,%a2@(4)                            
   4adbe:	6066           	bras 4ae26 <_Heap_Free+0x152>               
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
   4adc0:	4a01           	tstb %d1                                    
   4adc2:	672a           	beqs 4adee <_Heap_Free+0x11a>               
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
   4adc4:	266a 0008      	moveal %a2@(8),%a3                          
    uintptr_t const size = block_size + next_block_size;              
   4adc8:	2202           	movel %d2,%d1                               
   4adca:	d280           	addl %d0,%d1                                
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
   4adcc:	7401           	moveq #1,%d2                                
  Heap_Block *prev = old_block->prev;                                 
   4adce:	246a 000c      	moveal %a2@(12),%a2                         
                                                                      
  new_block->next = next;                                             
   4add2:	234b 0008      	movel %a3,%a1@(8)                           
   4add6:	8481           	orl %d1,%d2                                 
  new_block->prev = prev;                                             
   4add8:	234a 000c      	movel %a2,%a1@(12)                          
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
   4addc:	2381 1800      	movel %d1,%a1@(00000000,%d1:l)              
                                                                      
  next->prev = new_block;                                             
   4ade0:	2749 000c      	movel %a1,%a3@(12)                          
  prev->next = new_block;                                             
   4ade4:	2549 0008      	movel %a1,%a2@(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;               
   4ade8:	2342 0004      	movel %d2,%a1@(4)                           
   4adec:	6038           	bras 4ae26 <_Heap_Free+0x152>               
    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;         
   4adee:	7201           	moveq #1,%d1                                
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
   4adf0:	74fe           	moveq #-2,%d2                               
    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;         
   4adf2:	8280           	orl %d0,%d1                                 
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
   4adf4:	2668 0008      	moveal %a0@(8),%a3                          
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
   4adf8:	2348 000c      	movel %a0,%a1@(12)                          
   4adfc:	2341 0004      	movel %d1,%a1@(4)                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   4ae00:	2228 0038      	movel %a0@(56),%d1                          
   4ae04:	5281           	addql #1,%d1                                
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
   4ae06:	234b 0008      	movel %a3,%a1@(8)                           
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
   4ae0a:	c5aa 0004      	andl %d2,%a2@(4)                            
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
   4ae0e:	2749 000c      	movel %a1,%a3@(12)                          
    next_block->prev_size = block_size;                               
   4ae12:	2480           	movel %d0,%a2@                              
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
   4ae14:	2149 0008      	movel %a1,%a0@(8)                           
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   4ae18:	2141 0038      	movel %d1,%a0@(56)                          
    if ( stats->max_free_blocks < stats->free_blocks ) {              
   4ae1c:	b2a8 003c      	cmpl %a0@(60),%d1                           
   4ae20:	6304           	blss 4ae26 <_Heap_Free+0x152>               
      stats->max_free_blocks = stats->free_blocks;                    
   4ae22:	2141 003c      	movel %d1,%a0@(60)                          
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
   4ae26:	d1a8 0030      	addl %d0,%a0@(48)                           
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
   4ae2a:	53a8 0040      	subql #1,%a0@(64)                           
  ++stats->frees;                                                     
   4ae2e:	52a8 0050      	addql #1,%a0@(80)                           
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
   4ae32:	7001           	moveq #1,%d0                                
   4ae34:	6002           	bras 4ae38 <_Heap_Free+0x164>               
                                                                      
    /* 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 );                                                
   4ae36:	4200           	clrb %d0                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4ae38:	4cd7 0c3c      	moveml %sp@,%d2-%d5/%a2-%a3                 
   4ae3c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005a564 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
   5a564:	4e56 0000      	linkw %fp,#0                                
   5a568:	202e 000c      	movel %fp@(12),%d0                          
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   5a56c:	2040           	moveal %d0,%a0                              
   5a56e:	5188           	subql #8,%a0                                
   5a570:	226e 0008      	moveal %fp@(8),%a1                          
   5a574:	2f02           	movel %d2,%sp@-                             
   5a576:	2400           	movel %d0,%d2                               
   5a578:	4c69 2001 0010 	remul %a1@(16),%d1,%d2                      
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           
   5a57e:	2429 0020      	movel %a1@(32),%d2                          
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   5a582:	91c1           	subal %d1,%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;             
   5a584:	b488           	cmpl %a0,%d2                                
   5a586:	620c           	bhis 5a594 <_Heap_Size_of_alloc_area+0x30>  
   5a588:	b1e9 0024      	cmpal %a1@(36),%a0                          
   5a58c:	53c1           	sls %d1                                     
   5a58e:	49c1           	extbl %d1                                   
   5a590:	4481           	negl %d1                                    
   5a592:	6002           	bras 5a596 <_Heap_Size_of_alloc_area+0x32>  
   5a594:	4281           	clrl %d1                                    
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
   5a596:	4a01           	tstb %d1                                    
   5a598:	6738           	beqs 5a5d2 <_Heap_Size_of_alloc_area+0x6e>  
    - 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;                
   5a59a:	72fe           	moveq #-2,%d1                               
   5a59c:	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);                 
   5a5a0:	d1c1           	addal %d1,%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;             
   5a5a2:	b488           	cmpl %a0,%d2                                
   5a5a4:	620c           	bhis 5a5b2 <_Heap_Size_of_alloc_area+0x4e>  <== NEVER TAKEN
   5a5a6:	b1e9 0024      	cmpal %a1@(36),%a0                          
   5a5aa:	53c1           	sls %d1                                     
   5a5ac:	49c1           	extbl %d1                                   
   5a5ae:	4481           	negl %d1                                    
   5a5b0:	6002           	bras 5a5b4 <_Heap_Size_of_alloc_area+0x50>  
   5a5b2:	4281           	clrl %d1                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
   5a5b4:	4a01           	tstb %d1                                    
   5a5b6:	671a           	beqs 5a5d2 <_Heap_Size_of_alloc_area+0x6e>  <== 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;                 
   5a5b8:	7201           	moveq #1,%d1                                
   5a5ba:	c2a8 0004      	andl %a0@(4),%d1                            
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
   5a5be:	6712           	beqs 5a5d2 <_Heap_Size_of_alloc_area+0x6e>  <== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
   5a5c0:	7204           	moveq #4,%d1                                
   5a5c2:	9280           	subl %d0,%d1                                
   5a5c4:	2001           	movel %d1,%d0                               
   5a5c6:	d088           	addl %a0,%d0                                
   5a5c8:	226e 0010      	moveal %fp@(16),%a1                         
   5a5cc:	2280           	movel %d0,%a1@                              
                                                                      
  return true;                                                        
   5a5ce:	7001           	moveq #1,%d0                                
   5a5d0:	6002           	bras 5a5d4 <_Heap_Size_of_alloc_area+0x70>  
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
   5a5d2:	4200           	clrb %d0                                    
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
                                                                      
  return true;                                                        
}                                                                     
   5a5d4:	241f           	movel %sp@+,%d2                             
   5a5d6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004732e <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
   4732e:	4e56 ffd0      	linkw %fp,#-48                              
   47332:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   47336:	266e 0008      	moveal %fp@(8),%a3                          
  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;                      
   4733a:	45fa ffac      	lea %pc@(472e8 <_Heap_Walk_print_nothing>),%a2
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
   4733e:	242e 000c      	movel %fp@(12),%d2                          
  uintptr_t const page_size = heap->page_size;                        
   47342:	282b 0010      	movel %a3@(16),%d4                          
  uintptr_t const min_block_size = heap->min_block_size;              
   47346:	2a2b 0014      	movel %a3@(20),%d5                          
  Heap_Block *const first_block = heap->first_block;                  
   4734a:	2c2b 0020      	movel %a3@(32),%d6                          
  Heap_Block *const last_block = heap->last_block;                    
   4734e:	2e2b 0024      	movel %a3@(36),%d7                          
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
   47352:	4a2e 0013      	tstb %fp@(19)                               
   47356:	6704           	beqs 4735c <_Heap_Walk+0x2e>                
   47358:	45fa ff96      	lea %pc@(472f0 <_Heap_Walk_print>),%a2      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
   4735c:	7003           	moveq #3,%d0                                
   4735e:	b0b9 0005 fdd2 	cmpl 5fdd2 <_System_state_Current>,%d0      
   47364:	6600 02fc      	bnew 47662 <_Heap_Walk+0x334>               
  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)(                                                         
   47368:	2f2b 000c      	movel %a3@(12),%sp@-                        
   4736c:	2f2b 0008      	movel %a3@(8),%sp@-                         
   47370:	2f07           	movel %d7,%sp@-                             
   47372:	2f06           	movel %d6,%sp@-                             
   47374:	2f2b 001c      	movel %a3@(28),%sp@-                        
   47378:	2f2b 0018      	movel %a3@(24),%sp@-                        
   4737c:	2f05           	movel %d5,%sp@-                             
   4737e:	2f04           	movel %d4,%sp@-                             
   47380:	4879 0005 c1a5 	pea 5c1a5 <C.0.4008+0x57>                   
   47386:	42a7           	clrl %sp@-                                  
   47388:	2f02           	movel %d2,%sp@-                             
   4738a:	4e92           	jsr %a2@                                    
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
   4738c:	4fef 002c      	lea %sp@(44),%sp                            
   47390:	4a84           	tstl %d4                                    
   47392:	6608           	bnes 4739c <_Heap_Walk+0x6e>                
    (*printer)( source, true, "page size is zero\n" );                
   47394:	4879 0005 c236 	pea 5c236 <C.0.4008+0xe8>                   
   4739a:	6050           	bras 473ec <_Heap_Walk+0xbe>                
)                                                                     
{                                                                     
#if (CPU_ALIGNMENT == 0)                                              
    return true;                                                      
#else                                                                 
    return (((uintptr_t)address % CPU_ALIGNMENT) == 0);               
   4739c:	7003           	moveq #3,%d0                                
   4739e:	c084           	andl %d4,%d0                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
   473a0:	670c           	beqs 473ae <_Heap_Walk+0x80>                
    (*printer)(                                                       
   473a2:	2f04           	movel %d4,%sp@-                             
   473a4:	4879 0005 c249 	pea 5c249 <C.0.4008+0xfb>                   
   473aa:	6000 02ca      	braw 47676 <_Heap_Walk+0x348>               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   473ae:	2205           	movel %d5,%d1                               
   473b0:	4c44 1000      	remul %d4,%d0,%d1                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
   473b4:	4a80           	tstl %d0                                    
   473b6:	670c           	beqs 473c4 <_Heap_Walk+0x96>                
    (*printer)(                                                       
   473b8:	2f05           	movel %d5,%sp@-                             
   473ba:	4879 0005 c267 	pea 5c267 <C.0.4008+0x119>                  
   473c0:	6000 02b4      	braw 47676 <_Heap_Walk+0x348>               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   473c4:	2006           	movel %d6,%d0                               
   473c6:	5080           	addql #8,%d0                                
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   473c8:	4c44 0001      	remul %d4,%d1,%d0                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
   473cc:	4a81           	tstl %d1                                    
   473ce:	670c           	beqs 473dc <_Heap_Walk+0xae>                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
   473d0:	2f06           	movel %d6,%sp@-                             
   473d2:	4879 0005 c28b 	pea 5c28b <C.0.4008+0x13d>                  
   473d8:	6000 029c      	braw 47676 <_Heap_Walk+0x348>               
  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;                 
   473dc:	7001           	moveq #1,%d0                                
   473de:	2046           	moveal %d6,%a0                              
   473e0:	c0a8 0004      	andl %a0@(4),%d0                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
   473e4:	6616           	bnes 473fc <_Heap_Walk+0xce>                
    (*printer)(                                                       
   473e6:	4879 0005 c2bc 	pea 5c2bc <C.0.4008+0x16e>                  
   473ec:	4878 0001      	pea 1 <ADD>                                 
   473f0:	2f02           	movel %d2,%sp@-                             
   473f2:	4e92           	jsr %a2@                                    
   473f4:	4fef 000c      	lea %sp@(12),%sp                            
   473f8:	6000 00ba      	braw 474b4 <_Heap_Walk+0x186>               
    - 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;                
   473fc:	70fe           	moveq #-2,%d0                               
   473fe:	2047           	moveal %d7,%a0                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   47400:	2847           	moveal %d7,%a4                              
    - 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;                
   47402:	c0a8 0004      	andl %a0@(4),%d0                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   47406:	d9c0           	addal %d0,%a4                               
  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;                 
   47408:	7001           	moveq #1,%d0                                
   4740a:	c0ac 0004      	andl %a4@(4),%d0                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
   4740e:	6608           	bnes 47418 <_Heap_Walk+0xea>                
    (*printer)(                                                       
   47410:	4879 0005 c2ea 	pea 5c2ea <C.0.4008+0x19c>                  
   47416:	60d4           	bras 473ec <_Heap_Walk+0xbe>                
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
   47418:	bc8c           	cmpl %a4,%d6                                
   4741a:	6708           	beqs 47424 <_Heap_Walk+0xf6>                <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
   4741c:	4879 0005 c2ff 	pea 5c2ff <C.0.4008+0x1b1>                  <== NOT EXECUTED
   47422:	60c8           	bras 473ec <_Heap_Walk+0xbe>                <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
   47424:	262b 0010      	movel %a3@(16),%d3                          
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
   47428:	220b           	movel %a3,%d1                               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   4742a:	206b 0008      	moveal %a3@(8),%a0                          
   4742e:	2d44 fff8      	movel %d4,%fp@(-8)                          
   47432:	2d43 fffc      	movel %d3,%fp@(-4)                          
   47436:	6000 0088      	braw 474c0 <_Heap_Walk+0x192>               
  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;             
   4743a:	b1eb 0020      	cmpal %a3@(32),%a0                          
   4743e:	650c           	bcss 4744c <_Heap_Walk+0x11e>               
   47440:	b1eb 0024      	cmpal %a3@(36),%a0                          
   47444:	53c0           	sls %d0                                     
   47446:	49c0           	extbl %d0                                   
   47448:	4480           	negl %d0                                    
   4744a:	6002           	bras 4744e <_Heap_Walk+0x120>               
   4744c:	4280           	clrl %d0                                    
  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 ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
   4744e:	4a00           	tstb %d0                                    
   47450:	660c           	bnes 4745e <_Heap_Walk+0x130>               
      (*printer)(                                                     
   47452:	2f08           	movel %a0,%sp@-                             
   47454:	4879 0005 c32e 	pea 5c32e <C.0.4008+0x1e0>                  
   4745a:	6000 021a      	braw 47676 <_Heap_Walk+0x348>               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   4745e:	4be8 0008      	lea %a0@(8),%a5                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   47462:	200d           	movel %a5,%d0                               
   47464:	262e fffc      	movel %fp@(-4),%d3                          
   47468:	4c43 0004      	remul %d3,%d4,%d0                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
   4746c:	4a84           	tstl %d4                                    
   4746e:	670c           	beqs 4747c <_Heap_Walk+0x14e>               
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
   47470:	2f08           	movel %a0,%sp@-                             
   47472:	4879 0005 c34e 	pea 5c34e <C.0.4008+0x200>                  
   47478:	6000 01fc      	braw 47676 <_Heap_Walk+0x348>               
    - 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;                
   4747c:	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;                 
   4747e:	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;                
   47480:	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;                 
   47484:	c6b0 0804      	andl %a0@(00000004,%d0:l),%d3               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   47488:	670c           	beqs 47496 <_Heap_Walk+0x168>               
      (*printer)(                                                     
   4748a:	2f08           	movel %a0,%sp@-                             
   4748c:	4879 0005 c37e 	pea 5c37e <C.0.4008+0x230>                  
   47492:	6000 01e2      	braw 47676 <_Heap_Walk+0x348>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
   47496:	2028 000c      	movel %a0@(12),%d0                          
   4749a:	b280           	cmpl %d0,%d1                                
   4749c:	671c           	beqs 474ba <_Heap_Walk+0x18c>               
      (*printer)(                                                     
   4749e:	2f00           	movel %d0,%sp@-                             
   474a0:	2f08           	movel %a0,%sp@-                             
   474a2:	4879 0005 c39a 	pea 5c39a <C.0.4008+0x24c>                  
   474a8:	4878 0001      	pea 1 <ADD>                                 
   474ac:	2f02           	movel %d2,%sp@-                             
   474ae:	4e92           	jsr %a2@                                    
   474b0:	4fef 0014      	lea %sp@(20),%sp                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
   474b4:	4200           	clrb %d0                                    
   474b6:	6000 01ac      	braw 47664 <_Heap_Walk+0x336>               
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
   474ba:	2208           	movel %a0,%d1                               
   474bc:	2068 0008      	moveal %a0@(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 ) {                            
   474c0:	b7c8           	cmpal %a0,%a3                               
   474c2:	6600 ff76      	bnew 4743a <_Heap_Walk+0x10c>               
   474c6:	282e fff8      	movel %fp@(-8),%d4                          
   474ca:	6002           	bras 474ce <_Heap_Walk+0x1a0>               
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
   474cc:	284d           	moveal %a5,%a4                              
                                                                      
  return true;                                                        
}                                                                     
   474ce:	202c 0004      	movel %a4@(4),%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;                
   474d2:	76fe           	moveq #-2,%d3                               
   474d4:	c680           	andl %d0,%d3                                
   474d6:	2d40 fffc      	movel %d0,%fp@(-4)                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   474da:	4bf4 3800      	lea %a4@(00000000,%d3:l),%a5                
  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;             
   474de:	bbeb 0020      	cmpal %a3@(32),%a5                          
   474e2:	650c           	bcss 474f0 <_Heap_Walk+0x1c2>               <== NEVER TAKEN
   474e4:	bbeb 0024      	cmpal %a3@(36),%a5                          
   474e8:	53c0           	sls %d0                                     
   474ea:	49c0           	extbl %d0                                   
   474ec:	4480           	negl %d0                                    
   474ee:	6002           	bras 474f2 <_Heap_Walk+0x1c4>               
   474f0:	4280           	clrl %d0                                    <== NOT EXECUTED
    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;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
   474f2:	4a00           	tstb %d0                                    
   474f4:	660c           	bnes 47502 <_Heap_Walk+0x1d4>               
      (*printer)(                                                     
   474f6:	2f0d           	movel %a5,%sp@-                             
   474f8:	2f0c           	movel %a4,%sp@-                             
   474fa:	4879 0005 c3cc 	pea 5c3cc <C.0.4008+0x27e>                  
   47500:	60a6           	bras 474a8 <_Heap_Walk+0x17a>               
    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;               
   47502:	be8c           	cmpl %a4,%d7                                
   47504:	56c0           	sne %d0                                     
   47506:	2200           	movel %d0,%d1                               
   47508:	4481           	negl %d1                                    
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   4750a:	2003           	movel %d3,%d0                               
   4750c:	1d41 fffb      	moveb %d1,%fp@(-5)                          
   47510:	4c44 0001      	remul %d4,%d1,%d0                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
   47514:	4a81           	tstl %d1                                    
   47516:	6714           	beqs 4752c <_Heap_Walk+0x1fe>               
   47518:	4a2e fffb      	tstb %fp@(-5)                               
   4751c:	670e           	beqs 4752c <_Heap_Walk+0x1fe>               
      (*printer)(                                                     
   4751e:	2f03           	movel %d3,%sp@-                             
   47520:	2f0c           	movel %a4,%sp@-                             
   47522:	4879 0005 c3f9 	pea 5c3f9 <C.0.4008+0x2ab>                  
   47528:	6000 ff7e      	braw 474a8 <_Heap_Walk+0x17a>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
   4752c:	ba83           	cmpl %d3,%d5                                
   4752e:	6322           	blss 47552 <_Heap_Walk+0x224>               
   47530:	4a2e fffb      	tstb %fp@(-5)                               
   47534:	671c           	beqs 47552 <_Heap_Walk+0x224>               <== NEVER TAKEN
      (*printer)(                                                     
   47536:	2f05           	movel %d5,%sp@-                             
   47538:	2f03           	movel %d3,%sp@-                             
   4753a:	2f0c           	movel %a4,%sp@-                             
   4753c:	4879 0005 c427 	pea 5c427 <C.0.4008+0x2d9>                  
   47542:	4878 0001      	pea 1 <ADD>                                 
   47546:	2f02           	movel %d2,%sp@-                             
   47548:	4e92           	jsr %a2@                                    
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
   4754a:	4fef 0018      	lea %sp@(24),%sp                            
   4754e:	6000 ff64      	braw 474b4 <_Heap_Walk+0x186>               
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
   47552:	b9cd           	cmpal %a5,%a4                               
   47554:	6514           	bcss 4756a <_Heap_Walk+0x23c>               
   47556:	4a2e fffb      	tstb %fp@(-5)                               
   4755a:	670e           	beqs 4756a <_Heap_Walk+0x23c>               
      (*printer)(                                                     
   4755c:	2f0d           	movel %a5,%sp@-                             
   4755e:	2f0c           	movel %a4,%sp@-                             
   47560:	4879 0005 c452 	pea 5c452 <C.0.4008+0x304>                  
   47566:	6000 ff40      	braw 474a8 <_Heap_Walk+0x17a>               
  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;                 
   4756a:	7001           	moveq #1,%d0                                
   4756c:	c0ae fffc      	andl %fp@(-4),%d0                           
   47570:	2d40 fffc      	movel %d0,%fp@(-4)                          
   47574:	7001           	moveq #1,%d0                                
   47576:	c0ad 0004      	andl %a5@(4),%d0                            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
   4757a:	6600 00ae      	bnew 4762a <_Heap_Walk+0x2fc>               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   4757e:	222b 0008      	movel %a3@(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)(                                                         
   47582:	43f9 0005 c172 	lea 5c172 <C.0.4008+0x24>,%a1               
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
   47588:	206c 0008      	moveal %a4@(8),%a0                          
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   4758c:	2d41 fff8      	movel %d1,%fp@(-8)                          
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
   47590:	b1eb 000c      	cmpal %a3@(12),%a0                          
   47594:	6710           	beqs 475a6 <_Heap_Walk+0x278>               
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
   47596:	43f9 0005 c0ac 	lea 5c0ac <rtems_filesystem_default_pathconf+0x40>,%a1
   4759c:	b7c8           	cmpal %a0,%a3                               
   4759e:	6606           	bnes 475a6 <_Heap_Walk+0x278>               
   475a0:	43f9 0005 c181 	lea 5c181 <C.0.4008+0x33>,%a1               
    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 ?                                 
   475a6:	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)(                                                         
   475aa:	223c 0005 c18b 	movel #377227,%d1                           
   475b0:	b0ae fff8      	cmpl %fp@(-8),%d0                           
   475b4:	6710           	beqs 475c6 <_Heap_Walk+0x298>               
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
   475b6:	223c 0005 c0ac 	movel #377004,%d1                           
   475bc:	b7c0           	cmpal %d0,%a3                               
   475be:	6606           	bnes 475c6 <_Heap_Walk+0x298>               
   475c0:	223c 0005 c19b 	movel #377243,%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)(                                                         
   475c6:	2f09           	movel %a1,%sp@-                             
   475c8:	2f08           	movel %a0,%sp@-                             
   475ca:	2f01           	movel %d1,%sp@-                             
   475cc:	2f00           	movel %d0,%sp@-                             
   475ce:	2f03           	movel %d3,%sp@-                             
   475d0:	2f0c           	movel %a4,%sp@-                             
   475d2:	4879 0005 c486 	pea 5c486 <C.0.4008+0x338>                  
   475d8:	42a7           	clrl %sp@-                                  
   475da:	2f02           	movel %d2,%sp@-                             
   475dc:	4e92           	jsr %a2@                                    
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
   475de:	2015           	movel %a5@,%d0                              
   475e0:	4fef 0024      	lea %sp@(36),%sp                            
   475e4:	b083           	cmpl %d3,%d0                                
   475e6:	671e           	beqs 47606 <_Heap_Walk+0x2d8>               
    (*printer)(                                                       
   475e8:	2f0d           	movel %a5,%sp@-                             
   475ea:	2f00           	movel %d0,%sp@-                             
   475ec:	2f03           	movel %d3,%sp@-                             
   475ee:	2f0c           	movel %a4,%sp@-                             
   475f0:	4879 0005 c4bb 	pea 5c4bb <C.0.4008+0x36d>                  
   475f6:	4878 0001      	pea 1 <ADD>                                 
   475fa:	2f02           	movel %d2,%sp@-                             
   475fc:	4e92           	jsr %a2@                                    
   475fe:	4fef 001c      	lea %sp@(28),%sp                            
   47602:	6000 feb0      	braw 474b4 <_Heap_Walk+0x186>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
   47606:	4aae fffc      	tstl %fp@(-4)                               
   4760a:	660a           	bnes 47616 <_Heap_Walk+0x2e8>               
    (*printer)(                                                       
   4760c:	2f0c           	movel %a4,%sp@-                             
   4760e:	4879 0005 c4f4 	pea 5c4f4 <C.0.4008+0x3a6>                  
   47614:	6060           	bras 47676 <_Heap_Walk+0x348>               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   47616:	206b 0008      	moveal %a3@(8),%a0                          
   4761a:	6008           	bras 47624 <_Heap_Walk+0x2f6>               
{                                                                     
  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 ) {                            
    if ( free_block == block ) {                                      
   4761c:	b9c8           	cmpal %a0,%a4                               
   4761e:	673c           	beqs 4765c <_Heap_Walk+0x32e>               
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
   47620:	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 ) {                            
   47624:	b7c8           	cmpal %a0,%a3                               
   47626:	66f4           	bnes 4761c <_Heap_Walk+0x2ee>               
   47628:	6044           	bras 4766e <_Heap_Walk+0x340>               
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
   4762a:	4aae fffc      	tstl %fp@(-4)                               
   4762e:	6716           	beqs 47646 <_Heap_Walk+0x318>               
      (*printer)(                                                     
   47630:	2f03           	movel %d3,%sp@-                             
   47632:	2f0c           	movel %a4,%sp@-                             
   47634:	4879 0005 c523 	pea 5c523 <C.0.4008+0x3d5>                  
   4763a:	42a7           	clrl %sp@-                                  
   4763c:	2f02           	movel %d2,%sp@-                             
   4763e:	4e92           	jsr %a2@                                    
   47640:	4fef 0014      	lea %sp@(20),%sp                            
   47644:	6016           	bras 4765c <_Heap_Walk+0x32e>               
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
   47646:	2f14           	movel %a4@,%sp@-                            
   47648:	2f03           	movel %d3,%sp@-                             
   4764a:	2f0c           	movel %a4,%sp@-                             
   4764c:	4879 0005 c53a 	pea 5c53a <C.0.4008+0x3ec>                  
   47652:	42a7           	clrl %sp@-                                  
   47654:	2f02           	movel %d2,%sp@-                             
   47656:	4e92           	jsr %a2@                                    
   47658:	4fef 0018      	lea %sp@(24),%sp                            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
   4765c:	bc8d           	cmpl %a5,%d6                                
   4765e:	6600 fe6c      	bnew 474cc <_Heap_Walk+0x19e>               
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
   47662:	7001           	moveq #1,%d0                                
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   47664:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            
   4766a:	4e5e           	unlk %fp                                    
   4766c:	4e75           	rts                                         
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   4766e:	2f0c           	movel %a4,%sp@-                             
   47670:	4879 0005 c55f 	pea 5c55f <C.0.4008+0x411>                  
   47676:	4878 0001      	pea 1 <ADD>                                 
   4767a:	2f02           	movel %d2,%sp@-                             
   4767c:	4e92           	jsr %a2@                                    
   4767e:	4fef 0010      	lea %sp@(16),%sp                            
   47682:	6000 fe30      	braw 474b4 <_Heap_Walk+0x186>               
	...                                                                  
                                                                      

0004694c <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
   4694c:	4e56 0000      	linkw %fp,#0                                
   46950:	222e 000c      	movel %fp@(12),%d1                          
   46954:	2f02           	movel %d2,%sp@-                             
   46956:	242e 0010      	movel %fp@(16),%d2                          
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
   4695a:	13c1 0005 d9a6 	moveb %d1,5d9a6 <_Internal_errors_What_happened+0x4>
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
   46960:	2f02           	movel %d2,%sp@-                             
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
   46962:	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 );       
   46966:	0281 0000 00ff 	andil #255,%d1                              
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
   4696c:	23c0 0005 d9a2 	movel %d0,5d9a2 <_Internal_errors_What_happened>
  _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 );       
   46972:	2f01           	movel %d1,%sp@-                             
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
   46974:	23c2 0005 d9a8 	movel %d2,5d9a8 <_Internal_errors_What_happened+0x6>
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
   4697a:	2f00           	movel %d0,%sp@-                             
   4697c:	4eb9 0004 84ee 	jsr 484ee <_User_extensions_Fatal>          
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
   46982:	7005           	moveq #5,%d0                                
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
   46984:	2042           	moveal %d2,%a0                              
   46986:	243c 0000 0700 	movel #1792,%d2                             
   4698c:	23c0 0005 da7a 	movel %d0,5da7a <_System_state_Current>     
   46992:	40c0           	movew %sr,%d0                               
   46994:	8082           	orl %d2,%d0                                 
   46996:	46c0           	movew %d0,%sr                               
   46998:	2008           	movel %a0,%d0                               <== NOT EXECUTED
   4699a:	223c dead beef 	movel #-559038737,%d1                       <== NOT EXECUTED
   469a0:	4ac8           	halt                                        <== NOT EXECUTED
   469a2:	4fef 000c      	lea %sp@(12),%sp                            
   469a6:	60fe           	bras 469a6 <_Internal_error_Occurred+0x5a>  
                                                                      

00046a08 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
   46a08:	4e56 fff0      	linkw %fp,#-16                              
   46a0c:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   46a10:	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 )                                       
   46a14:	4aaa 0014      	tstl %a2@(20)                               
   46a18:	675e           	beqs 46a78 <_Objects_Allocate+0x70>         <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  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 );
   46a1a:	240a           	movel %a2,%d2                               
   46a1c:	0682 0000 001c 	addil #28,%d2                               
   46a22:	47f9 0004 618c 	lea 4618c <_Chain_Get>,%a3                  
   46a28:	2f02           	movel %d2,%sp@-                             
   46a2a:	4e93           	jsr %a3@                                    
                                                                      
  if ( information->auto_extend ) {                                   
   46a2c:	588f           	addql #4,%sp                                
   46a2e:	4a2a 0010      	tstb %a2@(16)                               
   46a32:	6746           	beqs 46a7a <_Objects_Allocate+0x72>         
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
   46a34:	4a80           	tstl %d0                                    
   46a36:	6612           	bnes 46a4a <_Objects_Allocate+0x42>         
      _Objects_Extend_information( information );                     
   46a38:	2f0a           	movel %a2,%sp@-                             
   46a3a:	4eb9 0004 6ab0 	jsr 46ab0 <_Objects_Extend_information>     
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
   46a40:	2f02           	movel %d2,%sp@-                             
   46a42:	4e93           	jsr %a3@                                    
    }                                                                 
                                                                      
    if ( the_object ) {                                               
   46a44:	508f           	addql #8,%sp                                
   46a46:	4a80           	tstl %d0                                    
   46a48:	6730           	beqs 46a7a <_Objects_Allocate+0x72>         
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   46a4a:	2040           	moveal %d0,%a0                              
   46a4c:	4281           	clrl %d1                                    
   46a4e:	4282           	clrl %d2                                    
   46a50:	3228 000a      	movew %a0@(10),%d1                          
   46a54:	342a 0008      	movew %a2@(8),%d2                           
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a58:	206a 002a      	moveal %a2@(42),%a0                         
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   46a5c:	9282           	subl %d2,%d1                                
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
   46a5e:	342a 0012      	movew %a2@(18),%d2                          
   46a62:	4c42 1001      	remul %d2,%d1,%d1                           
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a66:	e589           	lsll #2,%d1                                 
   46a68:	d1c1           	addal %d1,%a0                               
   46a6a:	5390           	subql #1,%a0@                               
      information->inactive--;                                        
   46a6c:	322a 0028      	movew %a2@(40),%d1                          
   46a70:	5381           	subql #1,%d1                                
   46a72:	3541 0028      	movew %d1,%a2@(40)                          
   46a76:	6002           	bras 46a7a <_Objects_Allocate+0x72>         
   *  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 )                                       
    return NULL;                                                      
   46a78:	4280           	clrl %d0                                    <== NOT EXECUTED
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
   46a7a:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   46a80:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046a84 <_Objects_Close>: RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id( Objects_Information *information, Objects_Control *the_object ) { _Objects_Set_local_object(
   46a84:	4280           	clrl %d0                                    
                                                                      
void _Objects_Close(                                                  
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
   46a86:	4e56 0000      	linkw %fp,#0                                
   46a8a:	226e 000c      	moveal %fp@(12),%a1                         
   46a8e:	206e 0008      	moveal %fp@(8),%a0                          
   46a92:	2f0a           	movel %a2,%sp@-                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46a94:	2468 0018      	moveal %a0@(24),%a2                         
RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id(                     
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   46a98:	3029 000a      	movew %a1@(10),%d0                          
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46a9c:	42b2 0c00      	clrl %a2@(00000000,%d0:l:4)                 
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
}                                                                     
   46aa0:	245f           	moveal %sp@+,%a2                            
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
   46aa2:	2d49 000c      	movel %a1,%fp@(12)                          
}                                                                     
   46aa6:	4e5e           	unlk %fp                                    
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
   46aa8:	4ef9 0004 6fb0 	jmp 46fb0 <_Objects_Namespace_remove>       
	...                                                                  
                                                                      

00046dac <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
   46dac:	4e56 0000      	linkw %fp,#0                                
   46db0:	2f03           	movel %d3,%sp@-                             
   46db2:	262e 0008      	movel %fp@(8),%d3                           
   46db6:	2f02           	movel %d2,%sp@-                             
   46db8:	242e 000c      	movel %fp@(12),%d2                          
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
   46dbc:	6734           	beqs 46df2 <_Objects_Get_information+0x46>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  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 );      
   46dbe:	2f03           	movel %d3,%sp@-                             
   46dc0:	4eb9 0004 ae40 	jsr 4ae40 <_Objects_API_maximum_class>      
  if ( the_class_api_maximum == 0 )                                   
   46dc6:	588f           	addql #4,%sp                                
   46dc8:	4a80           	tstl %d0                                    
   46dca:	6726           	beqs 46df2 <_Objects_Get_information+0x46>  
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
   46dcc:	b082           	cmpl %d2,%d0                                
   46dce:	6522           	bcss 46df2 <_Objects_Get_information+0x46>  
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
   46dd0:	41f9 0005 d8c8 	lea 5d8c8 <_Objects_Information_table>,%a0  
   46dd6:	2070 3c00      	moveal %a0@(00000000,%d3:l:4),%a0           
   46dda:	4a88           	tstl %a0                                    
   46ddc:	6714           	beqs 46df2 <_Objects_Get_information+0x46>  <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
   46dde:	2030 2c00      	movel %a0@(00000000,%d2:l:4),%d0            
  if ( !info )                                                        
   46de2:	6710           	beqs 46df4 <_Objects_Get_information+0x48>  <== 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;                                                    
   46de4:	2040           	moveal %d0,%a0                              
   46de6:	4a68 000e      	tstw %a0@(14)                               
   46dea:	56c1           	sne %d1                                     
   46dec:	49c1           	extbl %d1                                   
   46dee:	c081           	andl %d1,%d0                                
   46df0:	6002           	bras 46df4 <_Objects_Get_information+0x48>  
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
    return NULL;                                                      
   46df2:	4280           	clrl %d0                                    
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
   46df4:	242e fff8      	movel %fp@(-8),%d2                          
   46df8:	262e fffc      	movel %fp@(-4),%d3                          
   46dfc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000545f4 <_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;
   545f4:	7001           	moveq #1,%d0                                
                                                                      
  if ( information->maximum >= index ) {                              
   545f6:	4281           	clrl %d1                                    
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
   545f8:	4e56 0000      	linkw %fp,#0                                
   545fc:	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;                           
   54600:	90a8 0006      	subl %a0@(6),%d0                            
   54604:	d0ae 000c      	addl %fp@(12),%d0                           
                                                                      
  if ( information->maximum >= index ) {                              
   54608:	3228 000e      	movew %a0@(14),%d1                          
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
   5460c:	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 ) {                              
   54610:	b081           	cmpl %d1,%d0                                
   54612:	620e           	bhis 54622 <_Objects_Get_no_protection+0x2e>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
   54614:	2068 0018      	moveal %a0@(24),%a0                         
   54618:	2030 0c00      	movel %a0@(00000000,%d0:l:4),%d0            
   5461c:	6704           	beqs 54622 <_Objects_Get_no_protection+0x2e><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
   5461e:	4291           	clrl %a1@                                   
      return the_object;                                              
   54620:	6006           	bras 54628 <_Objects_Get_no_protection+0x34>
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
   54622:	7001           	moveq #1,%d0                                
   54624:	2280           	movel %d0,%a1@                              
  return NULL;                                                        
   54626:	4280           	clrl %d0                                    
}                                                                     
   54628:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047d84 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
   47d84:	4e56 fffc      	linkw %fp,#-4                               
   47d88:	222e 0008      	movel %fp@(8),%d1                           
   47d8c:	2f02           	movel %d2,%sp@-                             
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
   47d8e:	4a81           	tstl %d1                                    
   47d90:	660a           	bnes 47d9c <_Objects_Id_to_name+0x18>       
   47d92:	2079 0005 f264 	moveal 5f264 <_Per_CPU_Information+0xc>,%a0 
   47d98:	2228 0008      	movel %a0@(8),%d1                           
   47d9c:	7418           	moveq #24,%d2                               
   47d9e:	2001           	movel %d1,%d0                               
   47da0:	e4a8           	lsrl %d2,%d0                                
   47da2:	143c 0007      	moveb #7,%d2                                
   47da6:	c082           	andl %d2,%d0                                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
   47da8:	143c 0002      	moveb #2,%d2                                
   47dac:	2040           	moveal %d0,%a0                              
   47dae:	5388           	subql #1,%a0                                
   47db0:	b488           	cmpl %a0,%d2                                
   47db2:	6540           	bcss 47df4 <_Objects_Id_to_name+0x70>       
   47db4:	6048           	bras 47dfe <_Objects_Id_to_name+0x7a>       
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
   47db6:	2001           	movel %d1,%d0                               
   47db8:	741b           	moveq #27,%d2                               
   47dba:	e4a8           	lsrl %d2,%d0                                
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
   47dbc:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
  if ( !information )                                                 
   47dc0:	4a88           	tstl %a0                                    
   47dc2:	6730           	beqs 47df4 <_Objects_Id_to_name+0x70>       <== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
   47dc4:	4a28 0032      	tstb %a0@(50)                               
   47dc8:	662a           	bnes 47df4 <_Objects_Id_to_name+0x70>       <== NEVER TAKEN
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
   47dca:	486e fffc      	pea %fp@(-4)                                
   47dce:	2f01           	movel %d1,%sp@-                             
   47dd0:	2f08           	movel %a0,%sp@-                             
   47dd2:	4eb9 0004 7d24 	jsr 47d24 <_Objects_Get>                    
  if ( !the_object )                                                  
   47dd8:	4fef 000c      	lea %sp@(12),%sp                            
   47ddc:	4a80           	tstl %d0                                    
   47dde:	6714           	beqs 47df4 <_Objects_Id_to_name+0x70>       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
   47de0:	206e 000c      	moveal %fp@(12),%a0                         
   47de4:	2240           	moveal %d0,%a1                              
   47de6:	20a9 000c      	movel %a1@(12),%a0@                         
  _Thread_Enable_dispatch();                                          
   47dea:	4eb9 0004 8612 	jsr 48612 <_Thread_Enable_dispatch>         
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
   47df0:	4280           	clrl %d0                                    
   47df2:	6002           	bras 47df6 <_Objects_Id_to_name+0x72>       
  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;                                        
   47df4:	7003           	moveq #3,%d0                                
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
   47df6:	242e fff8      	movel %fp@(-8),%d2                          
   47dfa:	4e5e           	unlk %fp                                    
   47dfc:	4e75           	rts                                         
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
   47dfe:	41f9 0005 ed90 	lea 5ed90 <_Objects_Information_table>,%a0  
   47e04:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
   47e08:	4a88           	tstl %a0                                    
   47e0a:	66aa           	bnes 47db6 <_Objects_Id_to_name+0x32>       <== ALWAYS TAKEN
   47e0c:	60e6           	bras 47df4 <_Objects_Id_to_name+0x70>       <== NOT EXECUTED
	...                                                                  
                                                                      

00046fe0 <_Objects_Name_to_id_u32>: Objects_Information *information, uint32_t name, uint32_t node, Objects_Id *id ) {
   46fe0:	4e56 fff4      	linkw %fp,#-12                              
   46fe4:	226e 0008      	moveal %fp@(8),%a1                          
   46fe8:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   46fec:	242e 000c      	movel %fp@(12),%d2                          
   46ff0:	202e 0010      	movel %fp@(16),%d0                          
   46ff4:	246e 0014      	moveal %fp@(20),%a2                         
  Objects_Name               name_for_mp;                             
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
   46ff8:	4a8a           	tstl %a2                                    
   46ffa:	674a           	beqs 47046 <_Objects_Name_to_id_u32+0x66>   
    return OBJECTS_INVALID_ADDRESS;                                   
                                                                      
  if ( name == 0 )                                                    
   46ffc:	4a82           	tstl %d2                                    
   46ffe:	674a           	beqs 4704a <_Objects_Name_to_id_u32+0x6a>   <== NEVER TAKEN
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
   47000:	3229 000e      	movew %a1@(14),%d1                          
   47004:	6744           	beqs 4704a <_Objects_Name_to_id_u32+0x6a>   
   47006:	4a80           	tstl %d0                                    
   47008:	672e           	beqs 47038 <_Objects_Name_to_id_u32+0x58>   
      (node == OBJECTS_SEARCH_ALL_NODES ||                            
   4700a:	0c80 7fff ffff 	cmpil #2147483647,%d0                       
   47010:	6726           	beqs 47038 <_Objects_Name_to_id_u32+0x58>   
       node == OBJECTS_SEARCH_LOCAL_NODE ||                           
   47012:	7601           	moveq #1,%d3                                
   47014:	b680           	cmpl %d0,%d3                                
   47016:	6632           	bnes 4704a <_Objects_Name_to_id_u32+0x6a>   <== NEVER TAKEN
   47018:	601e           	bras 47038 <_Objects_Name_to_id_u32+0x58>   
                                                                      
  if ( search_local_node ) {                                          
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
      the_object = information->local_table[ index ];                 
   4701a:	2069 0018      	moveal %a1@(24),%a0                         
   4701e:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
      if ( !the_object )                                              
   47022:	4a88           	tstl %a0                                    
   47024:	670e           	beqs 47034 <_Objects_Name_to_id_u32+0x54>   
        continue;                                                     
                                                                      
      if ( name == the_object->name.name_u32 ) {                      
   47026:	b4a8 000c      	cmpl %a0@(12),%d2                           
   4702a:	6608           	bnes 47034 <_Objects_Name_to_id_u32+0x54>   
        *id = the_object->id;                                         
   4702c:	24a8 0008      	movel %a0@(8),%a2@                          
        return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                  
   47030:	4280           	clrl %d0                                    
   47032:	6018           	bras 4704c <_Objects_Name_to_id_u32+0x6c>   
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
   47034:	5280           	addql #1,%d0                                
   47036:	6008           	bras 47040 <_Objects_Name_to_id_u32+0x60>   
                                                                      
  search_local_node = false;                                          
                                                                      
  if ( information->maximum != 0 &&                                   
      (node == OBJECTS_SEARCH_ALL_NODES ||                            
       node == OBJECTS_SEARCH_LOCAL_NODE ||                           
   47038:	7001           	moveq #1,%d0                                
   search_local_node = true;                                          
                                                                      
  if ( search_local_node ) {                                          
    name_length = information->name_length;                           
                                                                      
    for ( index = 1; index <= information->maximum; index++ ) {       
   4703a:	0281 0000 ffff 	andil #65535,%d1                            
   47040:	b280           	cmpl %d0,%d1                                
   47042:	64d6           	bccs 4701a <_Objects_Name_to_id_u32+0x3a>   
   47044:	6004           	bras 4704a <_Objects_Name_to_id_u32+0x6a>   
#endif                                                                
                                                                      
  /* ASSERT: information->is_string == false */                       
                                                                      
  if ( !id )                                                          
    return OBJECTS_INVALID_ADDRESS;                                   
   47046:	7002           	moveq #2,%d0                                
   47048:	6002           	bras 4704c <_Objects_Name_to_id_u32+0x6c>   
    return OBJECTS_INVALID_NAME;                                      
                                                                      
  name_for_mp.name_u32 = name;                                        
  return _Objects_MP_Global_name_search( information, name_for_mp, node, id );
#else                                                                 
  return OBJECTS_INVALID_NAME;                                        
   4704a:	7001           	moveq #1,%d0                                
#endif                                                                
}                                                                     
   4704c:	4cd7 040c      	moveml %sp@,%d2-%d3/%a2                     
   47050:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000473cc <_Objects_Set_name>: { size_t length; const char *s; s = name; length = strnlen( name, information->name_length );
   473cc:	4280           	clrl %d0                                    
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   473ce:	4e56 ffec      	linkw %fp,#-20                              
   473d2:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   473d6:	2a6e 0008      	moveal %fp@(8),%a5                          
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473da:	302d 0034      	movew %a5@(52),%d0                          
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   473de:	246e 0010      	moveal %fp@(16),%a2                         
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473e2:	2f00           	movel %d0,%sp@-                             
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   473e4:	286e 000c      	moveal %fp@(12),%a4                         
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473e8:	2f0a           	movel %a2,%sp@-                             
   473ea:	4eb9 0004 e604 	jsr 4e604 <strnlen>                         
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
   473f0:	508f           	addql #8,%sp                                
{                                                                     
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473f2:	2640           	moveal %d0,%a3                              
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
   473f4:	4a2d 0032      	tstb %a5@(50)                               
   473f8:	6744           	beqs 4743e <_Objects_Set_name+0x72>         
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
   473fa:	486b 0001      	pea %a3@(1)                                 
   473fe:	4eb9 0004 8cf4 	jsr 48cf4 <_Workspace_Allocate>             
    if ( !d )                                                         
   47404:	588f           	addql #4,%sp                                
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
   47406:	2a40           	moveal %d0,%a5                              
    if ( !d )                                                         
   47408:	4a80           	tstl %d0                                    
   4740a:	6700 0082      	beqw 4748e <_Objects_Set_name+0xc2>         
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
   4740e:	202c 000c      	movel %a4@(12),%d0                          
   47412:	670e           	beqs 47422 <_Objects_Set_name+0x56>         
      _Workspace_Free( (void *)the_object->name.name_p );             
   47414:	2f00           	movel %d0,%sp@-                             
   47416:	4eb9 0004 8d10 	jsr 48d10 <_Workspace_Free>                 
      the_object->name.name_p = NULL;                                 
   4741c:	588f           	addql #4,%sp                                
   4741e:	42ac 000c      	clrl %a4@(12)                               
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
   47422:	2f0b           	movel %a3,%sp@-                             
   47424:	2f0a           	movel %a2,%sp@-                             
   47426:	2f0d           	movel %a5,%sp@-                             
   47428:	4eb9 0004 e580 	jsr 4e580 <strncpy>                         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
   4742e:	4fef 000c      	lea %sp@(12),%sp                            
      _Workspace_Free( (void *)the_object->name.name_p );             
      the_object->name.name_p = NULL;                                 
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
    d[length] = '\0';                                                 
   47432:	4200           	clrb %d0                                    
   47434:	1b80 b800      	moveb %d0,%a5@(00000000,%a3:l)              
    the_object->name.name_p = d;                                      
   47438:	294d 000c      	movel %a5,%a4@(12)                          
   4743c:	604c           	bras 4748a <_Objects_Set_name+0xbe>         
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
   4743e:	7418           	moveq #24,%d2                               
   47440:	1212           	moveb %a2@,%d1                              
   47442:	7020           	moveq #32,%d0                               
   47444:	4840           	swap %d0                                    
   47446:	49c1           	extbl %d1                                   
   47448:	e5a9           	lsll %d2,%d1                                
   4744a:	143c 0001      	moveb #1,%d2                                
   4744e:	b48b           	cmpl %a3,%d2                                
   47450:	640a           	bccs 4745c <_Objects_Set_name+0x90>         
   47452:	102a 0001      	moveb %a2@(1),%d0                           
   47456:	49c0           	extbl %d0                                   
   47458:	4840           	swap %d0                                    
   4745a:	4240           	clrw %d0                                    
   4745c:	7402           	moveq #2,%d2                                
   4745e:	8280           	orl %d0,%d1                                 
   47460:	203c 0000 2000 	movel #8192,%d0                             
   47466:	b48b           	cmpl %a3,%d2                                
   47468:	6408           	bccs 47472 <_Objects_Set_name+0xa6>         
   4746a:	102a 0002      	moveb %a2@(2),%d0                           
   4746e:	49c0           	extbl %d0                                   
   47470:	e188           	lsll #8,%d0                                 
   47472:	8081           	orl %d1,%d0                                 
   47474:	7203           	moveq #3,%d1                                
   47476:	b28b           	cmpl %a3,%d1                                
   47478:	6408           	bccs 47482 <_Objects_Set_name+0xb6>         
   4747a:	142a 0003      	moveb %a2@(3),%d2                           
   4747e:	49c2           	extbl %d2                                   
   47480:	6002           	bras 47484 <_Objects_Set_name+0xb8>         
   47482:	7420           	moveq #32,%d2                               
   47484:	8082           	orl %d2,%d0                                 
   47486:	2940 000c      	movel %d0,%a4@(12)                          
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
   4748a:	7001           	moveq #1,%d0                                
   4748c:	6002           	bras 47490 <_Objects_Set_name+0xc4>         
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
      return false;                                                   
   4748e:	4200           	clrb %d0                                    <== NOT EXECUTED
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   47490:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   47496:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046400 <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
   46400:	4e56 ffe4      	linkw %fp,#-28                              
   46404:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   46408:	240e           	movel %fp,%d2                               
   4640a:	5982           	subql #4,%d2                                
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   4640c:	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 ) ) {                      
   46410:	2f02           	movel %d2,%sp@-                             
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   46412:	286e 0008      	moveal %fp@(8),%a4                          
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   46416:	2f0a           	movel %a2,%sp@-                             
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   46418:	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 ) ) {                      
   4641c:	4eb9 0004 6558 	jsr 46558 <_POSIX_Mutex_Get>                
   46422:	508f           	addql #8,%sp                                
   46424:	4a80           	tstl %d0                                    
   46426:	6700 00aa      	beqw 464d2 <_POSIX_Condition_variables_Wait_support+0xd2>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4642a:	2039 0005 fe0c 	movel 5fe0c <_Thread_Dispatch_disable_level>,%d0
   46430:	5380           	subql #1,%d0                                
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
   46432:	2f02           	movel %d2,%sp@-                             
   46434:	23c0 0005 fe0c 	movel %d0,5fe0c <_Thread_Dispatch_disable_level>
   4643a:	2f0c           	movel %a4,%sp@-                             
   4643c:	4eb9 0004 6234 	jsr 46234 <_POSIX_Condition_variables_Get>  
  switch ( location ) {                                               
   46442:	508f           	addql #8,%sp                                
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
   46444:	2640           	moveal %d0,%a3                              
  switch ( location ) {                                               
   46446:	4aae fffc      	tstl %fp@(-4)                               
   4644a:	6600 0086      	bnew 464d2 <_POSIX_Condition_variables_Wait_support+0xd2>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
   4644e:	202b 0014      	movel %a3@(20),%d0                          
   46452:	670c           	beqs 46460 <_POSIX_Condition_variables_Wait_support+0x60>
   46454:	b092           	cmpl %a2@,%d0                               
   46456:	6708           	beqs 46460 <_POSIX_Condition_variables_Wait_support+0x60>
        _Thread_Enable_dispatch();                                    
   46458:	4eb9 0004 92f2 	jsr 492f2 <_Thread_Enable_dispatch>         
   4645e:	6072           	bras 464d2 <_POSIX_Condition_variables_Wait_support+0xd2>
        return EINVAL;                                                
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
   46460:	2f0a           	movel %a2,%sp@-                             
   46462:	4bf9 0004 92f2 	lea 492f2 <_Thread_Enable_dispatch>,%a5     
   46468:	4eb9 0004 67b0 	jsr 467b0 <pthread_mutex_unlock>            
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
   4646e:	588f           	addql #4,%sp                                
   46470:	4a03           	tstb %d3                                    
   46472:	664c           	bnes 464c0 <_POSIX_Condition_variables_Wait_support+0xc0>
        the_cond->Mutex = *mutex;                                     
   46474:	2752 0014      	movel %a2@,%a3@(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;
   46478:	7001           	moveq #1,%d0                                
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
   4647a:	2079 0006 029c 	moveal 6029c <_Per_CPU_Information+0xc>,%a0 
   46480:	2740 0048      	movel %d0,%a3@(72)                          
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
   46484:	47eb 0018      	lea %a3@(24),%a3                            
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
   46488:	42a8 0034      	clrl %a0@(52)                               
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
   4648c:	2154 0020      	movel %a4@,%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;  
   46490:	214b 0044      	movel %a3,%a0@(68)                          
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
   46494:	4879 0004 9ae8 	pea 49ae8 <_Thread_queue_Timeout>           
   4649a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4649e:	2f0b           	movel %a3,%sp@-                             
   464a0:	4eb9 0004 9778 	jsr 49778 <_Thread_queue_Enqueue_with_handler>
                                                                      
        _Thread_Enable_dispatch();                                    
   464a6:	4e95           	jsr %a5@                                    
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
   464a8:	2079 0006 029c 	moveal 6029c <_Per_CPU_Information+0xc>,%a0 
        if ( status && status != ETIMEDOUT )                          
   464ae:	4fef 000c      	lea %sp@(12),%sp                            
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
   464b2:	2428 0034      	movel %a0@(52),%d2                          
        if ( status && status != ETIMEDOUT )                          
   464b6:	670c           	beqs 464c4 <_POSIX_Condition_variables_Wait_support+0xc4>
   464b8:	7074           	moveq #116,%d0                              
   464ba:	b082           	cmpl %d2,%d0                                
   464bc:	6616           	bnes 464d4 <_POSIX_Condition_variables_Wait_support+0xd4><== NEVER TAKEN
   464be:	6004           	bras 464c4 <_POSIX_Condition_variables_Wait_support+0xc4>
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
   464c0:	4e95           	jsr %a5@                                    
        status = ETIMEDOUT;                                           
   464c2:	7474           	moveq #116,%d2                              
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
   464c4:	2f0a           	movel %a2,%sp@-                             
   464c6:	4eb9 0004 6718 	jsr 46718 <pthread_mutex_lock>              
      if ( mutex_status )                                             
   464cc:	588f           	addql #4,%sp                                
   464ce:	4a80           	tstl %d0                                    
   464d0:	6702           	beqs 464d4 <_POSIX_Condition_variables_Wait_support+0xd4>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   464d2:	7416           	moveq #22,%d2                               
}                                                                     
   464d4:	2002           	movel %d2,%d0                               
   464d6:	4cee 3c0c ffe4 	moveml %fp@(-28),%d2-%d3/%a2-%a5            
   464dc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049db0 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
   49db0:	4e56 ffe4      	linkw %fp,#-28                              
   49db4:	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(             
   49db8:	486e fffc      	pea %fp@(-4)                                
   49dbc:	242e 0008      	movel %fp@(8),%d2                           
   49dc0:	2f02           	movel %d2,%sp@-                             
   49dc2:	4879 0006 5e26 	pea 65e26 <_POSIX_Message_queue_Information_fds>
   49dc8:	162e 001b      	moveb %fp@(27),%d3                          
   49dcc:	4eb9 0004 cb18 	jsr 4cb18 <_Objects_Get>                    
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
   49dd2:	4fef 000c      	lea %sp@(12),%sp                            
   49dd6:	4aae fffc      	tstl %fp@(-4)                               
   49dda:	6600 00c0      	bnew 49e9c <_POSIX_Message_queue_Receive_support+0xec>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
   49dde:	2040           	moveal %d0,%a0                              
   49de0:	7803           	moveq #3,%d4                                
   49de2:	7a01           	moveq #1,%d5                                
   49de4:	2228 0014      	movel %a0@(20),%d1                          
   49de8:	c881           	andl %d1,%d4                                
   49dea:	ba84           	cmpl %d4,%d5                                
   49dec:	660a           	bnes 49df8 <_POSIX_Message_queue_Receive_support+0x48>
        _Thread_Enable_dispatch();                                    
   49dee:	4eb9 0004 d356 	jsr 4d356 <_Thread_Enable_dispatch>         
   49df4:	6000 00a6      	braw 49e9c <_POSIX_Message_queue_Receive_support+0xec>
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
   49df8:	2240           	moveal %d0,%a1                              
   49dfa:	2069 0010      	moveal %a1@(16),%a0                         
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
   49dfe:	2028 0066      	movel %a0@(102),%d0                         
   49e02:	b0ae 0010      	cmpl %fp@(16),%d0                           
   49e06:	6316           	blss 49e1e <_POSIX_Message_queue_Receive_support+0x6e>
        _Thread_Enable_dispatch();                                    
   49e08:	4eb9 0004 d356 	jsr 4d356 <_Thread_Enable_dispatch>         
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
   49e0e:	4eb9 0005 2d64 	jsr 52d64 <__errno>                         
   49e14:	727a           	moveq #122,%d1                              
   49e16:	2040           	moveal %d0,%a0                              
   49e18:	2081           	movel %d1,%a0@                              
   49e1a:	6000 008c      	braw 49ea8 <_POSIX_Message_queue_Receive_support+0xf8>
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
   49e1e:	70ff           	moveq #-1,%d0                               
   49e20:	2d40 fff8      	movel %d0,%fp@(-8)                          
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   49e24:	4a03           	tstb %d3                                    
   49e26:	670a           	beqs 49e32 <_POSIX_Message_queue_Receive_support+0x82><== NEVER TAKEN
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
   49e28:	0801 000e      	btst #14,%d1                                
   49e2c:	57c0           	seq %d0                                     
   49e2e:	4480           	negl %d0                                    
   49e30:	6002           	bras 49e34 <_POSIX_Message_queue_Receive_support+0x84>
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   49e32:	4200           	clrb %d0                                    <== NOT EXECUTED
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   49e34:	2f2e 001c      	movel %fp@(28),%sp@-                        
   49e38:	0280 0000 00ff 	andil #255,%d0                              
   49e3e:	2f00           	movel %d0,%sp@-                             
   49e40:	486e fff8      	pea %fp@(-8)                                
   49e44:	2f2e 000c      	movel %fp@(12),%sp@-                        
   49e48:	2f02           	movel %d2,%sp@-                             
   49e4a:	4868 001a      	pea %a0@(26)                                
   49e4e:	4eb9 0004 bc18 	jsr 4bc18 <_CORE_message_queue_Seize>       
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   49e54:	4eb9 0004 d356 	jsr 4d356 <_Thread_Enable_dispatch>         
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
   49e5a:	2079 0006 5e98 	moveal 65e98 <_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);                    
   49e60:	2028 0024      	movel %a0@(36),%d0                          
   49e64:	6c02           	bges 49e68 <_POSIX_Message_queue_Receive_support+0xb8>
   49e66:	4480           	negl %d0                                    
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
   49e68:	226e 0014      	moveal %fp@(20),%a1                         
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
   49e6c:	4fef 0018      	lea %sp@(24),%sp                            
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
   49e70:	2280           	movel %d0,%a1@                              
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
   49e72:	4aa8 0034      	tstl %a0@(52)                               
   49e76:	6606           	bnes 49e7e <_POSIX_Message_queue_Receive_support+0xce>
        return length_out;                                            
   49e78:	202e fff8      	movel %fp@(-8),%d0                          
   49e7c:	602c           	bras 49eaa <_POSIX_Message_queue_Receive_support+0xfa>
                                                                      
      rtems_set_errno_and_return_minus_one(                           
   49e7e:	4eb9 0005 2d64 	jsr 52d64 <__errno>                         
   49e84:	2079 0006 5e98 	moveal 65e98 <_Per_CPU_Information+0xc>,%a0 
   49e8a:	2440           	moveal %d0,%a2                              
   49e8c:	2f28 0034      	movel %a0@(52),%sp@-                        
   49e90:	4eb9 0004 a0c4 	jsr 4a0c4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
   49e96:	588f           	addql #4,%sp                                
   49e98:	2480           	movel %d0,%a2@                              
   49e9a:	600c           	bras 49ea8 <_POSIX_Message_queue_Receive_support+0xf8>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   49e9c:	4eb9 0005 2d64 	jsr 52d64 <__errno>                         
   49ea2:	2040           	moveal %d0,%a0                              
   49ea4:	7009           	moveq #9,%d0                                
   49ea6:	2080           	movel %d0,%a0@                              
   49ea8:	70ff           	moveq #-1,%d0                               
}                                                                     
   49eaa:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
   49eb0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004df74 <_POSIX_Semaphore_Wait_support>: int _POSIX_Semaphore_Wait_support( sem_t *sem, bool blocking, Watchdog_Interval timeout ) {
   4df74:	4e56 fffc      	linkw %fp,#-4                               
  sem_t             *id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
    _Objects_Get( &_POSIX_Semaphore_Information, (Objects_Id)*id, location );
   4df78:	206e 0008      	moveal %fp@(8),%a0                          
   4df7c:	2f0a           	movel %a2,%sp@-                             
   4df7e:	2f02           	movel %d2,%sp@-                             
   4df80:	486e fffc      	pea %fp@(-4)                                
   4df84:	2f10           	movel %a0@,%sp@-                            
   4df86:	4879 0006 29a4 	pea 629a4 <_POSIX_Semaphore_Information>    
   4df8c:	142e 000f      	moveb %fp@(15),%d2                          
   4df90:	4eb9 0004 a410 	jsr 4a410 <_Objects_Get>                    
  POSIX_Semaphore_Control *the_semaphore;                             
  Objects_Locations        location;                                  
                                                                      
  the_semaphore = _POSIX_Semaphore_Get( sem, &location );             
  switch ( location ) {                                               
   4df96:	4fef 000c      	lea %sp@(12),%sp                            
   4df9a:	4aae fffc      	tstl %fp@(-4)                               
   4df9e:	6650           	bnes 4dff0 <_POSIX_Semaphore_Wait_support+0x7c>
                                                                      
    case OBJECTS_LOCAL:                                               
      _CORE_semaphore_Seize(                                          
   4dfa0:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4dfa4:	2040           	moveal %d0,%a0                              
   4dfa6:	0282 0000 00ff 	andil #255,%d2                              
   4dfac:	2f02           	movel %d2,%sp@-                             
   4dfae:	2f28 0008      	movel %a0@(8),%sp@-                         
   4dfb2:	4868 001a      	pea %a0@(26)                                
   4dfb6:	4eb9 0004 e5c4 	jsr 4e5c4 <_CORE_semaphore_Seize>           
        &the_semaphore->Semaphore,                                    
        the_semaphore->Object.id,                                     
        blocking,                                                     
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
   4dfbc:	4eb9 0004 ac4e 	jsr 4ac4e <_Thread_Enable_dispatch>         
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
   4dfc2:	2079 0006 2bf8 	moveal 62bf8 <_Per_CPU_Information+0xc>,%a0 
   4dfc8:	4fef 0010      	lea %sp@(16),%sp                            
   4dfcc:	4aa8 0034      	tstl %a0@(52)                               
   4dfd0:	672e           	beqs 4e000 <_POSIX_Semaphore_Wait_support+0x8c><== NEVER TAKEN
        return 0;                                                     
                                                                      
      rtems_set_errno_and_return_minus_one(                           
   4dfd2:	4eb9 0005 07a4 	jsr 507a4 <__errno>                         
   4dfd8:	2079 0006 2bf8 	moveal 62bf8 <_Per_CPU_Information+0xc>,%a0 
   4dfde:	2440           	moveal %d0,%a2                              
   4dfe0:	2f28 0034      	movel %a0@(52),%sp@-                        
   4dfe4:	4eb9 0005 0304 	jsr 50304 <_POSIX_Semaphore_Translate_core_semaphore_return_code>
   4dfea:	588f           	addql #4,%sp                                
   4dfec:	2480           	movel %d0,%a2@                              
   4dfee:	600c           	bras 4dffc <_POSIX_Semaphore_Wait_support+0x88>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   4dff0:	4eb9 0005 07a4 	jsr 507a4 <__errno>                         
   4dff6:	2040           	moveal %d0,%a0                              
   4dff8:	7016           	moveq #22,%d0                               
   4dffa:	2080           	movel %d0,%a0@                              
   4dffc:	70ff           	moveq #-1,%d0                               
   4dffe:	6002           	bras 4e002 <_POSIX_Semaphore_Wait_support+0x8e>
        timeout                                                       
      );                                                              
      _Thread_Enable_dispatch();                                      
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return 0;                                                     
   4e000:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
   4e002:	242e fff4      	movel %fp@(-12),%d2                         
   4e006:	246e fff8      	moveal %fp@(-8),%a2                         
   4e00a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004a03c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
   4a03c:	4e56 0000      	linkw %fp,#0                                
   4a040:	226e 0008      	moveal %fp@(8),%a1                          
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
   4a044:	2069 010e      	moveal %a1@(270),%a0                        
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   4a048:	4aa8 00d4      	tstl %a0@(212)                              
   4a04c:	662e           	bnes 4a07c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x40><== NEVER TAKEN
   4a04e:	7001           	moveq #1,%d0                                
   4a050:	b0a8 00d8      	cmpl %a0@(216),%d0                          
   4a054:	6626           	bnes 4a07c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x40>
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
   4a056:	4aa8 00dc      	tstl %a0@(220)                              
   4a05a:	6720           	beqs 4a07c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x40>
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
   4a05c:	4878 ffff      	pea ffffffff <LESS>                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4a060:	2039 0005 df80 	movel 5df80 <_Thread_Dispatch_disable_level>,%d0
   4a066:	5380           	subql #1,%d0                                
   4a068:	2f09           	movel %a1,%sp@-                             
   4a06a:	23c0 0005 df80 	movel %d0,5df80 <_Thread_Dispatch_disable_level>
   4a070:	4eb9 0004 a810 	jsr 4a810 <_POSIX_Thread_Exit>              
   4a076:	508f           	addql #8,%sp                                
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
   4a078:	4e5e           	unlk %fp                                    
   4a07a:	4e75           	rts                                         
   4a07c:	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();                                        
   4a07e:	4ef9 0004 79de 	jmp 479de <_Thread_Enable_dispatch>         
                                                                      

0004b27c <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
   4b27c:	4e56 ffec      	linkw %fp,#-20                              
   4b280:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   4b284:	246e 000c      	moveal %fp@(12),%a2                         
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
   4b288:	2f12           	movel %a2@,%sp@-                            
  int                                  policy,                        
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
   4b28a:	242e 0008      	movel %fp@(8),%d2                           
   4b28e:	266e 0010      	moveal %fp@(16),%a3                         
   4b292:	286e 0014      	moveal %fp@(20),%a4                         
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
   4b296:	4eb9 0004 b258 	jsr 4b258 <_POSIX_Priority_Is_valid>        
   4b29c:	588f           	addql #4,%sp                                
   4b29e:	4a00           	tstb %d0                                    
   4b2a0:	6778           	beqs 4b31a <_POSIX_Thread_Translate_sched_param+0x9e><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
   4b2a2:	4293           	clrl %a3@                                   
  *budget_callout = NULL;                                             
   4b2a4:	4294           	clrl %a4@                                   
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
   4b2a6:	4a82           	tstl %d2                                    
   4b2a8:	6606           	bnes 4b2b0 <_POSIX_Thread_Translate_sched_param+0x34>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
   4b2aa:	7201           	moveq #1,%d1                                
   4b2ac:	2681           	movel %d1,%a3@                              
   4b2ae:	6066           	bras 4b316 <_POSIX_Thread_Translate_sched_param+0x9a>
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
   4b2b0:	7001           	moveq #1,%d0                                
   4b2b2:	b082           	cmpl %d2,%d0                                
   4b2b4:	6760           	beqs 4b316 <_POSIX_Thread_Translate_sched_param+0x9a>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
   4b2b6:	103c 0002      	moveb #2,%d0                                
   4b2ba:	b082           	cmpl %d2,%d0                                
   4b2bc:	6606           	bnes 4b2c4 <_POSIX_Thread_Translate_sched_param+0x48>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
   4b2be:	2680           	movel %d0,%a3@                              
    return 0;                                                         
   4b2c0:	4200           	clrb %d0                                    
   4b2c2:	6058           	bras 4b31c <_POSIX_Thread_Translate_sched_param+0xa0>
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
   4b2c4:	7004           	moveq #4,%d0                                
   4b2c6:	b082           	cmpl %d2,%d0                                
   4b2c8:	6650           	bnes 4b31a <_POSIX_Thread_Translate_sched_param+0x9e>
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
   4b2ca:	4aaa 0008      	tstl %a2@(8)                                
   4b2ce:	6606           	bnes 4b2d6 <_POSIX_Thread_Translate_sched_param+0x5a>
   4b2d0:	4aaa 000c      	tstl %a2@(12)                               
   4b2d4:	6744           	beqs 4b31a <_POSIX_Thread_Translate_sched_param+0x9e>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
   4b2d6:	4aaa 0010      	tstl %a2@(16)                               
   4b2da:	6606           	bnes 4b2e2 <_POSIX_Thread_Translate_sched_param+0x66>
   4b2dc:	4aaa 0014      	tstl %a2@(20)                               
   4b2e0:	6738           	beqs 4b31a <_POSIX_Thread_Translate_sched_param+0x9e>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
   4b2e2:	486a 0008      	pea %a2@(8)                                 
   4b2e6:	4bf9 0004 929c 	lea 4929c <_Timespec_To_ticks>,%a5          
   4b2ec:	4e95           	jsr %a5@                                    
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
   4b2ee:	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 ) <         
   4b2f2:	2400           	movel %d0,%d2                               
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
   4b2f4:	4e95           	jsr %a5@                                    
                                                                      
    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 ) <         
   4b2f6:	508f           	addql #8,%sp                                
   4b2f8:	b082           	cmpl %d2,%d0                                
   4b2fa:	621e           	bhis 4b31a <_POSIX_Thread_Translate_sched_param+0x9e>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
   4b2fc:	2f2a 0004      	movel %a2@(4),%sp@-                         
   4b300:	4eb9 0004 b258 	jsr 4b258 <_POSIX_Priority_Is_valid>        
   4b306:	588f           	addql #4,%sp                                
   4b308:	4a00           	tstb %d0                                    
   4b30a:	670e           	beqs 4b31a <_POSIX_Thread_Translate_sched_param+0x9e>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
   4b30c:	7003           	moveq #3,%d0                                
   4b30e:	2680           	movel %d0,%a3@                              
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
   4b310:	28bc 0004 5dfc 	movel #286204,%a4@                          
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
   4b316:	4280           	clrl %d0                                    
   4b318:	6002           	bras 4b31c <_POSIX_Thread_Translate_sched_param+0xa0>
    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;                                                  
   4b31a:	7016           	moveq #22,%d0                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4b31c:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4b322:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045b2c <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
   45b2c:	4e56 ff9c      	linkw %fp,#-100                             
   45b30:	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;
   45b34:	2479 0005 d21e 	moveal 5d21e <Configuration_POSIX_API+0x34>,%a2
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
   45b3a:	2839 0005 d21a 	movel 5d21a <Configuration_POSIX_API+0x30>,%d4
                                                                      
  if ( !user_threads || maximum == 0 )                                
   45b40:	4a8a           	tstl %a2                                    
   45b42:	676a           	beqs 45bae <_POSIX_Threads_Initialize_user_threads_body+0x82><== NEVER TAKEN
   45b44:	4a84           	tstl %d4                                    
   45b46:	6766           	beqs 45bae <_POSIX_Threads_Initialize_user_threads_body+0x82><== NEVER TAKEN
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
   45b48:	240e           	movel %fp,%d2                               
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
                                                                      
    status = pthread_create(                                          
   45b4a:	2a0e           	movel %fp,%d5                               
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
                                                                      
  if ( !user_threads || maximum == 0 )                                
   45b4c:	4283           	clrl %d3                                    
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
   45b4e:	0682 ffff ffc0 	addil #-64,%d2                              
   45b54:	2c3c 0004 b328 	movel #308008,%d6                           
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
   45b5a:	4bf9 0004 b354 	lea 4b354 <pthread_attr_setinheritsched>,%a5
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
   45b60:	49f9 0004 b38c 	lea 4b38c <pthread_attr_setstacksize>,%a4   
                                                                      
    status = pthread_create(                                          
   45b66:	5985           	subql #4,%d5                                
   45b68:	47f9 0004 5880 	lea 45880 <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 );                                
   45b6e:	2f02           	movel %d2,%sp@-                             
   45b70:	2046           	moveal %d6,%a0                              
   45b72:	4e90           	jsr %a0@                                    
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
   45b74:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45b78:	2f02           	movel %d2,%sp@-                             
   45b7a:	4e95           	jsr %a5@                                    
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
   45b7c:	2f2a 0004      	movel %a2@(4),%sp@-                         
   45b80:	2f02           	movel %d2,%sp@-                             
   45b82:	4e94           	jsr %a4@                                    
                                                                      
    status = pthread_create(                                          
   45b84:	42a7           	clrl %sp@-                                  
   45b86:	2f12           	movel %a2@,%sp@-                            
   45b88:	2f02           	movel %d2,%sp@-                             
   45b8a:	2f05           	movel %d5,%sp@-                             
   45b8c:	4e93           	jsr %a3@                                    
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
   45b8e:	4fef 0024      	lea %sp@(36),%sp                            
   45b92:	4a80           	tstl %d0                                    
   45b94:	6710           	beqs 45ba6 <_POSIX_Threads_Initialize_user_threads_body+0x7a>
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
   45b96:	2f00           	movel %d0,%sp@-                             
   45b98:	4878 0001      	pea 1 <ADD>                                 
   45b9c:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45ba0:	4eb9 0004 7858 	jsr 47858 <_Internal_error_Occurred>        
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
   45ba6:	5283           	addql #1,%d3                                
   45ba8:	508a           	addql #8,%a2                                
   45baa:	b883           	cmpl %d3,%d4                                
   45bac:	62c0           	bhis 45b6e <_POSIX_Threads_Initialize_user_threads_body+0x42><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
   45bae:	4cee 3c7c ff9c 	moveml %fp@(-100),%d2-%d6/%a2-%a5           
   45bb4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a3c8 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
   4a3c8:	4e56 0000      	linkw %fp,#0                                
   4a3cc:	2f0b           	movel %a3,%sp@-                             
   4a3ce:	2f0a           	movel %a2,%sp@-                             
   4a3d0:	246e 000c      	moveal %fp@(12),%a2                         
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4a3d4:	266a 010e      	moveal %a2@(270),%a3                        
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
   4a3d8:	486b 0094      	pea %a3@(148)                               
   4a3dc:	4eb9 0004 b1b8 	jsr 4b1b8 <_Timespec_To_ticks>              
   */                                                                 
  #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 ) {                            
   4a3e2:	588f           	addql #4,%sp                                
  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;                                
   4a3e4:	2540 0076      	movel %d0,%a2@(118)                         
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
   4a3e8:	4280           	clrl %d0                                    
   4a3ea:	1039 0005 c152 	moveb 5c152 <rtems_maximum_priority>,%d0    
   4a3f0:	90ab 0084      	subl %a3@(132),%d0                          
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
   4a3f4:	2540 0018      	movel %d0,%a2@(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 ) {                            
   4a3f8:	4aaa 001c      	tstl %a2@(28)                               
   4a3fc:	6618           	bnes 4a416 <_POSIX_Threads_Sporadic_budget_TSR+0x4e><== NEVER TAKEN
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
   4a3fe:	b0aa 0014      	cmpl %a2@(20),%d0                           
   4a402:	6412           	bccs 4a416 <_POSIX_Threads_Sporadic_budget_TSR+0x4e>
      _Thread_Change_priority( the_thread, new_priority, true );      
   4a404:	4878 0001      	pea 1 <ADD>                                 
   4a408:	2f00           	movel %d0,%sp@-                             
   4a40a:	2f0a           	movel %a2,%sp@-                             
   4a40c:	4eb9 0004 71d4 	jsr 471d4 <_Thread_Change_priority>         
   4a412:	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 );
   4a416:	486b 008c      	pea %a3@(140)                               
   4a41a:	4eb9 0004 b1b8 	jsr 4b1b8 <_Timespec_To_ticks>              
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
}                                                                     
   4a420:	246e fff8      	moveal %fp@(-8),%a2                         
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4a424:	588f           	addql #4,%sp                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   4a426:	2740 00b0      	movel %d0,%a3@(176)                         
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
   4a42a:	47eb 00a4      	lea %a3@(164),%a3                           
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4a42e:	203c 0005 d9ce 	movel #383438,%d0                           
   4a434:	2d4b 000c      	movel %a3,%fp@(12)                          
}                                                                     
   4a438:	266e fffc      	moveal %fp@(-4),%a3                         
   4a43c:	2d40 0008      	movel %d0,%fp@(8)                           
   4a440:	4e5e           	unlk %fp                                    
   4a442:	4ef9 0004 8638 	jmp 48638 <_Watchdog_Insert>                
                                                                      

0004a448 <_POSIX_Threads_Sporadic_budget_callout>: /* * 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 */
   4a448:	70ff           	moveq #-1,%d0                               
 *  _POSIX_Threads_Sporadic_budget_callout                            
 */                                                                   
void _POSIX_Threads_Sporadic_budget_callout(                          
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   4a44a:	4e56 0000      	linkw %fp,#0                                
   4a44e:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  /*                                                                  
   *  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 */
   4a452:	2140 0076      	movel %d0,%a0@(118)                         
   4a456:	4280           	clrl %d0                                    
   4a458:	1039 0005 c152 	moveb 5c152 <rtems_maximum_priority>,%d0    
)                                                                     
{                                                                     
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4a45e:	2268 010e      	moveal %a0@(270),%a1                        
   4a462:	90a9 0088      	subl %a1@(136),%d0                          
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
   4a466:	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 ) {                            
   4a46a:	4aa8 001c      	tstl %a0@(28)                               
   4a46e:	6618           	bnes 4a488 <_POSIX_Threads_Sporadic_budget_callout+0x40><== 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 ) {              
   4a470:	b0a8 0014      	cmpl %a0@(20),%d0                           
   4a474:	6312           	blss 4a488 <_POSIX_Threads_Sporadic_budget_callout+0x40><== NEVER TAKEN
      _Thread_Change_priority( the_thread, new_priority, true );      
   4a476:	4878 0001      	pea 1 <ADD>                                 
   4a47a:	2f00           	movel %d0,%sp@-                             
   4a47c:	2f08           	movel %a0,%sp@-                             
   4a47e:	4eb9 0004 71d4 	jsr 471d4 <_Thread_Change_priority>         
   4a484:	4fef 000c      	lea %sp@(12),%sp                            
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
   4a488:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000456c8 <_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) {
   456c8:	4e56 0000      	linkw %fp,#0                                
   456cc:	2f0a           	movel %a2,%sp@-                             
   456ce:	246e 000c      	moveal %fp@(12),%a2                         
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
   456d2:	52aa 0066      	addql #1,%a2@(102)                          
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
   456d6:	4aaa 0052      	tstl %a2@(82)                               
   456da:	6606           	bnes 456e2 <_POSIX_Timer_TSR+0x1a>          
   456dc:	4aaa 0056      	tstl %a2@(86)                               
   456e0:	6736           	beqs 45718 <_POSIX_Timer_TSR+0x50>          <== NEVER TAKEN
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
   456e2:	2f0a           	movel %a2,%sp@-                             
   456e4:	4879 0004 56c8 	pea 456c8 <_POSIX_Timer_TSR>                
   456ea:	2f2a 0008      	movel %a2@(8),%sp@-                         
   456ee:	2f2a 0062      	movel %a2@(98),%sp@-                        
   456f2:	486a 0010      	pea %a2@(16)                                
   456f6:	4eb9 0004 ad3c 	jsr 4ad3c <_POSIX_Timer_Insert_helper>      
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
   456fc:	4fef 0014      	lea %sp@(20),%sp                            
   45700:	4a00           	tstb %d0                                    
   45702:	672e           	beqs 45732 <_POSIX_Timer_TSR+0x6a>          <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
   45704:	486a 006a      	pea %a2@(106)                               
   45708:	4eb9 0004 6bf4 	jsr 46bf4 <_TOD_Get>                        
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
   4570e:	588f           	addql #4,%sp                                
   45710:	7003           	moveq #3,%d0                                
   45712:	1540 003c      	moveb %d0,%a2@(60)                          
   45716:	6006           	bras 4571e <_POSIX_Timer_TSR+0x56>          
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
   45718:	7004           	moveq #4,%d0                                <== NOT EXECUTED
   4571a:	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 ) ) {
   4571e:	2f2a 0042      	movel %a2@(66),%sp@-                        
   45722:	2f2a 0038      	movel %a2@(56),%sp@-                        
   45726:	4eb9 0004 a924 	jsr 4a924 <pthread_kill>                    
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
   4572c:	508f           	addql #8,%sp                                
   4572e:	42aa 0066      	clrl %a2@(102)                              
}                                                                     
   45732:	246e fffc      	moveal %fp@(-4),%a2                         
   45736:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004c38c <_POSIX_signals_Check_signal>: ) { siginfo_t siginfo_struct; sigset_t saved_signals_blocked; if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,
   4c38c:	4280           	clrl %d0                                    
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4c38e:	4e56 ffe4      	linkw %fp,#-28                              
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4c392:	102e 0013      	moveb %fp@(19),%d0                          
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4c396:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4c39a:	4878 0001      	pea 1 <ADD>                                 
   4c39e:	260e           	movel %fp,%d3                               
   4c3a0:	0683 ffff fff4 	addil #-12,%d3                              
   4c3a6:	2f00           	movel %d0,%sp@-                             
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4c3a8:	242e 000c      	movel %fp@(12),%d2                          
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4c3ac:	2f03           	movel %d3,%sp@-                             
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4c3ae:	246e 0008      	moveal %fp@(8),%a2                          
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4c3b2:	2f02           	movel %d2,%sp@-                             
   4c3b4:	2f0a           	movel %a2,%sp@-                             
   4c3b6:	4eb9 0004 c424 	jsr 4c424 <_POSIX_signals_Clear_signals>    
   4c3bc:	4fef 0014      	lea %sp@(20),%sp                            
   4c3c0:	4a00           	tstb %d0                                    
   4c3c2:	6754           	beqs 4c418 <_POSIX_signals_Check_signal+0x8c>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
   4c3c4:	2202           	movel %d2,%d1                               
   4c3c6:	2002           	movel %d2,%d0                               
   4c3c8:	e589           	lsll #2,%d1                                 
   4c3ca:	e988           	lsll #4,%d0                                 
   4c3cc:	9081           	subl %d1,%d0                                
   4c3ce:	2240           	moveal %d0,%a1                              
   4c3d0:	d3fc 0005 ddaa 	addal #384426,%a1                           
   4c3d6:	7201           	moveq #1,%d1                                
   4c3d8:	2069 0008      	moveal %a1@(8),%a0                          
   4c3dc:	b288           	cmpl %a0,%d1                                
   4c3de:	6738           	beqs 4c418 <_POSIX_signals_Check_signal+0x8c><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
   4c3e0:	2229 0004      	movel %a1@(4),%d1                           
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
   4c3e4:	43f9 0005 ddaa 	lea 5ddaa <_POSIX_signals_Vectors>,%a1      
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
   4c3ea:	282a 00cc      	movel %a2@(204),%d4                         
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
   4c3ee:	8284           	orl %d4,%d1                                 
   4c3f0:	2541 00cc      	movel %d1,%a2@(204)                         
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
   4c3f4:	7202           	moveq #2,%d1                                
   4c3f6:	b2b1 0800      	cmpl %a1@(00000000,%d0:l),%d1               
   4c3fa:	660e           	bnes 4c40a <_POSIX_signals_Check_signal+0x7e>
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
   4c3fc:	42a7           	clrl %sp@-                                  
   4c3fe:	2f03           	movel %d3,%sp@-                             
   4c400:	2f02           	movel %d2,%sp@-                             
   4c402:	4e90           	jsr %a0@                                    
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
   4c404:	4fef 000c      	lea %sp@(12),%sp                            
   4c408:	6006           	bras 4c410 <_POSIX_signals_Check_signal+0x84>
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
   4c40a:	2f02           	movel %d2,%sp@-                             
   4c40c:	4e90           	jsr %a0@                                    
      break;                                                          
   4c40e:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
   4c410:	2544 00cc      	movel %d4,%a2@(204)                         
                                                                      
  return true;                                                        
   4c414:	7001           	moveq #1,%d0                                
   4c416:	6002           	bras 4c41a <_POSIX_signals_Check_signal+0x8e>
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
    return false;                                                     
   4c418:	4200           	clrb %d0                                    
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
                                                                      
  return true;                                                        
}                                                                     
   4c41a:	4cee 041c ffe4 	moveml %fp@(-28),%d2-%d4/%a2                
   4c420:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c9a4 <_POSIX_signals_Clear_process_signals>: clear_signal = true; mask = signo_to_mask( signo ); ISR_Level level; _ISR_Disable( level );
   4c9a4:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _POSIX_signals_Clear_process_signals(                            
  int signo                                                           
)                                                                     
{                                                                     
   4c9aa:	4e56 0000      	linkw %fp,#0                                
   4c9ae:	222e 0008      	movel %fp@(8),%d1                           
   4c9b2:	2f03           	movel %d3,%sp@-                             
   4c9b4:	2f02           	movel %d2,%sp@-                             
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
   4c9b6:	40c2           	movew %sr,%d2                               
   4c9b8:	8082           	orl %d2,%d0                                 
   4c9ba:	46c0           	movew %d0,%sr                               
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
   4c9bc:	2601           	movel %d1,%d3                               
   4c9be:	2001           	movel %d1,%d0                               
   4c9c0:	41f9 0005 ddaa 	lea 5ddaa <_POSIX_signals_Vectors>,%a0      
   4c9c6:	e58b           	lsll #2,%d3                                 
   4c9c8:	e988           	lsll #4,%d0                                 
   4c9ca:	9083           	subl %d3,%d0                                
   4c9cc:	7602           	moveq #2,%d3                                
   4c9ce:	b6b0 0800      	cmpl %a0@(00000000,%d0:l),%d3               
   4c9d2:	6614           	bnes 4c9e8 <_POSIX_signals_Clear_process_signals+0x44>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4c9d4:	2040           	moveal %d0,%a0                              
   4c9d6:	d1fc 0005 dfa6 	addal #384934,%a0                           
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
   4c9dc:	43f9 0005 dfa2 	lea 5dfa2 <_POSIX_signals_Siginfo>,%a1      
   4c9e2:	b1f1 0800      	cmpal %a1@(00000000,%d0:l),%a0              
   4c9e6:	660e           	bnes 4c9f6 <_POSIX_signals_Clear_process_signals+0x52><== NEVER TAKEN
   4c9e8:	5381           	subql #1,%d1                                
   4c9ea:	7001           	moveq #1,%d0                                
   4c9ec:	e3a8           	lsll %d1,%d0                                
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
   4c9ee:	4680           	notl %d0                                    
   4c9f0:	c1b9 0005 df9e 	andl %d0,5df9e <_POSIX_signals_Pending>     
    }                                                                 
  _ISR_Enable( level );                                               
   4c9f6:	46c2           	movew %d2,%sr                               
}                                                                     
   4c9f8:	241f           	movel %sp@+,%d2                             
   4c9fa:	261f           	movel %sp@+,%d3                             
   4c9fc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000461c4 <_POSIX_signals_Get_highest>: sigset_t set ) { int signo; for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {
   461c4:	701b           	moveq #27,%d0                               
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_highest(                                       
  sigset_t   set                                                      
)                                                                     
{                                                                     
   461c6:	4e56 fff4      	linkw %fp,#-12                              
   461ca:	48d7 001c      	moveml %d2-%d4,%sp@                         
   461ce:	242e 0008      	movel %fp@(8),%d2                           
   461d2:	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_highest(                                       
   461d4:	2200           	movel %d0,%d1                               
   461d6:	5381           	subql #1,%d1                                
   461d8:	2803           	movel %d3,%d4                               
   461da:	e3ac           	lsll %d1,%d4                                
   461dc:	2204           	movel %d4,%d1                               
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
   461de:	c282           	andl %d2,%d1                                
   461e0:	6626           	bnes 46208 <_POSIX_signals_Get_highest+0x44><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
   461e2:	5280           	addql #1,%d0                                
   461e4:	123c 0020      	moveb #32,%d1                               
   461e8:	b280           	cmpl %d0,%d1                                
   461ea:	66e8           	bnes 461d4 <_POSIX_signals_Get_highest+0x10>
   461ec:	7001           	moveq #1,%d0                                
   461ee:	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_highest(                                       
   461f0:	2200           	movel %d0,%d1                               
   461f2:	5381           	subql #1,%d1                                
   461f4:	2803           	movel %d3,%d4                               
   461f6:	e3ac           	lsll %d1,%d4                                
   461f8:	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 ) ) {                             
   461fa:	c282           	andl %d2,%d1                                
   461fc:	660a           	bnes 46208 <_POSIX_signals_Get_highest+0x44>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
   461fe:	5280           	addql #1,%d0                                
   46200:	123c 001b      	moveb #27,%d1                               
   46204:	b280           	cmpl %d0,%d1                                
   46206:	66e8           	bnes 461f0 <_POSIX_signals_Get_highest+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;                                                       
}                                                                     
   46208:	4cd7 001c      	moveml %sp@,%d2-%d4                         
   4620c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005a248 <_POSIX_signals_Unblock_thread>:
   5a248:	7001           	moveq #1,%d0                                
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
   5a24a:	4e56 fff4      	linkw %fp,#-12                              
   5a24e:	226e 0010      	moveal %fp@(16),%a1                         
   5a252:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   5a256:	242e 000c      	movel %fp@(12),%d2                          
   5a25a:	2202           	movel %d2,%d1                               
   5a25c:	5381           	subql #1,%d1                                
   5a25e:	246e 0008      	moveal %fp@(8),%a2                          
   5a262:	e3a8           	lsll %d1,%d0                                
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
   5a264:	222a 0010      	movel %a2@(16),%d1                          
   5a268:	2601           	movel %d1,%d3                               
   5a26a:	0283 1000 8000 	andil #268468224,%d3                        
{                                                                     
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   5a270:	206a 010e      	moveal %a2@(270),%a0                        
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
   5a274:	0c83 1000 8000 	cmpil #268468224,%d3                        
   5a27a:	6652           	bnes 5a2ce <_POSIX_signals_Unblock_thread+0x86>
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
   5a27c:	2200           	movel %d0,%d1                               
   5a27e:	c2aa 0030      	andl %a2@(48),%d1                           
   5a282:	660c           	bnes 5a290 <_POSIX_signals_Unblock_thread+0x48>
   5a284:	2228 00cc      	movel %a0@(204),%d1                         
   5a288:	4681           	notl %d1                                    
   5a28a:	c081           	andl %d1,%d0                                
   5a28c:	6700 009e      	beqw 5a32c <_POSIX_signals_Unblock_thread+0xe4>
      the_thread->Wait.return_code = EINTR;                           
   5a290:	7004           	moveq #4,%d0                                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
   5a292:	206a 0028      	moveal %a2@(40),%a0                         
   */                                                                 
                                                                      
  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;                           
   5a296:	2540 0034      	movel %d0,%a2@(52)                          
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
   5a29a:	4a89           	tstl %a1                                    
   5a29c:	6610           	bnes 5a2ae <_POSIX_signals_Unblock_thread+0x66>
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
   5a29e:	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;                                   
   5a2a2:	2082           	movel %d2,%a0@                              
        the_info->si_code = SI_USER;                                  
   5a2a4:	2140 0004      	movel %d0,%a0@(4)                           
        the_info->si_value.sival_int = 0;                             
   5a2a8:	42a8 0008      	clrl %a0@(8)                                
   5a2ac:	6012           	bras 5a2c0 <_POSIX_signals_Unblock_thread+0x78>
      } else {                                                        
        *the_info = *info;                                            
   5a2ae:	4878 000c      	pea c <OPER1>                               
   5a2b2:	2f09           	movel %a1,%sp@-                             
   5a2b4:	2f08           	movel %a0,%sp@-                             
   5a2b6:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
   5a2bc:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
   5a2c0:	2f0a           	movel %a2,%sp@-                             
   5a2c2:	4eb9 0004 7d20 	jsr 47d20 <_Thread_queue_Extract_with_proxy>
      return true;                                                    
   5a2c8:	588f           	addql #4,%sp                                
   5a2ca:	7001           	moveq #1,%d0                                
   5a2cc:	6060           	bras 5a32e <_POSIX_signals_Unblock_thread+0xe6>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
   5a2ce:	2428 00cc      	movel %a0@(204),%d2                         
   5a2d2:	4682           	notl %d2                                    
   5a2d4:	c082           	andl %d2,%d0                                
   5a2d6:	6754           	beqs 5a32c <_POSIX_signals_Unblock_thread+0xe4>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
   5a2d8:	0801 001c      	btst #28,%d1                                
   5a2dc:	6732           	beqs 5a310 <_POSIX_signals_Unblock_thread+0xc8>
      the_thread->Wait.return_code = EINTR;                           
   5a2de:	7004           	moveq #4,%d0                                
   5a2e0:	2540 0034      	movel %d0,%a2@(52)                          
      #if 0                                                           
	if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) ) 
	  _Thread_queue_Extract_with_proxy( the_thread );                    
	else                                                                 
      #endif                                                          
	  if ( _States_Is_delaying(the_thread->current_state) ){             
   5a2e4:	44c1           	movew %d1,%ccr                              
   5a2e6:	6a44           	bpls 5a32c <_POSIX_signals_Unblock_thread+0xe4><== NEVER TAKEN
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
   5a2e8:	103c 0002      	moveb #2,%d0                                
   5a2ec:	b0aa 0050      	cmpl %a2@(80),%d0                           
   5a2f0:	660c           	bnes 5a2fe <_POSIX_signals_Unblock_thread+0xb6><== NEVER TAKEN
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
   5a2f2:	486a 0048      	pea %a2@(72)                                
   5a2f6:	4eb9 0004 8754 	jsr 48754 <_Watchdog_Remove>                
   5a2fc:	588f           	addql #4,%sp                                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   5a2fe:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   5a304:	2f0a           	movel %a2,%sp@-                             
   5a306:	4eb9 0004 7314 	jsr 47314 <_Thread_Clear_state>             
   5a30c:	508f           	addql #8,%sp                                
   5a30e:	601c           	bras 5a32c <_POSIX_signals_Unblock_thread+0xe4>
	    _Thread_Unblock( the_thread );                                   
	  }                                                                  
    } else if ( the_thread->current_state == STATES_READY ) {         
   5a310:	4a81           	tstl %d1                                    
   5a312:	6618           	bnes 5a32c <_POSIX_signals_Unblock_thread+0xe4><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   5a314:	4ab9 0005 dd98 	tstl 5dd98 <_Per_CPU_Information+0x8>       
   5a31a:	6710           	beqs 5a32c <_POSIX_signals_Unblock_thread+0xe4>
   5a31c:	b5f9 0005 dd9c 	cmpal 5dd9c <_Per_CPU_Information+0xc>,%a2  
   5a322:	6608           	bnes 5a32c <_POSIX_signals_Unblock_thread+0xe4><== NEVER TAKEN
	_Context_Switch_necessary = true;                                    
   5a324:	7001           	moveq #1,%d0                                
   5a326:	13c0 0005 dda8 	moveb %d0,5dda8 <_Per_CPU_Information+0x18> 
    }                                                                 
  }                                                                   
  return false;                                                       
   5a32c:	4200           	clrb %d0                                    
}                                                                     
   5a32e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5a334:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a76c <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
   4a76c:	4e56 ffec      	linkw %fp,#-20                              
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   4a770:	206e 0008      	moveal %fp@(8),%a0                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Post_switch_extension(                              
  Thread_Control *executing                                           
)                                                                     
{                                                                     
   4a774:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   4a778:	2468 010a      	moveal %a0@(266),%a2                        
  if ( !api )                                                         
   4a77c:	4a8a           	tstl %a2                                    
   4a77e:	6754           	beqs 4a7d4 <_RTEMS_tasks_Post_switch_extension+0x68><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
   4a780:	203c 0000 0700 	movel #1792,%d0                             
   4a786:	40c1           	movew %sr,%d1                               
   4a788:	8081           	orl %d1,%d0                                 
   4a78a:	46c0           	movew %d0,%sr                               
    signal_set = asr->signals_posted;                                 
   4a78c:	262a 0012      	movel %a2@(18),%d3                          
    asr->signals_posted = 0;                                          
   4a790:	42aa 0012      	clrl %a2@(18)                               
  _ISR_Enable( level );                                               
   4a794:	46c1           	movew %d1,%sr                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
   4a796:	4a83           	tstl %d3                                    
   4a798:	673a           	beqs 4a7d4 <_RTEMS_tasks_Post_switch_extension+0x68>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
   4a79a:	52aa 001a      	addql #1,%a2@(26)                           
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
   4a79e:	240e           	movel %fp,%d2                               
   4a7a0:	5982           	subql #4,%d2                                
   4a7a2:	47f9 0004 c5a8 	lea 4c5a8 <rtems_task_mode>,%a3             
   4a7a8:	2f02           	movel %d2,%sp@-                             
   4a7aa:	2f3c 0000 ffff 	movel #65535,%sp@-                          
   4a7b0:	2f2a 000e      	movel %a2@(14),%sp@-                        
   4a7b4:	4e93           	jsr %a3@                                    
                                                                      
  (*asr->handler)( signal_set );                                      
   4a7b6:	2f03           	movel %d3,%sp@-                             
   4a7b8:	206a 000a      	moveal %a2@(10),%a0                         
   4a7bc:	4e90           	jsr %a0@                                    
                                                                      
  asr->nest_level -= 1;                                               
   4a7be:	53aa 001a      	subql #1,%a2@(26)                           
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
   4a7c2:	2f02           	movel %d2,%sp@-                             
   4a7c4:	2f3c 0000 ffff 	movel #65535,%sp@-                          
   4a7ca:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   4a7ce:	4e93           	jsr %a3@                                    
   4a7d0:	4fef 001c      	lea %sp@(28),%sp                            
                                                                      
}                                                                     
   4a7d4:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4a7da:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00058158 <_Region_Process_queue>: */ void _Region_Process_queue( Region_Control *the_region ) {
   58158:	4e56 ffe4      	linkw %fp,#-28                              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   5815c:	2039 0007 64d0 	movel 764d0 <_Thread_Dispatch_disable_level>,%d0
   58162:	5280           	addql #1,%d0                                
   58164:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   58168:	266e 0008      	moveal %fp@(8),%a3                          
   5816c:	23c0 0007 64d0 	movel %d0,764d0 <_Thread_Dispatch_disable_level>
   *  NOTE: Be sure to disable dispatching before unlocking the mutex 
   *        since we do not want to open a window where a context     
   *        switch could occur.                                       
   */                                                                 
  _Thread_Disable_dispatch();                                         
  _RTEMS_Unlock_allocator();                                          
   58172:	2f39 0007 6572 	movel 76572 <_RTEMS_Allocator_Mutex>,%sp@-  
  /*                                                                  
   *  NOTE: The following loop is O(n) where n is the number of       
   *        threads whose memory request is satisfied.                
   */                                                                 
  for ( ; ; ) {                                                       
    the_thread = _Thread_queue_First( &the_region->Wait_queue );      
   58178:	240b           	movel %a3,%d2                               
RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment (                 
  Region_Control *the_region,                                         
  uintptr_t       size                                                
)                                                                     
{                                                                     
  return _Heap_Allocate( &the_region->Memory, size );                 
   5817a:	260b           	movel %a3,%d3                               
   5817c:	0682 0000 0010 	addil #16,%d2                               
   58182:	0683 0000 0068 	addil #104,%d3                              
   58188:	4bf9 0005 36cc 	lea 536cc <_Heap_Allocate_aligned_with_boundary>,%a5
    if ( the_segment == NULL )                                        
      break;                                                          
                                                                      
    *(void **)the_thread->Wait.return_argument = the_segment;         
    the_region->number_of_used_blocks += 1;                           
    _Thread_queue_Extract( &the_region->Wait_queue, the_thread );     
   5818e:	49f9 0005 87c0 	lea 587c0 <_Thread_queue_Extract>,%a4       
   *  NOTE: Be sure to disable dispatching before unlocking the mutex 
   *        since we do not want to open a window where a context     
   *        switch could occur.                                       
   */                                                                 
  _Thread_Disable_dispatch();                                         
  _RTEMS_Unlock_allocator();                                          
   58194:	4eb9 0005 2c48 	jsr 52c48 <_API_Mutex_Unlock>               
   5819a:	588f           	addql #4,%sp                                
  /*                                                                  
   *  NOTE: The following loop is O(n) where n is the number of       
   *        threads whose memory request is satisfied.                
   */                                                                 
  for ( ; ; ) {                                                       
    the_thread = _Thread_queue_First( &the_region->Wait_queue );      
   5819c:	283c 0005 88c0 	movel #362688,%d4                           
   581a2:	2f02           	movel %d2,%sp@-                             
   581a4:	2044           	moveal %d4,%a0                              
   581a6:	4e90           	jsr %a0@                                    
                                                                      
    if ( the_thread == NULL )                                         
   581a8:	588f           	addql #4,%sp                                
  /*                                                                  
   *  NOTE: The following loop is O(n) where n is the number of       
   *        threads whose memory request is satisfied.                
   */                                                                 
  for ( ; ; ) {                                                       
    the_thread = _Thread_queue_First( &the_region->Wait_queue );      
   581aa:	2440           	moveal %d0,%a2                              
                                                                      
    if ( the_thread == NULL )                                         
   581ac:	4a80           	tstl %d0                                    
   581ae:	672c           	beqs 581dc <_Region_Process_queue+0x84>     
   581b0:	42a7           	clrl %sp@-                                  
   581b2:	42a7           	clrl %sp@-                                  
   581b4:	2f2a 0024      	movel %a2@(36),%sp@-                        
   581b8:	2f03           	movel %d3,%sp@-                             
   581ba:	4e95           	jsr %a5@                                    
    the_segment = (void **) _Region_Allocate_segment(                 
      the_region,                                                     
      the_thread->Wait.count                                          
    );                                                                
                                                                      
    if ( the_segment == NULL )                                        
   581bc:	4fef 0010      	lea %sp@(16),%sp                            
   581c0:	4a80           	tstl %d0                                    
   581c2:	6718           	beqs 581dc <_Region_Process_queue+0x84>     
      break;                                                          
                                                                      
    *(void **)the_thread->Wait.return_argument = the_segment;         
   581c4:	206a 0028      	moveal %a2@(40),%a0                         
   581c8:	2080           	movel %d0,%a0@                              
    the_region->number_of_used_blocks += 1;                           
   581ca:	52ab 0064      	addql #1,%a3@(100)                          
    _Thread_queue_Extract( &the_region->Wait_queue, the_thread );     
   581ce:	2f0a           	movel %a2,%sp@-                             
   581d0:	2f02           	movel %d2,%sp@-                             
   581d2:	4e94           	jsr %a4@                                    
    the_thread->Wait.return_code = RTEMS_SUCCESSFUL;                  
  }                                                                   
   581d4:	508f           	addql #8,%sp                                
      break;                                                          
                                                                      
    *(void **)the_thread->Wait.return_argument = the_segment;         
    the_region->number_of_used_blocks += 1;                           
    _Thread_queue_Extract( &the_region->Wait_queue, the_thread );     
    the_thread->Wait.return_code = RTEMS_SUCCESSFUL;                  
   581d6:	42aa 0034      	clrl %a2@(52)                               
  }                                                                   
   581da:	60c6           	bras 581a2 <_Region_Process_queue+0x4a>     
  _Thread_Enable_dispatch();                                          
}                                                                     
   581dc:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   581e2:	4e5e           	unlk %fp                                    
    *(void **)the_thread->Wait.return_argument = the_segment;         
    the_region->number_of_used_blocks += 1;                           
    _Thread_queue_Extract( &the_region->Wait_queue, the_thread );     
    the_thread->Wait.return_code = RTEMS_SUCCESSFUL;                  
  }                                                                   
  _Thread_Enable_dispatch();                                          
   581e4:	4ef9 0005 4e8e 	jmp 54e8e <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

00046190 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
   46190:	4e56 0000      	linkw %fp,#0                                
   46194:	206e 0008      	moveal %fp@(8),%a0                          
   46198:	2f03           	movel %d3,%sp@-                             
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
   4619a:	2039 0005 e310 	movel 5e310 <Configuration+0xc>,%d0         
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
   461a0:	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)                                  ||                  
   461a2:	4a88           	tstl %a0                                    
   461a4:	6762           	beqs 46208 <_TOD_Validate+0x78>             <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
   461a6:	243c 000f 4240 	movel #1000000,%d2                          
   461ac:	4c40 2002      	remul %d0,%d2,%d2                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
   461b0:	b4a8 0018      	cmpl %a0@(24),%d2                           
   461b4:	6352           	blss 46208 <_TOD_Validate+0x78>             
      (the_tod->ticks  >= ticks_per_second)       ||                  
   461b6:	763b           	moveq #59,%d3                               
   461b8:	b6a8 0014      	cmpl %a0@(20),%d3                           
   461bc:	654a           	bcss 46208 <_TOD_Validate+0x78>             
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
   461be:	b6a8 0010      	cmpl %a0@(16),%d3                           
   461c2:	6544           	bcss 46208 <_TOD_Validate+0x78>             
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
   461c4:	7017           	moveq #23,%d0                               
   461c6:	b0a8 000c      	cmpl %a0@(12),%d0                           
   461ca:	653c           	bcss 46208 <_TOD_Validate+0x78>             
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
   461cc:	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)      ||                  
   461d0:	6736           	beqs 46208 <_TOD_Validate+0x78>             <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
   461d2:	720c           	moveq #12,%d1                               
   461d4:	b280           	cmpl %d0,%d1                                
   461d6:	6530           	bcss 46208 <_TOD_Validate+0x78>             
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
   461d8:	2410           	movel %a0@,%d2                              
      (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)    ||                  
   461da:	0c82 0000 07c3 	cmpil #1987,%d2                             
   461e0:	6326           	blss 46208 <_TOD_Validate+0x78>             
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
   461e2:	2228 0008      	movel %a0@(8),%d1                           
      (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)          ||                  
   461e6:	6720           	beqs 46208 <_TOD_Validate+0x78>             <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
   461e8:	163c 0003      	moveb #3,%d3                                
   461ec:	41f9 0005 d2f2 	lea 5d2f2 <_TOD_Days_per_month>,%a0         
   461f2:	c483           	andl %d3,%d2                                
   461f4:	6606           	bnes 461fc <_TOD_Validate+0x6c>             
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
   461f6:	2030 0c34      	movel %a0@(00000034,%d0:l:4),%d0            
   461fa:	6004           	bras 46200 <_TOD_Validate+0x70>             
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
   461fc:	2030 0c00      	movel %a0@(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(                                                   
   46200:	b081           	cmpl %d1,%d0                                
   46202:	54c0           	scc %d0                                     
   46204:	4480           	negl %d0                                    
   46206:	6002           	bras 4620a <_TOD_Validate+0x7a>             
      (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;                                                    
   46208:	4200           	clrb %d0                                    
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
   4620a:	241f           	movel %sp@+,%d2                             
   4620c:	261f           	movel %sp@+,%d3                             
   4620e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000471d4 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
   471d4:	4e56 fff0      	linkw %fp,#-16                              
   471d8:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   471dc:	246e 0008      	moveal %fp@(8),%a2                          
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
   471e0:	242a 0010      	movel %a2@(16),%d2                          
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
   471e4:	262e 000c      	movel %fp@(12),%d3                          
  /*                                                                  
   * 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 );                                
   471e8:	2f0a           	movel %a2,%sp@-                             
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
   471ea:	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 );                                
   471ee:	4eb9 0004 7fe0 	jsr 47fe0 <_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 )                  
   471f4:	588f           	addql #4,%sp                                
   471f6:	b6aa 0014      	cmpl %a2@(20),%d3                           
   471fa:	670c           	beqs 47208 <_Thread_Change_priority+0x34>   
    _Thread_Set_priority( the_thread, new_priority );                 
   471fc:	2f03           	movel %d3,%sp@-                             
   471fe:	2f0a           	movel %a2,%sp@-                             
   47200:	4eb9 0004 7e88 	jsr 47e88 <_Thread_Set_priority>            
   47206:	508f           	addql #8,%sp                                
                                                                      
  _ISR_Disable( level );                                              
   47208:	223c 0000 0700 	movel #1792,%d1                             
   4720e:	40c0           	movew %sr,%d0                               
   47210:	8280           	orl %d0,%d1                                 
   47212:	46c1           	movew %d1,%sr                               
   47214:	7604           	moveq #4,%d3                                
                                                                      
  /*                                                                  
   *  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;                                  
   47216:	222a 0010      	movel %a2@(16),%d1                          
   4721a:	c483           	andl %d3,%d2                                
  if ( state != STATES_TRANSIENT ) {                                  
   4721c:	b681           	cmpl %d1,%d3                                
   4721e:	6730           	beqs 47250 <_Thread_Change_priority+0x7c>   
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
   47220:	4a82           	tstl %d2                                    
   47222:	6608           	bnes 4722c <_Thread_Change_priority+0x58>   <== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
   47224:	74fb           	moveq #-5,%d2                               
   47226:	c481           	andl %d1,%d2                                
   47228:	2542 0010      	movel %d2,%a2@(16)                          
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
   4722c:	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);              
   4722e:	0281 0003 bee0 	andil #245472,%d1                           
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
   47234:	6700 00d2      	beqw 47308 <_Thread_Change_priority+0x134>  
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
   47238:	2d4a 000c      	movel %a2,%fp@(12)                          
   4723c:	2d6a 0044 0008 	movel %a2@(68),%fp@(8)                      
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
  _ISR_Enable( level );                                               
}                                                                     
   47242:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   47248:	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 );    
   4724a:	4ef9 0004 7dec 	jmp 47dec <_Thread_queue_Requeue>           
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
   47250:	4a82           	tstl %d2                                    
   47252:	6650           	bnes 472a4 <_Thread_Change_priority+0xd0>   <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
   47254:	206a 008e      	moveal %a2@(142),%a0                        
   47258:	322a 0094      	movew %a2@(148),%d1                         
   4725c:	3410           	movew %a0@,%d2                              
     *  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 );
   4725e:	42aa 0010      	clrl %a2@(16)                               
   47262:	8282           	orl %d2,%d1                                 
   47264:	3081           	movew %d1,%a0@                              
   47266:	206a 008a      	moveal %a2@(138),%a0                        
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
   4726a:	3239 0005 d9ac 	movew 5d9ac <_Priority_Major_bit_map>,%d1   
   47270:	342a 0092      	movew %a2@(146),%d2                         
   47274:	8282           	orl %d2,%d1                                 
   47276:	33c1 0005 d9ac 	movew %d1,5d9ac <_Priority_Major_bit_map>   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
   4727c:	4a04           	tstb %d4                                    
   4727e:	6710           	beqs 47290 <_Thread_Change_priority+0xbc>   
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
   47280:	2250           	moveal %a0@,%a1                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
   47282:	2548 0004      	movel %a0,%a2@(4)                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
   47286:	208a           	movel %a2,%a0@                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
   47288:	234a 0004      	movel %a2,%a1@(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;                                
   4728c:	2489           	movel %a1,%a2@                              
   4728e:	6014           	bras 472a4 <_Thread_Change_priority+0xd0>   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   47290:	2608           	movel %a0,%d3                               
   47292:	5883           	addql #4,%d3                                
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
   47294:	2268 0008      	moveal %a0@(8),%a1                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   47298:	2483           	movel %d3,%a2@                              
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
   4729a:	214a 0008      	movel %a2,%a0@(8)                           
  old_last_node->next = the_node;                                     
   4729e:	228a           	movel %a2,%a1@                              
  the_node->previous  = old_last_node;                                
   472a0:	2549 0004      	movel %a1,%a2@(4)                           
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
   472a4:	223c 0000 0700 	movel #1792,%d1                             
   472aa:	46c0           	movew %d0,%sr                               
   472ac:	8280           	orl %d0,%d1                                 
   472ae:	46c1           	movew %d1,%sr                               
RTEMS_INLINE_ROUTINE Priority_Control _Priority_Get_highest( void )   
{                                                                     
  Priority_Bit_map_control minor;                                     
  Priority_Bit_map_control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
   472b0:	3239 0005 d9ac 	movew 5d9ac <_Priority_Major_bit_map>,%d1   
   472b6:	4841           	swap %d1                                    
   472b8:	04c1           	ff1 %d1                                     
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
   472ba:	4282           	clrl %d2                                    
   472bc:	41f9 0005 da14 	lea 5da14 <_Priority_Bit_map>,%a0           
   472c2:	3401           	movew %d1,%d2                               
   472c4:	3230 2a00      	movew %a0@(00000000,%d2:l:2),%d1            
   472c8:	4841           	swap %d1                                    
   472ca:	04c1           	ff1 %d1                                     
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
   472cc:	4283           	clrl %d3                                    
   472ce:	e98a           	lsll #4,%d2                                 
   472d0:	3601           	movew %d1,%d3                               
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_Get_highest() ].first;             
   472d2:	2079 0005 d8c0 	moveal 5d8c0 <_Thread_Ready_chain>,%a0      
   472d8:	2202           	movel %d2,%d1                               
   472da:	d283           	addl %d3,%d1                                
   472dc:	2401           	movel %d1,%d2                               
   472de:	e58a           	lsll #2,%d2                                 
   472e0:	e989           	lsll #4,%d1                                 
   472e2:	91c2           	subal %d2,%a0                               
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
   472e4:	2230 1800      	movel %a0@(00000000,%d1:l),%d1              
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
   472e8:	2079 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a0 
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
   472ee:	23c1 0005 dda0 	movel %d1,5dda0 <_Per_CPU_Information+0x10> 
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Thread_Calculate_heir();                                           
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
   472f4:	b288           	cmpl %a0,%d1                                
   472f6:	670e           	beqs 47306 <_Thread_Change_priority+0x132>  
   472f8:	4a28 0074      	tstb %a0@(116)                              
   472fc:	6708           	beqs 47306 <_Thread_Change_priority+0x132>  
       _Thread_Executing->is_preemptible )                            
    _Context_Switch_necessary = true;                                 
   472fe:	7201           	moveq #1,%d1                                
   47300:	13c1 0005 dda8 	moveb %d1,5dda8 <_Per_CPU_Information+0x18> 
  _ISR_Enable( level );                                               
   47306:	46c0           	movew %d0,%sr                               
}                                                                     
   47308:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4730e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047314 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
   47314:	4e56 fff0      	linkw %fp,#-16                              
   47318:	206e 0008      	moveal %fp@(8),%a0                          
   4731c:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
   47320:	263c 0000 0700 	movel #1792,%d3                             
   47326:	2203           	movel %d3,%d1                               
                                                                      
void _Thread_Clear_state(                                             
  Thread_Control *the_thread,                                         
  States_Control  state                                               
)                                                                     
{                                                                     
   47328:	202e 000c      	movel %fp@(12),%d0                          
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
   4732c:	40c2           	movew %sr,%d2                               
   4732e:	8282           	orl %d2,%d1                                 
   47330:	46c1           	movew %d1,%sr                               
    current_state = the_thread->current_state;                        
   47332:	2228 0010      	movel %a0@(16),%d1                          
                                                                      
    if ( current_state & state ) {                                    
   47336:	2800           	movel %d0,%d4                               
   47338:	c881           	andl %d1,%d4                                
   4733a:	6778           	beqs 473b4 <_Thread_Clear_state+0xa0>       
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
   4733c:	4680           	notl %d0                                    
   4733e:	c081           	andl %d1,%d0                                
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
   47340:	2140 0010      	movel %d0,%a0@(16)                          
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
   47344:	666e           	bnes 473b4 <_Thread_Clear_state+0xa0>       
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
   47346:	2268 008e      	moveal %a0@(142),%a1                        
   4734a:	3028 0094      	movew %a0@(148),%d0                         
   4734e:	3211           	movew %a1@,%d1                              
   47350:	8081           	orl %d1,%d0                                 
   47352:	3280           	movew %d0,%a1@                              
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
   47354:	2268 008a      	moveal %a0@(138),%a1                        
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
   47358:	3039 0005 d9ac 	movew 5d9ac <_Priority_Major_bit_map>,%d0   
   4735e:	3228 0092      	movew %a0@(146),%d1                         
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
   47362:	2469 0008      	moveal %a1@(8),%a2                          
   47366:	8081           	orl %d1,%d0                                 
   47368:	33c0 0005 d9ac 	movew %d0,5d9ac <_Priority_Major_bit_map>   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4736e:	2009           	movel %a1,%d0                               
   47370:	5880           	addql #4,%d0                                
   47372:	2080           	movel %d0,%a0@                              
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
   47374:	2348 0008      	movel %a0,%a1@(8)                           
  old_last_node->next = the_node;                                     
   47378:	2488           	movel %a0,%a2@                              
  the_node->previous  = old_last_node;                                
   4737a:	214a 0004      	movel %a2,%a0@(4)                           
                                                                      
        _ISR_Flash( level );                                          
   4737e:	2003           	movel %d3,%d0                               
   47380:	46c2           	movew %d2,%sr                               
   47382:	8082           	orl %d2,%d0                                 
   47384:	46c0           	movew %d0,%sr                               
         *    a context switch.                                       
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
   47386:	2028 0014      	movel %a0@(20),%d0                          
   4738a:	2279 0005 dda0 	moveal 5dda0 <_Per_CPU_Information+0x10>,%a1
   47390:	b0a9 0014      	cmpl %a1@(20),%d0                           
   47394:	641e           	bccs 473b4 <_Thread_Clear_state+0xa0>       
          _Thread_Heir = the_thread;                                  
   47396:	23c8 0005 dda0 	movel %a0,5dda0 <_Per_CPU_Information+0x10> 
          if ( _Thread_Executing->is_preemptible ||                   
   4739c:	2079 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a0 
   473a2:	4a28 0074      	tstb %a0@(116)                              
   473a6:	6604           	bnes 473ac <_Thread_Clear_state+0x98>       
   473a8:	4a80           	tstl %d0                                    
   473aa:	6608           	bnes 473b4 <_Thread_Clear_state+0xa0>       <== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
   473ac:	7001           	moveq #1,%d0                                
   473ae:	13c0 0005 dda8 	moveb %d0,5dda8 <_Per_CPU_Information+0x18> 
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
   473b4:	46c2           	movew %d2,%sr                               
}                                                                     
   473b6:	4cd7 041c      	moveml %sp@,%d2-%d4/%a2                     
   473ba:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047540 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
   47540:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   47544:	486e fffc      	pea %fp@(-4)                                
   47548:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4754c:	4eb9 0004 76e0 	jsr 476e0 <_Thread_Get>                     
  switch ( location ) {                                               
   47552:	508f           	addql #8,%sp                                
   47554:	4aae fffc      	tstl %fp@(-4)                               
   47558:	661e           	bnes 47578 <_Thread_Delay_ended+0x38>       <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
   4755a:	2f3c 1000 0018 	movel #268435480,%sp@-                      
   47560:	2f00           	movel %d0,%sp@-                             
   47562:	4eb9 0004 7314 	jsr 47314 <_Thread_Clear_state>             
   47568:	508f           	addql #8,%sp                                
   4756a:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   47570:	5380           	subql #1,%d0                                
   47572:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level>
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   47578:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004757c <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
   4757c:	4e56 ffc8      	linkw %fp,#-56                              
   47580:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
   47584:	283c 0000 0700 	movel #1792,%d4                             
   4758a:	2204           	movel %d4,%d1                               
{                                                                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
   4758c:	2479 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a2 
  _ISR_Disable( level );                                              
   47592:	40c0           	movew %sr,%d0                               
   47594:	8280           	orl %d0,%d1                                 
   47596:	46c1           	movew %d1,%sr                               
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   47598:	260e           	movel %fp,%d3                               
        _Timestamp_Subtract(                                          
   4759a:	240e           	movel %fp,%d2                               
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   4759c:	5183           	subql #8,%d3                                
        _Timestamp_Subtract(                                          
   4759e:	0682 ffff fff0 	addil #-16,%d2                              
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
   475a4:	2e3c 0004 834c 	movel #295756,%d7                           
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
   475aa:	2c3c 0004 8600 	movel #296448,%d6                           
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
   475b0:	2a3c 0004 8914 	movel #297236,%d5                           
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
      _Context_Restore_fp( &executing->fp_context );                  
   475b6:	4bf9 0004 8a7c 	lea 48a7c <_CPU_Context_restore_fp>,%a5     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
   475bc:	49f9 0004 8a5a 	lea 48a5a <_CPU_Context_save_fp>,%a4        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
   475c2:	6000 00d4      	braw 47698 <_Thread_Dispatch+0x11c>         
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
   475c6:	7201           	moveq #1,%d1                                
   475c8:	23c1 0005 d90c 	movel %d1,5d90c <_Thread_Dispatch_disable_level>
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
   475ce:	2679 0005 dda0 	moveal 5dda0 <_Per_CPU_Information+0x10>,%a3
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
   475d4:	4201           	clrb %d1                                    
    _Thread_Executing = heir;                                         
   475d6:	23cb 0005 dd9c 	movel %a3,5dd9c <_Per_CPU_Information+0xc>  
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
   475dc:	13c1 0005 dda8 	moveb %d1,5dda8 <_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 )                                          
   475e2:	b5cb           	cmpal %a3,%a2                               
   475e4:	6700 00bc      	beqw 476a2 <_Thread_Dispatch+0x126>         
     */                                                               
#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 )
   475e8:	7201           	moveq #1,%d1                                
   475ea:	b2ab 007a      	cmpl %a3@(122),%d1                          
   475ee:	660a           	bnes 475fa <_Thread_Dispatch+0x7e>          
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
   475f0:	41f9 0005 d8c4 	lea 5d8c4 <_Thread_Ticks_per_timeslice>,%a0 
   475f6:	2750 0076      	movel %a0@,%a3@(118)                        
                                                                      
    _ISR_Enable( level );                                             
   475fa:	46c0           	movew %d0,%sr                               
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   475fc:	2f03           	movel %d3,%sp@-                             
   475fe:	4eb9 0004 aaf4 	jsr 4aaf4 <_TOD_Get_uptime>                 
        _Timestamp_Subtract(                                          
   47604:	2f02           	movel %d2,%sp@-                             
   47606:	2f03           	movel %d3,%sp@-                             
   47608:	4879 0005 d9ba 	pea 5d9ba <_Thread_Time_of_last_context_switch>
   4760e:	4eb9 0004 8384 	jsr 48384 <_Timespec_Subtract>              
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
   47614:	2047           	moveal %d7,%a0                              
   47616:	2f02           	movel %d2,%sp@-                             
   47618:	486a 0082      	pea %a2@(130)                               
   4761c:	4e90           	jsr %a0@                                    
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
   4761e:	2079 0005 d992 	moveal 5d992 <_Thread_libc_reent>,%a0       
   47624:	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;                 
   47628:	202e fff8      	movel %fp@(-8),%d0                          
   4762c:	222e fffc      	movel %fp@(-4),%d1                          
   47630:	23c0 0005 d9ba 	movel %d0,5d9ba <_Thread_Time_of_last_context_switch>
   47636:	23c1 0005 d9be 	movel %d1,5d9be <_Thread_Time_of_last_context_switch+0x4>
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
   4763c:	4a88           	tstl %a0                                    
   4763e:	6708           	beqs 47648 <_Thread_Dispatch+0xcc>          <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
   47640:	2550 0106      	movel %a0@,%a2@(262)                        
      *_Thread_libc_reent = heir->libc_reent;                         
   47644:	20ab 0106      	movel %a3@(262),%a0@                        
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
   47648:	2f0b           	movel %a3,%sp@-                             
   4764a:	2046           	moveal %d6,%a0                              
   4764c:	2f0a           	movel %a2,%sp@-                             
   4764e:	4e90           	jsr %a0@                                    
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
   47650:	486b 00ce      	pea %a3@(206)                               
   47654:	2045           	moveal %d5,%a0                              
   47656:	486a 00ce      	pea %a2@(206)                               
   4765a:	4e90           	jsr %a0@                                    
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
   4765c:	4fef 0010      	lea %sp@(16),%sp                            
   47660:	4aaa 0102      	tstl %a2@(258)                              
   47664:	6724           	beqs 4768a <_Thread_Dispatch+0x10e>         
#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 );                      
   47666:	2079 0005 d98e 	moveal 5d98e <_Thread_Allocated_fp>,%a0     
   4766c:	b1ca           	cmpal %a2,%a0                               
   4766e:	671a           	beqs 4768a <_Thread_Dispatch+0x10e>         
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
   47670:	4a88           	tstl %a0                                    
   47672:	6708           	beqs 4767c <_Thread_Dispatch+0x100>         
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
   47674:	4868 0102      	pea %a0@(258)                               
   47678:	4e94           	jsr %a4@                                    
   4767a:	588f           	addql #4,%sp                                
      _Context_Restore_fp( &executing->fp_context );                  
   4767c:	486a 0102      	pea %a2@(258)                               
   47680:	4e95           	jsr %a5@                                    
      _Thread_Allocated_fp = executing;                               
   47682:	588f           	addql #4,%sp                                
   47684:	23ca 0005 d98e 	movel %a2,5d98e <_Thread_Allocated_fp>      
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
   4768a:	2479 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a2 
                                                                      
    _ISR_Disable( level );                                            
   47690:	2204           	movel %d4,%d1                               
   47692:	40c0           	movew %sr,%d0                               
   47694:	8280           	orl %d0,%d1                                 
   47696:	46c1           	movew %d1,%sr                               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
   47698:	1239 0005 dda8 	moveb 5dda8 <_Per_CPU_Information+0x18>,%d1 
   4769e:	6600 ff26      	bnew 475c6 <_Thread_Dispatch+0x4a>          
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
   476a2:	42b9 0005 d90c 	clrl 5d90c <_Thread_Dispatch_disable_level> 
                                                                      
  _ISR_Enable( level );                                               
   476a8:	46c0           	movew %d0,%sr                               
                                                                      
  _API_extensions_Run_postswitch();                                   
   476aa:	4eb9 0004 5ffc 	jsr 45ffc <_API_extensions_Run_postswitch>  
}                                                                     
   476b0:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   476b6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000476e0 <_Thread_Get>: Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
   476e0:	4e56 0000      	linkw %fp,#0                                
   476e4:	202e 0008      	movel %fp@(8),%d0                           
   476e8:	2f03           	movel %d3,%sp@-                             
   476ea:	206e 000c      	moveal %fp@(12),%a0                         
   476ee:	2f02           	movel %d2,%sp@-                             
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
   476f0:	4a80           	tstl %d0                                    
   476f2:	6618           	bnes 4770c <_Thread_Get+0x2c>               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   476f4:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   476fa:	5280           	addql #1,%d0                                
   476fc:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level>
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
   47702:	4290           	clrl %a0@                                   
    tp = _Thread_Executing;                                           
   47704:	2039 0005 dd9c 	movel 5dd9c <_Per_CPU_Information+0xc>,%d0  
    goto done;                                                        
   4770a:	6044           	bras 47750 <_Thread_Get+0x70>               
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
   4770c:	7418           	moveq #24,%d2                               
   4770e:	2200           	movel %d0,%d1                               
   47710:	e4a9           	lsrl %d2,%d1                                
   47712:	7607           	moveq #7,%d3                                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
   47714:	143c 0002      	moveb #2,%d2                                
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
   47718:	c283           	andl %d3,%d1                                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
   4771a:	2241           	moveal %d1,%a1                              
   4771c:	5389           	subql #1,%a1                                
   4771e:	b489           	cmpl %a1,%d2                                
   47720:	643a           	bccs 4775c <_Thread_Get+0x7c>               
   47722:	6014           	bras 47738 <_Thread_Get+0x58>               
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
   47724:	43f9 0005 d8c8 	lea 5d8c8 <_Objects_Information_table>,%a1  
   4772a:	2271 1c00      	moveal %a1@(00000000,%d1:l:4),%a1           
  if ( !api_information ) {                                           
   4772e:	4a89           	tstl %a1                                    
   47730:	6706           	beqs 47738 <_Thread_Get+0x58>               <== NEVER TAKEN
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
   47732:	2229 0004      	movel %a1@(4),%d1                           
  if ( !information ) {                                               
   47736:	6608           	bnes 47740 <_Thread_Get+0x60>               
    *location = OBJECTS_ERROR;                                        
   47738:	7001           	moveq #1,%d0                                
   4773a:	2080           	movel %d0,%a0@                              
{                                                                     
  uint32_t             the_api;                                       
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
   4773c:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  information = api_information[ the_class ];                         
  if ( !information ) {                                               
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
   4773e:	6010           	bras 47750 <_Thread_Get+0x70>               
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
   47740:	2f08           	movel %a0,%sp@-                             
   47742:	2f00           	movel %d0,%sp@-                             
   47744:	2f01           	movel %d1,%sp@-                             
   47746:	4eb9 0004 6e58 	jsr 46e58 <_Objects_Get>                    
   4774c:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
   47750:	242e fff8      	movel %fp@(-8),%d2                          
   47754:	262e fffc      	movel %fp@(-4),%d3                          
   47758:	4e5e           	unlk %fp                                    
   4775a:	4e75           	rts                                         
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
   4775c:	761b           	moveq #27,%d3                               
   4775e:	2400           	movel %d0,%d2                               
   47760:	e6aa           	lsrl %d3,%d2                                
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
   47762:	163c 0001      	moveb #1,%d3                                
   47766:	b682           	cmpl %d2,%d3                                
   47768:	67ba           	beqs 47724 <_Thread_Get+0x44>               
   4776a:	60cc           	bras 47738 <_Thread_Get+0x58>               
                                                                      

0004c848 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
   4c848:	4e56 0000      	linkw %fp,#0                                
   4c84c:	2f0a           	movel %a2,%sp@-                             
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
   4c84e:	2479 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a2 
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
   4c854:	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;                                 
   4c856:	222a 00b4      	movel %a2@(180),%d1                         
  _ISR_Set_level(level);                                              
   4c85a:	40c0           	movew %sr,%d0                               
   4c85c:	e189           	lsll #8,%d1                                 
   4c85e:	0280 0000 f8ff 	andil #63743,%d0                            
   4c864:	8081           	orl %d1,%d0                                 
   4c866:	46c0           	movew %d0,%sr                               
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
    doneConstructors = 1;                                             
   4c868:	7001           	moveq #1,%d0                                
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
   4c86a:	1439 0005 d0c8 	moveb 5d0c8 <doneConstructors.3259>,%d2     
    doneConstructors = 1;                                             
   4c870:	13c0 0005 d0c8 	moveb %d0,5d0c8 <doneConstructors.3259>     
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
   4c876:	4aaa 0102      	tstl %a2@(258)                              
   4c87a:	6720           	beqs 4c89c <_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 );                      
   4c87c:	2079 0005 d98e 	moveal 5d98e <_Thread_Allocated_fp>,%a0     
   4c882:	b1ca           	cmpal %a2,%a0                               
   4c884:	6716           	beqs 4c89c <_Thread_Handler+0x54>           
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
   4c886:	4a88           	tstl %a0                                    
   4c888:	670c           	beqs 4c896 <_Thread_Handler+0x4e>           
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
   4c88a:	4868 0102      	pea %a0@(258)                               
   4c88e:	4eb9 0004 8a5a 	jsr 48a5a <_CPU_Context_save_fp>            
   4c894:	588f           	addql #4,%sp                                
        _Thread_Allocated_fp = executing;                             
   4c896:	23ca 0005 d98e 	movel %a2,5d98e <_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 );                         
   4c89c:	2f0a           	movel %a2,%sp@-                             
   4c89e:	4eb9 0004 847c 	jsr 4847c <_User_extensions_Thread_begin>   
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
   4c8a4:	4eb9 0004 76ba 	jsr 476ba <_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) */ {                 
   4c8aa:	588f           	addql #4,%sp                                
   4c8ac:	4a02           	tstb %d2                                    
   4c8ae:	6606           	bnes 4c8b6 <_Thread_Handler+0x6e>           
      INIT_NAME ();                                                   
   4c8b0:	4eb9 0005 a670 	jsr 5a670 <_init>                           
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
   4c8b6:	202a 009e      	movel %a2@(158),%d0                         
   4c8ba:	6606           	bnes 4c8c2 <_Thread_Handler+0x7a>           
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
   4c8bc:	2f2a 00a6      	movel %a2@(166),%sp@-                       
   4c8c0:	600a           	bras 4c8cc <_Thread_Handler+0x84>           
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
   4c8c2:	7201           	moveq #1,%d1                                
   4c8c4:	b280           	cmpl %d0,%d1                                
   4c8c6:	6610           	bnes 4c8d8 <_Thread_Handler+0x90>           <== NEVER TAKEN
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
   4c8c8:	2f2a 00a2      	movel %a2@(162),%sp@-                       
   4c8cc:	206a 009a      	moveal %a2@(154),%a0                        
   4c8d0:	4e90           	jsr %a0@                                    
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
   4c8d2:	588f           	addql #4,%sp                                
   4c8d4:	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 );                       
   4c8d8:	2f0a           	movel %a2,%sp@-                             
   4c8da:	4eb9 0004 84b4 	jsr 484b4 <_User_extensions_Thread_exitted> 
                                                                      
  _Internal_error_Occurred(                                           
   4c8e0:	4878 0006      	pea 6 <EXTENDSFDF>                          
   4c8e4:	4878 0001      	pea 1 <ADD>                                 
   4c8e8:	42a7           	clrl %sp@-                                  
   4c8ea:	4eb9 0004 694c 	jsr 4694c <_Internal_error_Occurred>        
                                                                      

00048640 <_Thread_Restart>: */ RTEMS_INLINE_ROUTINE bool _States_Is_dormant ( States_Control the_states ) { return (the_states & STATES_DORMANT);
   48640:	7001           	moveq #1,%d0                                
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
   48642:	4e56 0000      	linkw %fp,#0                                
   48646:	2f0a           	movel %a2,%sp@-                             
   48648:	246e 0008      	moveal %fp@(8),%a2                          
   4864c:	c0aa 0010      	andl %a2@(16),%d0                           
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
   48650:	6664           	bnes 486b6 <_Thread_Restart+0x76>           
                                                                      
    _Thread_Set_transient( the_thread );                              
   48652:	2f0a           	movel %a2,%sp@-                             
   48654:	4eb9 0004 881c 	jsr 4881c <_Thread_Set_transient>           
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
   4865a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4865e:	2f2e 000c      	movel %fp@(12),%sp@-                        
   48662:	2f0a           	movel %a2,%sp@-                             
   48664:	4eb9 0004 ba34 	jsr 4ba34 <_Thread_Reset>                   
                                                                      
    _Thread_Load_environment( the_thread );                           
   4866a:	2f0a           	movel %a2,%sp@-                             
   4866c:	4eb9 0004 b6e0 	jsr 4b6e0 <_Thread_Load_environment>        
                                                                      
    _Thread_Ready( the_thread );                                      
   48672:	2f0a           	movel %a2,%sp@-                             
   48674:	4eb9 0004 b974 	jsr 4b974 <_Thread_Ready>                   
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
   4867a:	2f0a           	movel %a2,%sp@-                             
   4867c:	4eb9 0004 8dfc 	jsr 48dfc <_User_extensions_Thread_restart> 
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
   48682:	4fef 001c      	lea %sp@(28),%sp                            
   48686:	b5f9 0005 e8d4 	cmpal 5e8d4 <_Per_CPU_Information+0xc>,%a2  
   4868c:	662c           	bnes 486ba <_Thread_Restart+0x7a>           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
   4868e:	4aaa 0102      	tstl %a2@(258)                              
   48692:	670c           	beqs 486a0 <_Thread_Restart+0x60>           
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
   48694:	486a 0102      	pea %a2@(258)                               
   48698:	4eb9 0004 92f8 	jsr 492f8 <_CPU_Context_restore_fp>         
   4869e:	588f           	addql #4,%sp                                
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
   486a0:	2079 0005 e8d4 	moveal 5e8d4 <_Per_CPU_Information+0xc>,%a0 
   486a6:	41e8 00ce      	lea %a0@(206),%a0                           
   486aa:	2f08           	movel %a0,%sp@-                             
   486ac:	4eb9 0004 91a6 	jsr 491a6 <_CPU_Context_Restart_self>       
   486b2:	588f           	addql #4,%sp                                <== NOT EXECUTED
   486b4:	6004           	bras 486ba <_Thread_Restart+0x7a>           <== NOT EXECUTED
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
   486b6:	4200           	clrb %d0                                    
   486b8:	6002           	bras 486bc <_Thread_Restart+0x7c>           
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
   486ba:	7001           	moveq #1,%d0                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   486bc:	246e fffc      	moveal %fp@(-4),%a2                         
   486c0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004acb8 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
   4acb8:	4e56 fff4      	linkw %fp,#-12                              
   4acbc:	206e 0008      	moveal %fp@(8),%a0                          
   4acc0:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
   4acc4:	243c 0000 0700 	movel #1792,%d2                             
   4acca:	2002           	movel %d2,%d0                               
   4accc:	40c1           	movew %sr,%d1                               
   4acce:	8081           	orl %d1,%d0                                 
   4acd0:	46c0           	movew %d0,%sr                               
                                                                      
  current_state = the_thread->current_state;                          
   4acd2:	2028 0010      	movel %a0@(16),%d0                          
  if ( current_state & STATES_SUSPENDED ) {                           
   4acd6:	0800 0001      	btst #1,%d0                                 
   4acda:	6778           	beqs 4ad54 <_Thread_Resume+0x9c>            <== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
   4acdc:	76fd           	moveq #-3,%d3                               
   4acde:	c083           	andl %d3,%d0                                
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
   4ace0:	2140 0010      	movel %d0,%a0@(16)                          
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
   4ace4:	666e           	bnes 4ad54 <_Thread_Resume+0x9c>            
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Add_to_bit_map (                  
  Priority_Information *the_priority_map                              
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
   4ace6:	2268 008e      	moveal %a0@(142),%a1                        
   4acea:	3028 0094      	movew %a0@(148),%d0                         
   4acee:	3611           	movew %a1@,%d3                              
   4acf0:	8083           	orl %d3,%d0                                 
   4acf2:	3280           	movew %d0,%a1@                              
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
   4acf4:	2268 008a      	moveal %a0@(138),%a1                        
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
   4acf8:	3039 0006 0df4 	movew 60df4 <_Priority_Major_bit_map>,%d0   
   4acfe:	3628 0092      	movew %a0@(146),%d3                         
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
   4ad02:	2469 0008      	moveal %a1@(8),%a2                          
   4ad06:	8083           	orl %d3,%d0                                 
   4ad08:	33c0 0006 0df4 	movew %d0,60df4 <_Priority_Major_bit_map>   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4ad0e:	2009           	movel %a1,%d0                               
   4ad10:	5880           	addql #4,%d0                                
   4ad12:	2080           	movel %d0,%a0@                              
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
   4ad14:	2348 0008      	movel %a0,%a1@(8)                           
  old_last_node->next = the_node;                                     
   4ad18:	2488           	movel %a0,%a2@                              
  the_node->previous  = old_last_node;                                
   4ad1a:	214a 0004      	movel %a2,%a0@(4)                           
                                                                      
      _ISR_Flash( level );                                            
   4ad1e:	2002           	movel %d2,%d0                               
   4ad20:	46c1           	movew %d1,%sr                               
   4ad22:	8081           	orl %d1,%d0                                 
   4ad24:	46c0           	movew %d0,%sr                               
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
   4ad26:	2028 0014      	movel %a0@(20),%d0                          
   4ad2a:	2279 0006 11e8 	moveal 611e8 <_Per_CPU_Information+0x10>,%a1
   4ad30:	b0a9 0014      	cmpl %a1@(20),%d0                           
   4ad34:	641e           	bccs 4ad54 <_Thread_Resume+0x9c>            
        _Thread_Heir = the_thread;                                    
   4ad36:	23c8 0006 11e8 	movel %a0,611e8 <_Per_CPU_Information+0x10> 
        if ( _Thread_Executing->is_preemptible ||                     
   4ad3c:	2079 0006 11e4 	moveal 611e4 <_Per_CPU_Information+0xc>,%a0 
   4ad42:	4a28 0074      	tstb %a0@(116)                              
   4ad46:	6604           	bnes 4ad4c <_Thread_Resume+0x94>            
   4ad48:	4a80           	tstl %d0                                    
   4ad4a:	6608           	bnes 4ad54 <_Thread_Resume+0x9c>            <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
   4ad4c:	7601           	moveq #1,%d3                                
   4ad4e:	13c3 0006 11f0 	moveb %d3,611f0 <_Per_CPU_Information+0x18> 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
   4ad54:	46c1           	movew %d1,%sr                               
}                                                                     
   4ad56:	4cd7 040c      	moveml %sp@,%d2-%d3/%a2                     
   4ad5a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048264 <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
   48264:	4e56 0000      	linkw %fp,#0                                
   48268:	2f0a           	movel %a2,%sp@-                             
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
   4826a:	2479 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a2 
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
   48270:	4a2a 0074      	tstb %a2@(116)                              
   48274:	6756           	beqs 482cc <_Thread_Tickle_timeslice+0x68>  
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
   48276:	4aaa 0010      	tstl %a2@(16)                               
   4827a:	6650           	bnes 482cc <_Thread_Tickle_timeslice+0x68>  
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
   4827c:	202a 007a      	movel %a2@(122),%d0                         
   48280:	7201           	moveq #1,%d1                                
   48282:	b280           	cmpl %d0,%d1                                
   48284:	6246           	bhis 482cc <_Thread_Tickle_timeslice+0x68>  
   48286:	123c 0002      	moveb #2,%d1                                
   4828a:	b280           	cmpl %d0,%d1                                
   4828c:	640a           	bccs 48298 <_Thread_Tickle_timeslice+0x34>  
   4828e:	123c 0003      	moveb #3,%d1                                
   48292:	b280           	cmpl %d0,%d1                                
   48294:	6636           	bnes 482cc <_Thread_Tickle_timeslice+0x68>  <== NEVER TAKEN
   48296:	601e           	bras 482b6 <_Thread_Tickle_timeslice+0x52>  
                                                                      
    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 ) {               
   48298:	202a 0076      	movel %a2@(118),%d0                         
   4829c:	5380           	subql #1,%d0                                
   4829e:	2540 0076      	movel %d0,%a2@(118)                         
   482a2:	6e28           	bgts 482cc <_Thread_Tickle_timeslice+0x68>  
         *  at the priority of the currently executing thread, then the
         *  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.        
         */                                                           
        _Thread_Yield_processor();                                    
   482a4:	4eb9 0004 82d4 	jsr 482d4 <_Thread_Yield_processor>         
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
   482aa:	41f9 0005 d8c4 	lea 5d8c4 <_Thread_Ticks_per_timeslice>,%a0 
   482b0:	2550 0076      	movel %a0@,%a2@(118)                        
   482b4:	6016           	bras 482cc <_Thread_Tickle_timeslice+0x68>  
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
   482b6:	202a 0076      	movel %a2@(118),%d0                         
   482ba:	5380           	subql #1,%d0                                
   482bc:	2540 0076      	movel %d0,%a2@(118)                         
   482c0:	660a           	bnes 482cc <_Thread_Tickle_timeslice+0x68>  
	  (*executing->budget_callout)( executing );                         
   482c2:	2f0a           	movel %a2,%sp@-                             
   482c4:	206a 007e      	moveal %a2@(126),%a0                        
   482c8:	4e90           	jsr %a0@                                    
   482ca:	588f           	addql #4,%sp                                
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
   482cc:	246e fffc      	moveal %fp@(-4),%a2                         
   482d0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047184 <_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 ) ) {
   47184:	7202           	moveq #2,%d1                                
  Thread_blocking_operation_States  sync_state __attribute__((unused)),
#endif                                                                
  Thread_Control                   *the_thread,                       
  ISR_Level                         level                             
)                                                                     
{                                                                     
   47186:	4e56 0000      	linkw %fp,#0                                
   4718a:	202e 0010      	movel %fp@(16),%d0                          
   4718e:	2f0a           	movel %a2,%sp@-                             
   47190:	246e 000c      	moveal %fp@(12),%a2                         
  #endif                                                              
                                                                      
  /*                                                                  
   * The thread is not waiting on anything after this completes.      
   */                                                                 
  the_thread->Wait.queue = NULL;                                      
   47194:	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 ) ) {                  
   47198:	b2aa 0050      	cmpl %a2@(80),%d1                           
   4719c:	6618           	bnes 471b6 <_Thread_blocking_operation_Cancel+0x32>
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   4719e:	123c 0003      	moveb #3,%d1                                
   471a2:	2541 0050      	movel %d1,%a2@(80)                          
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   471a6:	46c0           	movew %d0,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   471a8:	486a 0048      	pea %a2@(72)                                
   471ac:	4eb9 0004 8754 	jsr 48754 <_Watchdog_Remove>                
   471b2:	588f           	addql #4,%sp                                
   471b4:	6002           	bras 471b8 <_Thread_blocking_operation_Cancel+0x34>
  } else                                                              
    _ISR_Enable( level );                                             
   471b6:	46c0           	movew %d0,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   471b8:	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                                                                
                                                                      
}                                                                     
   471bc:	246e fffc      	moveal %fp@(-4),%a2                         
   471c0:	203c 1003 fff8 	movel #268697592,%d0                        
   471c6:	2d40 000c      	movel %d0,%fp@(12)                          
   471ca:	4e5e           	unlk %fp                                    
   471cc:	4ef9 0004 7314 	jmp 47314 <_Thread_Clear_state>             
	...                                                                  
                                                                      

00047bd8 <_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 ) {
   47bd8:	4e56 ffe0      	linkw %fp,#-32                              
   47bdc:	206e 000c      	moveal %fp@(12),%a0                         
   47be0:	43e8 003c      	lea %a0@(60),%a1                            
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
   47be4:	2028 0014      	movel %a0@(20),%d0                          
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Thread_queue_Header_number (         
  Priority_Control the_priority                                       
)                                                                     
{                                                                     
  return (the_priority / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER);      
   47be8:	2200           	movel %d0,%d1                               
   47bea:	ec89           	lsrl #6,%d1                                 
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
   47bec:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
   47bf0:	2401           	movel %d1,%d2                               
   47bf2:	e989           	lsll #4,%d1                                 
   47bf4:	e58a           	lsll #2,%d2                                 
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
   47bf6:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
   47bfa:	9282           	subl %d2,%d1                                
   47bfc:	47f2 1800      	lea %a2@(00000000,%d1:l),%a3                
   47c00:	2149 0038      	movel %a1,%a0@(56)                          
  Chain_Node          *previous_node;                                 
  Chain_Node          *search_node;                                   
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
   47c04:	43e8 0038      	lea %a0@(56),%a1                            
                                                                      
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
   47c08:	282a 0038      	movel %a2@(56),%d4                          
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   47c0c:	42a8 003c      	clrl %a0@(60)                               
  Chain_Node          *previous_node;                                 
  Chain_Node          *search_node;                                   
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
   47c10:	2149 0040      	movel %a1,%a0@(64)                          
  priority     = the_thread->current_priority;                        
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
   47c14:	0800 0005      	btst #5,%d0                                 
   47c18:	666a           	bnes 47c84 <_Thread_queue_Enqueue_priority+0xac>
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
   47c1a:	367c 0700      	moveaw #1792,%a3                            
  search_thread = (Thread_Control *) header->first;                   
   47c1e:	2a01           	movel %d1,%d5                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   47c20:	49f2 1804      	lea %a2@(00000004,%d1:l),%a4                
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
   47c24:	240b           	movel %a3,%d2                               
   47c26:	40c1           	movew %sr,%d1                               
   47c28:	8481           	orl %d1,%d2                                 
   47c2a:	46c2           	movew %d2,%sr                               
   47c2c:	2401           	movel %d1,%d2                               
  search_thread = (Thread_Control *) header->first;                   
   47c2e:	2272 5800      	moveal %a2@(00000000,%d5:l),%a1             
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
   47c32:	76ff           	moveq #-1,%d3                               
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
   47c34:	601e           	bras 47c54 <_Thread_queue_Enqueue_priority+0x7c>
    search_priority = search_thread->current_priority;                
   47c36:	2629 0014      	movel %a1@(20),%d3                          
    if ( priority <= search_priority )                                
   47c3a:	b680           	cmpl %d0,%d3                                
   47c3c:	641a           	bccs 47c58 <_Thread_queue_Enqueue_priority+0x80>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
   47c3e:	2c0b           	movel %a3,%d6                               
   47c40:	46c1           	movew %d1,%sr                               
   47c42:	8c81           	orl %d1,%d6                                 
   47c44:	46c6           	movew %d6,%sr                               
RTEMS_INLINE_ROUTINE bool _States_Are_set (                           
  States_Control the_states,                                          
  States_Control mask                                                 
)                                                                     
{                                                                     
   return ( (the_states & mask) != STATES_READY);                     
   47c46:	2c04           	movel %d4,%d6                               
   47c48:	cca9 0010      	andl %a1@(16),%d6                           
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
   47c4c:	6604           	bnes 47c52 <_Thread_queue_Enqueue_priority+0x7a><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
   47c4e:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
      goto restart_forward_search;                                    
   47c50:	60d2           	bras 47c24 <_Thread_queue_Enqueue_priority+0x4c><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
   47c52:	2251           	moveal %a1@,%a1                             
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->first;                   
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
   47c54:	b9c9           	cmpal %a1,%a4                               
   47c56:	66de           	bnes 47c36 <_Thread_queue_Enqueue_priority+0x5e>
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   47c58:	7801           	moveq #1,%d4                                
   47c5a:	b8aa 0030      	cmpl %a2@(48),%d4                           
   47c5e:	6600 00ae      	bnew 47d0e <_Thread_queue_Enqueue_priority+0x136>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
   47c62:	42aa 0030      	clrl %a2@(48)                               
                                                                      
  if ( priority == search_priority )                                  
   47c66:	b680           	cmpl %d0,%d3                                
   47c68:	6700 0088      	beqw 47cf2 <_Thread_queue_Enqueue_priority+0x11a>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
   47c6c:	2669 0004      	moveal %a1@(4),%a3                          
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
   47c70:	2089           	movel %a1,%a0@                              
  the_node->previous     = previous_node;                             
   47c72:	214b 0004      	movel %a3,%a0@(4)                           
  previous_node->next    = the_node;                                  
   47c76:	2688           	movel %a0,%a3@                              
  search_node->previous  = the_node;                                  
   47c78:	2348 0004      	movel %a0,%a1@(4)                           
  the_thread->Wait.queue = the_thread_queue;                          
   47c7c:	214a 0044      	movel %a2,%a0@(68)                          
  _ISR_Enable( level );                                               
   47c80:	46c1           	movew %d1,%sr                               
   47c82:	606a           	bras 47cee <_Thread_queue_Enqueue_priority+0x116>
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
   47c84:	2a3c 0000 0700 	movel #1792,%d5                             
  search_thread = (Thread_Control *) header->last;                    
   47c8a:	49eb 0008      	lea %a3@(8),%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;                         
   47c8e:	4283           	clrl %d3                                    
   47c90:	1639 0005 c152 	moveb 5c152 <rtems_maximum_priority>,%d3    
                                                                      
  _ISR_Disable( level );                                              
   47c96:	2405           	movel %d5,%d2                               
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   47c98:	5283           	addql #1,%d3                                
                                                                      
  _ISR_Disable( level );                                              
   47c9a:	40c1           	movew %sr,%d1                               
   47c9c:	8481           	orl %d1,%d2                                 
   47c9e:	46c2           	movew %d2,%sr                               
   47ca0:	2401           	movel %d1,%d2                               
  search_thread = (Thread_Control *) header->last;                    
   47ca2:	2254           	moveal %a4@,%a1                             
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
   47ca4:	6020           	bras 47cc6 <_Thread_queue_Enqueue_priority+0xee>
    search_priority = search_thread->current_priority;                
   47ca6:	2629 0014      	movel %a1@(20),%d3                          
    if ( priority >= search_priority )                                
   47caa:	b680           	cmpl %d0,%d3                                
   47cac:	631c           	blss 47cca <_Thread_queue_Enqueue_priority+0xf2>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
   47cae:	2c05           	movel %d5,%d6                               
   47cb0:	46c1           	movew %d1,%sr                               
   47cb2:	8c81           	orl %d1,%d6                                 
   47cb4:	46c6           	movew %d6,%sr                               
   47cb6:	2c04           	movel %d4,%d6                               
   47cb8:	cca9 0010      	andl %a1@(16),%d6                           
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
   47cbc:	6604           	bnes 47cc2 <_Thread_queue_Enqueue_priority+0xea>
      _ISR_Enable( level );                                           
   47cbe:	46c1           	movew %d1,%sr                               
      goto restart_reverse_search;                                    
   47cc0:	60cc           	bras 47c8e <_Thread_queue_Enqueue_priority+0xb6>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
   47cc2:	2269 0004      	moveal %a1@(4),%a1                          
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) header->last;                    
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
   47cc6:	b7c9           	cmpal %a1,%a3                               
   47cc8:	66dc           	bnes 47ca6 <_Thread_queue_Enqueue_priority+0xce>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   47cca:	7801           	moveq #1,%d4                                
   47ccc:	b8aa 0030      	cmpl %a2@(48),%d4                           
   47cd0:	663c           	bnes 47d0e <_Thread_queue_Enqueue_priority+0x136>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
   47cd2:	42aa 0030      	clrl %a2@(48)                               
                                                                      
  if ( priority == search_priority )                                  
   47cd6:	b680           	cmpl %d0,%d3                                
   47cd8:	6718           	beqs 47cf2 <_Thread_queue_Enqueue_priority+0x11a>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
   47cda:	2651           	moveal %a1@,%a3                             
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
   47cdc:	2149 0004      	movel %a1,%a0@(4)                           
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
   47ce0:	208b           	movel %a3,%a0@                              
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
   47ce2:	2748 0004      	movel %a0,%a3@(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;                                 
   47ce6:	2288           	movel %a0,%a1@                              
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
   47ce8:	214a 0044      	movel %a2,%a0@(68)                          
  _ISR_Enable( level );                                               
   47cec:	46c1           	movew %d1,%sr                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
   47cee:	7001           	moveq #1,%d0                                
   47cf0:	6026           	bras 47d18 <_Thread_queue_Enqueue_priority+0x140>
   47cf2:	43e9 003c      	lea %a1@(60),%a1                            
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
  previous_node = search_node->previous;                              
   47cf6:	2669 0004      	moveal %a1@(4),%a3                          
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
   47cfa:	2089           	movel %a1,%a0@                              
  the_node->previous     = previous_node;                             
   47cfc:	214b 0004      	movel %a3,%a0@(4)                           
  previous_node->next    = the_node;                                  
   47d00:	2688           	movel %a0,%a3@                              
  search_node->previous  = the_node;                                  
   47d02:	2348 0004      	movel %a0,%a1@(4)                           
  the_thread->Wait.queue = the_thread_queue;                          
   47d06:	214a 0044      	movel %a2,%a0@(68)                          
  _ISR_Enable( level );                                               
   47d0a:	46c2           	movew %d2,%sr                               
   47d0c:	60e0           	bras 47cee <_Thread_queue_Enqueue_priority+0x116>
   *  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;                                                   
   47d0e:	206e 0010      	moveal %fp@(16),%a0                         
  return the_thread_queue->sync_state;                                
   47d12:	202a 0030      	movel %a2@(48),%d0                          
   *  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;                                                   
   47d16:	2082           	movel %d2,%a0@                              
  return the_thread_queue->sync_state;                                
}                                                                     
   47d18:	4cd7 1c7c      	moveml %sp@,%d2-%d6/%a2-%a4                 
   47d1c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c8f0 <_Thread_queue_Extract_fifo>: Thread_Control *the_thread ) { ISR_Level level; _ISR_Disable( level );
   4c8f0:	223c 0000 0700 	movel #1792,%d1                             
                                                                      
void _Thread_queue_Extract_fifo(                                      
  Thread_queue_Control *the_thread_queue __attribute__((unused)),     
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
   4c8f6:	4e56 0000      	linkw %fp,#0                                
   4c8fa:	2f0a           	movel %a2,%sp@-                             
   4c8fc:	246e 000c      	moveal %fp@(12),%a2                         
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   4c900:	40c0           	movew %sr,%d0                               
   4c902:	8280           	orl %d0,%d1                                 
   4c904:	46c1           	movew %d1,%sr                               
   4c906:	222a 0010      	movel %a2@(16),%d1                          
   4c90a:	0281 0003 bee0 	andil #245472,%d1                           
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   4c910:	660a           	bnes 4c91c <_Thread_queue_Extract_fifo+0x2c>
    _ISR_Enable( level );                                             
   4c912:	46c0           	movew %d0,%sr                               
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   4c914:	246e fffc      	moveal %fp@(-4),%a2                         
   4c918:	4e5e           	unlk %fp                                    
   4c91a:	4e75           	rts                                         
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   4c91c:	2252           	moveal %a2@,%a1                             
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4c91e:	7202           	moveq #2,%d1                                
  previous       = the_node->previous;                                
   4c920:	206a 0004      	moveal %a2@(4),%a0                          
  next->previous = previous;                                          
   4c924:	2348 0004      	movel %a0,%a1@(4)                           
  previous->next = next;                                              
   4c928:	2089           	movel %a1,%a0@                              
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
   4c92a:	42aa 0044      	clrl %a2@(68)                               
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4c92e:	b2aa 0050      	cmpl %a2@(80),%d1                           
   4c932:	6704           	beqs 4c938 <_Thread_queue_Extract_fifo+0x48>
    _ISR_Enable( level );                                             
   4c934:	46c0           	movew %d0,%sr                               
   4c936:	6014           	bras 4c94c <_Thread_queue_Extract_fifo+0x5c>
   4c938:	7203           	moveq #3,%d1                                
   4c93a:	2541 0050      	movel %d1,%a2@(80)                          
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   4c93e:	46c0           	movew %d0,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   4c940:	486a 0048      	pea %a2@(72)                                
   4c944:	4eb9 0004 8754 	jsr 48754 <_Watchdog_Remove>                
   4c94a:	588f           	addql #4,%sp                                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4c94c:	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                                                                
                                                                      
}                                                                     
   4c950:	246e fffc      	moveal %fp@(-4),%a2                         
   4c954:	203c 1003 fff8 	movel #268697592,%d0                        
   4c95a:	2d40 000c      	movel %d0,%fp@(12)                          
   4c95e:	4e5e           	unlk %fp                                    
   4c960:	4ef9 0004 7314 	jmp 47314 <_Thread_Clear_state>             
	...                                                                  
                                                                      

0004b0b4 <_Thread_queue_Process_timeout>: #include <rtems/score/tqdata.h> void _Thread_queue_Process_timeout( Thread_Control *the_thread ) {
   4b0b4:	4e56 0000      	linkw %fp,#0                                
   4b0b8:	226e 0008      	moveal %fp@(8),%a1                          
  Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;    
   4b0bc:	2069 0044      	moveal %a1@(68),%a0                         
   *  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 &&
   4b0c0:	2028 0030      	movel %a0@(48),%d0                          
   4b0c4:	671c           	beqs 4b0e2 <_Thread_queue_Process_timeout+0x2e>
   4b0c6:	b3f9 0005 dd9c 	cmpal 5dd9c <_Per_CPU_Information+0xc>,%a1  
   4b0cc:	6614           	bnes 4b0e2 <_Thread_queue_Process_timeout+0x2e><== NEVER TAKEN
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
   4b0ce:	7203           	moveq #3,%d1                                
   4b0d0:	b280           	cmpl %d0,%d1                                
   4b0d2:	6720           	beqs 4b0f4 <_Thread_queue_Process_timeout+0x40>
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
   4b0d4:	7002           	moveq #2,%d0                                
   */                                                                 
                                                                      
  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;
   4b0d6:	2368 003c 0034 	movel %a0@(60),%a1@(52)                     
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
   4b0dc:	2140 0030      	movel %d0,%a0@(48)                          
   4b0e0:	6012           	bras 4b0f4 <_Thread_queue_Process_timeout+0x40>
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
   4b0e2:	2368 003c 0034 	movel %a0@(60),%a1@(52)                     
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
   4b0e8:	2f09           	movel %a1,%sp@-                             
   4b0ea:	2f08           	movel %a0,%sp@-                             
   4b0ec:	4eb9 0004 afb4 	jsr 4afb4 <_Thread_queue_Extract>           
   4b0f2:	508f           	addql #8,%sp                                
  }                                                                   
}                                                                     
   4b0f4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047dec <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
   47dec:	4e56 fff0      	linkw %fp,#-16                              
   47df0:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   47df4:	246e 0008      	moveal %fp@(8),%a2                          
   47df8:	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 )                                            
   47dfc:	4a8a           	tstl %a2                                    
   47dfe:	6746           	beqs 47e46 <_Thread_queue_Requeue+0x5a>     <== 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 ) {
   47e00:	7001           	moveq #1,%d0                                
   47e02:	b0aa 0034      	cmpl %a2@(52),%d0                           
   47e06:	663e           	bnes 47e46 <_Thread_queue_Requeue+0x5a>     <== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
   47e08:	303c 0700      	movew #1792,%d0                             
   47e0c:	40c2           	movew %sr,%d2                               
   47e0e:	8082           	orl %d2,%d0                                 
   47e10:	46c0           	movew %d0,%sr                               
   47e12:	202b 0010      	movel %a3@(16),%d0                          
   47e16:	0280 0003 bee0 	andil #245472,%d0                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   47e1c:	6726           	beqs 47e44 <_Thread_queue_Requeue+0x58>     <== NEVER TAKEN
                                                                      
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;
   47e1e:	7001           	moveq #1,%d0                                
   47e20:	2540 0030      	movel %d0,%a2@(48)                          
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
   47e24:	4878 0001      	pea 1 <ADD>                                 
   47e28:	2f0b           	movel %a3,%sp@-                             
   47e2a:	2f0a           	movel %a2,%sp@-                             
   47e2c:	4eb9 0004 afec 	jsr 4afec <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
   47e32:	486e fffc      	pea %fp@(-4)                                
   47e36:	2f0b           	movel %a3,%sp@-                             
   47e38:	2f0a           	movel %a2,%sp@-                             
   47e3a:	4eb9 0004 7bd8 	jsr 47bd8 <_Thread_queue_Enqueue_priority>  
   47e40:	4fef 0018      	lea %sp@(24),%sp                            
    }                                                                 
    _ISR_Enable( level );                                             
   47e44:	46c2           	movew %d2,%sr                               
  }                                                                   
}                                                                     
   47e46:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   47e4c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047e50 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
   47e50:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   47e54:	486e fffc      	pea %fp@(-4)                                
   47e58:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47e5c:	4eb9 0004 76e0 	jsr 476e0 <_Thread_Get>                     
  switch ( location ) {                                               
   47e62:	508f           	addql #8,%sp                                
   47e64:	4aae fffc      	tstl %fp@(-4)                               
   47e68:	6618           	bnes 47e82 <_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 );                    
   47e6a:	2f00           	movel %d0,%sp@-                             
   47e6c:	4eb9 0004 b0b4 	jsr 4b0b4 <_Thread_queue_Process_timeout>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   47e72:	588f           	addql #4,%sp                                
   47e74:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   47e7a:	5380           	subql #1,%d0                                
   47e7c:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level>
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   47e82:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000521ea <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
   521ea:	4e56 ffb4      	linkw %fp,#-76                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   521ee:	200e           	movel %fp,%d0                               
   521f0:	0680 ffff fff4 	addil #-12,%d0                              
   521f6:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   521fa:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   521fe:	41ea 0008      	lea %a2@(8),%a0                             
   52202:	2e0e           	movel %fp,%d7                               
   52204:	260e           	movel %fp,%d3                               
   52206:	280e           	movel %fp,%d4                               
   52208:	5187           	subql #8,%d7                                
   5220a:	0683 ffff ffe8 	addil #-24,%d3                              
   52210:	0684 ffff ffec 	addil #-20,%d4                              
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   52216:	2c0a           	movel %a2,%d6                               
     /*                                                               
      *  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 ); 
   52218:	240a           	movel %a2,%d2                               
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   5221a:	0686 0000 0030 	addil #48,%d6                               
   52220:	49f9 0005 6058 	lea 56058 <_Watchdog_Adjust_to_chain>,%a4   
     /*                                                               
      *  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 ); 
   52226:	0682 0000 0068 	addil #104,%d2                              
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
   5222c:	4bf9 0005 2cdc 	lea 52cdc <_Chain_Get>,%a5                  
)                                                                     
{                                                                     
  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 );     
   52232:	47f9 0005 60e8 	lea 560e8 <_Watchdog_Insert>,%a3            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   52238:	2d48 ffe4      	movel %a0,%fp@(-28)                         
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   5223c:	41ea 0040      	lea %a2@(64),%a0                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   52240:	2d47 fff4      	movel %d7,%fp@(-12)                         
  the_chain->permanent_null = NULL;                                   
   52244:	42ae fff8      	clrl %fp@(-8)                               
{                                                                     
  Timer_server_Control *ts = (Timer_server_Control *) arg;            
  Chain_Control insert_chain;                                         
  Chain_Control fire_chain;                                           
                                                                      
  _Chain_Initialize_empty( &insert_chain );                           
   52248:	2d40 fffc      	movel %d0,%fp@(-4)                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   5224c:	2d44 ffe8      	movel %d4,%fp@(-24)                         
  the_chain->permanent_null = NULL;                                   
   52250:	42ae ffec      	clrl %fp@(-20)                              
  the_chain->last           = _Chain_Head(the_chain);                 
   52254:	2d43 fff0      	movel %d3,%fp@(-16)                         
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   52258:	2d48 ffe0      	movel %a0,%fp@(-32)                         
{                                                                     
  /*                                                                  
   *  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;                                    
   5225c:	41ee fff4      	lea %fp@(-12),%a0                           
   52260:	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;            
   52264:	2039 0007 65fc 	movel 765fc <_Watchdog_Ticks_since_boot>,%d0
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
   5226a:	222a 003c      	movel %a2@(60),%d1                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   5226e:	2540 003c      	movel %d0,%a2@(60)                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   52272:	486e ffe8      	pea %fp@(-24)                               
   52276:	9081           	subl %d1,%d0                                
   52278:	2f00           	movel %d0,%sp@-                             
   5227a:	2f06           	movel %d6,%sp@-                             
   5227c:	4e94           	jsr %a4@                                    
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
   5227e:	2039 0007 655a 	movel 7655a <_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 ) {                                   
   52284:	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;         
   52288:	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 ) {                                   
   5228c:	b280           	cmpl %d0,%d1                                
   5228e:	6414           	bccs 522a4 <_Timer_server_Body+0xba>        
    /*                                                                
     *  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 );
   52290:	486e ffe8      	pea %fp@(-24)                               
   52294:	2a00           	movel %d0,%d5                               
   52296:	9a81           	subl %d1,%d5                                
   52298:	2f05           	movel %d5,%sp@-                             
   5229a:	2d40 ffdc      	movel %d0,%fp@(-36)                         
   5229e:	2f02           	movel %d2,%sp@-                             
   522a0:	4e94           	jsr %a4@                                    
   522a2:	6018           	bras 522bc <_Timer_server_Body+0xd2>        
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
   522a4:	b280           	cmpl %d0,%d1                                
   522a6:	631c           	blss 522c4 <_Timer_server_Body+0xda>        
     /*                                                               
      *  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 ); 
   522a8:	9280           	subl %d0,%d1                                
   522aa:	2f01           	movel %d1,%sp@-                             
   522ac:	4878 0001      	pea 1 <ADD>                                 
   522b0:	2d40 ffdc      	movel %d0,%fp@(-36)                         
   522b4:	2f02           	movel %d2,%sp@-                             
   522b6:	4eb9 0005 5fd8 	jsr 55fd8 <_Watchdog_Adjust>                
   522bc:	202e ffdc      	movel %fp@(-36),%d0                         
   522c0:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   522c4:	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 );
   522c8:	202a 0078      	movel %a2@(120),%d0                         
   522cc:	2f00           	movel %d0,%sp@-                             
   522ce:	4e95           	jsr %a5@                                    
                                                                      
    if ( timer == NULL ) {                                            
   522d0:	588f           	addql #4,%sp                                
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
   522d2:	2040           	moveal %d0,%a0                              
                                                                      
    if ( timer == NULL ) {                                            
   522d4:	4a80           	tstl %d0                                    
   522d6:	6724           	beqs 522fc <_Timer_server_Body+0x112>       
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   522d8:	2028 0038      	movel %a0@(56),%d0                          
   522dc:	7201           	moveq #1,%d1                                
   522de:	b280           	cmpl %d0,%d1                                
   522e0:	6608           	bnes 522ea <_Timer_server_Body+0x100>       
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   522e2:	4868 0010      	pea %a0@(16)                                
   522e6:	2f06           	movel %d6,%sp@-                             
   522e8:	600c           	bras 522f6 <_Timer_server_Body+0x10c>       
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   522ea:	7a03           	moveq #3,%d5                                
   522ec:	ba80           	cmpl %d0,%d5                                
   522ee:	66d8           	bnes 522c8 <_Timer_server_Body+0xde>        <== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   522f0:	4868 0010      	pea %a0@(16)                                
   522f4:	2f02           	movel %d2,%sp@-                             
   522f6:	4e93           	jsr %a3@                                    
   522f8:	508f           	addql #8,%sp                                
   522fa:	60cc           	bras 522c8 <_Timer_server_Body+0xde>        
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
   522fc:	203c 0000 0700 	movel #1792,%d0                             
   52302:	40c1           	movew %sr,%d1                               
   52304:	8081           	orl %d1,%d0                                 
   52306:	46c0           	movew %d0,%sr                               
    if ( _Chain_Is_empty( insert_chain ) ) {                          
   52308:	beae fff4      	cmpl %fp@(-12),%d7                          
   5230c:	6614           	bnes 52322 <_Timer_server_Body+0x138>       <== NEVER TAKEN
      ts->insert_chain = NULL;                                        
   5230e:	42aa 0078      	clrl %a2@(120)                              
      _ISR_Enable( level );                                           
   52312:	46c1           	movew %d1,%sr                               
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
   52314:	2a3c 0000 0700 	movel #1792,%d5                             
  _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 ) ) {                          
   5231a:	b8ae ffe8      	cmpl %fp@(-24),%d4                          
   5231e:	6608           	bnes 52328 <_Timer_server_Body+0x13e>       
   52320:	6042           	bras 52364 <_Timer_server_Body+0x17a>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
   52322:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   52324:	6000 ff3e      	braw 52264 <_Timer_server_Body+0x7a>        <== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
   52328:	2205           	movel %d5,%d1                               
   5232a:	40c0           	movew %sr,%d0                               
   5232c:	8280           	orl %d0,%d1                                 
   5232e:	46c1           	movew %d1,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   52330:	206e ffe8      	moveal %fp@(-24),%a0                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
   52334:	b888           	cmpl %a0,%d4                                
   52336:	6726           	beqs 5235e <_Timer_server_Body+0x174>       
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
   52338:	2250           	moveal %a0@,%a1                             
  the_chain->first    = new_first;                                    
   5233a:	2d49 ffe8      	movel %a1,%fp@(-24)                         
  new_first->previous = _Chain_Head(the_chain);                       
   5233e:	2343 0004      	movel %d3,%a1@(4)                           
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
   52342:	4a88           	tstl %a0                                    
   52344:	6718           	beqs 5235e <_Timer_server_Body+0x174>       <== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
   52346:	42a8 0008      	clrl %a0@(8)                                
          _ISR_Enable( level );                                       
   5234a:	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 );    
   5234c:	2f28 0024      	movel %a0@(36),%sp@-                        
   52350:	2f28 0020      	movel %a0@(32),%sp@-                        
   52354:	2068 001c      	moveal %a0@(28),%a0                         
   52358:	4e90           	jsr %a0@                                    
      }                                                               
   5235a:	508f           	addql #8,%sp                                
   5235c:	60ca           	bras 52328 <_Timer_server_Body+0x13e>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
   5235e:	46c0           	movew %d0,%sr                               
   52360:	6000 fefa      	braw 5225c <_Timer_server_Body+0x72>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
   52364:	4200           	clrb %d0                                    
   52366:	1540 007c      	moveb %d0,%a2@(124)                         
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
   5236a:	4eba fda4      	jsr %pc@(52110 <_Thread_Disable_dispatch>)  
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
   5236e:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
   52372:	2f12           	movel %a2@,%sp@-                            
   52374:	4eb9 0005 57f8 	jsr 557f8 <_Thread_Set_state>               
        _Timer_server_Reset_interval_system_watchdog( ts );           
   5237a:	2f0a           	movel %a2,%sp@-                             
   5237c:	4eba fda8      	jsr %pc@(52126 <_Timer_server_Reset_interval_system_watchdog>)
        _Timer_server_Reset_tod_system_watchdog( ts );                
   52380:	2f0a           	movel %a2,%sp@-                             
   52382:	4eba fe02      	jsr %pc@(52186 <_Timer_server_Reset_tod_system_watchdog>)
      _Thread_Enable_dispatch();                                      
   52386:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
                                                                      
      ts->active = true;                                              
   5238c:	7201           	moveq #1,%d1                                
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   5238e:	41f9 0005 6204 	lea 56204 <_Watchdog_Remove>,%a0            
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
   52394:	1541 007c      	moveb %d1,%a2@(124)                         
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   52398:	2f2e ffe4      	movel %fp@(-28),%sp@-                       
   5239c:	2d48 ffdc      	movel %a0,%fp@(-36)                         
   523a0:	4e90           	jsr %a0@                                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   523a2:	2f2e ffe0      	movel %fp@(-32),%sp@-                       
   523a6:	206e ffdc      	moveal %fp@(-36),%a0                        
   523aa:	4e90           	jsr %a0@                                    
   523ac:	4fef 0018      	lea %sp@(24),%sp                            
   523b0:	6000 feaa      	braw 5225c <_Timer_server_Body+0x72>        
                                                                      

000523b4 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
   523b4:	4e56 fff0      	linkw %fp,#-16                              
   523b8:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   523bc:	246e 0008      	moveal %fp@(8),%a2                          
   523c0:	266e 000c      	moveal %fp@(12),%a3                         
  if ( ts->insert_chain == NULL ) {                                   
   523c4:	202a 0078      	movel %a2@(120),%d0                         
   523c8:	6600 00ea      	bnew 524b4 <_Timer_server_Schedule_operation_method+0x100>
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
   523cc:	4eba fd42      	jsr %pc@(52110 <_Thread_Disable_dispatch>)  
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   523d0:	202b 0038      	movel %a3@(56),%d0                          
   523d4:	7201           	moveq #1,%d1                                
   523d6:	b280           	cmpl %d0,%d1                                
   523d8:	665c           	bnes 52436 <_Timer_server_Schedule_operation_method+0x82>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
   523da:	203c 0000 0700 	movel #1792,%d0                             
   523e0:	40c2           	movew %sr,%d2                               
   523e2:	8082           	orl %d2,%d0                                 
   523e4:	46c0           	movew %d0,%sr                               
    snapshot = _Watchdog_Ticks_since_boot;                            
   523e6:	2039 0007 65fc 	movel 765fc <_Watchdog_Ticks_since_boot>,%d0
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   523ec:	43ea 0034      	lea %a2@(52),%a1                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
   523f0:	222a 003c      	movel %a2@(60),%d1                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   523f4:	206a 0030      	moveal %a2@(48),%a0                         
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
   523f8:	b3c8           	cmpal %a0,%a1                               
   523fa:	6716           	beqs 52412 <_Timer_server_Schedule_operation_method+0x5e>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
   523fc:	2240           	moveal %d0,%a1                              
   523fe:	93c1           	subal %d1,%a1                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
   52400:	2228 0010      	movel %a0@(16),%d1                          
      if (delta_interval > delta) {                                   
   52404:	b3c1           	cmpal %d1,%a1                               
   52406:	6404           	bccs 5240c <_Timer_server_Schedule_operation_method+0x58>
        delta_interval -= delta;                                      
   52408:	9289           	subl %a1,%d1                                
   5240a:	6002           	bras 5240e <_Timer_server_Schedule_operation_method+0x5a>
      } else {                                                        
        delta_interval = 0;                                           
   5240c:	4281           	clrl %d1                                    
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   5240e:	2141 0010      	movel %d1,%a0@(16)                          
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
   52412:	2540 003c      	movel %d0,%a2@(60)                          
    _ISR_Enable( level );                                             
   52416:	46c2           	movew %d2,%sr                               
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   52418:	486b 0010      	pea %a3@(16)                                
   5241c:	486a 0030      	pea %a2@(48)                                
   52420:	4eb9 0005 60e8 	jsr 560e8 <_Watchdog_Insert>                
                                                                      
    if ( !ts->active ) {                                              
   52426:	508f           	addql #8,%sp                                
   52428:	102a 007c      	moveb %a2@(124),%d0                         
   5242c:	6678           	bnes 524a6 <_Timer_server_Schedule_operation_method+0xf2>
      _Timer_server_Reset_interval_system_watchdog( ts );             
   5242e:	2f0a           	movel %a2,%sp@-                             
   52430:	4eba fcf4      	jsr %pc@(52126 <_Timer_server_Reset_interval_system_watchdog>)
   52434:	606e           	bras 524a4 <_Timer_server_Schedule_operation_method+0xf0>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   52436:	7203           	moveq #3,%d1                                
   52438:	b280           	cmpl %d0,%d1                                
   5243a:	666a           	bnes 524a6 <_Timer_server_Schedule_operation_method+0xf2>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
   5243c:	203c 0000 0700 	movel #1792,%d0                             
   52442:	40c2           	movew %sr,%d2                               
   52444:	8082           	orl %d2,%d0                                 
   52446:	46c0           	movew %d0,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   52448:	200a           	movel %a2,%d0                               
   5244a:	0680 0000 006c 	addil #108,%d0                              
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
   52450:	2239 0007 655a 	movel 7655a <_TOD_Now>,%d1                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
   52456:	226a 0074      	moveal %a2@(116),%a1                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   5245a:	206a 0068      	moveal %a2@(104),%a0                        
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
   5245e:	b088           	cmpl %a0,%d0                                
   52460:	6720           	beqs 52482 <_Timer_server_Schedule_operation_method+0xce>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
   52462:	2028 0010      	movel %a0@(16),%d0                          
      if ( snapshot > last_snapshot ) {                               
   52466:	b3c1           	cmpal %d1,%a1                               
   52468:	640c           	bccs 52476 <_Timer_server_Schedule_operation_method+0xc2>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
   5246a:	2841           	moveal %d1,%a4                              
   5246c:	99c9           	subal %a1,%a4                               
        if (delta_interval > delta) {                                 
   5246e:	b9c0           	cmpal %d0,%a4                               
   52470:	640a           	bccs 5247c <_Timer_server_Schedule_operation_method+0xc8><== NEVER TAKEN
          delta_interval -= delta;                                    
   52472:	908c           	subl %a4,%d0                                
   52474:	6008           	bras 5247e <_Timer_server_Schedule_operation_method+0xca>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
   52476:	d089           	addl %a1,%d0                                
        delta_interval += delta;                                      
   52478:	9081           	subl %d1,%d0                                
   5247a:	6002           	bras 5247e <_Timer_server_Schedule_operation_method+0xca>
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
   5247c:	4280           	clrl %d0                                    <== NOT EXECUTED
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   5247e:	2140 0010      	movel %d0,%a0@(16)                          
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
   52482:	2541 0074      	movel %d1,%a2@(116)                         
    _ISR_Enable( level );                                             
   52486:	46c2           	movew %d2,%sr                               
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   52488:	486b 0010      	pea %a3@(16)                                
   5248c:	486a 0068      	pea %a2@(104)                               
   52490:	4eb9 0005 60e8 	jsr 560e8 <_Watchdog_Insert>                
                                                                      
    if ( !ts->active ) {                                              
   52496:	508f           	addql #8,%sp                                
   52498:	102a 007c      	moveb %a2@(124),%d0                         
   5249c:	6608           	bnes 524a6 <_Timer_server_Schedule_operation_method+0xf2><== NEVER TAKEN
      _Timer_server_Reset_tod_system_watchdog( ts );                  
   5249e:	2f0a           	movel %a2,%sp@-                             
   524a0:	4eba fce4      	jsr %pc@(52186 <_Timer_server_Reset_tod_system_watchdog>)
   524a4:	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 );           
  }                                                                   
}                                                                     
   524a6:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   524ac:	4e5e           	unlk %fp                                    
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
   524ae:	4ef9 0005 4e8e 	jmp 54e8e <_Thread_Enable_dispatch>         
     *  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 );           
   524b4:	202a 0078      	movel %a2@(120),%d0                         
   524b8:	2d4b 000c      	movel %a3,%fp@(12)                          
  }                                                                   
}                                                                     
   524bc:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
     *  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 );           
   524c2:	2d40 0008      	movel %d0,%fp@(8)                           
  }                                                                   
}                                                                     
   524c6:	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 );           
   524c8:	4ef9 0005 2c7c 	jmp 52c7c <_Chain_Append>                   
                                                                      

00049bb4 <_Watchdog_Adjust>: Watchdog_Interval units ) { ISR_Level level; _ISR_Disable( level );
   49bb4:	327c 0700      	moveaw #1792,%a1                            
   49bb8:	2209           	movel %a1,%d1                               
void _Watchdog_Adjust(                                                
  Chain_Control               *header,                                
  Watchdog_Adjust_directions   direction,                             
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
   49bba:	4e56 ffe8      	linkw %fp,#-24                              
   49bbe:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   49bc2:	266e 0008      	moveal %fp@(8),%a3                          
   49bc6:	262e 000c      	movel %fp@(12),%d3                          
   49bca:	242e 0010      	movel %fp@(16),%d2                          
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   49bce:	40c0           	movew %sr,%d0                               
   49bd0:	8280           	orl %d0,%d1                                 
   49bd2:	46c1           	movew %d1,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   49bd4:	244b           	moveal %a3,%a2                              
   49bd6:	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 ) ) {                                 
   49bd8:	b5c8           	cmpal %a0,%a2                               
   49bda:	674c           	beqs 49c28 <_Watchdog_Adjust+0x74>          
    switch ( direction ) {                                            
   49bdc:	4a83           	tstl %d3                                    
   49bde:	673c           	beqs 49c1c <_Watchdog_Adjust+0x68>          
   49be0:	7201           	moveq #1,%d1                                
   49be2:	b283           	cmpl %d3,%d1                                
   49be4:	6642           	bnes 49c28 <_Watchdog_Adjust+0x74>          <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
   49be6:	d5a8 0010      	addl %d2,%a0@(16)                           
        break;                                                        
   49bea:	603c           	bras 49c28 <_Watchdog_Adjust+0x74>          
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
   49bec:	2053           	moveal %a3@,%a0                             
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
   49bee:	2628 0010      	movel %a0@(16),%d3                          
   49bf2:	b682           	cmpl %d2,%d3                                
   49bf4:	6308           	blss 49bfe <_Watchdog_Adjust+0x4a>          
            _Watchdog_First( header )->delta_interval -= units;       
   49bf6:	9682           	subl %d2,%d3                                
   49bf8:	2143 0010      	movel %d3,%a0@(16)                          
            break;                                                    
   49bfc:	602a           	bras 49c28 <_Watchdog_Adjust+0x74>          
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
   49bfe:	7201           	moveq #1,%d1                                
   49c00:	2141 0010      	movel %d1,%a0@(16)                          
                                                                      
            _ISR_Enable( level );                                     
   49c04:	46c0           	movew %d0,%sr                               
                                                                      
            _Watchdog_Tickle( header );                               
   49c06:	2f0b           	movel %a3,%sp@-                             
   49c08:	4e94           	jsr %a4@                                    
                                                                      
            _ISR_Disable( level );                                    
   49c0a:	2204           	movel %d4,%d1                               
   49c0c:	40c0           	movew %sr,%d0                               
   49c0e:	8280           	orl %d0,%d1                                 
   49c10:	46c1           	movew %d1,%sr                               
                                                                      
            if ( _Chain_Is_empty( header ) )                          
   49c12:	588f           	addql #4,%sp                                
   49c14:	b5d3           	cmpal %a3@,%a2                              
   49c16:	6710           	beqs 49c28 <_Watchdog_Adjust+0x74>          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
   49c18:	9483           	subl %d3,%d2                                
   49c1a:	6008           	bras 49c24 <_Watchdog_Adjust+0x70>          
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
   49c1c:	49f9 0004 9dcc 	lea 49dcc <_Watchdog_Tickle>,%a4            
                                                                      
            _ISR_Disable( level );                                    
   49c22:	2809           	movel %a1,%d4                               
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
   49c24:	4a82           	tstl %d2                                    
   49c26:	66c4           	bnes 49bec <_Watchdog_Adjust+0x38>          <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
   49c28:	46c0           	movew %d0,%sr                               
                                                                      
}                                                                     
   49c2a:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   49c30:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048754 <_Watchdog_Remove>: { ISR_Level level; Watchdog_States previous_state; Watchdog_Control *next_watchdog; _ISR_Disable( level );
   48754:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
Watchdog_States _Watchdog_Remove(                                     
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
   4875a:	4e56 0000      	linkw %fp,#0                                
   4875e:	206e 0008      	moveal %fp@(8),%a0                          
   48762:	2f0a           	movel %a2,%sp@-                             
   48764:	2f02           	movel %d2,%sp@-                             
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
   48766:	40c1           	movew %sr,%d1                               
   48768:	8081           	orl %d1,%d0                                 
   4876a:	46c0           	movew %d0,%sr                               
  previous_state = the_watchdog->state;                               
   4876c:	2028 0008      	movel %a0@(8),%d0                           
  switch ( previous_state ) {                                         
   48770:	7401           	moveq #1,%d2                                
   48772:	b480           	cmpl %d0,%d2                                
   48774:	670c           	beqs 48782 <_Watchdog_Remove+0x2e>          
   48776:	6242           	bhis 487ba <_Watchdog_Remove+0x66>          
   48778:	143c 0003      	moveb #3,%d2                                
   4877c:	b480           	cmpl %d0,%d2                                
   4877e:	653a           	bcss 487ba <_Watchdog_Remove+0x66>          <== NEVER TAKEN
   48780:	6006           	bras 48788 <_Watchdog_Remove+0x34>          
                                                                      
      /*                                                              
       *  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;                        
   48782:	42a8 0008      	clrl %a0@(8)                                
      break;                                                          
   48786:	6032           	bras 487ba <_Watchdog_Remove+0x66>          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
   48788:	2250           	moveal %a0@,%a1                             
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
   4878a:	42a8 0008      	clrl %a0@(8)                                
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
   4878e:	4a91           	tstl %a1@                                   
   48790:	6708           	beqs 4879a <_Watchdog_Remove+0x46>          
        next_watchdog->delta_interval += the_watchdog->delta_interval;
   48792:	2428 0010      	movel %a0@(16),%d2                          
   48796:	d5a9 0010      	addl %d2,%a1@(16)                           
                                                                      
      if ( _Watchdog_Sync_count )                                     
   4879a:	2479 0005 da34 	moveal 5da34 <_Watchdog_Sync_count>,%a2     
   487a0:	4a8a           	tstl %a2                                    
   487a2:	670c           	beqs 487b0 <_Watchdog_Remove+0x5c>          
        _Watchdog_Sync_level = _ISR_Nest_level;                       
   487a4:	45f9 0005 dd98 	lea 5dd98 <_Per_CPU_Information+0x8>,%a2    
   487aa:	23d2 0005 d9b2 	movel %a2@,5d9b2 <_Watchdog_Sync_level>     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
   487b0:	2468 0004      	moveal %a0@(4),%a2                          
  next->previous = previous;                                          
   487b4:	234a 0004      	movel %a2,%a1@(4)                           
  previous->next = next;                                              
   487b8:	2489           	movel %a1,%a2@                              
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
   487ba:	2279 0005 da38 	moveal 5da38 <_Watchdog_Ticks_since_boot>,%a1
   487c0:	2149 0018      	movel %a1,%a0@(24)                          
                                                                      
  _ISR_Enable( level );                                               
   487c4:	46c1           	movew %d1,%sr                               
  return( previous_state );                                           
}                                                                     
   487c6:	241f           	movel %sp@+,%d2                             
   487c8:	245f           	moveal %sp@+,%a2                            
   487ca:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000497ac <_Watchdog_Report_chain>: ) { ISR_Level level; Chain_Node *node; _ISR_Disable( level );
   497ac:	203c 0000 0700 	movel #1792,%d0                             
                                                                      
void _Watchdog_Report_chain(                                          
  const char        *name,                                            
  Chain_Control     *header                                           
)                                                                     
{                                                                     
   497b2:	4e56 ffec      	linkw %fp,#-20                              
   497b6:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   497ba:	242e 0008      	movel %fp@(8),%d2                           
   497be:	266e 000c      	moveal %fp@(12),%a3                         
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
   497c2:	40c3           	movew %sr,%d3                               
   497c4:	8083           	orl %d3,%d0                                 
   497c6:	46c0           	movew %d0,%sr                               
    printk( "Watchdog Chain: %s %p\n", name, header );                
   497c8:	2f0b           	movel %a3,%sp@-                             
   497ca:	49f9 0004 3e90 	lea 43e90 <printk>,%a4                      
   497d0:	2f02           	movel %d2,%sp@-                             
   497d2:	4879 0005 ce92 	pea 5ce92 <C.0.4008+0xe>                    
   497d8:	4e94           	jsr %a4@                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   497da:	245b           	moveal %a3@+,%a2                            
    if ( !_Chain_Is_empty( header ) ) {                               
   497dc:	4fef 000c      	lea %sp@(12),%sp                            
   497e0:	b7ca           	cmpal %a2,%a3                               
   497e2:	6726           	beqs 4980a <_Watchdog_Report_chain+0x5e>    <== NEVER TAKEN
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
   497e4:	49f9 0004 9820 	lea 49820 <_Watchdog_Report>,%a4            
   497ea:	2f0a           	movel %a2,%sp@-                             
   497ec:	42a7           	clrl %sp@-                                  
   497ee:	4e94           	jsr %a4@                                    
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
   497f0:	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 = header->first ;                                    
   497f2:	508f           	addql #8,%sp                                
   497f4:	b7ca           	cmpal %a2,%a3                               
   497f6:	66f2           	bnes 497ea <_Watchdog_Report_chain+0x3e>    <== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
   497f8:	2f02           	movel %d2,%sp@-                             
   497fa:	4879 0005 cea9 	pea 5cea9 <C.0.4008+0x25>                   
   49800:	4eb9 0004 3e90 	jsr 43e90 <printk>                          
   49806:	508f           	addql #8,%sp                                
   49808:	600a           	bras 49814 <_Watchdog_Report_chain+0x68>    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
   4980a:	4879 0005 ceb8 	pea 5ceb8 <C.0.4008+0x34>                   
   49810:	4e94           	jsr %a4@                                    
   49812:	588f           	addql #4,%sp                                
    }                                                                 
  _ISR_Enable( level );                                               
   49814:	46c3           	movew %d3,%sr                               
}                                                                     
   49816:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4981c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000487d0 <_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 );
   487d0:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _Watchdog_Tickle(                                                
  Chain_Control *header                                               
)                                                                     
{                                                                     
   487d6:	4e56 ffe8      	linkw %fp,#-24                              
   487da:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   487de:	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 );                                              
   487e2:	40c2           	movew %sr,%d2                               
   487e4:	8082           	orl %d2,%d0                                 
   487e6:	46c0           	movew %d0,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   487e8:	264c           	moveal %a4,%a3                              
   487ea:	245b           	moveal %a3@+,%a2                            
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
   487ec:	b7ca           	cmpal %a2,%a3                               
   487ee:	674c           	beqs 4883c <_Watchdog_Tickle+0x6c>          
   * 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) {                            
   487f0:	202a 0010      	movel %a2@(16),%d0                          
   487f4:	6708           	beqs 487fe <_Watchdog_Tickle+0x2e>          
    the_watchdog->delta_interval--;                                   
   487f6:	5380           	subql #1,%d0                                
   487f8:	2540 0010      	movel %d0,%a2@(16)                          
    if ( the_watchdog->delta_interval != 0 )                          
   487fc:	663e           	bnes 4883c <_Watchdog_Tickle+0x6c>          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
   487fe:	4bf9 0004 8754 	lea 48754 <_Watchdog_Remove>,%a5            
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
   48804:	263c 0000 0700 	movel #1792,%d3                             
    if ( the_watchdog->delta_interval != 0 )                          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
   4880a:	2f0a           	movel %a2,%sp@-                             
   4880c:	4e95           	jsr %a5@                                    
                                                                      
     _ISR_Enable( level );                                            
   4880e:	46c2           	movew %d2,%sr                               
                                                                      
     switch( watchdog_state ) {                                       
   48810:	7202           	moveq #2,%d1                                
   48812:	588f           	addql #4,%sp                                
   48814:	b280           	cmpl %d0,%d1                                
   48816:	6610           	bnes 48828 <_Watchdog_Tickle+0x58>          <== NEVER TAKEN
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
   48818:	2f2a 0024      	movel %a2@(36),%sp@-                        
   4881c:	2f2a 0020      	movel %a2@(32),%sp@-                        
   48820:	206a 001c      	moveal %a2@(28),%a0                         
   48824:	4e90           	jsr %a0@                                    
           the_watchdog->id,                                          
           the_watchdog->user_data                                    
         );                                                           
         break;                                                       
   48826:	508f           	addql #8,%sp                                
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
   48828:	2003           	movel %d3,%d0                               
   4882a:	40c2           	movew %sr,%d2                               
   4882c:	8082           	orl %d2,%d0                                 
   4882e:	46c0           	movew %d0,%sr                               
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
   48830:	2454           	moveal %a4@,%a2                             
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
   48832:	b7ca           	cmpal %a2,%a3                               
   48834:	6706           	beqs 4883c <_Watchdog_Tickle+0x6c>          
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
   48836:	4aaa 0010      	tstl %a2@(16)                               
   4883a:	67ce           	beqs 4880a <_Watchdog_Tickle+0x3a>          
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
   4883c:	46c2           	movew %d2,%sr                               
}                                                                     
   4883e:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   48844:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00059b7c <_calloc_r>: void *_calloc_r( struct _reent *ignored __attribute__((unused)), size_t elements, size_t size ) {
   59b7c:	4e56 0000      	linkw %fp,#0                                
   59b80:	202e 000c      	movel %fp@(12),%d0                          
  return calloc( elements, size );                                    
   59b84:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   59b8a:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   59b8e:	4e5e           	unlk %fp                                    
  struct _reent *ignored __attribute__((unused)),                     
  size_t         elements,                                            
  size_t         size                                                 
)                                                                     
{                                                                     
  return calloc( elements, size );                                    
   59b90:	4ef9 0004 2468 	jmp 42468 <calloc>                          
	...                                                                  
                                                                      

00043008 <_exit>: extern void FINI_SYMBOL( void ); #endif void EXIT_SYMBOL(int status) {
   43008:	4e56 0000      	linkw %fp,#0                                
  /*                                                                  
   *  If the toolset uses init/fini sections, then we need to         
   *  run the global destructors now.                                 
   */                                                                 
  #if defined(__USE_INIT_FINI__)                                      
    FINI_SYMBOL();                                                    
   4300c:	4eb9 0005 a684 	jsr 5a684 <_fini>                           
   *  We need to do the exit processing on the global reentrancy structure.
   *  This has already been done on the per task reentrancy structure 
   *  associated with this task.                                      
   */                                                                 
                                                                      
  libc_wrapup();                                                      
   43012:	4eb9 0004 2fa4 	jsr 42fa4 <libc_wrapup>                     
  rtems_shutdown_executive(status);                                   
   43018:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4301c:	4eb9 0004 5dbc 	jsr 45dbc <rtems_shutdown_executive>        
   43022:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43024:	60fe           	bras 43024 <_exit+0x1c>                     <== NOT EXECUTED
	...                                                                  
                                                                      

00043344 <_fcntl_r>: struct _reent *ptr __attribute__((unused)), int fd, int cmd, int arg ) {
   43344:	4e56 0000      	linkw %fp,#0                                
   43348:	222e 0010      	movel %fp@(16),%d1                          
   4334c:	202e 000c      	movel %fp@(12),%d0                          
  return fcntl( fd, cmd, arg );                                       
   43350:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   43356:	2d41 000c      	movel %d1,%fp@(12)                          
   4335a:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   4335e:	4e5e           	unlk %fp                                    
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
   43360:	4ef9 0004 31e4 	jmp 431e4 <fcntl>                           
	...                                                                  
                                                                      

00059b98 <_free_r>: void _free_r( struct _reent *ignored __attribute__((unused)), void *ptr ) {
   59b98:	4e56 0000      	linkw %fp,#0                                
  free( ptr );                                                        
   59b9c:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   59ba2:	4e5e           	unlk %fp                                    
void _free_r(                                                         
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr                                                  
)                                                                     
{                                                                     
  free( ptr );                                                        
   59ba4:	4ef9 0004 2854 	jmp 42854 <free>                            
	...                                                                  
                                                                      

00059c38 <_fstat_r>: int _fstat_r( struct _reent *ptr __attribute__((unused)), int fd, struct stat *buf ) {
   59c38:	4e56 0000      	linkw %fp,#0                                
   59c3c:	202e 000c      	movel %fp@(12),%d0                          
  return fstat( fd, buf );                                            
   59c40:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   59c46:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   59c4a:	4e5e           	unlk %fp                                    
  struct _reent *ptr __attribute__((unused)),                         
  int            fd,                                                  
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return fstat( fd, buf );                                            
   59c4c:	4ef9 0005 9bac 	jmp 59bac <fstat>                           
	...                                                                  
                                                                      

00042954 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) {
   42954:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return gettimeofday( tp, tzp );                                     
}                                                                     
   42958:	4e5e           	unlk %fp                                    <== NOT EXECUTED
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
   4295a:	4ef9 0004 28dc 	jmp 428dc <gettimeofday>                    <== NOT EXECUTED
                                                                      

00059c68 <_isatty_r>: int _isatty_r( struct _reent *ptr __attribute__((unused)), int fd ) {
   59c68:	4e56 0000      	linkw %fp,#0                                
  return isatty( fd );                                                
   59c6c:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   59c72:	4e5e           	unlk %fp                                    
int _isatty_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  int            fd                                                   
)                                                                     
{                                                                     
  return isatty( fd );                                                
   59c74:	4ef9 0005 a5dc 	jmp 5a5dc <isatty>                          
	...                                                                  
                                                                      

000439a4 <_link_r>: int _link_r( struct _reent *ptr __attribute__((unused)), const char *existing, const char *new ) {
   439a4:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   439a8:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return link( existing, new );                                       
   439ac:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   439b2:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   439b6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
   439b8:	4ef9 0004 38c0 	jmp 438c0 <link>                            <== NOT EXECUTED
	...                                                                  
                                                                      

000447be <_lstat_r>: int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) {
   447be:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   447c2:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
   447c6:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   447cc:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   447d0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
   447d2:	4ef9 0004 4738 	jmp 44738 <lstat>                           <== NOT EXECUTED
                                                                      

00059d78 <_malloc_r>: void *_malloc_r( struct _reent *ignored __attribute__((unused)), size_t size ) {
   59d78:	4e56 0000      	linkw %fp,#0                                
  return malloc( size );                                              
   59d7c:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   59d82:	4e5e           	unlk %fp                                    
void *_malloc_r(                                                      
  struct _reent *ignored __attribute__((unused)),                     
  size_t         size                                                 
)                                                                     
{                                                                     
  return malloc( size );                                              
   59d84:	4ef9 0004 2b3c 	jmp 42b3c <malloc>                          
	...                                                                  
                                                                      

000434cc <_open_r>: struct _reent *ptr __attribute__((unused)), const char *buf, int flags, int mode ) {
   434cc:	4e56 0000      	linkw %fp,#0                                
   434d0:	222e 0010      	movel %fp@(16),%d1                          
   434d4:	202e 000c      	movel %fp@(12),%d0                          
  return open( buf, flags, mode );                                    
   434d8:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   434de:	2d41 000c      	movel %d1,%fp@(12)                          
   434e2:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   434e6:	4e5e           	unlk %fp                                    
  const char    *buf,                                                 
  int            flags,                                               
  int            mode                                                 
)                                                                     
{                                                                     
  return open( buf, flags, mode );                                    
   434e8:	4ef9 0004 32ec 	jmp 432ec <open>                            
	...                                                                  
                                                                      

00059e44 <_realloc_r>: void *_realloc_r( struct _reent *ignored __attribute__((unused)), void *ptr, size_t size ) {
   59e44:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   59e48:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return realloc( ptr, size );                                        
   59e4c:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   59e52:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   59e56:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
   59e58:	4ef9 0005 9ea4 	jmp 59ea4 <realloc>                         <== NOT EXECUTED
	...                                                                  
                                                                      

00045744 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
   45744:	4e56 ffa4      	linkw %fp,#-92                              
   45748:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   4574c:	262e 000c      	movel %fp@(12),%d3                          
   45750:	2c2e 0010      	movel %fp@(16),%d6                          
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
   45754:	2f03           	movel %d3,%sp@-                             
   45756:	4eb9 0004 45f2 	jsr 445f2 <rtems_filesystem_dirname>        
                                                                      
  if ( old_parent_pathlen == 0 )                                      
   4575c:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
   4575e:	2440           	moveal %d0,%a2                              
   45760:	200e           	movel %fp,%d0                               
   45762:	0680 ffff ffd0 	addil #-48,%d0                              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
   45768:	4a8a           	tstl %a2                                    
   4576a:	6616           	bnes 45782 <_rename_r+0x3e>                 
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
   4576c:	2f00           	movel %d0,%sp@-                             
   4576e:	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;     
   45772:	4204           	clrb %d4                                    
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
   45774:	2f03           	movel %d3,%sp@-                             
   45776:	4eb9 0004 5aa0 	jsr 45aa0 <rtems_filesystem_get_start_loc>  
   4577c:	4fef 000c      	lea %sp@(12),%sp                            
   45780:	601e           	bras 457a0 <_rename_r+0x5c>                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
   45782:	42a7           	clrl %sp@-                                  
   45784:	2f00           	movel %d0,%sp@-                             
   45786:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4578a:	2f0a           	movel %a2,%sp@-                             
   4578c:	2f03           	movel %d3,%sp@-                             
   4578e:	4eb9 0004 457a 	jsr 4457a <rtems_filesystem_evaluate_path>  
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
   45794:	4fef 0014      	lea %sp@(20),%sp                            
   45798:	4a80           	tstl %d0                                    
   4579a:	6600 012e      	bnew 458ca <_rename_r+0x186>                
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
   4579e:	7801           	moveq #1,%d4                                
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   457a0:	4878 0014      	pea 14 <OPER2>                              
   457a4:	240e           	movel %fp,%d2                               
   457a6:	0682 ffff ffd0 	addil #-48,%d2                              
   457ac:	2a0e           	movel %fp,%d5                               
   457ae:	0685 ffff ffe4 	addil #-28,%d5                              
  name = old + old_parent_pathlen;                                    
   457b4:	d68a           	addl %a2,%d3                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   457b6:	45f9 0005 2130 	lea 52130 <strlen>,%a2                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   457bc:	2f02           	movel %d2,%sp@-                             
   457be:	2f05           	movel %d5,%sp@-                             
   457c0:	4eb9 0005 0a0c 	jsr 50a0c <memcpy>                          
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   457c6:	2f03           	movel %d3,%sp@-                             
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
   457c8:	2d43 fff8      	movel %d3,%fp@(-8)                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   457cc:	4e92           	jsr %a2@                                    
   457ce:	2e80           	movel %d0,%sp@                              
   457d0:	2f03           	movel %d3,%sp@-                             
   457d2:	4eb9 0004 4634 	jsr 44634 <rtems_filesystem_prefix_separators>
   457d8:	d680           	addl %d0,%d3                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   457da:	2f03           	movel %d3,%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 ) ); 
   457dc:	2d43 fff8      	movel %d3,%fp@(-8)                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   457e0:	4e92           	jsr %a2@                                    
   457e2:	4297           	clrl %sp@                                   
   457e4:	2f05           	movel %d5,%sp@-                             
   457e6:	42a7           	clrl %sp@-                                  
   457e8:	2f00           	movel %d0,%sp@-                             
   457ea:	2f03           	movel %d3,%sp@-                             
   457ec:	4eb9 0004 44e0 	jsr 444e0 <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
   457f2:	4fef 0028      	lea %sp@(40),%sp                            
   457f6:	4a80           	tstl %d0                                    
   457f8:	670a           	beqs 45804 <_rename_r+0xc0>                 <== NEVER TAKEN
    if ( free_old_parentloc )                                         
   457fa:	4a04           	tstb %d4                                    
   457fc:	6700 00cc      	beqw 458ca <_rename_r+0x186>                
      rtems_filesystem_freenode( &old_parent_loc );                   
   45800:	2f02           	movel %d2,%sp@-                             
   45802:	604e           	bras 45852 <_rename_r+0x10e>                
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
   45804:	260e           	movel %fp,%d3                               
   45806:	0683 ffff ffbc 	addil #-68,%d3                              
   4580c:	2f03           	movel %d3,%sp@-                             
   4580e:	486e fffc      	pea %fp@(-4)                                
   45812:	2f06           	movel %d6,%sp@-                             
   45814:	4eb9 0004 5aa0 	jsr 45aa0 <rtems_filesystem_get_start_loc>  
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
   4581a:	486e fff8      	pea %fp@(-8)                                
   4581e:	dcae fffc      	addl %fp@(-4),%d6                           
   45822:	2f03           	movel %d3,%sp@-                             
   45824:	206e ffc8      	moveal %fp@(-56),%a0                        
   45828:	2f06           	movel %d6,%sp@-                             
   4582a:	2068 0004      	moveal %a0@(4),%a0                          
   4582e:	4e90           	jsr %a0@                                    
  if ( result != 0 ) {                                                
   45830:	4fef 0018      	lea %sp@(24),%sp                            
   45834:	4a80           	tstl %d0                                    
   45836:	6722           	beqs 4585a <_rename_r+0x116>                
    rtems_filesystem_freenode( &new_parent_loc );                     
   45838:	2f03           	movel %d3,%sp@-                             
   4583a:	45f9 0004 4670 	lea 44670 <rtems_filesystem_freenode>,%a2   
   45840:	4e92           	jsr %a2@                                    
    if ( free_old_parentloc )                                         
   45842:	588f           	addql #4,%sp                                
   45844:	4a04           	tstb %d4                                    
   45846:	6706           	beqs 4584e <_rename_r+0x10a>                <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
   45848:	2f02           	movel %d2,%sp@-                             
   4584a:	4e92           	jsr %a2@                                    
   4584c:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   4584e:	486e ffe4      	pea %fp@(-28)                               
   45852:	4eb9 0004 4670 	jsr 44670 <rtems_filesystem_freenode>       
   45858:	6036           	bras 45890 <_rename_r+0x14c>                
  /*                                                                  
   *  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 ) {         
   4585a:	202e ffcc      	movel %fp@(-52),%d0                         
   4585e:	45f9 0004 4670 	lea 44670 <rtems_filesystem_freenode>,%a2   
   45864:	b0ae ffe0      	cmpl %fp@(-32),%d0                          
   45868:	672a           	beqs 45894 <_rename_r+0x150>                
    rtems_filesystem_freenode( &new_parent_loc );                     
   4586a:	2f03           	movel %d3,%sp@-                             
   4586c:	4e92           	jsr %a2@                                    
    if ( free_old_parentloc )                                         
   4586e:	588f           	addql #4,%sp                                
   45870:	4a04           	tstb %d4                                    
   45872:	6706           	beqs 4587a <_rename_r+0x136>                
      rtems_filesystem_freenode( &old_parent_loc );                   
   45874:	2f02           	movel %d2,%sp@-                             
   45876:	4e92           	jsr %a2@                                    
   45878:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   4587a:	486e ffe4      	pea %fp@(-28)                               
   4587e:	4eb9 0004 4670 	jsr 44670 <rtems_filesystem_freenode>       
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   45884:	4eb9 0004 f178 	jsr 4f178 <__errno>                         
   4588a:	2040           	moveal %d0,%a0                              
   4588c:	7012           	moveq #18,%d0                               
   4588e:	2080           	movel %d0,%a0@                              
   45890:	588f           	addql #4,%sp                                
   45892:	6036           	bras 458ca <_rename_r+0x186>                
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   45894:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   45898:	206e ffc8      	moveal %fp@(-56),%a0                        
   4589c:	2f03           	movel %d3,%sp@-                             
   4589e:	2f05           	movel %d5,%sp@-                             
   458a0:	2f02           	movel %d2,%sp@-                             
   458a2:	2068 0040      	moveal %a0@(64),%a0                         
   458a6:	4e90           	jsr %a0@                                    
   458a8:	2a00           	movel %d0,%d5                               
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   458aa:	2f03           	movel %d3,%sp@-                             
   458ac:	4e92           	jsr %a2@                                    
  if ( free_old_parentloc )                                           
   458ae:	4fef 0014      	lea %sp@(20),%sp                            
   458b2:	4a04           	tstb %d4                                    
   458b4:	6706           	beqs 458bc <_rename_r+0x178>                
    rtems_filesystem_freenode( &old_parent_loc );                     
   458b6:	2f02           	movel %d2,%sp@-                             
   458b8:	4e92           	jsr %a2@                                    
   458ba:	588f           	addql #4,%sp                                
  rtems_filesystem_freenode( &old_loc );                              
   458bc:	486e ffe4      	pea %fp@(-28)                               
   458c0:	4eb9 0004 4670 	jsr 44670 <rtems_filesystem_freenode>       
                                                                      
  return result;                                                      
   458c6:	588f           	addql #4,%sp                                
   458c8:	6002           	bras 458cc <_rename_r+0x188>                
  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 );                   
    return -1;                                                        
   458ca:	7aff           	moveq #-1,%d5                               
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
   458cc:	2005           	movel %d5,%d0                               
   458ce:	4cee 047c ffa4 	moveml %fp@(-92),%d2-%d6/%a2                
   458d4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044684 <_stat_r>: int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) {
   44684:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   44688:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
   4468c:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   44692:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   44696:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
   44698:	4ef9 0004 45fc 	jmp 445fc <stat>                            <== NOT EXECUTED
	...                                                                  
                                                                      

00045db0 <_unlink_r>: int _unlink_r( struct _reent *ptr __attribute__((unused)), const char *path ) {
   45db0:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return unlink( path );                                              
   45db4:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      <== NOT EXECUTED
}                                                                     
   45dba:	4e5e           	unlk %fp                                    <== NOT EXECUTED
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
   45dbc:	4ef9 0004 5c8c 	jmp 45c8c <unlink>                          <== NOT EXECUTED
	...                                                                  
                                                                      

00059e60 <_write_r>: struct _reent *ptr __attribute__((unused)), int fd, const void *buf, size_t nbytes ) {
   59e60:	4e56 0000      	linkw %fp,#0                                
   59e64:	222e 0010      	movel %fp@(16),%d1                          
   59e68:	202e 000c      	movel %fp@(12),%d0                          
  return write( fd, buf, nbytes );                                    
   59e6c:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   59e72:	2d41 000c      	movel %d1,%fp@(12)                          
   59e76:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   59e7a:	4e5e           	unlk %fp                                    
  int            fd,                                                  
  const void    *buf,                                                 
  size_t         nbytes                                               
)                                                                     
{                                                                     
  return write( fd, buf, nbytes );                                    
   59e7c:	4ef9 0005 9f84 	jmp 59f84 <write>                           
	...                                                                  
                                                                      

000426bc <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
   426bc:	4e56 ffe0      	linkw %fp,#-32                              
  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) {             
   426c0:	203c 0005 df04 	movel #384772,%d0                           
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
   426c6:	48d7 0c04      	moveml %d2/%a2-%a3,%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) {             
   426ca:	b0b9 0005 c8c8 	cmpl 5c8c8 <rtems_current_user_env>,%d0     
   426d0:	6624           	bnes 426f6 <chroot+0x3a>                    <== NEVER TAKEN
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   426d2:	4eb9 0004 3acc 	jsr 43acc <rtems_libio_set_private_env>     
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
   426d8:	41f9 0005 df04 	lea 5df04 <rtems_global_user_env>,%a0       
   426de:	b1f9 0005 c8c8 	cmpal 5c8c8 <rtems_current_user_env>,%a0    
   426e4:	6610           	bnes 426f6 <chroot+0x3a>                    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   426e6:	4eb9 0004 d1a8 	jsr 4d1a8 <__errno>                         <== NOT EXECUTED
   426ec:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   426ee:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   426f4:	6020           	bras 42716 <chroot+0x5a>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
   426f6:	2f2e 0008      	movel %fp@(8),%sp@-                         
   426fa:	4eb9 0004 a194 	jsr 4a194 <chdir>                           
  if (result) {                                                       
   42700:	588f           	addql #4,%sp                                
   42702:	4a80           	tstl %d0                                    
   42704:	6714           	beqs 4271a <chroot+0x5e>                    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( errno );                    
   42706:	45f9 0004 d1a8 	lea 4d1a8 <__errno>,%a2                     <== NOT EXECUTED
   4270c:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   4270e:	2640           	moveal %d0,%a3                              <== NOT EXECUTED
   42710:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   42712:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42714:	2690           	movel %a0@,%a3@                             <== NOT EXECUTED
   42716:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42718:	6056           	bras 42770 <chroot+0xb4>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
   4271a:	42a7           	clrl %sp@-                                  
   4271c:	240e           	movel %fp,%d2                               
   4271e:	0682 ffff ffec 	addil #-20,%d2                              
   42724:	2f02           	movel %d2,%sp@-                             
   42726:	42a7           	clrl %sp@-                                  
   42728:	4878 0001      	pea 1 <ADD>                                 
   4272c:	4879 0005 bb9c 	pea 5bb9c <dotdotname+0x4>                  
   42732:	4eb9 0004 2a8e 	jsr 42a8e <rtems_filesystem_evaluate_path>  
   42738:	4fef 0014      	lea %sp@(20),%sp                            
   4273c:	4a80           	tstl %d0                                    
   4273e:	66c6           	bnes 42706 <chroot+0x4a>                    <== 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);                  
   42740:	2079 0005 c8c8 	moveal 5c8c8 <rtems_current_user_env>,%a0   
   42746:	41e8 0018      	lea %a0@(24),%a0                            
   4274a:	2f08           	movel %a0,%sp@-                             
   4274c:	4eb9 0004 2b84 	jsr 42b84 <rtems_filesystem_freenode>       
  rtems_filesystem_root = loc;                                        
   42752:	4878 0014      	pea 14 <OPER2>                              
   42756:	2079 0005 c8c8 	moveal 5c8c8 <rtems_current_user_env>,%a0   
   4275c:	41e8 0018      	lea %a0@(24),%a0                            
   42760:	2f02           	movel %d2,%sp@-                             
   42762:	2f08           	movel %a0,%sp@-                             
   42764:	4eb9 0004 da54 	jsr 4da54 <memcpy>                          
                                                                      
  return 0;                                                           
   4276a:	4fef 0010      	lea %sp@(16),%sp                            
   4276e:	4280           	clrl %d0                                    
}                                                                     
   42770:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   42776:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045600 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
   45600:	4e56 0000      	linkw %fp,#0                                
   45604:	222e 0008      	movel %fp@(8),%d1                           
   45608:	202e 000c      	movel %fp@(12),%d0                          
   4560c:	2f02           	movel %d2,%sp@-                             
  if ( !tp )                                                          
   4560e:	4a80           	tstl %d0                                    
   45610:	6608           	bnes 4561a <clock_gettime+0x1a>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45612:	4eb9 0004 d8a8 	jsr 4d8a8 <__errno>                         
   45618:	6042           	bras 4565c <clock_gettime+0x5c>             
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
   4561a:	7401           	moveq #1,%d2                                
   4561c:	b481           	cmpl %d1,%d2                                
   4561e:	660a           	bnes 4562a <clock_gettime+0x2a>             
    _TOD_Get(tp);                                                     
   45620:	2f00           	movel %d0,%sp@-                             
   45622:	4eb9 0004 726c 	jsr 4726c <_TOD_Get>                        
   45628:	6014           	bras 4563e <clock_gettime+0x3e>             
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
   4562a:	7404           	moveq #4,%d2                                
   4562c:	b481           	cmpl %d1,%d2                                
   4562e:	6706           	beqs 45636 <clock_gettime+0x36>             <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
   45630:	7402           	moveq #2,%d2                                
   45632:	b481           	cmpl %d1,%d2                                
   45634:	660e           	bnes 45644 <clock_gettime+0x44>             
    _TOD_Get_uptime_as_timespec( tp );                                
   45636:	2f00           	movel %d0,%sp@-                             
   45638:	4eb9 0004 72d8 	jsr 472d8 <_TOD_Get_uptime_as_timespec>     
    return 0;                                                         
   4563e:	588f           	addql #4,%sp                                
   45640:	4280           	clrl %d0                                    
   45642:	6020           	bras 45664 <clock_gettime+0x64>             
   45644:	41f9 0004 d8a8 	lea 4d8a8 <__errno>,%a0                     
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
   4564a:	7003           	moveq #3,%d0                                
   4564c:	b081           	cmpl %d1,%d0                                
   4564e:	660a           	bnes 4565a <clock_gettime+0x5a>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   45650:	4e90           	jsr %a0@                                    
   45652:	7258           	moveq #88,%d1                               
   45654:	2040           	moveal %d0,%a0                              
   45656:	2081           	movel %d1,%a0@                              
   45658:	6008           	bras 45662 <clock_gettime+0x62>             
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   4565a:	4e90           	jsr %a0@                                    
   4565c:	2040           	moveal %d0,%a0                              
   4565e:	7016           	moveq #22,%d0                               
   45660:	2080           	movel %d0,%a0@                              
   45662:	70ff           	moveq #-1,%d0                               
                                                                      
  return 0;                                                           
}                                                                     
   45664:	242e fffc      	movel %fp@(-4),%d2                          
   45668:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004566c <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
   4566c:	4e56 0000      	linkw %fp,#0                                
   45670:	222e 0008      	movel %fp@(8),%d1                           
   45674:	206e 000c      	moveal %fp@(12),%a0                         
  if ( !tp )                                                          
   45678:	4a88           	tstl %a0                                    
   4567a:	6710           	beqs 4568c <clock_settime+0x20>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
   4567c:	7001           	moveq #1,%d0                                
   4567e:	b081           	cmpl %d1,%d0                                
   45680:	6634           	bnes 456b6 <clock_settime+0x4a>             
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
   45682:	203c 21da e4ff 	movel #567993599,%d0                        
   45688:	b090           	cmpl %a0@,%d0                               
   4568a:	6508           	bcss 45694 <clock_settime+0x28>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4568c:	4eb9 0004 d8a8 	jsr 4d8a8 <__errno>                         
   45692:	6048           	bras 456dc <clock_settime+0x70>             
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   45694:	2039 0005 f5cc 	movel 5f5cc <_Thread_Dispatch_disable_level>,%d0
   4569a:	5280           	addql #1,%d0                                
   4569c:	23c0 0005 f5cc 	movel %d0,5f5cc <_Thread_Dispatch_disable_level>
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
   456a2:	2f08           	movel %a0,%sp@-                             
   456a4:	4eb9 0004 7330 	jsr 47330 <_TOD_Set>                        
    _Thread_Enable_dispatch();                                        
   456aa:	4eb9 0004 843a 	jsr 4843a <_Thread_Enable_dispatch>         
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
   456b0:	588f           	addql #4,%sp                                
   456b2:	4280           	clrl %d0                                    
   456b4:	602e           	bras 456e4 <clock_settime+0x78>             
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
   456b6:	7002           	moveq #2,%d0                                
   456b8:	b081           	cmpl %d1,%d0                                
   456ba:	6608           	bnes 456c4 <clock_settime+0x58>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   456bc:	4eb9 0004 d8a8 	jsr 4d8a8 <__errno>                         
   456c2:	600e           	bras 456d2 <clock_settime+0x66>             
   456c4:	41f9 0004 d8a8 	lea 4d8a8 <__errno>,%a0                     
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
   456ca:	7003           	moveq #3,%d0                                
   456cc:	b081           	cmpl %d1,%d0                                
   456ce:	660a           	bnes 456da <clock_settime+0x6e>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   456d0:	4e90           	jsr %a0@                                    
   456d2:	2040           	moveal %d0,%a0                              
   456d4:	7258           	moveq #88,%d1                               
   456d6:	2081           	movel %d1,%a0@                              
   456d8:	6008           	bras 456e2 <clock_settime+0x76>             
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   456da:	4e90           	jsr %a0@                                    
   456dc:	2040           	moveal %d0,%a0                              
   456de:	7016           	moveq #22,%d0                               
   456e0:	2080           	movel %d0,%a0@                              
   456e2:	70ff           	moveq #-1,%d0                               
                                                                      
  return 0;                                                           
}                                                                     
   456e4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048684 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
   48684:	4e56 ffe4      	linkw %fp,#-28                              
   48688:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   4868c:	246e 0014      	moveal %fp@(20),%a2                         
   48690:	282e 0008      	movel %fp@(8),%d4                           
   48694:	262e 000c      	movel %fp@(12),%d3                          
     assert( 0 );                                                     
     rtems_set_errno_and_return_minus_one( EIO );                     
  }                                                                   
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
   48698:	2652           	moveal %a2@,%a3                             
  if (!device_name_table)                                             
   4869a:	4a8b           	tstl %a3                                    
   4869c:	670a           	beqs 486a8 <devFS_evaluate_path+0x24>       <== NEVER TAKEN
   4869e:	4282           	clrl %d2                                    
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
   486a0:	4bf9 0004 c068 	lea 4c068 <strncmp>,%a5                     
   486a6:	6056           	bras 486fe <devFS_evaluate_path+0x7a>       
  }                                                                   
                                                                      
  /* 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 );                   
   486a8:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   486ae:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   486b0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   486b2:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   486b4:	605c           	bras 48712 <devFS_evaluate_path+0x8e>       <== NOT EXECUTED
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
   486b6:	2853           	moveal %a3@,%a4                             
   486b8:	4a8c           	tstl %a4                                    
   486ba:	673c           	beqs 486f8 <devFS_evaluate_path+0x74>       
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
   486bc:	2f03           	movel %d3,%sp@-                             
   486be:	2f0c           	movel %a4,%sp@-                             
   486c0:	2f04           	movel %d4,%sp@-                             
   486c2:	4e95           	jsr %a5@                                    
   486c4:	4fef 000c      	lea %sp@(12),%sp                            
   486c8:	4a80           	tstl %d0                                    
   486ca:	662c           	bnes 486f8 <devFS_evaluate_path+0x74>       
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
   486cc:	4a34 3800      	tstb %a4@(00000000,%d3:l)                   
   486d0:	6626           	bnes 486f8 <devFS_evaluate_path+0x74>       <== NEVER TAKEN
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
   486d2:	41f9 0005 98e8 	lea 598e8 <devFS_ops>,%a0                   
   486d8:	2548 000c      	movel %a0,%a2@(12)                          
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
   486dc:	2079 0005 9988 	moveal 59988 <rtems_current_user_env>,%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;                         
   486e2:	203c 0005 9930 	movel #366896,%d0                           
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
   486e8:	2568 0028 0010 	movel %a0@(40),%a2@(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;                         
   486ee:	2540 0008      	movel %d0,%a2@(8)                           
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
   486f2:	4280           	clrl %d0                                    
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
   486f4:	248b           	movel %a3,%a2@                              
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
   486f6:	601c           	bras 48714 <devFS_evaluate_path+0x90>       
  /* 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++) {                     
   486f8:	5282           	addql #1,%d2                                
   486fa:	47eb 0014      	lea %a3@(20),%a3                            
   486fe:	b4b9 0005 9808 	cmpl 59808 <rtems_device_table_size>,%d2    
   48704:	65b0           	bcss 486b6 <devFS_evaluate_path+0x32>       
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   48706:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         
   4870c:	2040           	moveal %d0,%a0                              
   4870e:	7002           	moveq #2,%d0                                
   48710:	2080           	movel %d0,%a0@                              
   48712:	70ff           	moveq #-1,%d0                               
}                                                                     
   48714:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4871a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041cc8 <devFS_initialize>: int devFS_initialize( rtems_filesystem_mount_table_entry_t *temp_mt_entry, const void *data ) {
   41cc8:	4e56 0000      	linkw %fp,#0                                
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
   41ccc:	2039 0005 9808 	movel 59808 <rtems_device_table_size>,%d0   
   41cd2:	2200           	movel %d0,%d1                               
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry,                
  const void                           *data                          
)                                                                     
{                                                                     
   41cd4:	2f0a           	movel %a2,%sp@-                             
   41cd6:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
   41cda:	e989           	lsll #4,%d1                                 
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry,                
  const void                           *data                          
)                                                                     
{                                                                     
   41cdc:	2f02           	movel %d2,%sp@-                             
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
   41cde:	2041           	moveal %d1,%a0                              
   41ce0:	4870 0c00      	pea %a0@(00000000,%d0:l:4)                  
   41ce4:	4eb9 0004 828c 	jsr 4828c <_Workspace_Allocate>             
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
   41cea:	588f           	addql #4,%sp                                
)                                                                     
{                                                                     
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* allocate device only filesystem name table */                    
  device_name_table = (rtems_device_name_t *)_Workspace_Allocate(     
   41cec:	2400           	movel %d0,%d2                               
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
   41cee:	6610           	bnes 41d00 <devFS_initialize+0x38>          <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
   41cf0:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   41cf6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41cf8:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41cfa:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41cfc:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41cfe:	6038           	bras 41d38 <devFS_initialize+0x70>          <== NOT EXECUTED
                                                                      
  memset(                                                             
   41d00:	2039 0005 9808 	movel 59808 <rtems_device_table_size>,%d0   
   41d06:	2200           	movel %d0,%d1                               
   41d08:	e989           	lsll #4,%d1                                 
   41d0a:	2041           	moveal %d1,%a0                              
   41d0c:	4870 0c00      	pea %a0@(00000000,%d0:l:4)                  
   41d10:	42a7           	clrl %sp@-                                  
   41d12:	2f02           	movel %d2,%sp@-                             
   41d14:	4eb9 0004 b574 	jsr 4b574 <memset>                          
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
                                                                      
  return 0;                                                           
   41d1a:	4fef 000c      	lea %sp@(12),%sp                            
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
   41d1e:	203c 0005 9930 	movel #366896,%d0                           
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
   41d24:	41f9 0005 98e8 	lea 598e8 <devFS_ops>,%a0                   
    device_name_table, 0,                                             
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
   41d2a:	2540 0024      	movel %d0,%a2@(36)                          
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
                                                                      
  return 0;                                                           
   41d2e:	4280           	clrl %d0                                    
    sizeof( rtems_device_name_t ) * ( rtems_device_table_size )       
    );                                                                
                                                                      
  /* set file handlers */                                             
  temp_mt_entry->mt_fs_root.handlers     = &devFS_file_handlers;      
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
   41d30:	2548 0028      	movel %a0,%a2@(40)                          
                                                                      
  /* Set the node_access to device name table */                      
  temp_mt_entry->mt_fs_root.node_access = (void *)device_name_table;  
   41d34:	2542 001c      	movel %d2,%a2@(28)                          
                                                                      
  return 0;                                                           
}                                                                     
   41d38:	242e fff8      	movel %fp@(-8),%d2                          
   41d3c:	246e fffc      	moveal %fp@(-4),%a2                         
   41d40:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041e68 <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
   41e68:	4e56 fff0      	linkw %fp,#-16                              
   41e6c:	226e 0008      	moveal %fp@(8),%a1                          
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
   41e70:	2069 0038      	moveal %a1@(56),%a0                         
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
   41e74:	486e fff0      	pea %fp@(-16)                               
   41e78:	2f28 000c      	movel %a0@(12),%sp@-                        
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
   41e7c:	2d6e 000c fff4 	movel %fp@(12),%fp@(-12)                    
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
   41e82:	2f28 0008      	movel %a0@(8),%sp@-                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
   41e86:	2d6e 0010 fff8 	movel %fp@(16),%fp@(-8)                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
   41e8c:	2d49 fff0      	movel %a1,%fp@(-16)                         
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
   41e90:	4eb9 0004 58b0 	jsr 458b0 <rtems_io_control>                
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   41e96:	4fef 000c      	lea %sp@(12),%sp                            
   41e9a:	4a80           	tstl %d0                                    
   41e9c:	670c           	beqs 41eaa <devFS_ioctl+0x42>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   41e9e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41ea0:	4eb9 0004 8730 	jsr 48730 <rtems_deviceio_errno>            <== NOT EXECUTED
   41ea6:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41ea8:	6004           	bras 41eae <devFS_ioctl+0x46>               <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
   41eaa:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   41eae:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041d44 <devFS_mknod>: * condition and do not create the '/dev' and the 'path' * actually passed in is 'dev', not '/dev'. Just return 0 to * indicate we are OK. */ if ((path[0] == 'd') && (path[1] == 'e') &&
   41d44:	7264           	moveq #100,%d1                              
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   41d46:	4e56 ffdc      	linkw %fp,#-36                              
   41d4a:	48d7 3c7c      	moveml %d2-%d6/%a2-%a5,%sp@                 
   41d4e:	246e 0008      	moveal %fp@(8),%a2                          
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
   41d52:	1012           	moveb %a2@,%d0                              
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   41d54:	282e 000c      	movel %fp@(12),%d4                          
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
   41d58:	49c0           	extbl %d0                                   
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   41d5a:	2c2e 0010      	movel %fp@(16),%d6                          
   41d5e:	2a2e 0014      	movel %fp@(20),%d5                          
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
   41d62:	b280           	cmpl %d0,%d1                                
   41d64:	6624           	bnes 41d8a <devFS_mknod+0x46>               <== NEVER TAKEN
   41d66:	123c 0065      	moveb #101,%d1                              
   41d6a:	102a 0001      	moveb %a2@(1),%d0                           
   41d6e:	49c0           	extbl %d0                                   
   41d70:	b280           	cmpl %d0,%d1                                
   41d72:	6616           	bnes 41d8a <devFS_mknod+0x46>               <== NEVER TAKEN
   41d74:	123c 0076      	moveb #118,%d1                              
   41d78:	102a 0002      	moveb %a2@(2),%d0                           
   41d7c:	49c0           	extbl %d0                                   
   41d7e:	b280           	cmpl %d0,%d1                                
   41d80:	6608           	bnes 41d8a <devFS_mknod+0x46>               <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
   41d82:	4a2a 0003      	tstb %a2@(3)                                
   41d86:	6700 00c8      	beqw 41e50 <devFS_mknod+0x10c>              
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
   41d8a:	2004           	movel %d4,%d0                               
   41d8c:	0280 0000 f000 	andil #61440,%d0                            
   41d92:	0c80 0000 6000 	cmpil #24576,%d0                            
   41d98:	6716           	beqs 41db0 <devFS_mknod+0x6c>               <== NEVER TAKEN
   41d9a:	0c80 0000 2000 	cmpil #8192,%d0                             
   41da0:	670e           	beqs 41db0 <devFS_mknod+0x6c>               <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   41da2:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   41da8:	7616           	moveq #22,%d3                               <== NOT EXECUTED
   41daa:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41dac:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
   41dae:	6066           	bras 41e16 <devFS_mknod+0xd2>               <== NOT EXECUTED
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
   41db0:	206e 0018      	moveal %fp@(24),%a0                         
   41db4:	2650           	moveal %a0@,%a3                             
  if (!device_name_table)                                             
   41db6:	4a8b           	tstl %a3                                    
   41db8:	670e           	beqs 41dc8 <devFS_mknod+0x84>               <== NEVER TAKEN
   41dba:	284b           	moveal %a3,%a4                              
   41dbc:	74ff           	moveq #-1,%d2                               
   41dbe:	4283           	clrl %d3                                    
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
   41dc0:	4bf9 0004 bb58 	lea 4bb58 <strcmp>,%a5                      
   41dc6:	6034           	bras 41dfc <devFS_mknod+0xb8>               
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   41dc8:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   41dce:	740e           	moveq #14,%d2                               <== NOT EXECUTED
   41dd0:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   41dd2:	2282           	movel %d2,%a1@                              <== NOT EXECUTED
   41dd4:	6040           	bras 41e16 <devFS_mknod+0xd2>               <== NOT EXECUTED
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
   41dd6:	2014           	movel %a4@,%d0                              
   41dd8:	671a           	beqs 41df4 <devFS_mknod+0xb0>               
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
   41dda:	2f00           	movel %d0,%sp@-                             
   41ddc:	2f0a           	movel %a2,%sp@-                             
   41dde:	4e95           	jsr %a5@                                    
   41de0:	508f           	addql #8,%sp                                
   41de2:	4a80           	tstl %d0                                    
   41de4:	6610           	bnes 41df6 <devFS_mknod+0xb2>               <== ALWAYS TAKEN
              rtems_set_errno_and_return_minus_one( EEXIST );         
   41de6:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   41dec:	7211           	moveq #17,%d1                               <== NOT EXECUTED
   41dee:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41df0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   41df2:	6022           	bras 41e16 <devFS_mknod+0xd2>               <== NOT EXECUTED
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
   41df4:	2403           	movel %d3,%d2                               
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
   41df6:	5283           	addql #1,%d3                                
   41df8:	49ec 0014      	lea %a4@(20),%a4                            
   41dfc:	b6b9 0005 9808 	cmpl 59808 <rtems_device_table_size>,%d3    
   41e02:	65d2           	bcss 41dd6 <devFS_mknod+0x92>               
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
   41e04:	70ff           	moveq #-1,%d0                               
   41e06:	b082           	cmpl %d2,%d0                                
   41e08:	6610           	bnes 41e1a <devFS_mknod+0xd6>               <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
   41e0a:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   41e10:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41e12:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41e14:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41e16:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41e18:	6038           	bras 41e52 <devFS_mknod+0x10e>              <== NOT EXECUTED
                                                                      
  _ISR_Disable(level);                                                
   41e1a:	203c 0000 0700 	movel #1792,%d0                             
   41e20:	40c3           	movew %sr,%d3                               
   41e22:	8083           	orl %d3,%d0                                 
   41e24:	46c0           	movew %d0,%sr                               
  device_name_table[slot].device_name  = (char *)path;                
   41e26:	2002           	movel %d2,%d0                               
   41e28:	e988           	lsll #4,%d0                                 
   41e2a:	2240           	moveal %d0,%a1                              
   41e2c:	41f1 2c00      	lea %a1@(00000000,%d2:l:4),%a0              
   41e30:	d7c8           	addal %a0,%a3                               
   41e32:	268a           	movel %a2,%a3@                              
  device_name_table[slot].device_name_length = strlen(path);          
   41e34:	2f0a           	movel %a2,%sp@-                             
   41e36:	4eb9 0004 c050 	jsr 4c050 <strlen>                          
   41e3c:	588f           	addql #4,%sp                                
   41e3e:	2740 0004      	movel %d0,%a3@(4)                           
  device_name_table[slot].major = major;                              
   41e42:	2746 0008      	movel %d6,%a3@(8)                           
  device_name_table[slot].minor = minor;                              
   41e46:	2745 000c      	movel %d5,%a3@(12)                          
  device_name_table[slot].mode  = mode;                               
   41e4a:	2744 0010      	movel %d4,%a3@(16)                          
  _ISR_Enable(level);                                                 
   41e4e:	46c3           	movew %d3,%sr                               
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
   41e50:	4280           	clrl %d0                                    
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
   41e52:	4cee 3c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a5            
   41e58:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041ef0 <devFS_read>: ssize_t devFS_read( rtems_libio_t *iop, void *buffer, size_t count ) {
   41ef0:	4e56 ffe4      	linkw %fp,#-28                              <== NOT EXECUTED
   41ef4:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   41ef8:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
   41efe:	2268 0038      	moveal %a0@(56),%a1                         <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   41f02:	2028 000c      	movel %a0@(12),%d0                          <== NOT EXECUTED
   41f06:	2228 0010      	movel %a0@(16),%d1                          <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   41f0a:	486e ffe4      	pea %fp@(-28)                               <== NOT EXECUTED
   41f0e:	2f29 000c      	movel %a1@(12),%sp@-                        <== NOT EXECUTED
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
   41f12:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   41f18:	2f29 0008      	movel %a1@(8),%sp@-                         <== NOT EXECUTED
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
   41f1c:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   41f22:	2d40 ffe8      	movel %d0,%fp@(-24)                         <== NOT EXECUTED
   41f26:	2d41 ffec      	movel %d1,%fp@(-20)                         <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
   41f2a:	2d48 ffe4      	movel %a0,%fp@(-28)                         <== NOT EXECUTED
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   41f2e:	42ae fffc      	clrl %fp@(-4)                               <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
   41f32:	4eb9 0004 5a00 	jsr 45a00 <rtems_io_read>                   <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   41f38:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   41f3c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   41f3e:	670c           	beqs 41f4c <devFS_read+0x5c>                <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
   41f40:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41f42:	4eb9 0004 8730 	jsr 48730 <rtems_deviceio_errno>            <== NOT EXECUTED
   41f48:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41f4a:	6004           	bras 41f50 <devFS_read+0x60>                <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   41f4c:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
}                                                                     
   41f50:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041f54 <devFS_stat>: int devFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
   41f54:	4e56 0000      	linkw %fp,#0                                
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
   41f58:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
int devFS_stat(                                                       
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
   41f5c:	226e 000c      	moveal %fp@(12),%a1                         
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
   41f60:	2050           	moveal %a0@,%a0                             
  if (!the_dev)                                                       
   41f62:	4a88           	tstl %a0                                    
   41f64:	6610           	bnes 41f76 <devFS_stat+0x22>                <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   41f66:	4eb9 0004 ac98 	jsr 4ac98 <__errno>                         <== NOT EXECUTED
   41f6c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41f6e:	700e           	moveq #14,%d0                               <== NOT EXECUTED
   41f70:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41f72:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41f74:	6016           	bras 41f8c <devFS_stat+0x38>                <== NOT EXECUTED
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
   41f76:	2028 000c      	movel %a0@(12),%d0                          
   41f7a:	2368 0008 0016 	movel %a0@(8),%a1@(22)                      
                                                                      
  buf->st_mode = the_dev->mode;                                       
   41f80:	2368 0010 000c 	movel %a0@(16),%a1@(12)                     
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
  if (!the_dev)                                                       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
   41f86:	2340 001a      	movel %d0,%a1@(26)                          
                                                                      
  buf->st_mode = the_dev->mode;                                       
                                                                      
  return 0;                                                           
   41f8a:	4280           	clrl %d0                                    
}                                                                     
   41f8c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041f90 <devFS_write>: ssize_t devFS_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   41f90:	4e56 ffe4      	linkw %fp,#-28                              
   41f94:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   41f98:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
   41f9e:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   41fa2:	2028 000c      	movel %a0@(12),%d0                          
   41fa6:	2228 0010      	movel %a0@(16),%d1                          
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   41faa:	486e ffe4      	pea %fp@(-28)                               
   41fae:	2f29 000c      	movel %a1@(12),%sp@-                        
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
   41fb2:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   41fb8:	2f29 0008      	movel %a1@(8),%sp@-                         
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
   41fbc:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   41fc2:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   41fc6:	2d41 ffec      	movel %d1,%fp@(-20)                         
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
   41fca:	2d48 ffe4      	movel %a0,%fp@(-28)                         
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   41fce:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_write(                                            
   41fd2:	4eb9 0004 5a44 	jsr 45a44 <rtems_io_write>                  
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   41fd8:	4fef 000c      	lea %sp@(12),%sp                            
   41fdc:	4a80           	tstl %d0                                    
   41fde:	670c           	beqs 41fec <devFS_write+0x5c>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   41fe0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41fe2:	4eb9 0004 8730 	jsr 48730 <rtems_deviceio_errno>            <== NOT EXECUTED
   41fe8:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41fea:	6004           	bras 41ff0 <devFS_write+0x60>               <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   41fec:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   41ff0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004be4e <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
   4be4e:	4e56 fff0      	linkw %fp,#-16                              
   4be52:	206e 0008      	moveal %fp@(8),%a0                          
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
   4be56:	2d48 fff0      	movel %a0,%fp@(-16)                         
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
   4be5a:	2068 0038      	moveal %a0@(56),%a0                         
                                                                      
  status = rtems_io_control(                                          
   4be5e:	486e fff0      	pea %fp@(-16)                               
   4be62:	2f28 0050      	movel %a0@(80),%sp@-                        
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
   4be66:	2d6e 000c fff4 	movel %fp@(12),%fp@(-12)                    
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
   4be6c:	2f28 004c      	movel %a0@(76),%sp@-                        
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
   4be70:	2d6e 0010 fff8 	movel %fp@(16),%fp@(-8)                     
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
   4be76:	4eb9 0004 c720 	jsr 4c720 <rtems_io_control>                
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   4be7c:	4fef 000c      	lea %sp@(12),%sp                            
   4be80:	4a80           	tstl %d0                                    
   4be82:	670c           	beqs 4be90 <device_ioctl+0x42>              <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4be84:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4be86:	4eb9 0004 c968 	jsr 4c968 <rtems_deviceio_errno>            <== NOT EXECUTED
   4be8c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4be8e:	6004           	bras 4be94 <device_ioctl+0x46>              <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
   4be90:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   4be94:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bd86 <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
   4bd86:	4e56 ffe4      	linkw %fp,#-28                              
   4bd8a:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   4bd8e:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
   4bd94:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   4bd98:	2028 000c      	movel %a0@(12),%d0                          
   4bd9c:	2228 0010      	movel %a0@(16),%d1                          
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   4bda0:	486e ffe4      	pea %fp@(-28)                               
   4bda4:	2f29 0050      	movel %a1@(80),%sp@-                        
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
   4bda8:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   4bdae:	2f29 004c      	movel %a1@(76),%sp@-                        
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
   4bdb2:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   4bdb8:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   4bdbc:	2d41 ffec      	movel %d1,%fp@(-20)                         
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
   4bdc0:	2d48 ffe4      	movel %a0,%fp@(-28)                         
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   4bdc4:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_read(                                             
   4bdc8:	4eb9 0004 c7a8 	jsr 4c7a8 <rtems_io_read>                   
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   4bdce:	4fef 000c      	lea %sp@(12),%sp                            
   4bdd2:	4a80           	tstl %d0                                    
   4bdd4:	670c           	beqs 4bde2 <device_read+0x5c>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4bdd6:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4bdd8:	4eb9 0004 c968 	jsr 4c968 <rtems_deviceio_errno>            <== NOT EXECUTED
   4bdde:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4bde0:	6004           	bras 4bde6 <device_read+0x60>               <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   4bde2:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   4bde6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bdea <device_write>: ssize_t device_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   4bdea:	4e56 ffe4      	linkw %fp,#-28                              
   4bdee:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   4bdf2:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
   4bdf8:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   4bdfc:	2028 000c      	movel %a0@(12),%d0                          
   4be00:	2228 0010      	movel %a0@(16),%d1                          
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   4be04:	486e ffe4      	pea %fp@(-28)                               
   4be08:	2f29 0050      	movel %a1@(80),%sp@-                        
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
   4be0c:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   4be12:	2f29 004c      	movel %a1@(76),%sp@-                        
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
   4be16:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   4be1c:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   4be20:	2d41 ffec      	movel %d1,%fp@(-20)                         
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
   4be24:	2d48 ffe4      	movel %a0,%fp@(-28)                         
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   4be28:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_write(                                            
   4be2c:	4eb9 0004 c7ec 	jsr 4c7ec <rtems_io_write>                  
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   4be32:	4fef 000c      	lea %sp@(12),%sp                            
   4be36:	4a80           	tstl %d0                                    
   4be38:	670c           	beqs 4be46 <device_write+0x5c>              <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4be3a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4be3c:	4eb9 0004 c968 	jsr 4c968 <rtems_deviceio_errno>            <== NOT EXECUTED
   4be42:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4be44:	6004           	bras 4be4a <device_write+0x60>              <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   4be46:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   4be4a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000436fc <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
   436fc:	4e56 fff4      	linkw %fp,#-12                              
   43700:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   43704:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
   43708:	4aaa 00b4      	tstl %a2@(180)                              
   4370c:	674e           	beqs 4375c <drainOutput+0x60>               
    rtems_interrupt_disable (level);                                  
   4370e:	243c 0000 0700 	movel #1792,%d2                             
   43714:	2202           	movel %d2,%d1                               
   43716:	40c0           	movew %sr,%d0                               
   43718:	8280           	orl %d0,%d1                                 
   4371a:	46c1           	movew %d1,%sr                               
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,          
   4371c:	47f9 0004 5788 	lea 45788 <rtems_semaphore_obtain>,%a3      
  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) {              
   43722:	602a           	bras 4374e <drainOutput+0x52>               
      tty->rawOutBufState = rob_wait;                                 
   43724:	7202           	moveq #2,%d1                                
   43726:	2541 0094      	movel %d1,%a2@(148)                         
      rtems_interrupt_enable (level);                                 
   4372a:	46c0           	movew %d0,%sr                               
      sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,          
   4372c:	42a7           	clrl %sp@-                                  
   4372e:	42a7           	clrl %sp@-                                  
   43730:	2f2a 008c      	movel %a2@(140),%sp@-                       
   43734:	4e93           	jsr %a3@                                    
              RTEMS_WAIT,                                             
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
   43736:	4fef 000c      	lea %sp@(12),%sp                            
   4373a:	4a80           	tstl %d0                                    
   4373c:	6708           	beqs 43746 <drainOutput+0x4a>               <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
   4373e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43740:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
   43746:	2202           	movel %d2,%d1                               
   43748:	40c0           	movew %sr,%d0                               
   4374a:	8280           	orl %d0,%d1                                 
   4374c:	46c1           	movew %d1,%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) {              
   4374e:	206a 0084      	moveal %a2@(132),%a0                        
   43752:	222a 0080      	movel %a2@(128),%d1                         
   43756:	b288           	cmpl %a0,%d1                                
   43758:	66ca           	bnes 43724 <drainOutput+0x28>               
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
   4375a:	46c0           	movew %d0,%sr                               
  }                                                                   
}                                                                     
   4375c:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   43762:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042de8 <dup2>: int dup2( int fildes, int fildes2 ) {
   42de8:	4e56 ffa8      	linkw %fp,#-88                              
   42dec:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
   42df0:	280e           	movel %fp,%d4                               
   42df2:	0684 ffff ffba 	addil #-70,%d4                              
   42df8:	45f9 0004 3524 	lea 43524 <fstat>,%a2                       
   42dfe:	2f04           	movel %d4,%sp@-                             
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
   42e00:	242e 0008      	movel %fp@(8),%d2                           
   42e04:	262e 000c      	movel %fp@(12),%d3                          
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
   42e08:	2f02           	movel %d2,%sp@-                             
   42e0a:	4e92           	jsr %a2@                                    
  if ( status == -1 )                                                 
   42e0c:	508f           	addql #8,%sp                                
   42e0e:	72ff           	moveq #-1,%d1                               
   42e10:	b280           	cmpl %d0,%d1                                
   42e12:	6720           	beqs 42e34 <dup2+0x4c>                      <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
   42e14:	2f04           	movel %d4,%sp@-                             
   42e16:	2f03           	movel %d3,%sp@-                             
   42e18:	4e92           	jsr %a2@                                    
  if ( status == -1 )                                                 
   42e1a:	508f           	addql #8,%sp                                
   42e1c:	72ff           	moveq #-1,%d1                               
   42e1e:	b280           	cmpl %d0,%d1                                
   42e20:	6712           	beqs 42e34 <dup2+0x4c>                      <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
   42e22:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42e24:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   42e26:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42e28:	4eb9 0004 31e4 	jsr 431e4 <fcntl>                           <== NOT EXECUTED
   42e2e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   42e32:	6002           	bras 42e36 <dup2+0x4e>                      <== NOT EXECUTED
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
  if ( status == -1 )                                                 
    return -1;                                                        
   42e34:	70ff           	moveq #-1,%d0                               
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
}                                                                     
   42e36:	4cee 041c ffa8 	moveml %fp@(-88),%d2-%d4/%a2                
   42e3c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044224 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
   44224:	4e56 fff0      	linkw %fp,#-16                              
   44228:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4422c:	246e 000c      	moveal %fp@(12),%a2                         
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   44230:	202a 003c      	movel %a2@(60),%d0                          
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
   44234:	242e 0008      	movel %fp@(8),%d2                           
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   44238:	0280 0000 0200 	andil #512,%d0                              
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
   4423e:	1202           	moveb %d2,%d1                               
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   44240:	4a80           	tstl %d0                                    
   44242:	674e           	beqs 44292 <echo+0x6e>                      <== NEVER TAKEN
   44244:	4280           	clrl %d0                                    
   44246:	1002           	moveb %d2,%d0                               
   44248:	2079 0005 c280 	moveal 5c280 <__ctype_ptr__>,%a0            
   4424e:	1630 0801      	moveb %a0@(00000001,%d0:l),%d3              
   44252:	49c3           	extbl %d3                                   
   44254:	0803 0005      	btst #5,%d3                                 
   44258:	6738           	beqs 44292 <echo+0x6e>                      
   4425a:	7609           	moveq #9,%d3                                
   4425c:	b680           	cmpl %d0,%d3                                
   4425e:	6732           	beqs 44292 <echo+0x6e>                      
   44260:	163c 000a      	moveb #10,%d3                               
   44264:	b680           	cmpl %d0,%d3                                
   44266:	672a           	beqs 44292 <echo+0x6e>                      
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
   44268:	2f0a           	movel %a2,%sp@-                             
   4426a:	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;                                            
   4426e:	163c 0040      	moveb #64,%d3                               
    rtems_termios_puts (echobuf, 2, tty);                             
   44272:	486e fffe      	pea %fp@(-2)                                
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
   44276:	705e           	moveq #94,%d0                               
    echobuf[1] = c ^ 0x40;                                            
   44278:	b782           	eorl %d3,%d2                                
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
   4427a:	1d40 fffe      	moveb %d0,%fp@(-2)                          
    echobuf[1] = c ^ 0x40;                                            
   4427e:	1d42 ffff      	moveb %d2,%fp@(-1)                          
    rtems_termios_puts (echobuf, 2, tty);                             
   44282:	4eb9 0004 3fe2 	jsr 43fe2 <rtems_termios_puts>              
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   44288:	4fef 000c      	lea %sp@(12),%sp                            
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
   4428c:	54aa 0028      	addql #2,%a2@(40)                           
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   44290:	6010           	bras 442a2 <echo+0x7e>                      
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  }                                                                   
  else {                                                              
    oproc (c, tty);                                                   
   44292:	2f0a           	movel %a2,%sp@-                             
   44294:	0281 0000 00ff 	andil #255,%d1                              
   4429a:	2f01           	movel %d1,%sp@-                             
   4429c:	4eba fe3c      	jsr %pc@(440da <oproc>)                     
   442a0:	508f           	addql #8,%sp                                
  }                                                                   
}                                                                     
   442a2:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                
   442a8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043652 <endgrent>: void endgrent(void) {
   43652:	4e56 0000      	linkw %fp,#0                                
  if (group_fp != NULL)                                               
   43656:	2039 0005 eabc 	movel 5eabc <group_fp>,%d0                  
   4365c:	670a           	beqs 43668 <endgrent+0x16>                  <== NEVER TAKEN
    fclose(group_fp);                                                 
   4365e:	2f00           	movel %d0,%sp@-                             
   43660:	4eb9 0004 d84e 	jsr 4d84e <fclose>                          
   43666:	588f           	addql #4,%sp                                
}                                                                     
   43668:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004350c <endpwent>: void endpwent(void) {
   4350c:	4e56 0000      	linkw %fp,#0                                
  if (passwd_fp != NULL)                                              
   43510:	2039 0005 eb96 	movel 5eb96 <passwd_fp>,%d0                 
   43516:	670a           	beqs 43522 <endpwent+0x16>                  <== NEVER TAKEN
    fclose(passwd_fp);                                                
   43518:	2f00           	movel %d0,%sp@-                             
   4351a:	4eb9 0004 d84e 	jsr 4d84e <fclose>                          
   43520:	588f           	addql #4,%sp                                
}                                                                     
   43522:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000442ac <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) {
   442ac:	4e56 ffe4      	linkw %fp,#-28                              
   442b0:	48d7 1c3c      	moveml %d2-%d5/%a2-%a4,%sp@                 
   442b4:	246e 0008      	moveal %fp@(8),%a2                          
   442b8:	262e 000c      	movel %fp@(12),%d3                          
  if (tty->ccount == 0)                                               
   442bc:	4aaa 0020      	tstl %a2@(32)                               
   442c0:	6700 0172      	beqw 44434 <erase+0x188>                    
    return;                                                           
  if (lineFlag) {                                                     
   442c4:	4a83           	tstl %d3                                    
   442c6:	6700 015c      	beqw 44424 <erase+0x178>                    
    if (!(tty->termios.c_lflag & ECHO)) {                             
   442ca:	202a 003c      	movel %a2@(60),%d0                          
   442ce:	44c0           	movew %d0,%ccr                              
   442d0:	6b08           	bmis 442da <erase+0x2e>                     <== ALWAYS TAKEN
      tty->ccount = 0;                                                
   442d2:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
      return;                                                         
   442d6:	6000 015c      	braw 44434 <erase+0x188>                    <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
   442da:	0800 0004      	btst #4,%d0                                 
   442de:	6600 0144      	bnew 44424 <erase+0x178>                    
      tty->ccount = 0;                                                
   442e2:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
   442e6:	4280           	clrl %d0                                    <== NOT EXECUTED
   442e8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   442ea:	102a 0044      	moveb %a2@(68),%d0                          <== NOT EXECUTED
   442ee:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   442f0:	4eba ff32      	jsr %pc@(44224 <echo>)                      <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
   442f4:	508f           	addql #8,%sp                                <== NOT EXECUTED
   442f6:	7020           	moveq #32,%d0                               <== NOT EXECUTED
   442f8:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   442fc:	6700 0136      	beqw 44434 <erase+0x188>                    <== NOT EXECUTED
        echo ('\n', tty);                                             
   44300:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
   44304:	700a           	moveq #10,%d0                               <== NOT EXECUTED
   44306:	602c           	bras 44334 <erase+0x88>                     <== NOT EXECUTED
      return;                                                         
    }                                                                 
  }                                                                   
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
   44308:	5388           	subql #1,%a0                                
   4430a:	286a 001c      	moveal %a2@(28),%a4                         
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
   4430e:	202a 003c      	movel %a2@(60),%d0                          
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
   44312:	2548 0020      	movel %a0,%a2@(32)                          
   44316:	1434 8800      	moveb %a4@(00000000,%a0:l),%d2              
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
   4431a:	44c0           	movew %d0,%ccr                              
   4431c:	6a00 0100      	bplw 4441e <erase+0x172>                    
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
   44320:	4a83           	tstl %d3                                    
   44322:	6620           	bnes 44344 <erase+0x98>                     
   44324:	0800 0004      	btst #4,%d0                                 
   44328:	661a           	bnes 44344 <erase+0x98>                     <== ALWAYS TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
   4432a:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
   4432e:	4280           	clrl %d0                                    <== NOT EXECUTED
   44330:	102a 0043      	moveb %a2@(67),%d0                          <== NOT EXECUTED
   44334:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44338:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            <== NOT EXECUTED
   4433e:	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);                        
   44340:	6000 fee2      	braw 44224 <echo>                           <== NOT EXECUTED
   44344:	2279 0005 c280 	moveal 5c280 <__ctype_ptr__>,%a1            
      }                                                               
      else if (c == '\t') {                                           
   4434a:	7209           	moveq #9,%d1                                
   4434c:	0282 0000 00ff 	andil #255,%d2                              
   44352:	b282           	cmpl %d2,%d1                                
   44354:	665a           	bnes 443b0 <erase+0x104>                    
        int col = tty->read_start_column;                             
   44356:	242a 002c      	movel %a2@(44),%d2                          
        int i = 0;                                                    
   4435a:	4201           	clrb %d1                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          }                                                           
          else if (iscntrl (c)) {                                     
            if (tty->termios.c_lflag & ECHOCTL)                       
   4435c:	0280 0000 0200 	andil #512,%d0                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
   44362:	6028           	bras 4438c <erase+0xe0>                     
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
   44364:	4284           	clrl %d4                                    
   44366:	181c           	moveb %a4@+,%d4                             
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
   44368:	5281           	addql #1,%d1                                
          if (c == '\t') {                                            
   4436a:	7a09           	moveq #9,%d5                                
   4436c:	ba84           	cmpl %d4,%d5                                
   4436e:	6606           	bnes 44376 <erase+0xca>                     
            col = (col | 7) + 1;                                      
   44370:	7807           	moveq #7,%d4                                
   44372:	8484           	orl %d4,%d2                                 
   44374:	6014           	bras 4438a <erase+0xde>                     
          }                                                           
          else if (iscntrl (c)) {                                     
   44376:	1831 4801      	moveb %a1@(00000001,%d4:l),%d4              
   4437a:	49c4           	extbl %d4                                   
   4437c:	0804 0005      	btst #5,%d4                                 
   44380:	6708           	beqs 4438a <erase+0xde>                     <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
   44382:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44384:	6706           	beqs 4438c <erase+0xe0>                     <== NOT EXECUTED
              col += 2;                                               
   44386:	5482           	addql #2,%d2                                <== NOT EXECUTED
   44388:	6002           	bras 4438c <erase+0xe0>                     <== NOT EXECUTED
          }                                                           
          else {                                                      
            col++;                                                    
   4438a:	5282           	addql #1,%d2                                
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
   4438c:	b1c1           	cmpal %d1,%a0                               
   4438e:	66d4           	bnes 44364 <erase+0xb8>                     
   44390:	6016           	bras 443a8 <erase+0xfc>                     
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
   44392:	2f0a           	movel %a2,%sp@-                             
   44394:	4878 0001      	pea 1 <ADD>                                 
   44398:	4879 0005 b20b 	pea 5b20b <rtems_filesystem_default_pathconf+0x3f>
   4439e:	4e93           	jsr %a3@                                    
          tty->column--;                                              
   443a0:	4fef 000c      	lea %sp@(12),%sp                            
   443a4:	53aa 0028      	subql #1,%a2@(40)                           
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
   443a8:	b4aa 0028      	cmpl %a2@(40),%d2                           
   443ac:	6de4           	blts 44392 <erase+0xe6>                     
   443ae:	606e           	bras 4441e <erase+0x172>                    
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
   443b0:	5282           	addql #1,%d2                                
   443b2:	1231 2800      	moveb %a1@(00000000,%d2:l),%d1              
   443b6:	49c1           	extbl %d1                                   
   443b8:	0801 0005      	btst #5,%d1                                 
   443bc:	6724           	beqs 443e2 <erase+0x136>                    <== ALWAYS TAKEN
   443be:	0800 0009      	btst #9,%d0                                 <== NOT EXECUTED
   443c2:	671e           	beqs 443e2 <erase+0x136>                    <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
   443c4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   443c6:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   443ca:	4879 0005 b209 	pea 5b209 <rtems_filesystem_default_pathconf+0x3d><== NOT EXECUTED
   443d0:	4e93           	jsr %a3@                                    <== NOT EXECUTED
          if (tty->column)                                            
   443d2:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   443d6:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   443da:	6706           	beqs 443e2 <erase+0x136>                    <== NOT EXECUTED
            tty->column--;                                            
   443dc:	5380           	subql #1,%d0                                <== NOT EXECUTED
   443de:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
   443e2:	2079 0005 c280 	moveal 5c280 <__ctype_ptr__>,%a0            
   443e8:	1030 2800      	moveb %a0@(00000000,%d2:l),%d0              
   443ec:	49c0           	extbl %d0                                   
   443ee:	0800 0005      	btst #5,%d0                                 
   443f2:	670c           	beqs 44400 <erase+0x154>                    <== ALWAYS TAKEN
   443f4:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
   443f8:	0280 0000 0200 	andil #512,%d0                              <== NOT EXECUTED
   443fe:	671e           	beqs 4441e <erase+0x172>                    <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
   44400:	2f0a           	movel %a2,%sp@-                             
   44402:	4878 0003      	pea 3 <DIVIDE>                              
   44406:	4879 0005 b209 	pea 5b209 <rtems_filesystem_default_pathconf+0x3d>
   4440c:	4e93           	jsr %a3@                                    
          if (tty->column)                                            
   4440e:	202a 0028      	movel %a2@(40),%d0                          
   44412:	4fef 000c      	lea %sp@(12),%sp                            
   44416:	6706           	beqs 4441e <erase+0x172>                    <== NEVER TAKEN
            tty->column--;                                            
   44418:	5380           	subql #1,%d0                                
   4441a:	2540 0028      	movel %d0,%a2@(40)                          
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
   4441e:	4a83           	tstl %d3                                    
   44420:	6608           	bnes 4442a <erase+0x17e>                    
   44422:	6010           	bras 44434 <erase+0x188>                    
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
   44424:	47f9 0004 3fe2 	lea 43fe2 <rtems_termios_puts>,%a3          
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
  while (tty->ccount) {                                               
   4442a:	206a 0020      	moveal %a2@(32),%a0                         
   4442e:	4a88           	tstl %a0                                    
   44430:	6600 fed6      	bnew 44308 <erase+0x5c>                     
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44434:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4443a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000431e4 <fcntl>: int fcntl( int fd, int cmd, ... ) {
   431e4:	4e56 fff0      	linkw %fp,#-16                              
   431e8:	202e 0008      	movel %fp@(8),%d0                           
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
   431ec:	41ee 0010      	lea %fp@(16),%a0                            
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
   431f0:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   431f4:	262e 000c      	movel %fp@(12),%d3                          
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   431f8:	2279 0005 e034 	moveal 5e034 <rtems_libio_number_iops>,%a1  
   431fe:	b3c0           	cmpal %d0,%a1                               
   43200:	6316           	blss 43218 <fcntl+0x34>                     
  iop = rtems_libio_iop( fd );                                        
   43202:	2239 0005 f748 	movel 5f748 <rtems_libio_iops>,%d1          
   43208:	2441           	moveal %d1,%a2                              
   4320a:	ed88           	lsll #6,%d0                                 
   4320c:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open(iop);                                     
   4320e:	202a 0014      	movel %a2@(20),%d0                          
   43212:	0800 0008      	btst #8,%d0                                 
   43216:	6610           	bnes 43228 <fcntl+0x44>                     
   43218:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         
   4321e:	7209           	moveq #9,%d1                                
   43220:	2040           	moveal %d0,%a0                              
   43222:	2081           	movel %d1,%a0@                              
   43224:	6000 0110      	braw 43336 <fcntl+0x152>                    
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
   43228:	7409           	moveq #9,%d2                                
   4322a:	b483           	cmpl %d3,%d2                                
   4322c:	6500 00d8      	bcsw 43306 <fcntl+0x122>                    
   43230:	343b 3a08      	movew %pc@(4323a <fcntl+0x56>,%d3:l:2),%d2  
   43234:	48c2           	extl %d2                                    
   43236:	4efb 2802      	jmp %pc@(4323a <fcntl+0x56>,%d2:l)          
   4323a:	0014           	024                                         <== NOT EXECUTED
   4323c:	006a           	0152                                        <== NOT EXECUTED
   4323e:	0076           	0166                                        <== NOT EXECUTED
   43240:	008a 0098 00bc 	oril #9961660,%d2                           <== NOT EXECUTED
   43246:	00bc 00bc 00bc 	oril #12320956,%d4                          <== NOT EXECUTED
   4324c:	00bc 2410 670c 	oril #605054732,%d4                         <== NOT EXECUTED
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
   43252:	b3c2           	cmpal %d2,%a1                               <== NOT EXECUTED
   43254:	6318           	blss 4326e <fcntl+0x8a>                     <== NOT EXECUTED
   43256:	2641           	moveal %d1,%a3                              <== NOT EXECUTED
   43258:	ed8a           	lsll #6,%d2                                 <== NOT EXECUTED
   4325a:	d7c2           	addal %d2,%a3                               <== NOT EXECUTED
   4325c:	6012           	bras 43270 <fcntl+0x8c>                     <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
   4325e:	4eb9 0004 3800 	jsr 43800 <rtems_libio_allocate>            
   43264:	2640           	moveal %d0,%a3                              
        if ( diop == 0 ) {                                            
   43266:	4a80           	tstl %d0                                    
   43268:	6606           	bnes 43270 <fcntl+0x8c>                     <== ALWAYS TAKEN
   4326a:	6000 00ca      	braw 43336 <fcntl+0x152>                    <== NOT EXECUTED
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
   4326e:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
                                                                      
      diop->handlers   = iop->handlers;                               
      diop->file_info  = iop->file_info;                              
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   43270:	240b           	movel %a3,%d2                               
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
   43272:	276a 003c 003c 	movel %a2@(60),%a3@(60)                     
      diop->file_info  = iop->file_info;                              
   43278:	276a 0038 0038 	movel %a2@(56),%a3@(56)                     
      diop->flags      = iop->flags;                                  
   4327e:	276a 0014 0014 	movel %a2@(20),%a3@(20)                     
      diop->pathinfo   = iop->pathinfo;                               
   43284:	4878 0014      	pea 14 <OPER2>                              
   43288:	486a 0018      	pea %a2@(24)                                
   4328c:	486b 0018      	pea %a3@(24)                                
   43290:	4eb9 0004 f024 	jsr 4f024 <memcpy>                          
      ret = (int) (diop - rtems_libio_iops);                          
   43296:	4fef 000c      	lea %sp@(12),%sp                            
   4329a:	94b9 0005 f748 	subl 5f748 <rtems_libio_iops>,%d2           
   432a0:	ec82           	asrl #6,%d2                                 
   432a2:	6070           	bras 43314 <fcntl+0x130>                    
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
   432a4:	0800 000b      	btst #11,%d0                                
   432a8:	56c2           	sne %d2                                     
   432aa:	49c2           	extbl %d2                                   
   432ac:	4482           	negl %d2                                    
   432ae:	6068           	bras 43318 <fcntl+0x134>                    
       *  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 ) )                                        
   432b0:	4a90           	tstl %a0@                                   
   432b2:	6706           	beqs 432ba <fcntl+0xd6>                     <== NEVER TAKEN
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
   432b4:	08c0 000b      	bset #11,%d0                                
   432b8:	6004           	bras 432be <fcntl+0xda>                     
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
   432ba:	0880 000b      	bclr #11,%d0                                <== NOT EXECUTED
   432be:	2540 0014      	movel %d0,%a2@(20)                          
   432c2:	602e           	bras 432f2 <fcntl+0x10e>                    
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
   432c4:	2f00           	movel %d0,%sp@-                             
   432c6:	4eb9 0004 37b2 	jsr 437b2 <rtems_libio_to_fcntl_flags>      
   432cc:	588f           	addql #4,%sp                                
   432ce:	2400           	movel %d0,%d2                               
   432d0:	6042           	bras 43314 <fcntl+0x130>                    
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
   432d2:	2f10           	movel %a0@,%sp@-                            
   432d4:	4eb9 0004 3772 	jsr 43772 <rtems_libio_fcntl_flags>         
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
   432da:	222a 0014      	movel %a2@(20),%d1                          
   432de:	588f           	addql #4,%sp                                
   432e0:	0280 0000 0201 	andil #513,%d0                              
   432e6:	0281 ffff fdfe 	andil #-514,%d1                             
   432ec:	8081           	orl %d1,%d0                                 
   432ee:	2540 0014      	movel %d0,%a2@(20)                          
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
   432f2:	4282           	clrl %d2                                    
   432f4:	6022           	bras 43318 <fcntl+0x134>                    
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
   432f6:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         
   432fc:	2040           	moveal %d0,%a0                              
   432fe:	20bc 0000 0086 	movel #134,%a0@                             
   43304:	6030           	bras 43336 <fcntl+0x152>                    
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
   43306:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         
   4330c:	2040           	moveal %d0,%a0                              
   4330e:	7016           	moveq #22,%d0                               
   43310:	2080           	movel %d0,%a0@                              
   43312:	6022           	bras 43336 <fcntl+0x152>                    
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
   43314:	4a82           	tstl %d2                                    
   43316:	6d20           	blts 43338 <fcntl+0x154>                    <== NEVER TAKEN
    int err = (*iop->handlers->fcntl_h)( cmd, iop );                  
   43318:	206a 003c      	moveal %a2@(60),%a0                         
   4331c:	2f0a           	movel %a2,%sp@-                             
   4331e:	2f03           	movel %d3,%sp@-                             
   43320:	2068 0030      	moveal %a0@(48),%a0                         
   43324:	4e90           	jsr %a0@                                    
    if (err) {                                                        
   43326:	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->handlers->fcntl_h)( cmd, iop );                  
   43328:	2600           	movel %d0,%d3                               
    if (err) {                                                        
   4332a:	670c           	beqs 43338 <fcntl+0x154>                    <== ALWAYS TAKEN
      errno = err;                                                    
   4332c:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         <== NOT EXECUTED
   43332:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43334:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
      ret = -1;                                                       
   43336:	74ff           	moveq #-1,%d2                               
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43338:	2002           	movel %d2,%d0                               
   4333a:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   43340:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b032 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
   4b032:	4e56 ffd8      	linkw %fp,#-40                              
   4b036:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   4b03a:	266e 0008      	moveal %fp@(8),%a3                          
   4b03e:	286e 000c      	moveal %fp@(12),%a4                         
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
   4b042:	4eba fe44      	jsr %pc@(4ae88 <pipe_lock>)                 
   4b046:	2400           	movel %d0,%d2                               
  if (err)                                                            
   4b048:	6600 0342      	bnew 4b38c <fifo_open+0x35a>                
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
   4b04c:	2453           	moveal %a3@,%a2                             
  if (pipe == NULL) {                                                 
   4b04e:	4a8a           	tstl %a2                                    
   4b050:	6600 0166      	bnew 4b1b8 <fifo_open+0x186>                
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
   4b054:	4878 0034      	pea 34 <OPER2+0x20>                         
   4b058:	263c 0004 414c 	movel #278860,%d3                           
   4b05e:	2043           	moveal %d3,%a0                              
   4b060:	4e90           	jsr %a0@                                    
  if (pipe == NULL)                                                   
   4b062:	588f           	addql #4,%sp                                
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
   4b064:	2440           	moveal %d0,%a2                              
   4b066:	2a40           	moveal %d0,%a5                              
  if (pipe == NULL)                                                   
   4b068:	4a80           	tstl %d0                                    
   4b06a:	6700 0148      	beqw 4b1b4 <fifo_open+0x182>                
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
   4b06e:	4878 0034      	pea 34 <OPER2+0x20>                         
   4b072:	42a7           	clrl %sp@-                                  
   4b074:	2f00           	movel %d0,%sp@-                             
   4b076:	4eb9 0004 eb90 	jsr 4eb90 <memset>                          
                                                                      
  pipe->Size = PIPE_BUF;                                              
   4b07c:	203c 0000 0200 	movel #512,%d0                              
  pipe->Buffer = malloc(pipe->Size);                                  
   4b082:	2043           	moveal %d3,%a0                              
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
   4b084:	2540 0004      	movel %d0,%a2@(4)                           
  pipe->Buffer = malloc(pipe->Size);                                  
   4b088:	4878 0200      	pea 200 <DBL_MANT_DIG+0x1cb>                
   4b08c:	4e90           	jsr %a0@                                    
  if (! pipe->Buffer)                                                 
   4b08e:	4fef 0010      	lea %sp@(16),%sp                            
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
   4b092:	2480           	movel %d0,%a2@                              
  if (! pipe->Buffer)                                                 
   4b094:	6700 0114      	beqw 4b1aa <fifo_open+0x178>                
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
   4b098:	486a 002c      	pea %a2@(44)                                
   4b09c:	263c 0004 67d4 	movel #288724,%d3                           
   4b0a2:	2043           	moveal %d3,%a0                              
        rtems_build_name ('P', 'I', 'r', c),                          
   4b0a4:	1039 0005 d924 	moveb 5d924 <c.6304>,%d0                    
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
   4b0aa:	42a7           	clrl %sp@-                                  
        rtems_build_name ('P', 'I', 'r', c),                          
   4b0ac:	49c0           	extbl %d0                                   
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
   4b0ae:	42a7           	clrl %sp@-                                  
   4b0b0:	0080 5049 7200 	oril #1346990592,%d0                        
   4b0b6:	2f00           	movel %d0,%sp@-                             
   4b0b8:	4e90           	jsr %a0@                                    
   4b0ba:	4fef 0010      	lea %sp@(16),%sp                            
   4b0be:	4a80           	tstl %d0                                    
   4b0c0:	6600 00de      	bnew 4b1a0 <fifo_open+0x16e>                
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
   4b0c4:	486a 0030      	pea %a2@(48)                                
   4b0c8:	2043           	moveal %d3,%a0                              
        rtems_build_name ('P', 'I', 'w', c),                          
   4b0ca:	1039 0005 d924 	moveb 5d924 <c.6304>,%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(                                           
   4b0d0:	42a7           	clrl %sp@-                                  
        rtems_build_name ('P', 'I', 'w', c),                          
   4b0d2:	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(                                           
   4b0d4:	42a7           	clrl %sp@-                                  
   4b0d6:	0080 5049 7700 	oril #1346991872,%d0                        
   4b0dc:	2f00           	movel %d0,%sp@-                             
   4b0de:	4e90           	jsr %a0@                                    
   4b0e0:	4fef 0010      	lea %sp@(16),%sp                            
   4b0e4:	4a80           	tstl %d0                                    
   4b0e6:	6600 00ac      	bnew 4b194 <fifo_open+0x162>                
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
   4b0ea:	486a 0028      	pea %a2@(40)                                
        rtems_build_name ('P', 'I', 's', c), 1,                       
   4b0ee:	1039 0005 d924 	moveb 5d924 <c.6304>,%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(                                         
   4b0f4:	42a7           	clrl %sp@-                                  
   4b0f6:	4878 0010      	pea 10 <INVALID_OPERATION>                  
        rtems_build_name ('P', 'I', 's', c), 1,                       
   4b0fa:	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(                                         
   4b0fc:	4878 0001      	pea 1 <ADD>                                 
   4b100:	0080 5049 7300 	oril #1346990848,%d0                        
   4b106:	2f00           	movel %d0,%sp@-                             
   4b108:	4eb9 0004 6cec 	jsr 46cec <rtems_semaphore_create>          
   4b10e:	4fef 0014      	lea %sp@(20),%sp                            
   4b112:	4a80           	tstl %d0                                    
   4b114:	6672           	bnes 4b188 <fifo_open+0x156>                
/* 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
   4b116:	280e           	movel %fp,%d4                               
   4b118:	5184           	subql #8,%d4                                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
    _Objects_Get( &_Barrier_Information, id, location );              
   4b11a:	263c 0004 864c 	movel #296524,%d3                           
   4b120:	2043           	moveal %d3,%a0                              
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
   4b122:	4bf9 0004 8e3a 	lea 48e3a <_Thread_Enable_dispatch>,%a5     
   4b128:	2f04           	movel %d4,%sp@-                             
   4b12a:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b12e:	4879 0005 f018 	pea 5f018 <_Barrier_Information>            
   4b134:	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;                                
   4b136:	223c 1000 0000 	movel #268435456,%d1                        
   4b13c:	2040           	moveal %d0,%a0                              
   4b13e:	83a8 004c      	orl %d1,%a0@(76)                            
  _Thread_Enable_dispatch();                                          
   4b142:	4e95           	jsr %a5@                                    
   4b144:	2043           	moveal %d3,%a0                              
   4b146:	2f04           	movel %d4,%sp@-                             
   4b148:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4b14c:	4879 0005 f018 	pea 5f018 <_Barrier_Information>            
   4b152:	4e90           	jsr %a0@                                    
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
   4b154:	223c 1000 0000 	movel #268435456,%d1                        
   4b15a:	2040           	moveal %d0,%a0                              
   4b15c:	83a8 004c      	orl %d1,%a0@(76)                            
  _Thread_Enable_dispatch();                                          
   4b160:	4e95           	jsr %a5@                                    
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
   4b162:	4fef 0018      	lea %sp@(24),%sp                            
   4b166:	1039 0005 d924 	moveb 5d924 <c.6304>,%d0                    
   4b16c:	49c0           	extbl %d0                                   
   4b16e:	2200           	movel %d0,%d1                               
   4b170:	5281           	addql #1,%d1                                
   4b172:	13c1 0005 d924 	moveb %d1,5d924 <c.6304>                    
   4b178:	727a           	moveq #122,%d1                              
   4b17a:	b280           	cmpl %d0,%d1                                
   4b17c:	663a           	bnes 4b1b8 <fifo_open+0x186>                
    c = 'a';                                                          
   4b17e:	7061           	moveq #97,%d0                               
   4b180:	13c0 0005 d924 	moveb %d0,5d924 <c.6304>                    
   4b186:	6030           	bras 4b1b8 <fifo_open+0x186>                
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
   4b188:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4b18c:	4eb9 0004 6884 	jsr 46884 <rtems_barrier_delete>            
   4b192:	588f           	addql #4,%sp                                
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
   4b194:	2f2d 002c      	movel %a5@(44),%sp@-                        
   4b198:	4eb9 0004 6884 	jsr 46884 <rtems_barrier_delete>            
   4b19e:	588f           	addql #4,%sp                                
err_rbar:                                                             
  free(pipe->Buffer);                                                 
   4b1a0:	2f15           	movel %a5@,%sp@-                            
   4b1a2:	4eb9 0004 3c04 	jsr 43c04 <free>                            
   4b1a8:	588f           	addql #4,%sp                                
err_buf:                                                              
  free(pipe);                                                         
   4b1aa:	2f0d           	movel %a5,%sp@-                             
   4b1ac:	4eb9 0004 3c04 	jsr 43c04 <free>                            
   4b1b2:	588f           	addql #4,%sp                                
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
   4b1b4:	74f4           	moveq #-12,%d2                              
   4b1b6:	602c           	bras 4b1e4 <fifo_open+0x1b2>                
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4b1b8:	42a7           	clrl %sp@-                                  
   4b1ba:	42a7           	clrl %sp@-                                  
   4b1bc:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b1c0:	4eb9 0004 6f24 	jsr 46f24 <rtems_semaphore_obtain>          
   4b1c6:	4fef 000c      	lea %sp@(12),%sp                            
   4b1ca:	4a80           	tstl %d0                                    
   4b1cc:	6702           	beqs 4b1d0 <fifo_open+0x19e>                <== ALWAYS TAKEN
    err = -EINTR;                                                     
   4b1ce:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
                                                                      
  if (*pipep == NULL) {                                               
   4b1d0:	4a93           	tstl %a3@                                   
   4b1d2:	6610           	bnes 4b1e4 <fifo_open+0x1b2>                
    if (err)                                                          
   4b1d4:	4a82           	tstl %d2                                    
   4b1d6:	670a           	beqs 4b1e2 <fifo_open+0x1b0>                <== ALWAYS TAKEN
      pipe_free(pipe);                                                
   4b1d8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4b1da:	4eba fd34      	jsr %pc@(4af10 <pipe_free>)                 <== NOT EXECUTED
   4b1de:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4b1e0:	6002           	bras 4b1e4 <fifo_open+0x1b2>                <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
   4b1e2:	268a           	movel %a2,%a3@                              
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
   4b1e4:	4eba fd72      	jsr %pc@(4af58 <pipe_unlock>)               
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
   4b1e8:	4a82           	tstl %d2                                    
   4b1ea:	6600 01a0      	bnew 4b38c <fifo_open+0x35a>                
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
   4b1ee:	7006           	moveq #6,%d0                                
   4b1f0:	7204           	moveq #4,%d1                                
   4b1f2:	c0ac 0014      	andl %a4@(20),%d0                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
   4b1f6:	2453           	moveal %a3@,%a2                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
   4b1f8:	b280           	cmpl %d0,%d1                                
   4b1fa:	6700 009c      	beqw 4b298 <fifo_open+0x266>                
   4b1fe:	123c 0006      	moveb #6,%d1                                
   4b202:	b280           	cmpl %d0,%d1                                
   4b204:	6700 0122      	beqw 4b328 <fifo_open+0x2f6>                
   4b208:	123c 0002      	moveb #2,%d1                                
   4b20c:	b280           	cmpl %d0,%d1                                
   4b20e:	6600 0160      	bnew 4b370 <fifo_open+0x33e>                
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
   4b212:	202a 0010      	movel %a2@(16),%d0                          
   4b216:	2040           	moveal %d0,%a0                              
   4b218:	5288           	addql #1,%a0                                
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
   4b21a:	52aa 0020      	addql #1,%a2@(32)                           
      if (pipe->Readers ++ == 0)                                      
   4b21e:	2548 0010      	movel %a0,%a2@(16)                          
   4b222:	4a80           	tstl %d0                                    
   4b224:	6610           	bnes 4b236 <fifo_open+0x204>                <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
   4b226:	486e fffc      	pea %fp@(-4)                                
   4b22a:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4b22e:	4eb9 0004 c888 	jsr 4c888 <rtems_barrier_release>           
   4b234:	508f           	addql #8,%sp                                
                                                                      
      if (pipe->Writers == 0) {                                       
   4b236:	4aaa 0014      	tstl %a2@(20)                               
   4b23a:	6600 0134      	bnew 4b370 <fifo_open+0x33e>                
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
   4b23e:	7001           	moveq #1,%d0                                
   4b240:	c0ac 0014      	andl %a4@(20),%d0                           
   4b244:	6600 012a      	bnew 4b370 <fifo_open+0x33e>                
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
   4b248:	2a2a 0024      	movel %a2@(36),%d5                          
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4b24c:	4bf9 0004 6f24 	lea 46f24 <rtems_semaphore_obtain>,%a5      
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4b252:	283c 0004 702c 	movel #290860,%d4                           
          if (! PIPE_READWAIT(pipe))                                  
   4b258:	263c 0004 c8ec 	movel #313580,%d3                           
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4b25e:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b262:	2044           	moveal %d4,%a0                              
   4b264:	4e90           	jsr %a0@                                    
          if (! PIPE_READWAIT(pipe))                                  
   4b266:	2043           	moveal %d3,%a0                              
   4b268:	42a7           	clrl %sp@-                                  
   4b26a:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b26e:	4e90           	jsr %a0@                                    
   4b270:	4fef 000c      	lea %sp@(12),%sp                            
   4b274:	4a80           	tstl %d0                                    
   4b276:	6600 0106      	bnew 4b37e <fifo_open+0x34c>                
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4b27a:	42a7           	clrl %sp@-                                  
   4b27c:	42a7           	clrl %sp@-                                  
   4b27e:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b282:	4e95           	jsr %a5@                                    
   4b284:	4fef 000c      	lea %sp@(12),%sp                            
   4b288:	4a80           	tstl %d0                                    
   4b28a:	6600 00f2      	bnew 4b37e <fifo_open+0x34c>                
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
   4b28e:	baaa 0024      	cmpl %a2@(36),%d5                           
   4b292:	67ca           	beqs 4b25e <fifo_open+0x22c>                <== NEVER TAKEN
   4b294:	6000 00da      	braw 4b370 <fifo_open+0x33e>                
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
   4b298:	202a 0014      	movel %a2@(20),%d0                          
   4b29c:	2200           	movel %d0,%d1                               
   4b29e:	5281           	addql #1,%d1                                
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
   4b2a0:	52aa 0024      	addql #1,%a2@(36)                           
                                                                      
      if (pipe->Writers ++ == 0)                                      
   4b2a4:	2541 0014      	movel %d1,%a2@(20)                          
   4b2a8:	4a80           	tstl %d0                                    
   4b2aa:	6610           	bnes 4b2bc <fifo_open+0x28a>                <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
   4b2ac:	486e fffc      	pea %fp@(-4)                                
   4b2b0:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b2b4:	4eb9 0004 c888 	jsr 4c888 <rtems_barrier_release>           
   4b2ba:	508f           	addql #8,%sp                                
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
   4b2bc:	4aaa 0010      	tstl %a2@(16)                               
   4b2c0:	6600 00ae      	bnew 4b370 <fifo_open+0x33e>                
   4b2c4:	7001           	moveq #1,%d0                                
   4b2c6:	c0ac 0014      	andl %a4@(20),%d0                           
   4b2ca:	6712           	beqs 4b2de <fifo_open+0x2ac>                
	PIPE_UNLOCK(pipe);                                                   
   4b2cc:	2f2a 0028      	movel %a2@(40),%sp@-                        
        err = -ENXIO;                                                 
   4b2d0:	74fa           	moveq #-6,%d2                               
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
   4b2d2:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
        err = -ENXIO;                                                 
        goto out_error;                                               
   4b2d8:	588f           	addql #4,%sp                                
   4b2da:	6000 00a4      	braw 4b380 <fifo_open+0x34e>                
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
   4b2de:	2a2a 0020      	movel %a2@(32),%d5                          
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4b2e2:	4bf9 0004 6f24 	lea 46f24 <rtems_semaphore_obtain>,%a5      
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4b2e8:	283c 0004 702c 	movel #290860,%d4                           
          if (! PIPE_WRITEWAIT(pipe))                                 
   4b2ee:	263c 0004 c8ec 	movel #313580,%d3                           
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4b2f4:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b2f8:	2044           	moveal %d4,%a0                              
   4b2fa:	4e90           	jsr %a0@                                    
          if (! PIPE_WRITEWAIT(pipe))                                 
   4b2fc:	2043           	moveal %d3,%a0                              
   4b2fe:	42a7           	clrl %sp@-                                  
   4b300:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4b304:	4e90           	jsr %a0@                                    
   4b306:	4fef 000c      	lea %sp@(12),%sp                            
   4b30a:	4a80           	tstl %d0                                    
   4b30c:	6670           	bnes 4b37e <fifo_open+0x34c>                <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4b30e:	42a7           	clrl %sp@-                                  
   4b310:	42a7           	clrl %sp@-                                  
   4b312:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b316:	4e95           	jsr %a5@                                    
   4b318:	4fef 000c      	lea %sp@(12),%sp                            
   4b31c:	4a80           	tstl %d0                                    
   4b31e:	665e           	bnes 4b37e <fifo_open+0x34c>                <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
   4b320:	baaa 0020      	cmpl %a2@(32),%d5                           
   4b324:	67ce           	beqs 4b2f4 <fifo_open+0x2c2>                <== NEVER TAKEN
   4b326:	6048           	bras 4b370 <fifo_open+0x33e>                
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
   4b328:	202a 0010      	movel %a2@(16),%d0                          
   4b32c:	2200           	movel %d0,%d1                               
   4b32e:	5281           	addql #1,%d1                                
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
   4b330:	52aa 0020      	addql #1,%a2@(32)                           
      if (pipe->Readers ++ == 0)                                      
   4b334:	2541 0010      	movel %d1,%a2@(16)                          
   4b338:	4a80           	tstl %d0                                    
   4b33a:	6610           	bnes 4b34c <fifo_open+0x31a>                <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
   4b33c:	486e fffc      	pea %fp@(-4)                                
   4b340:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4b344:	4eb9 0004 c888 	jsr 4c888 <rtems_barrier_release>           
   4b34a:	508f           	addql #8,%sp                                
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
   4b34c:	202a 0014      	movel %a2@(20),%d0                          
   4b350:	2040           	moveal %d0,%a0                              
   4b352:	5288           	addql #1,%a0                                
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
   4b354:	52aa 0024      	addql #1,%a2@(36)                           
      if (pipe->Writers ++ == 0)                                      
   4b358:	2548 0014      	movel %a0,%a2@(20)                          
   4b35c:	4a80           	tstl %d0                                    
   4b35e:	6610           	bnes 4b370 <fifo_open+0x33e>                <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
   4b360:	486e fffc      	pea %fp@(-4)                                
   4b364:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b368:	4eb9 0004 c888 	jsr 4c888 <rtems_barrier_release>           
   4b36e:	508f           	addql #8,%sp                                
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4b370:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b374:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
  return 0;                                                           
   4b37a:	588f           	addql #4,%sp                                
   4b37c:	600e           	bras 4b38c <fifo_open+0x35a>                
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
   4b37e:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
   4b380:	2f0c           	movel %a4,%sp@-                             
   4b382:	2f0b           	movel %a3,%sp@-                             
   4b384:	4eb9 0004 af7e 	jsr 4af7e <pipe_release>                    
  return err;                                                         
   4b38a:	508f           	addql #8,%sp                                
}                                                                     
   4b38c:	2002           	movel %d2,%d0                               
   4b38e:	4cee 3c3c ffd8 	moveml %fp@(-40),%d2-%d5/%a2-%a5            
   4b394:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000433c4 <fpathconf>: long fpathconf( int fd, int name ) {
   433c4:	4e56 0000      	linkw %fp,#0                                
   433c8:	222e 0008      	movel %fp@(8),%d1                           
   433cc:	202e 000c      	movel %fp@(12),%d0                          
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
   433d0:	b2b9 0005 e034 	cmpl 5e034 <rtems_libio_number_iops>,%d1    
   433d6:	6414           	bccs 433ec <fpathconf+0x28>                 
  iop = rtems_libio_iop(fd);                                          
   433d8:	2079 0005 f748 	moveal 5f748 <rtems_libio_iops>,%a0         
   433de:	ed89           	lsll #6,%d1                                 
   433e0:	d1c1           	addal %d1,%a0                               
  rtems_libio_check_is_open(iop);                                     
   433e2:	2228 0014      	movel %a0@(20),%d1                          
   433e6:	0801 0008      	btst #8,%d1                                 
   433ea:	6610           	bnes 433fc <fpathconf+0x38>                 <== ALWAYS TAKEN
   433ec:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         
   433f2:	7209           	moveq #9,%d1                                
   433f4:	2040           	moveal %d0,%a0                              
   433f6:	2081           	movel %d1,%a0@                              
   433f8:	6000 0088      	braw 43482 <fpathconf+0xbe>                 
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
   433fc:	0801 0001      	btst #1,%d1                                 
   43400:	6774           	beqs 43476 <fpathconf+0xb2>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
   43402:	2068 0028      	moveal %a0@(40),%a0                         
                                                                      
  switch ( name ) {                                                   
   43406:	720b           	moveq #11,%d1                               
   43408:	b280           	cmpl %d0,%d1                                
   4340a:	656a           	bcss 43476 <fpathconf+0xb2>                 
   4340c:	303b 0a08      	movew %pc@(43416 <fpathconf+0x52>,%d0:l:2),%d0
   43410:	48c0           	extl %d0                                    
   43412:	4efb 0802      	jmp %pc@(43416 <fpathconf+0x52>,%d0:l)      
   43416:	0018           	030                                         <== NOT EXECUTED
   43418:	001e           	036                                         <== NOT EXECUTED
   4341a:	0024           	044                                         <== NOT EXECUTED
   4341c:	002a           	052                                         <== NOT EXECUTED
   4341e:	0030           	060                                         <== NOT EXECUTED
   43420:	0036           	066                                         <== NOT EXECUTED
   43422:	003c           	074                                         <== NOT EXECUTED
   43424:	0042           	0102                                        <== NOT EXECUTED
   43426:	0048           	0110                                        <== NOT EXECUTED
   43428:	004e           	0116                                        <== NOT EXECUTED
   4342a:	0054           	0124                                        <== NOT EXECUTED
   4342c:	005a           	0132                                        <== NOT EXECUTED
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
   4342e:	2028 0038      	movel %a0@(56),%d0                          
      break;                                                          
   43432:	6050           	bras 43484 <fpathconf+0xc0>                 
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
   43434:	2028 003c      	movel %a0@(60),%d0                          
      break;                                                          
   43438:	604a           	bras 43484 <fpathconf+0xc0>                 
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
   4343a:	2028 0040      	movel %a0@(64),%d0                          
      break;                                                          
   4343e:	6044           	bras 43484 <fpathconf+0xc0>                 
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
   43440:	2028 0044      	movel %a0@(68),%d0                          
      break;                                                          
   43444:	603e           	bras 43484 <fpathconf+0xc0>                 
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
   43446:	2028 0048      	movel %a0@(72),%d0                          
      break;                                                          
   4344a:	6038           	bras 43484 <fpathconf+0xc0>                 
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
   4344c:	2028 004c      	movel %a0@(76),%d0                          
      break;                                                          
   43450:	6032           	bras 43484 <fpathconf+0xc0>                 
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
   43452:	2028 0054      	movel %a0@(84),%d0                          
      break;                                                          
   43456:	602c           	bras 43484 <fpathconf+0xc0>                 
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
   43458:	2028 0058      	movel %a0@(88),%d0                          
      break;                                                          
   4345c:	6026           	bras 43484 <fpathconf+0xc0>                 
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
   4345e:	2028 0064      	movel %a0@(100),%d0                         
      break;                                                          
   43462:	6020           	bras 43484 <fpathconf+0xc0>                 
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
   43464:	2028 0050      	movel %a0@(80),%d0                          
      break;                                                          
   43468:	601a           	bras 43484 <fpathconf+0xc0>                 
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
   4346a:	2028 005c      	movel %a0@(92),%d0                          
      break;                                                          
   4346e:	6014           	bras 43484 <fpathconf+0xc0>                 
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
   43470:	2028 0060      	movel %a0@(96),%d0                          
      break;                                                          
   43474:	600e           	bras 43484 <fpathconf+0xc0>                 
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   43476:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         
   4347c:	2040           	moveal %d0,%a0                              
   4347e:	7016           	moveq #22,%d0                               
   43480:	2080           	movel %d0,%a0@                              
   43482:	70ff           	moveq #-1,%d0                               
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43484:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042854 <free>: #include <stdlib.h> void free( void *ptr ) {
   42854:	4e56 0000      	linkw %fp,#0                                
  MSBUMP(free_calls, 1);                                              
   42858:	52b9 0005 d7d8 	addql #1,5d7d8 <rtems_malloc_statistics+0xc>
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
   4285e:	2f02           	movel %d2,%sp@-                             
   42860:	242e 0008      	movel %fp@(8),%d2                           
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
   42864:	676c           	beqs 428d2 <free+0x7e>                      
  #endif                                                              
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   42866:	7003           	moveq #3,%d0                                
   42868:	b0b9 0005 da7a 	cmpl 5da7a <_System_state_Current>,%d0      
   4286e:	661a           	bnes 4288a <free+0x36>                      <== NEVER TAKEN
       !malloc_is_system_state_OK() ) {                               
   42870:	4eb9 0004 29f4 	jsr 429f4 <malloc_is_system_state_OK>       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   42876:	4a00           	tstb %d0                                    
   42878:	6610           	bnes 4288a <free+0x36>                      
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
   4287a:	2d42 0008      	movel %d2,%fp@(8)                           
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   4287e:	242e fffc      	movel %fp@(-4),%d2                          
   42882:	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);                                      
   42884:	4ef9 0004 2a68 	jmp 42a68 <malloc_deferred_free>            
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   4288a:	2079 0005 c746 	moveal 5c746 <rtems_malloc_statistics_helpers>,%a0
   42890:	4a88           	tstl %a0                                    
   42892:	670a           	beqs 4289e <free+0x4a>                      <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
   42894:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42896:	2068 0008      	moveal %a0@(8),%a0                          <== NOT EXECUTED
   4289a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4289c:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
   4289e:	2f02           	movel %d2,%sp@-                             
   428a0:	2f39 0005 c0b0 	movel 5c0b0 <RTEMS_Malloc_Heap>,%sp@-       
   428a6:	4eb9 0004 713c 	jsr 4713c <_Protected_heap_Free>            
   428ac:	508f           	addql #8,%sp                                
   428ae:	4a00           	tstb %d0                                    
   428b0:	6620           	bnes 428d2 <free+0x7e>                      
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
   428b2:	2079 0005 c0b0 	moveal 5c0b0 <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",
   428b8:	2f28 001c      	movel %a0@(28),%sp@-                        
   428bc:	2f28 0018      	movel %a0@(24),%sp@-                        
   428c0:	2f02           	movel %d2,%sp@-                             
   428c2:	4879 0005 b15c 	pea 5b15c <rtems_status_assoc+0x168>        
   428c8:	4eb9 0004 34f0 	jsr 434f0 <printk>                          
   428ce:	4fef 0010      	lea %sp@(16),%sp                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   428d2:	242e fffc      	movel %fp@(-4),%d2                          
   428d6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043a84 <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
   43a84:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   43a88:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   43a8a:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43a8c:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
   43a90:	b5fc 0005 df04 	cmpal #384772,%a2                           <== NOT EXECUTED
   43a96:	6728           	beqs 43ac0 <free_user_env+0x3c>             <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
   43a98:	486a 0004      	pea %a2@(4)                                 <== NOT EXECUTED
   43a9c:	47f9 0004 2b84 	lea 42b84 <rtems_filesystem_freenode>,%a3   <== NOT EXECUTED
   43aa2:	4e93           	jsr %a3@                                    <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
   43aa4:	486a 0018      	pea %a2@(24)                                <== NOT EXECUTED
   43aa8:	4e93           	jsr %a3@                                    <== NOT EXECUTED
		free(env);                                                          
	}                                                                    
}                                                                     
   43aaa:	266e fffc      	moveal %fp@(-4),%a3                         <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
   43aae:	508f           	addql #8,%sp                                <== NOT EXECUTED
   43ab0:	2d4a 0008      	movel %a2,%fp@(8)                           <== NOT EXECUTED
	}                                                                    
}                                                                     
   43ab4:	246e fff8      	moveal %fp@(-8),%a2                         <== NOT EXECUTED
   43ab8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
   43aba:	4ef9 0004 2b98 	jmp 42b98 <free>                            <== NOT EXECUTED
	}                                                                    
}                                                                     
   43ac0:	246e fff8      	moveal %fp@(-8),%a2                         <== NOT EXECUTED
   43ac4:	266e fffc      	moveal %fp@(-4),%a3                         <== NOT EXECUTED
   43ac8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004979c <ftruncate>: int ftruncate( int fd, off_t length ) {
   4979c:	4e56 ffec      	linkw %fp,#-20                              
   497a0:	202e 0008      	movel %fp@(8),%d0                           
   497a4:	2f0a           	movel %a2,%sp@-                             
   497a6:	2f02           	movel %d2,%sp@-                             
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
   497a8:	b0b9 0005 c0a4 	cmpl 5c0a4 <rtems_libio_number_iops>,%d0    
   497ae:	6416           	bccs 497c6 <ftruncate+0x2a>                 
  iop = rtems_libio_iop( fd );                                        
   497b0:	2479 0005 d7b4 	moveal 5d7b4 <rtems_libio_iops>,%a2         
   497b6:	ed88           	lsll #6,%d0                                 
   497b8:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open(iop);                                     
   497ba:	202a 0014      	movel %a2@(20),%d0                          
   497be:	0280 0000 0100 	andil #256,%d0                              
   497c4:	660e           	bnes 497d4 <ftruncate+0x38>                 
   497c6:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   497cc:	7409           	moveq #9,%d2                                
   497ce:	2040           	moveal %d0,%a0                              
   497d0:	2082           	movel %d2,%a0@                              
   497d2:	6050           	bras 49824 <ftruncate+0x88>                 
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
   497d4:	4878 0014      	pea 14 <OPER2>                              
   497d8:	240e           	movel %fp,%d2                               
   497da:	486a 0018      	pea %a2@(24)                                
   497de:	0682 ffff ffec 	addil #-20,%d2                              
   497e4:	2f02           	movel %d2,%sp@-                             
   497e6:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
   497ec:	206e fff8      	moveal %fp@(-8),%a0                         
   497f0:	2f02           	movel %d2,%sp@-                             
   497f2:	2068 0010      	moveal %a0@(16),%a0                         
   497f6:	4e90           	jsr %a0@                                    
   497f8:	4fef 0010      	lea %sp@(16),%sp                            
   497fc:	7201           	moveq #1,%d1                                
   497fe:	b280           	cmpl %d0,%d1                                
   49800:	660e           	bnes 49810 <ftruncate+0x74>                 
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   49802:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   49808:	7215           	moveq #21,%d1                               
   4980a:	2040           	moveal %d0,%a0                              
   4980c:	2081           	movel %d1,%a0@                              
   4980e:	6014           	bras 49824 <ftruncate+0x88>                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   49810:	7004           	moveq #4,%d0                                
   49812:	c0aa 0014      	andl %a2@(20),%d0                           
   49816:	6610           	bnes 49828 <ftruncate+0x8c>                 <== ALWAYS TAKEN
   49818:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4981e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49820:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   49822:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   49824:	70ff           	moveq #-1,%d0                               
   49826:	6018           	bras 49840 <ftruncate+0xa4>                 
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
   49828:	206a 003c      	moveal %a2@(60),%a0                         
   4982c:	2f2e 0010      	movel %fp@(16),%sp@-                        
   49830:	2f2e 000c      	movel %fp@(12),%sp@-                        
   49834:	2f0a           	movel %a2,%sp@-                             
   49836:	2068 0020      	moveal %a0@(32),%a0                         
   4983a:	4e90           	jsr %a0@                                    
   4983c:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   49840:	242e ffe4      	movel %fp@(-28),%d2                         
   49844:	246e ffe8      	moveal %fp@(-24),%a2                        
   49848:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005b290 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
   5b290:	4e56 ffec      	linkw %fp,#-20                              
   5b294:	202e 0008      	movel %fp@(8),%d0                           
   5b298:	2f0a           	movel %a2,%sp@-                             
   5b29a:	2f02           	movel %d2,%sp@-                             
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
   5b29c:	b0b9 0005 e014 	cmpl 5e014 <rtems_libio_number_iops>,%d0    
   5b2a2:	640c           	bccs 5b2b0 <getdents+0x20>                  <== NEVER TAKEN
   5b2a4:	2479 0005 f834 	moveal 5f834 <rtems_libio_iops>,%a2         
   5b2aa:	ed88           	lsll #6,%d0                                 
   5b2ac:	d5c0           	addal %d0,%a2                               
   5b2ae:	6002           	bras 5b2b2 <getdents+0x22>                  
   5b2b0:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   5b2b2:	4878 0014      	pea 14 <OPER2>                              
   5b2b6:	240e           	movel %fp,%d2                               
   5b2b8:	486a 0018      	pea %a2@(24)                                
   5b2bc:	0682 ffff ffec 	addil #-20,%d2                              
   5b2c2:	2f02           	movel %d2,%sp@-                             
   5b2c4:	4eb9 0004 e1f0 	jsr 4e1f0 <memcpy>                          
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
   5b2ca:	206e fff8      	moveal %fp@(-8),%a0                         
   5b2ce:	2f02           	movel %d2,%sp@-                             
   5b2d0:	2068 0010      	moveal %a0@(16),%a0                         
   5b2d4:	4e90           	jsr %a0@                                    
   5b2d6:	4fef 0010      	lea %sp@(16),%sp                            
   5b2da:	7201           	moveq #1,%d1                                
   5b2dc:	b280           	cmpl %d0,%d1                                
   5b2de:	6710           	beqs 5b2f0 <getdents+0x60>                  
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   5b2e0:	4eb9 0004 d944 	jsr 4d944 <__errno>                         
   5b2e6:	2040           	moveal %d0,%a0                              
   5b2e8:	7014           	moveq #20,%d0                               
   5b2ea:	2080           	movel %d0,%a0@                              
   5b2ec:	70ff           	moveq #-1,%d0                               
   5b2ee:	6018           	bras 5b308 <getdents+0x78>                  
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
   5b2f0:	206a 003c      	moveal %a2@(60),%a0                         
   5b2f4:	2f2e 0010      	movel %fp@(16),%sp@-                        
   5b2f8:	2f2e 000c      	movel %fp@(12),%sp@-                        
   5b2fc:	2f0a           	movel %a2,%sp@-                             
   5b2fe:	2068 0008      	moveal %a0@(8),%a0                          
   5b302:	4e90           	jsr %a0@                                    
   5b304:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   5b308:	242e ffe4      	movel %fp@(-28),%d2                         
   5b30c:	246e ffe8      	moveal %fp@(-24),%a2                        
   5b310:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004beb4 <imfs_dir_open>: IMFS_jnode_t *the_jnode; /* Is the node a directory ? */ the_jnode = (IMFS_jnode_t *) iop->file_info; if ( the_jnode->type != IMFS_DIRECTORY )
   4beb4:	7001           	moveq #1,%d0                                
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
   4beb6:	4e56 0000      	linkw %fp,#0                                
   4beba:	206e 0008      	moveal %fp@(8),%a0                          
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
   4bebe:	2268 0038      	moveal %a0@(56),%a1                         
   4bec2:	b0a9 0048      	cmpl %a1@(72),%d0                           
   4bec6:	6610           	bnes 4bed8 <imfs_dir_open+0x24>             <== NEVER TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
   4bec8:	4280           	clrl %d0                                    
   4beca:	4281           	clrl %d1                                    
   4becc:	2140 000c      	movel %d0,%a0@(12)                          
   4bed0:	2141 0010      	movel %d1,%a0@(16)                          
  return 0;                                                           
   4bed4:	4280           	clrl %d0                                    
   4bed6:	6002           	bras 4beda <imfs_dir_open+0x26>             
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
   4bed8:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
                                                                      
  iop->offset = 0;                                                    
  return 0;                                                           
}                                                                     
   4beda:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c0e6 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
   4c0e6:	4e56 0000      	linkw %fp,#0                                
   4c0ea:	206e 000c      	moveal %fp@(12),%a0                         
   4c0ee:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
   4c0f0:	2450           	moveal %a0@,%a2                             
   4c0f2:	200a           	movel %a2,%d0                               
   4c0f4:	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 ) ) 
   4c0fa:	b0aa 004c      	cmpl %a2@(76),%d0                           
   4c0fe:	670e           	beqs 4c10e <imfs_dir_rmnod+0x28>            
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
   4c100:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   4c106:	2040           	moveal %d0,%a0                              
   4c108:	705a           	moveq #90,%d0                               
   4c10a:	2080           	movel %d0,%a0@                              
   4c10c:	6016           	bras 4c124 <imfs_dir_rmnod+0x3e>            
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
   4c10e:	2068 0010      	moveal %a0@(16),%a0                         
   4c112:	b5e8 001c      	cmpal %a0@(28),%a2                          
   4c116:	6610           	bnes 4c128 <imfs_dir_rmnod+0x42>            
     rtems_set_errno_and_return_minus_one( EBUSY );                   
   4c118:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   4c11e:	7210           	moveq #16,%d1                               
   4c120:	2040           	moveal %d0,%a0                              
   4c122:	2081           	movel %d1,%a0@                              
   4c124:	70ff           	moveq #-1,%d0                               
   4c126:	601a           	bras 4c142 <imfs_dir_rmnod+0x5c>            
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
   4c128:	4aaa 0058      	tstl %a2@(88)                               
   4c12c:	66ea           	bnes 4c118 <imfs_dir_rmnod+0x32>            <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
   4c12e:	2f0a           	movel %a2,%sp@-                             
   4c130:	4eb9 0004 9504 	jsr 49504 <IMFS_create_orphan>              
  IMFS_check_node_remove( the_jnode );                                
   4c136:	2f0a           	movel %a2,%sp@-                             
   4c138:	4eb9 0004 9548 	jsr 49548 <IMFS_check_node_remove>          
                                                                      
  return 0;                                                           
   4c13e:	508f           	addql #8,%sp                                
   4c140:	4280           	clrl %d0                                    
}                                                                     
   4c142:	246e fffc      	moveal %fp@(-4),%a2                         
   4c146:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043188 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
   43188:	4e56 0000      	linkw %fp,#0                                
   4318c:	2f0a           	movel %a2,%sp@-                             
   4318e:	2f02           	movel %d2,%sp@-                             
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
   43190:	4a39 0005 ec7e 	tstb 5ec7e <etc_passwd_initted.6254>        
   43196:	6600 00c4      	bnew 4325c <init_etc_passwd_group+0xd4>     
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
   4319a:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
   4319e:	45f9 0004 df4c 	lea 4df4c <fopen>,%a2                       
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
   431a4:	4879 0005 cc12 	pea 5cc12 <rtems_filesystem_null_handlers+0x38>
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
   431aa:	7001           	moveq #1,%d0                                
   431ac:	13c0 0005 ec7e 	moveb %d0,5ec7e <etc_passwd_initted.6254>   
  mkdir("/etc", 0777);                                                
   431b2:	4eb9 0004 3978 	jsr 43978 <mkdir>                           
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
   431b8:	4879 0005 d457 	pea 5d457 <_global_impure_ptr+0xbf>         
   431be:	4879 0005 cc17 	pea 5cc17 <rtems_filesystem_null_handlers+0x3d>
   431c4:	4e92           	jsr %a2@                                    
   431c6:	4fef 0010      	lea %sp@(16),%sp                            
   431ca:	4a80           	tstl %d0                                    
   431cc:	670c           	beqs 431da <init_etc_passwd_group+0x52>     
    fclose(fp);                                                       
   431ce:	2f00           	movel %d0,%sp@-                             
   431d0:	4eb9 0004 d84e 	jsr 4d84e <fclose>                          
   431d6:	588f           	addql #4,%sp                                
   431d8:	602e           	bras 43208 <init_etc_passwd_group+0x80>     
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
   431da:	4879 0005 c034 	pea 5c034 <_rodata_start+0x104>             
   431e0:	4879 0005 cc17 	pea 5cc17 <rtems_filesystem_null_handlers+0x3d>
   431e6:	4e92           	jsr %a2@                                    
   431e8:	508f           	addql #8,%sp                                
   431ea:	2400           	movel %d0,%d2                               
   431ec:	671a           	beqs 43208 <init_etc_passwd_group+0x80>     <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
   431ee:	2f00           	movel %d0,%sp@-                             
   431f0:	4879 0005 cc23 	pea 5cc23 <rtems_filesystem_null_handlers+0x49>
   431f6:	4eb9 0004 e02c 	jsr 4e02c <fputs>                           
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
   431fc:	2f02           	movel %d2,%sp@-                             
   431fe:	4eb9 0004 d84e 	jsr 4d84e <fclose>                          
   43204:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
   43208:	4879 0005 d457 	pea 5d457 <_global_impure_ptr+0xbf>         
   4320e:	45f9 0004 df4c 	lea 4df4c <fopen>,%a2                       
   43214:	4879 0005 cc8a 	pea 5cc8a <rtems_filesystem_null_handlers+0xb0>
   4321a:	4e92           	jsr %a2@                                    
   4321c:	508f           	addql #8,%sp                                
   4321e:	4a80           	tstl %d0                                    
   43220:	670c           	beqs 4322e <init_etc_passwd_group+0xa6>     
    fclose(fp);                                                       
   43222:	2f00           	movel %d0,%sp@-                             
   43224:	4eb9 0004 d84e 	jsr 4d84e <fclose>                          
   4322a:	588f           	addql #4,%sp                                
   4322c:	602e           	bras 4325c <init_etc_passwd_group+0xd4>     
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
   4322e:	4879 0005 c034 	pea 5c034 <_rodata_start+0x104>             
   43234:	4879 0005 cc8a 	pea 5cc8a <rtems_filesystem_null_handlers+0xb0>
   4323a:	4e92           	jsr %a2@                                    
   4323c:	508f           	addql #8,%sp                                
   4323e:	2400           	movel %d0,%d2                               
   43240:	671a           	beqs 4325c <init_etc_passwd_group+0xd4>     <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
   43242:	2f00           	movel %d0,%sp@-                             
   43244:	4879 0005 cc95 	pea 5cc95 <rtems_filesystem_null_handlers+0xbb>
   4324a:	4eb9 0004 e02c 	jsr 4e02c <fputs>                           
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
   43250:	2f02           	movel %d2,%sp@-                             
   43252:	4eb9 0004 d84e 	jsr 4d84e <fclose>                          
   43258:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
}                                                                     
   4325c:	242e fff8      	movel %fp@(-8),%d2                          
   43260:	246e fffc      	moveal %fp@(-4),%a2                         
   43264:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004443e <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
   4443e:	4e56 fff4      	linkw %fp,#-12                              
   44442:	222e 0008      	movel %fp@(8),%d1                           
   44446:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4444a:	246e 000c      	moveal %fp@(12),%a2                         
  if (tty->termios.c_iflag & ISTRIP)                                  
   4444e:	202a 0030      	movel %a2@(48),%d0                          
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
   44452:	1401           	moveb %d1,%d2                               
  if (tty->termios.c_iflag & ISTRIP)                                  
   44454:	0800 0005      	btst #5,%d0                                 
   44458:	6704           	beqs 4445e <iproc+0x20>                     <== ALWAYS TAKEN
    c &= 0x7f;                                                        
   4445a:	747f           	moveq #127,%d2                              <== NOT EXECUTED
   4445c:	c481           	andl %d1,%d2                                <== NOT EXECUTED
  if (tty->termios.c_iflag & IUCLC)                                   
   4445e:	0800 0009      	btst #9,%d0                                 
   44462:	6724           	beqs 44488 <iproc+0x4a>                     
    c = tolower (c);                                                  
   44464:	2079 0005 c280 	moveal 5c280 <__ctype_ptr__>,%a0            
   4446a:	7603           	moveq #3,%d3                                
   4446c:	0282 0000 00ff 	andil #255,%d2                              
   44472:	1230 2801      	moveb %a0@(00000001,%d2:l),%d1              
   44476:	49c1           	extbl %d1                                   
   44478:	c283           	andl %d3,%d1                                
   4447a:	163c 0001      	moveb #1,%d3                                
   4447e:	b681           	cmpl %d1,%d3                                
   44480:	6606           	bnes 44488 <iproc+0x4a>                     
   44482:	0682 0000 0020 	addil #32,%d2                               
  if (c == '\r') {                                                    
   44488:	4281           	clrl %d1                                    
   4448a:	1202           	moveb %d2,%d1                               
   4448c:	760d           	moveq #13,%d3                               
   4448e:	b681           	cmpl %d1,%d3                                
   44490:	6610           	bnes 444a2 <iproc+0x64>                     
    if (tty->termios.c_iflag & IGNCR)                                 
   44492:	4a00           	tstb %d0                                    
   44494:	6d00 0104      	bltw 4459a <iproc+0x15c>                    
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
   44498:	0800 0008      	btst #8,%d0                                 
   4449c:	671a           	beqs 444b8 <iproc+0x7a>                     <== NEVER TAKEN
      c = '\n';                                                       
   4449e:	740a           	moveq #10,%d2                               
   444a0:	6016           	bras 444b8 <iproc+0x7a>                     
  }                                                                   
  else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {           
   444a2:	760a           	moveq #10,%d3                               
   444a4:	b681           	cmpl %d1,%d3                                
   444a6:	660a           	bnes 444b2 <iproc+0x74>                     
   444a8:	0800 0006      	btst #6,%d0                                 
   444ac:	670a           	beqs 444b8 <iproc+0x7a>                     <== ALWAYS TAKEN
    c = '\r';                                                         
   444ae:	740d           	moveq #13,%d2                               <== NOT EXECUTED
   444b0:	6006           	bras 444b8 <iproc+0x7a>                     <== NOT EXECUTED
  }                                                                   
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
   444b2:	4a02           	tstb %d2                                    
   444b4:	6700 00a8      	beqw 4455e <iproc+0x120>                    
   444b8:	222a 003c      	movel %a2@(60),%d1                          
   444bc:	0801 0001      	btst #1,%d1                                 
   444c0:	6700 009c      	beqw 4455e <iproc+0x120>                    
    if (c == tty->termios.c_cc[VERASE]) {                             
   444c4:	4283           	clrl %d3                                    
   444c6:	162a 0043      	moveb %a2@(67),%d3                          
   444ca:	4280           	clrl %d0                                    
   444cc:	1002           	moveb %d2,%d0                               
   444ce:	b680           	cmpl %d0,%d3                                
   444d0:	6604           	bnes 444d6 <iproc+0x98>                     
      erase (tty, 0);                                                 
   444d2:	42a7           	clrl %sp@-                                  
   444d4:	600e           	bras 444e4 <iproc+0xa6>                     
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
   444d6:	4283           	clrl %d3                                    
   444d8:	162a 0044      	moveb %a2@(68),%d3                          
   444dc:	b680           	cmpl %d0,%d3                                
   444de:	6610           	bnes 444f0 <iproc+0xb2>                     
      erase (tty, 1);                                                 
   444e0:	4878 0001      	pea 1 <ADD>                                 
   444e4:	2f0a           	movel %a2,%sp@-                             
   444e6:	4eba fdc4      	jsr %pc@(442ac <erase>)                     
      return 0;                                                       
   444ea:	508f           	addql #8,%sp                                
   444ec:	6000 00ac      	braw 4459a <iproc+0x15c>                    
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
   444f0:	4283           	clrl %d3                                    
   444f2:	162a 0045      	moveb %a2@(69),%d3                          
   444f6:	b680           	cmpl %d0,%d3                                
   444f8:	6700 009c      	beqw 44596 <iproc+0x158>                    
      return 1;                                                       
    }                                                                 
    else if (c == '\n') {                                             
   444fc:	760a           	moveq #10,%d3                               
   444fe:	b680           	cmpl %d0,%d3                                
   44500:	6622           	bnes 44524 <iproc+0xe6>                     
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
   44502:	7048           	moveq #72,%d0                               
   44504:	c280           	andl %d0,%d1                                
   44506:	670c           	beqs 44514 <iproc+0xd6>                     <== NEVER TAKEN
        echo (c, tty);                                                
   44508:	2f0a           	movel %a2,%sp@-                             
   4450a:	4878 000a      	pea a <LASTO>                               
   4450e:	4eba fd14      	jsr %pc@(44224 <echo>)                      
   44512:	508f           	addql #8,%sp                                
      tty->cbuf[tty->ccount++] = c;                                   
   44514:	202a 0020      	movel %a2@(32),%d0                          
   44518:	206a 001c      	moveal %a2@(28),%a0                         
   4451c:	720a           	moveq #10,%d1                               
   4451e:	1181 0800      	moveb %d1,%a0@(00000000,%d0:l)              
   44522:	6032           	bras 44556 <iproc+0x118>                    
      return 1;                                                       
    }                                                                 
    else if ((c == tty->termios.c_cc[VEOL])                           
   44524:	4283           	clrl %d3                                    
   44526:	162a 004c      	moveb %a2@(76),%d3                          
   4452a:	b680           	cmpl %d0,%d3                                
   4452c:	670a           	beqs 44538 <iproc+0xfa>                     <== NEVER TAKEN
          || (c == tty->termios.c_cc[VEOL2])) {                       
   4452e:	4283           	clrl %d3                                    
   44530:	162a 0051      	moveb %a2@(81),%d3                          
   44534:	b680           	cmpl %d0,%d3                                
   44536:	6626           	bnes 4455e <iproc+0x120>                    <== ALWAYS TAKEN
      if (tty->termios.c_lflag & ECHO)                                
   44538:	44c1           	movew %d1,%ccr                              <== NOT EXECUTED
   4453a:	6a0e           	bpls 4454a <iproc+0x10c>                    <== NOT EXECUTED
        echo (c, tty);                                                
   4453c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4453e:	4280           	clrl %d0                                    <== NOT EXECUTED
   44540:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   44542:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44544:	4eba fcde      	jsr %pc@(44224 <echo>)                      <== NOT EXECUTED
   44548:	508f           	addql #8,%sp                                <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
   4454a:	202a 0020      	movel %a2@(32),%d0                          <== NOT EXECUTED
   4454e:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
   44552:	1182 0800      	moveb %d2,%a0@(00000000,%d0:l)              <== NOT EXECUTED
   44556:	5280           	addql #1,%d0                                
   44558:	2540 0020      	movel %d0,%a2@(32)                          
   4455c:	6038           	bras 44596 <iproc+0x158>                    
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
   4455e:	2039 0005 c1b0 	movel 5c1b0 <rtems_termios_cbufsize>,%d0    
   44564:	5380           	subql #1,%d0                                
   44566:	b0aa 0020      	cmpl %a2@(32),%d0                           
   4456a:	6f2e           	bles 4459a <iproc+0x15c>                    <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
   4456c:	7008           	moveq #8,%d0                                
   4456e:	c0aa 003c      	andl %a2@(60),%d0                           
   44572:	670e           	beqs 44582 <iproc+0x144>                    <== NEVER TAKEN
      echo (c, tty);                                                  
   44574:	2f0a           	movel %a2,%sp@-                             
   44576:	4280           	clrl %d0                                    
   44578:	1002           	moveb %d2,%d0                               
   4457a:	2f00           	movel %d0,%sp@-                             
   4457c:	4eba fca6      	jsr %pc@(44224 <echo>)                      
   44580:	508f           	addql #8,%sp                                
    tty->cbuf[tty->ccount++] = c;                                     
   44582:	202a 0020      	movel %a2@(32),%d0                          
   44586:	206a 001c      	moveal %a2@(28),%a0                         
   4458a:	1182 0800      	moveb %d2,%a0@(00000000,%d0:l)              
   4458e:	5280           	addql #1,%d0                                
   44590:	2540 0020      	movel %d0,%a2@(32)                          
   44594:	6004           	bras 4459a <iproc+0x15c>                    
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
   44596:	7001           	moveq #1,%d0                                
   44598:	6002           	bras 4459c <iproc+0x15e>                    
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
   4459a:	4280           	clrl %d0                                    
}                                                                     
   4459c:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   445a2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005a018 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
   5a018:	4e56 ffd0      	linkw %fp,#-48                              
   5a01c:	48d7 1cfc      	moveml %d2-%d7/%a2-%a4,%sp@                 
   5a020:	242e 000c      	movel %fp@(12),%d2                          
   5a024:	246e 0010      	moveal %fp@(16),%a2                         
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
   5a028:	4eb9 0005 9c54 	jsr 59c54 <getpid>                          
   5a02e:	b0ae 0008      	cmpl %fp@(8),%d0                            
   5a032:	6710           	beqs 5a044 <killinfo+0x2c>                  
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   5a034:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   5a03a:	7403           	moveq #3,%d2                                
   5a03c:	2040           	moveal %d0,%a0                              
   5a03e:	2082           	movel %d2,%a0@                              
   5a040:	6000 01aa      	braw 5a1ec <killinfo+0x1d4>                 
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
   5a044:	4a82           	tstl %d2                                    
   5a046:	670a           	beqs 5a052 <killinfo+0x3a>                  
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   5a048:	2202           	movel %d2,%d1                               
   5a04a:	5381           	subql #1,%d1                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   5a04c:	701f           	moveq #31,%d0                               
   5a04e:	b081           	cmpl %d1,%d0                                
   5a050:	6410           	bccs 5a062 <killinfo+0x4a>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   5a052:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   5a058:	7216           	moveq #22,%d1                               
   5a05a:	2040           	moveal %d0,%a0                              
   5a05c:	2081           	movel %d1,%a0@                              
   5a05e:	6000 018c      	braw 5a1ec <killinfo+0x1d4>                 
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
   5a062:	2602           	movel %d2,%d3                               
   5a064:	2002           	movel %d2,%d0                               
   5a066:	e58b           	lsll #2,%d3                                 
   5a068:	e988           	lsll #4,%d0                                 
   5a06a:	9083           	subl %d3,%d0                                
   5a06c:	0680 0005 ddb2 	addil #384434,%d0                           
   5a072:	7601           	moveq #1,%d3                                
   5a074:	2040           	moveal %d0,%a0                              
   5a076:	b690           	cmpl %a0@,%d3                               
   5a078:	6700 01a2      	beqw 5a21c <killinfo+0x204>                 
  /*                                                                  
   *  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 ) )      
   5a07c:	7008           	moveq #8,%d0                                
   5a07e:	b082           	cmpl %d2,%d0                                
   5a080:	6710           	beqs 5a092 <killinfo+0x7a>                  
   5a082:	163c 0004      	moveb #4,%d3                                
   5a086:	b682           	cmpl %d2,%d3                                
   5a088:	6708           	beqs 5a092 <killinfo+0x7a>                  
   5a08a:	103c 000b      	moveb #11,%d0                               
   5a08e:	b082           	cmpl %d2,%d0                                
   5a090:	6616           	bnes 5a0a8 <killinfo+0x90>                  
      return pthread_kill( pthread_self(), sig );                     
   5a092:	4eb9 0005 a3f0 	jsr 5a3f0 <pthread_self>                    
   5a098:	2f02           	movel %d2,%sp@-                             
   5a09a:	2f00           	movel %d0,%sp@-                             
   5a09c:	4eb9 0005 a338 	jsr 5a338 <pthread_kill>                    
   5a0a2:	508f           	addql #8,%sp                                
   5a0a4:	6000 0178      	braw 5a21e <killinfo+0x206>                 
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
   5a0a8:	7601           	moveq #1,%d3                                
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
   5a0aa:	7001           	moveq #1,%d0                                
   5a0ac:	e3ab           	lsll %d1,%d3                                
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
   5a0ae:	2d42 fff4      	movel %d2,%fp@(-12)                         
  siginfo->si_code = SI_USER;                                         
   5a0b2:	2d40 fff8      	movel %d0,%fp@(-8)                          
  if ( !value ) {                                                     
   5a0b6:	4a8a           	tstl %a2                                    
   5a0b8:	6606           	bnes 5a0c0 <killinfo+0xa8>                  
    siginfo->si_value.sival_int = 0;                                  
   5a0ba:	42ae fffc      	clrl %fp@(-4)                               
   5a0be:	6004           	bras 5a0c4 <killinfo+0xac>                  
  } else {                                                            
    siginfo->si_value = *value;                                       
   5a0c0:	2d52 fffc      	movel %a2@,%fp@(-4)                         
   5a0c4:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   5a0ca:	5280           	addql #1,%d0                                
   5a0cc:	23c0 0005 d90c 	movel %d0,5d90c <_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;                                     
   5a0d2:	2279 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a1 
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
   5a0d8:	2069 010e      	moveal %a1@(270),%a0                        
   5a0dc:	2028 00cc      	movel %a0@(204),%d0                         
   5a0e0:	4680           	notl %d0                                    
   5a0e2:	c083           	andl %d3,%d0                                
   5a0e4:	6600 00aa      	bnew 5a190 <killinfo+0x178>                 
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
   5a0e8:	2079 0005 df36 	moveal 5df36 <_POSIX_signals_Wait_queue>,%a0
   5a0ee:	601e           	bras 5a10e <killinfo+0xf6>                  
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5a0f0:	2003           	movel %d3,%d0                               
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
   5a0f2:	2248           	moveal %a0,%a1                              
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5a0f4:	c0a8 0030      	andl %a0@(48),%d0                           
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
   5a0f8:	2468 010e      	moveal %a0@(270),%a2                        
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5a0fc:	6600 0092      	bnew 5a190 <killinfo+0x178>                 
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
   5a100:	202a 00cc      	movel %a2@(204),%d0                         
   5a104:	4680           	notl %d0                                    
   5a106:	c083           	andl %d3,%d0                                
   5a108:	6600 0086      	bnew 5a190 <killinfo+0x178>                 
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
   5a10c:	2050           	moveal %a0@,%a0                             
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
   5a10e:	b1fc 0005 df3a 	cmpal #384826,%a0                           
   5a114:	66da           	bnes 5a0f0 <killinfo+0xd8>                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
   5a116:	4280           	clrl %d0                                    
   5a118:	1039 0005 c152 	moveb 5c152 <rtems_maximum_priority>,%d0    
   5a11e:	45f9 0005 d8d0 	lea 5d8d0 <_Objects_Information_table+0x8>,%a2
   5a124:	5280           	addql #1,%d0                                
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
   5a126:	93c9           	subal %a1,%a1                               
  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 ] )                     
   5a128:	205a           	moveal %a2@+,%a0                            
   5a12a:	4a88           	tstl %a0                                    
   5a12c:	6756           	beqs 5a184 <killinfo+0x16c>                 <== NEVER TAKEN
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
   5a12e:	2068 0004      	moveal %a0@(4),%a0                          
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
   5a132:	4287           	clrl %d7                                    
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   5a134:	7801           	moveq #1,%d4                                
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
   5a136:	2668 0018      	moveal %a0@(24),%a3                         
   5a13a:	588b           	addql #4,%a3                                
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
   5a13c:	3e28 000e      	movew %a0@(14),%d7                          
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   5a140:	603e           	bras 5a180 <killinfo+0x168>                 
      the_thread = (Thread_Control *) object_table[ index ];          
   5a142:	205b           	moveal %a3@+,%a0                            
                                                                      
      if ( !the_thread )                                              
   5a144:	4a88           	tstl %a0                                    
   5a146:	6736           	beqs 5a17e <killinfo+0x166>                 
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
   5a148:	2228 0014      	movel %a0@(20),%d1                          
   5a14c:	b081           	cmpl %d1,%d0                                
   5a14e:	652e           	bcss 5a17e <killinfo+0x166>                 
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
   5a150:	2868 010e      	moveal %a0@(270),%a4                        
   5a154:	2a2c 00cc      	movel %a4@(204),%d5                         
   5a158:	4685           	notl %d5                                    
   5a15a:	ca83           	andl %d3,%d5                                
   5a15c:	6720           	beqs 5a17e <killinfo+0x166>                 
       *                                                              
       *  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 ) {     
   5a15e:	b081           	cmpl %d1,%d0                                
   5a160:	6218           	bhis 5a17a <killinfo+0x162>                 
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
   5a162:	2c29 0010      	movel %a1@(16),%d6                          
   5a166:	6716           	beqs 5a17e <killinfo+0x166>                 <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
   5a168:	2a28 0010      	movel %a0@(16),%d5                          
   5a16c:	670c           	beqs 5a17a <killinfo+0x162>                 
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
   5a16e:	0806 001c      	btst #28,%d6                                
   5a172:	660a           	bnes 5a17e <killinfo+0x166>                 
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
   5a174:	0805 001c      	btst #28,%d5                                
   5a178:	6704           	beqs 5a17e <killinfo+0x166>                 
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
   5a17a:	2001           	movel %d1,%d0                               
   5a17c:	2248           	moveal %a0,%a1                              
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   5a17e:	5284           	addql #1,%d4                                
   5a180:	be84           	cmpl %d4,%d7                                
   5a182:	64be           	bccs 5a142 <killinfo+0x12a>                 
   *    + 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++) {
   5a184:	b5fc 0005 d8d8 	cmpal #383192,%a2                           
   5a18a:	669c           	bnes 5a128 <killinfo+0x110>                 
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
   5a18c:	4a89           	tstl %a1                                    
   5a18e:	6716           	beqs 5a1a6 <killinfo+0x18e>                 
                                                                      
  /*                                                                  
   *  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 ) ) {  
   5a190:	486e fff4      	pea %fp@(-12)                               
   5a194:	2f02           	movel %d2,%sp@-                             
   5a196:	2f09           	movel %a1,%sp@-                             
   5a198:	4eb9 0005 a248 	jsr 5a248 <_POSIX_signals_Unblock_thread>   
   5a19e:	4fef 000c      	lea %sp@(12),%sp                            
   5a1a2:	4a00           	tstb %d0                                    
   5a1a4:	6670           	bnes 5a216 <killinfo+0x1fe>                 
                                                                      
  /*                                                                  
   *  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 );                         
   5a1a6:	2f03           	movel %d3,%sp@-                             
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
   5a1a8:	7602           	moveq #2,%d3                                
                                                                      
  /*                                                                  
   *  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 );                         
   5a1aa:	4eb9 0005 a228 	jsr 5a228 <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
   5a1b0:	588f           	addql #4,%sp                                
   5a1b2:	2002           	movel %d2,%d0                               
   5a1b4:	41f9 0005 ddaa 	lea 5ddaa <_POSIX_signals_Vectors>,%a0      
   5a1ba:	e588           	lsll #2,%d0                                 
   5a1bc:	e98a           	lsll #4,%d2                                 
   5a1be:	9480           	subl %d0,%d2                                
   5a1c0:	b6b0 2800      	cmpl %a0@(00000000,%d2:l),%d3               
   5a1c4:	6650           	bnes 5a216 <killinfo+0x1fe>                 
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
   5a1c6:	4879 0005 df2a 	pea 5df2a <_POSIX_signals_Inactive_siginfo> 
   5a1cc:	4eb9 0004 618c 	jsr 4618c <_Chain_Get>                      
    if ( !psiginfo ) {                                                
   5a1d2:	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 );        
   5a1d4:	2440           	moveal %d0,%a2                              
    if ( !psiginfo ) {                                                
   5a1d6:	4a80           	tstl %d0                                    
   5a1d8:	6616           	bnes 5a1f0 <killinfo+0x1d8>                 
      _Thread_Enable_dispatch();                                      
   5a1da:	4eb9 0004 76ba 	jsr 476ba <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
   5a1e0:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   5a1e6:	2040           	moveal %d0,%a0                              
   5a1e8:	700b           	moveq #11,%d0                               
   5a1ea:	2080           	movel %d0,%a0@                              
   5a1ec:	70ff           	moveq #-1,%d0                               
   5a1ee:	602e           	bras 5a21e <killinfo+0x206>                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
   5a1f0:	4878 000c      	pea c <OPER1>                               
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   5a1f4:	0682 0005 dfa2 	addil #384930,%d2                           
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
   5a1fa:	486e fff4      	pea %fp@(-12)                               
   5a1fe:	486a 0008      	pea %a2@(8)                                 
   5a202:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   5a208:	2f0a           	movel %a2,%sp@-                             
   5a20a:	2f02           	movel %d2,%sp@-                             
   5a20c:	4eb9 0004 612c 	jsr 4612c <_Chain_Append>                   
   5a212:	4fef 0014      	lea %sp@(20),%sp                            
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
   5a216:	4eb9 0004 76ba 	jsr 476ba <_Thread_Enable_dispatch>         
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
    return 0;                                                         
   5a21c:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5a21e:	4cee 1cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a4            
   5a224:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044738 <lstat>: int _STAT_NAME( const char *path, struct stat *buf ) {
   44738:	4e56 ffdc      	linkw %fp,#-36                              
   4473c:	48d7 001c      	moveml %d2-%d4,%sp@                         
   44740:	282e 0008      	movel %fp@(8),%d4                           
   44744:	262e 000c      	movel %fp@(12),%d3                          
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
   44748:	660e           	bnes 44758 <lstat+0x20>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   4474a:	4eb9 0004 efe0 	jsr 4efe0 <__errno>                         <== NOT EXECUTED
   44750:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   44752:	700e           	moveq #14,%d0                               <== NOT EXECUTED
   44754:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   44756:	605a           	bras 447b2 <lstat+0x7a>                     <== NOT EXECUTED
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
   44758:	2f04           	movel %d4,%sp@-                             
   4475a:	240e           	movel %fp,%d2                               
   4475c:	0682 ffff ffec 	addil #-20,%d2                              
   44762:	4eb9 0005 0b38 	jsr 50b38 <strlen>                          
   44768:	4297           	clrl %sp@                                   
   4476a:	2f02           	movel %d2,%sp@-                             
   4476c:	42a7           	clrl %sp@-                                  
   4476e:	2f00           	movel %d0,%sp@-                             
   44770:	2f04           	movel %d4,%sp@-                             
   44772:	4eb9 0004 429a 	jsr 4429a <rtems_filesystem_evaluate_path>  
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
   44778:	4fef 0014      	lea %sp@(20),%sp                            
   4477c:	4a80           	tstl %d0                                    
   4477e:	6632           	bnes 447b2 <lstat+0x7a>                     
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
   44780:	4878 0046      	pea 46 <DBL_MANT_DIG+0x11>                  
   44784:	42a7           	clrl %sp@-                                  
   44786:	2f03           	movel %d3,%sp@-                             
   44788:	4eb9 0004 f950 	jsr 4f950 <memset>                          
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
   4478e:	206e fff4      	moveal %fp@(-12),%a0                        
   44792:	2f03           	movel %d3,%sp@-                             
   44794:	2f02           	movel %d2,%sp@-                             
   44796:	2068 0018      	moveal %a0@(24),%a0                         
   4479a:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4479c:	2f02           	movel %d2,%sp@-                             
   4479e:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   447a2:	4eb9 0004 4390 	jsr 44390 <rtems_filesystem_freenode>       
                                                                      
  return status;                                                      
   447a8:	202e ffe8      	movel %fp@(-24),%d0                         
   447ac:	4fef 0018      	lea %sp@(24),%sp                            
   447b0:	6002           	bras 447b4 <lstat+0x7c>                     
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
    return -1;                                                        
   447b2:	70ff           	moveq #-1,%d0                               
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return status;                                                      
}                                                                     
   447b4:	4cee 001c ffdc 	moveml %fp@(-36),%d2-%d4                    
   447ba:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042b3c <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
   42b3c:	4e56 0000      	linkw %fp,#0                                
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
   42b40:	52b9 0005 d7d0 	addql #1,5d7d0 <rtems_malloc_statistics+0x4>
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
   42b46:	2f03           	movel %d3,%sp@-                             
   42b48:	2f02           	movel %d2,%sp@-                             
   42b4a:	242e 0008      	movel %fp@(8),%d2                           
  MSBUMP(malloc_calls, 1);                                            
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
   42b4e:	4eb9 0004 2a32 	jsr 42a32 <malloc_deferred_frees_process>   
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
   42b54:	4a82           	tstl %d2                                    
   42b56:	677e           	beqs 42bd6 <malloc+0x9a>                    
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   42b58:	7003           	moveq #3,%d0                                
   42b5a:	b0b9 0005 da7a 	cmpl 5da7a <_System_state_Current>,%d0      
   42b60:	660a           	bnes 42b6c <malloc+0x30>                    
       !malloc_is_system_state_OK() )                                 
   42b62:	4eb9 0004 29f4 	jsr 429f4 <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()) &&                    
   42b68:	4a00           	tstb %d0                                    
   42b6a:	676a           	beqs 42bd6 <malloc+0x9a>                    <== NEVER TAKEN
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
   42b6c:	42a7           	clrl %sp@-                                  
   42b6e:	42a7           	clrl %sp@-                                  
   42b70:	2f02           	movel %d2,%sp@-                             
   42b72:	2f39 0005 c0b0 	movel 5c0b0 <RTEMS_Malloc_Heap>,%sp@-       
   42b78:	4eb9 0004 70fc 	jsr 470fc <_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 ) {                                               
   42b7e:	4fef 0010      	lea %sp@(16),%sp                            
   42b82:	4a80           	tstl %d0                                    
   42b84:	6626           	bnes 42bac <malloc+0x70>                    
    if (rtems_malloc_sbrk_helpers)                                    
   42b86:	2079 0005 c74a 	moveal 5c74a <rtems_malloc_sbrk_helpers>,%a0
   42b8c:	4a88           	tstl %a0                                    
   42b8e:	670e           	beqs 42b9e <malloc+0x62>                    <== ALWAYS TAKEN
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
   42b90:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42b92:	2068 0004      	moveal %a0@(4),%a0                          <== NOT EXECUTED
   42b96:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    if ( !return_this ) {                                             
   42b98:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
   42b9a:	2600           	movel %d0,%d3                               <== NOT EXECUTED
    if ( !return_this ) {                                             
   42b9c:	6610           	bnes 42bae <malloc+0x72>                    <== NOT EXECUTED
      errno = ENOMEM;                                                 
   42b9e:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   42ba4:	2040           	moveal %d0,%a0                              
   42ba6:	700c           	moveq #12,%d0                               
   42ba8:	2080           	movel %d0,%a0@                              
   42baa:	602a           	bras 42bd6 <malloc+0x9a>                    
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
   42bac:	2600           	movel %d0,%d3                               
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
   42bae:	2079 0005 c74e 	moveal 5c74e <rtems_malloc_dirty_helper>,%a0
   42bb4:	4a88           	tstl %a0                                    
   42bb6:	6708           	beqs 42bc0 <malloc+0x84>                    
    (*rtems_malloc_dirty_helper)( return_this, size );                
   42bb8:	2f02           	movel %d2,%sp@-                             
   42bba:	2f03           	movel %d3,%sp@-                             
   42bbc:	4e90           	jsr %a0@                                    
   42bbe:	508f           	addql #8,%sp                                
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   42bc0:	2079 0005 c746 	moveal 5c746 <rtems_malloc_statistics_helpers>,%a0
   42bc6:	4a88           	tstl %a0                                    
   42bc8:	670e           	beqs 42bd8 <malloc+0x9c>                    <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
   42bca:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42bcc:	2068 0004      	moveal %a0@(4),%a0                          <== NOT EXECUTED
   42bd0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42bd2:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42bd4:	6002           	bras 42bd8 <malloc+0x9c>                    <== NOT EXECUTED
  /*                                                                  
   *  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 NULL;                                                      
   42bd6:	4283           	clrl %d3                                    
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
   42bd8:	2003           	movel %d3,%d0                               
   42bda:	242e fff8      	movel %fp@(-8),%d2                          
   42bde:	262e fffc      	movel %fp@(-4),%d3                          
   42be2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b28c <memfile_alloc_block>: */ int memfile_blocks_allocated = 0; void *memfile_alloc_block(void) {
   4b28c:	4e56 0000      	linkw %fp,#0                                
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
   4b290:	2f39 0005 cfb4 	movel 5cfb4 <imfs_memfile_bytes_per_block>,%sp@-
   4b296:	4878 0001      	pea 1 <ADD>                                 
   4b29a:	4eb9 0004 2468 	jsr 42468 <calloc>                          
  if ( memory )                                                       
   4b2a0:	508f           	addql #8,%sp                                
   4b2a2:	4a80           	tstl %d0                                    
   4b2a4:	6706           	beqs 4b2ac <memfile_alloc_block+0x20>       <== NEVER TAKEN
    memfile_blocks_allocated++;                                       
   4b2a6:	52b9 0005 d0c4 	addql #1,5d0c4 <memfile_blocks_allocated>   
                                                                      
  return memory;                                                      
}                                                                     
   4b2ac:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b648 <memfile_free_blocks_in_table>: void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
   4b648:	4e56 ffec      	linkw %fp,#-20                              
   4b64c:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4b650:	246e 0008      	moveal %fp@(8),%a2                          
   4b654:	262e 000c      	movel %fp@(12),%d3                          
   */                                                                 
                                                                      
  #if defined(RTEMS_DEBUG)                                            
    assert( block_table );                                            
  #endif                                                              
  if ( !block_table )                                                 
   4b658:	4a8a           	tstl %a2                                    
   4b65a:	672c           	beqs 4b688 <memfile_free_blocks_in_table+0x40><== NEVER TAKEN
   4b65c:	2652           	moveal %a2@,%a3                             
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4b65e:	4282           	clrl %d2                                    
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
   4b660:	49f9 0004 b62e 	lea 4b62e <memfile_free_block>,%a4          
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4b666:	6010           	bras 4b678 <memfile_free_blocks_in_table+0x30>
    if ( b[i] ) {                                                     
   4b668:	201b           	movel %a3@+,%d0                             
   4b66a:	670a           	beqs 4b676 <memfile_free_blocks_in_table+0x2e>
      memfile_free_block( b[i] );                                     
   4b66c:	2f00           	movel %d0,%sp@-                             
   4b66e:	4e94           	jsr %a4@                                    
      b[i] = 0;                                                       
   4b670:	588f           	addql #4,%sp                                
   4b672:	42ab fffc      	clrl %a3@(-4)                               
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4b676:	5282           	addql #1,%d2                                
   4b678:	b682           	cmpl %d2,%d3                                
   4b67a:	6eec           	bgts 4b668 <memfile_free_blocks_in_table+0x20>
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
   4b67c:	2f12           	movel %a2@,%sp@-                            
   4b67e:	4eb9 0004 b62e 	jsr 4b62e <memfile_free_block>              
  *block_table = 0;                                                   
   4b684:	588f           	addql #4,%sp                                
   4b686:	4292           	clrl %a2@                                   
}                                                                     
   4b688:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4b68e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004baea <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
   4baea:	4e56 ffec      	linkw %fp,#-20                              
   4baee:	206e 0008      	moveal %fp@(8),%a0                          
   4baf2:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
   4baf6:	2468 0038      	moveal %a0@(56),%a2                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
   4bafa:	202e 000c      	movel %fp@(12),%d0                          
   4bafe:	222e 0010      	movel %fp@(16),%d1                          
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
   4bb02:	242a 004c      	movel %a2@(76),%d2                          
   4bb06:	262a 0050      	movel %a2@(80),%d3                          
   4bb0a:	9681           	subl %d1,%d3                                
   4bb0c:	9580           	subxl %d0,%d2                               
   4bb0e:	6c12           	bges 4bb22 <memfile_ftruncate+0x38>         <== ALWAYS TAKEN
    return IMFS_memfile_extend( the_jnode, length );                  
   4bb10:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4bb12:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4bb14:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4bb16:	4eb9 0004 b7a4 	jsr 4b7a4 <IMFS_memfile_extend>             <== NOT EXECUTED
   4bb1c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4bb20:	6026           	bras 4bb48 <memfile_ftruncate+0x5e>         <== NOT EXECUTED
   *  The in-memory files do not currently reclaim memory until the file is
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
   4bb22:	2540 004c      	movel %d0,%a2@(76)                          
   4bb26:	2541 0050      	movel %d1,%a2@(80)                          
  iop->size = the_jnode->info.file.size;                              
   4bb2a:	2140 0004      	movel %d0,%a0@(4)                           
   4bb2e:	2141 0008      	movel %d1,%a0@(8)                           
                                                                      
  IMFS_update_atime( the_jnode );                                     
   4bb32:	42a7           	clrl %sp@-                                  
   4bb34:	486e fff8      	pea %fp@(-8)                                
   4bb38:	4eb9 0004 28dc 	jsr 428dc <gettimeofday>                    
   4bb3e:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
                                                                      
  return 0;                                                           
   4bb44:	508f           	addql #8,%sp                                
   4bb46:	4280           	clrl %d0                                    
}                                                                     
   4bb48:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   4bb4e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bb52 <memfile_lseek>: { IMFS_jnode_t *the_jnode; the_jnode = iop->file_info; if (the_jnode->type == IMFS_LINEAR_FILE) {
   4bb52:	7006           	moveq #6,%d0                                
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
   4bb54:	4e56 fff0      	linkw %fp,#-16                              
   4bb58:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4bb5c:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
   4bb60:	266a 0038      	moveal %a2@(56),%a3                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4bb64:	b0ab 0048      	cmpl %a3@(72),%d0                           
   4bb68:	6620           	bnes 4bb8a <memfile_lseek+0x38>             <== ALWAYS TAKEN
    if (iop->offset > the_jnode->info.linearfile.size)                
   4bb6a:	202b 004c      	movel %a3@(76),%d0                          <== NOT EXECUTED
   4bb6e:	222b 0050      	movel %a3@(80),%d1                          <== NOT EXECUTED
   4bb72:	242a 000c      	movel %a2@(12),%d2                          <== NOT EXECUTED
   4bb76:	262a 0010      	movel %a2@(16),%d3                          <== NOT EXECUTED
   4bb7a:	9681           	subl %d1,%d3                                <== NOT EXECUTED
   4bb7c:	9580           	subxl %d0,%d2                               <== NOT EXECUTED
   4bb7e:	6f44           	bles 4bbc4 <memfile_lseek+0x72>             <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
   4bb80:	2540 000c      	movel %d0,%a2@(12)                          <== NOT EXECUTED
   4bb84:	2541 0010      	movel %d1,%a2@(16)                          <== NOT EXECUTED
   4bb88:	603a           	bras 4bbc4 <memfile_lseek+0x72>             <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
   4bb8a:	2f2a 0010      	movel %a2@(16),%sp@-                        
   4bb8e:	2f2a 000c      	movel %a2@(12),%sp@-                        
   4bb92:	2f0b           	movel %a3,%sp@-                             
   4bb94:	4eb9 0004 b7a4 	jsr 4b7a4 <IMFS_memfile_extend>             
   4bb9a:	4fef 000c      	lea %sp@(12),%sp                            
   4bb9e:	4a80           	tstl %d0                                    
   4bba0:	6712           	beqs 4bbb4 <memfile_lseek+0x62>             <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   4bba2:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4bba8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4bbaa:	701c           	moveq #28,%d0                               <== NOT EXECUTED
   4bbac:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4bbae:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4bbb0:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   4bbb2:	6018           	bras 4bbcc <memfile_lseek+0x7a>             <== NOT EXECUTED
                                                                      
    iop->size = the_jnode->info.file.size;                            
   4bbb4:	202b 004c      	movel %a3@(76),%d0                          
   4bbb8:	222b 0050      	movel %a3@(80),%d1                          
   4bbbc:	2540 0004      	movel %d0,%a2@(4)                           
   4bbc0:	2541 0008      	movel %d1,%a2@(8)                           
  }                                                                   
  return iop->offset;                                                 
   4bbc4:	222a 000c      	movel %a2@(12),%d1                          
   4bbc8:	242a 0010      	movel %a2@(16),%d2                          
}                                                                     
   4bbcc:	2001           	movel %d1,%d0                               
   4bbce:	2202           	movel %d2,%d1                               
   4bbd0:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4bbd6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ba46 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
   4ba46:	4e56 fff0      	linkw %fp,#-16                              
   4ba4a:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4ba4e:	266e 0008      	moveal %fp@(8),%a3                          
  the_jnode = iop->file_info;                                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   4ba52:	202b 0014      	movel %a3@(20),%d0                          
   4ba56:	0280 0000 0204 	andil #516,%d0                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
   4ba5c:	246b 0038      	moveal %a3@(56),%a2                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   4ba60:	674c           	beqs 4baae <memfile_open+0x68>              
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
   4ba62:	7006           	moveq #6,%d0                                
   4ba64:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4ba68:	6644           	bnes 4baae <memfile_open+0x68>              <== ALWAYS TAKEN
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
   4ba6a:	7405           	moveq #5,%d2                                <== NOT EXECUTED
   4ba6c:	2542 0048      	movel %d2,%a2@(72)                          <== 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;               
   4ba70:	202a 0050      	movel %a2@(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;                         
   4ba74:	4282           	clrl %d2                                    <== NOT EXECUTED
   4ba76:	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;  
   4ba78:	222a 0054      	movel %a2@(84),%d1                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
   4ba7c:	2542 004c      	movel %d2,%a2@(76)                          <== NOT EXECUTED
   4ba80:	2543 0050      	movel %d3,%a2@(80)                          <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
   4ba84:	42aa 0054      	clrl %a2@(84)                               <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
   4ba88:	42aa 0058      	clrl %a2@(88)                               <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
   4ba8c:	42aa 005c      	clrl %a2@(92)                               <== NOT EXECUTED
    if ((count != 0)                                                  
   4ba90:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4ba92:	671a           	beqs 4baae <memfile_open+0x68>              <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
   4ba94:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4ba96:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4ba98:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4ba9a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4ba9c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4ba9e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4baa0:	4eb9 0004 b888 	jsr 4b888 <IMFS_memfile_write>              <== NOT EXECUTED
   4baa6:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   4baaa:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   4baac:	6730           	beqs 4bade <memfile_open+0x98>              <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
   4baae:	202b 0014      	movel %a3@(20),%d0                          
   4bab2:	0280 0000 0200 	andil #512,%d0                              
   4bab8:	6710           	beqs 4baca <memfile_open+0x84>              
    iop->offset = the_jnode->info.file.size;                          
   4baba:	202a 004c      	movel %a2@(76),%d0                          
   4babe:	222a 0050      	movel %a2@(80),%d1                          
   4bac2:	2740 000c      	movel %d0,%a3@(12)                          
   4bac6:	2741 0010      	movel %d1,%a3@(16)                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
  return 0;                                                           
   4baca:	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;                              
   4bacc:	222a 004c      	movel %a2@(76),%d1                          
   4bad0:	242a 0050      	movel %a2@(80),%d2                          
   4bad4:	2741 0004      	movel %d1,%a3@(4)                           
   4bad8:	2742 0008      	movel %d2,%a3@(8)                           
  return 0;                                                           
   4badc:	6002           	bras 4bae0 <memfile_open+0x9a>              
    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))      
        return -1;                                                    
   4bade:	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;                                                           
}                                                                     
   4bae0:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4bae6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042c08 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
   42c08:	4e56 ffd4      	linkw %fp,#-44                              
   42c0c:	48d7 001c      	moveml %d2-%d4,%sp@                         
   42c10:	262e 000c      	movel %fp@(12),%d3                          
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
   42c14:	2003           	movel %d3,%d0                               
   42c16:	0280 0000 f000 	andil #61440,%d0                            
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
   42c1c:	282e 0008      	movel %fp@(8),%d4                           
  rtems_filesystem_location_info_t    temp_loc;                       
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  if ( !(mode & (S_IFREG|S_IFCHR|S_IFBLK|S_IFIFO) ) )                 
   42c20:	4a80           	tstl %d0                                    
   42c22:	660e           	bnes 42c32 <mknod+0x2a>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   42c24:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42c2a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42c2c:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   42c2e:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42c30:	6064           	bras 42c96 <mknod+0x8e>                     <== NOT EXECUTED
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
   42c32:	240e           	movel %fp,%d2                               
   42c34:	0682 ffff ffe4 	addil #-28,%d2                              
   42c3a:	2f02           	movel %d2,%sp@-                             
   42c3c:	486e fffc      	pea %fp@(-4)                                
   42c40:	2f04           	movel %d4,%sp@-                             
   42c42:	4eb9 0004 3508 	jsr 43508 <rtems_filesystem_get_start_loc>  
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
   42c48:	486e fff8      	pea %fp@(-8)                                
   42c4c:	d8ae fffc      	addl %fp@(-4),%d4                           
   42c50:	2f02           	movel %d2,%sp@-                             
   42c52:	206e fff0      	moveal %fp@(-16),%a0                        
   42c56:	2f04           	movel %d4,%sp@-                             
   42c58:	2068 0004      	moveal %a0@(4),%a0                          
   42c5c:	4e90           	jsr %a0@                                    
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
   42c5e:	4fef 0018      	lea %sp@(24),%sp                            
   42c62:	4a80           	tstl %d0                                    
   42c64:	6630           	bnes 42c96 <mknod+0x8e>                     
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
   42c66:	2f02           	movel %d2,%sp@-                             
   42c68:	2f2e 0014      	movel %fp@(20),%sp@-                        
   42c6c:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42c70:	206e fff0      	moveal %fp@(-16),%a0                        
   42c74:	2f03           	movel %d3,%sp@-                             
   42c76:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   42c7a:	2068 0014      	moveal %a0@(20),%a0                         
   42c7e:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   42c80:	2f02           	movel %d2,%sp@-                             
   42c82:	2d40 ffe0      	movel %d0,%fp@(-32)                         
   42c86:	4eb9 0004 2840 	jsr 42840 <rtems_filesystem_freenode>       
                                                                      
  return result;                                                      
   42c8c:	202e ffe0      	movel %fp@(-32),%d0                         
   42c90:	4fef 0018      	lea %sp@(24),%sp                            
   42c94:	6002           	bras 42c98 <mknod+0x90>                     
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
   42c96:	70ff           	moveq #-1,%d0                               
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
   42c98:	4cee 001c ffd4 	moveml %fp@(-44),%d2-%d4                    
   42c9e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042d38 <mount>: /* * Are the file system options valid? */ if ( options != RTEMS_FILESYSTEM_READ_ONLY &&
   42d38:	7001           	moveq #1,%d0                                
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
   42d3a:	4e56 ffbc      	linkw %fp,#-68                              
   42d3e:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   42d42:	262e 0008      	movel %fp@(8),%d3                           
   42d46:	2a2e 000c      	movel %fp@(12),%d5                          
   42d4a:	2e2e 0014      	movel %fp@(20),%d7                          
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
   42d4e:	b087           	cmpl %d7,%d0                                
   42d50:	6410           	bccs 42d62 <mount+0x2a>                     
       options != RTEMS_FILESYSTEM_READ_WRITE )                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   42d52:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   42d58:	7c16           	moveq #22,%d6                               
   42d5a:	2040           	moveal %d0,%a0                              
   42d5c:	2086           	movel %d6,%a0@                              
   42d5e:	6000 0238      	braw 42f98 <mount+0x260>                    
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
   42d62:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42d66:	4eb9 0004 9b7e 	jsr 49b7e <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
   42d6c:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
   42d6e:	2840           	moveal %d0,%a4                              
  if ( !mount_h )                                                     
   42d70:	4a80           	tstl %d0                                    
   42d72:	6610           	bnes 42d84 <mount+0x4c>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   42d74:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   42d7a:	7a16           	moveq #22,%d5                               
   42d7c:	2240           	moveal %d0,%a1                              
   42d7e:	2285           	movel %d5,%a1@                              
   42d80:	6000 0216      	braw 42f98 <mount+0x260>                    
{                                                                     
  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;                                   
   42d84:	4a85           	tstl %d5                                    
   42d86:	56c4           	sne %d4                                     
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
   42d88:	2c3c 0005 ace0 	movel #371936,%d6                           
{                                                                     
  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;                                   
   42d8e:	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 : "/"; 
   42d90:	4a04           	tstb %d4                                    
   42d92:	6702           	beqs 42d96 <mount+0x5e>                     
   42d94:	2c05           	movel %d5,%d6                               
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
   42d96:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42d9a:	45f9 0004 de88 	lea 4de88 <strlen>,%a2                      
   42da0:	4e92           	jsr %a2@                                    
   42da2:	588f           	addql #4,%sp                                
   42da4:	5280           	addql #1,%d0                                
   42da6:	2d40 ffe8      	movel %d0,%fp@(-24)                         
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
   42daa:	4a83           	tstl %d3                                    
   42dac:	670c           	beqs 42dba <mount+0x82>                     
   42dae:	2f03           	movel %d3,%sp@-                             
   42db0:	4e92           	jsr %a2@                                    
   42db2:	588f           	addql #4,%sp                                
   42db4:	2640           	moveal %d0,%a3                              
   42db6:	528b           	addql #1,%a3                                
   42db8:	6002           	bras 42dbc <mount+0x84>                     
   42dba:	97cb           	subal %a3,%a3                               
  size_t target_length = strlen( target );                            
   42dbc:	2f06           	movel %d6,%sp@-                             
   42dbe:	4eb9 0004 de88 	jsr 4de88 <strlen>                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
   42dc4:	226e ffe8      	moveal %fp@(-24),%a1                        
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_length = strlen( target );                            
   42dc8:	588f           	addql #4,%sp                                
   42dca:	2a40           	moveal %d0,%a5                              
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
   42dcc:	41f1 0875      	lea %a1@(00000075,%d0:l),%a0                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
   42dd0:	4870 b800      	pea %a0@(00000000,%a3:l)                    
   42dd4:	4878 0001      	pea 1 <ADD>                                 
   42dd8:	4eb9 0004 2468 	jsr 42468 <calloc>                          
                                                                      
  if ( mt_entry != NULL ) {                                           
   42dde:	508f           	addql #8,%sp                                
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_length = strlen( target );                            
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
   42de0:	2440           	moveal %d0,%a2                              
                                                                      
  if ( mt_entry != NULL ) {                                           
   42de2:	4a80           	tstl %d0                                    
   42de4:	6770           	beqs 42e56 <mount+0x11e>                    <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
   42de6:	2f2e 0010      	movel %fp@(16),%sp@-                        
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_length + 1;          
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
   42dea:	2400           	movel %d0,%d2                               
   42dec:	0682 0000 0074 	addil #116,%d2                              
                                                                      
    strcpy( str, filesystemtype );                                    
   42df2:	41f9 0004 d9dc 	lea 4d9dc <strcpy>,%a0                      
   42df8:	2f02           	movel %d2,%sp@-                             
   42dfa:	2d48 ffe4      	movel %a0,%fp@(-28)                         
   42dfe:	4e90           	jsr %a0@                                    
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
   42e00:	206e ffe4      	moveal %fp@(-28),%a0                        
   42e04:	508f           	addql #8,%sp                                
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
    mt_entry->type = str;                                             
   42e06:	2542 006c      	movel %d2,%a2@(108)                         
    str += filesystemtype_size;                                       
   42e0a:	d4ae ffe8      	addl %fp@(-24),%d2                          
                                                                      
    if ( source_or_null != NULL ) {                                   
   42e0e:	4a83           	tstl %d3                                    
   42e10:	670e           	beqs 42e20 <mount+0xe8>                     
      strcpy( str, source_or_null );                                  
   42e12:	2f03           	movel %d3,%sp@-                             
   42e14:	2f02           	movel %d2,%sp@-                             
   42e16:	4e90           	jsr %a0@                                    
      mt_entry->dev = str;                                            
      str += source_size;                                             
   42e18:	508f           	addql #8,%sp                                
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
      strcpy( str, source_or_null );                                  
      mt_entry->dev = str;                                            
   42e1a:	2542 0070      	movel %d2,%a2@(112)                         
      str += source_size;                                             
   42e1e:	d48b           	addl %a3,%d2                                
    }                                                                 
                                                                      
    strcpy( str, target );                                            
   42e20:	2f06           	movel %d6,%sp@-                             
   42e22:	2f02           	movel %d2,%sp@-                             
   42e24:	4eb9 0004 d9dc 	jsr 4d9dc <strcpy>                          
    mt_entry->target = str;                                           
   42e2a:	2542 0068      	movel %d2,%a2@(104)                         
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
   42e2e:	254a 002c      	movel %a2,%a2@(44)                          
  mt_entry->options = options;                                        
   42e32:	2547 0030      	movel %d7,%a2@(48)                          
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   42e36:	4878 0030      	pea 30 <OPER2+0x1c>                         
   42e3a:	4879 0005 b1cc 	pea 5b1cc <rtems_filesystem_default_pathconf>
   42e40:	486a 0038      	pea %a2@(56)                                
   42e44:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
   42e4a:	4fef 0014      	lea %sp@(20),%sp                            
   42e4e:	4a04           	tstb %d4                                    
   42e50:	6700 00ae      	beqw 42f00 <mount+0x1c8>                    
   42e54:	6010           	bras 42e66 <mount+0x12e>                    
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   42e56:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42e5c:	780c           	moveq #12,%d4                               <== NOT EXECUTED
   42e5e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42e60:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
   42e62:	6000 0134      	braw 42f98 <mount+0x260>                    <== NOT EXECUTED
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
   42e66:	4878 0001      	pea 1 <ADD>                                 
   42e6a:	240e           	movel %fp,%d2                               
   42e6c:	0682 ffff ffec 	addil #-20,%d2                              
   42e72:	2f02           	movel %d2,%sp@-                             
   42e74:	4878 0007      	pea 7 <TRUNCDFSF>                           
   42e78:	2f0d           	movel %a5,%sp@-                             
   42e7a:	2f05           	movel %d5,%sp@-                             
   42e7c:	4eb9 0004 274a 	jsr 4274a <rtems_filesystem_evaluate_path>  
   42e82:	4fef 0014      	lea %sp@(20),%sp                            
   42e86:	72ff           	moveq #-1,%d1                               
   42e88:	b280           	cmpl %d0,%d1                                
   42e8a:	6700 00ec      	beqw 42f78 <mount+0x240>                    
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
   42e8e:	206e fff8      	moveal %fp@(-8),%a0                         
   42e92:	2f02           	movel %d2,%sp@-                             
   42e94:	2068 0010      	moveal %a0@(16),%a0                         
   42e98:	4e90           	jsr %a0@                                    
   42e9a:	588f           	addql #4,%sp                                
   42e9c:	7201           	moveq #1,%d1                                
   42e9e:	b280           	cmpl %d0,%d1                                
   42ea0:	6710           	beqs 42eb2 <mount+0x17a>                    
      errno = ENOTDIR;                                                
   42ea2:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   42ea8:	7614           	moveq #20,%d3                               
   42eaa:	2040           	moveal %d0,%a0                              
   42eac:	2083           	movel %d3,%a0@                              
      goto cleanup_and_bail;                                          
   42eae:	6000 00ca      	braw 42f7a <mount+0x242>                    
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
   42eb2:	2f2e ffec      	movel %fp@(-20),%sp@-                       
   42eb6:	487a fdec      	pea %pc@(42ca4 <is_node_fs_root>)           
   42eba:	4eb9 0004 2cee 	jsr 42cee <rtems_filesystem_mount_iterate>  
   42ec0:	508f           	addql #8,%sp                                
   42ec2:	4a00           	tstb %d0                                    
   42ec4:	6710           	beqs 42ed6 <mount+0x19e>                    
      errno = EBUSY;                                                  
   42ec6:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   42ecc:	7210           	moveq #16,%d1                               
   42ece:	2240           	moveal %d0,%a1                              
   42ed0:	2281           	movel %d1,%a1@                              
      goto cleanup_and_bail;                                          
   42ed2:	6000 00a6      	braw 42f7a <mount+0x242>                    
     *  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;                            
   42ed6:	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;            
   42eda:	256e ffec 0008 	movel %fp@(-20),%a2@(8)                     
    mt_entry->mt_point_node.handlers = loc.handlers;                  
   42ee0:	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;                  
   42ee6:	256e fffc 0018 	movel %fp@(-4),%a2@(24)                     
     *  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;                            
   42eec:	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 ) ) {                             
   42ef0:	2f0a           	movel %a2,%sp@-                             
   42ef2:	2068 0020      	moveal %a0@(32),%a0                         
   42ef6:	4e90           	jsr %a0@                                    
   42ef8:	588f           	addql #4,%sp                                
   42efa:	4a80           	tstl %d0                                    
   42efc:	6720           	beqs 42f1e <mount+0x1e6>                    <== ALWAYS TAKEN
   42efe:	607a           	bras 42f7a <mount+0x242>                    <== NOT EXECUTED
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
   42f00:	203c 0005 c1a4 	movel #377252,%d0                           
   42f06:	b0b9 0005 c1a0 	cmpl 5c1a0 <mount_chain>,%d0                
   42f0c:	670e           	beqs 42f1c <mount+0x1e4>                    <== ALWAYS TAKEN
      errno = EINVAL;                                                 
   42f0e:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42f14:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42f16:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   42f18:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42f1a:	605c           	bras 42f78 <mount+0x240>                    <== NOT EXECUTED
)                                                                     
{                                                                     
  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;           
   42f1c:	4282           	clrl %d2                                    
     *  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 ) ) {                               
   42f1e:	2f2e 0018      	movel %fp@(24),%sp@-                        
   42f22:	2f0a           	movel %a2,%sp@-                             
   42f24:	4e94           	jsr %a4@                                    
   42f26:	508f           	addql #8,%sp                                
   42f28:	4a80           	tstl %d0                                    
   42f2a:	6710           	beqs 42f3c <mount+0x204>                    <== ALWAYS TAKEN
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
   42f2c:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   42f30:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42f32:	2068 0028      	moveal %a0@(40),%a0                         <== NOT EXECUTED
   42f36:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    goto cleanup_and_bail;                                            
   42f38:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42f3a:	603e           	bras 42f7a <mount+0x242>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
   42f3c:	4eba fd7e      	jsr %pc@(42cbc <rtems_libio_lock>)          
   42f40:	2f0a           	movel %a2,%sp@-                             
   42f42:	4879 0005 c1a0 	pea 5c1a0 <mount_chain>                     
   42f48:	4eb9 0004 612c 	jsr 4612c <_Chain_Append>                   
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
   42f4e:	4eba fd88      	jsr %pc@(42cd8 <rtems_libio_unlock>)        
                                                                      
  if ( !has_target )                                                  
   42f52:	508f           	addql #8,%sp                                
   42f54:	4a04           	tstb %d4                                    
   42f56:	663c           	bnes 42f94 <mount+0x25c>                    
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
   42f58:	4878 0014      	pea 14 <OPER2>                              
   42f5c:	486a 001c      	pea %a2@(28)                                
   42f60:	2279 0005 c1c0 	moveal 5c1c0 <rtems_current_user_env>,%a1   
   42f66:	43e9 0018      	lea %a1@(24),%a1                            
   42f6a:	2f09           	movel %a1,%sp@-                             
   42f6c:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
   42f72:	4fef 000c      	lea %sp@(12),%sp                            
   42f76:	601c           	bras 42f94 <mount+0x25c>                    
)                                                                     
{                                                                     
  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;           
   42f78:	4282           	clrl %d2                                    <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   42f7a:	2f0a           	movel %a2,%sp@-                             
   42f7c:	4eb9 0004 2854 	jsr 42854 <free>                            
                                                                      
  if ( loc_to_free )                                                  
   42f82:	588f           	addql #4,%sp                                
   42f84:	4a82           	tstl %d2                                    
   42f86:	6710           	beqs 42f98 <mount+0x260>                    <== NEVER TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
   42f88:	2f02           	movel %d2,%sp@-                             
   42f8a:	4eb9 0004 2840 	jsr 42840 <rtems_filesystem_freenode>       
   42f90:	588f           	addql #4,%sp                                
   42f92:	6004           	bras 42f98 <mount+0x260>                    
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
   42f94:	4280           	clrl %d0                                    
   42f96:	6002           	bras 42f9a <mount+0x262>                    
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
   42f98:	70ff           	moveq #-1,%d0                               
}                                                                     
   42f9a:	4cee 3cfc ffbc 	moveml %fp@(-68),%d2-%d7/%a2-%a5            
   42fa0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004321e <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
   4321e:	4e56 fff4      	linkw %fp,#-12                              
   43222:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   43226:	262e 0008      	movel %fp@(8),%d3                           
   4322a:	246e 000c      	moveal %fp@(12),%a2                         
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
   4322e:	b5c3           	cmpal %d3,%a2                               
   43230:	6608           	bnes 4323a <newlib_delete_hook+0x1c>        
    ptr = _REENT;                                                     
   43232:	2439 0005 c284 	movel 5c284 <_impure_ptr>,%d2               
   43238:	6004           	bras 4323e <newlib_delete_hook+0x20>        
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
   4323a:	242a 0106      	movel %a2@(262),%d2                         
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
   4323e:	4a82           	tstl %d2                                    
   43240:	6722           	beqs 43264 <newlib_delete_hook+0x46>        <== NEVER TAKEN
   43242:	b4b9 0005 b8a4 	cmpl 5b8a4 <_global_impure_ptr>,%d2         
   43248:	671a           	beqs 43264 <newlib_delete_hook+0x46>        
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
   4324a:	4879 0004 3030 	pea 43030 <newlib_free_buffers>             
   43250:	2f02           	movel %d2,%sp@-                             
   43252:	4eb9 0004 d1e4 	jsr 4d1e4 <_fwalk>                          
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
   43258:	2f02           	movel %d2,%sp@-                             
   4325a:	4eb9 0004 88c8 	jsr 488c8 <_Workspace_Free>                 
   43260:	4fef 000c      	lea %sp@(12),%sp                            
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
   43264:	42aa 0106      	clrl %a2@(262)                              
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
   43268:	b5c3           	cmpal %d3,%a2                               
   4326a:	6606           	bnes 43272 <newlib_delete_hook+0x54>        
    _REENT = 0;                                                       
   4326c:	42b9 0005 c284 	clrl 5c284 <_impure_ptr>                    
  }                                                                   
}                                                                     
   43272:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   43278:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043030 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
   43030:	4e56 0000      	linkw %fp,#0                                
   43034:	2f0a           	movel %a2,%sp@-                             
   43036:	246e 0008      	moveal %fp@(8),%a2                          
  switch ( fileno(fp) ) {                                             
   4303a:	2f0a           	movel %a2,%sp@-                             
   4303c:	4eb9 0004 cdd0 	jsr 4cdd0 <fileno>                          
   43042:	588f           	addql #4,%sp                                
   43044:	7202           	moveq #2,%d1                                
   43046:	b280           	cmpl %d0,%d1                                
   43048:	6528           	bcss 43072 <newlib_free_buffers+0x42>       <== NEVER TAKEN
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
   4304a:	302a 000c      	movew %a2@(12),%d0                          
   4304e:	48c0           	extl %d0                                    
   43050:	4a00           	tstb %d0                                    
   43052:	6c28           	bges 4307c <newlib_free_buffers+0x4c>       <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
   43054:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43058:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
   4305e:	302a 000c      	movew %a2@(12),%d0                          <== NOT EXECUTED
   43062:	0880 0007      	bclr #7,%d0                                 <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   43066:	4292           	clrl %a2@                                   <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   43068:	3540 000c      	movew %d0,%a2@(12)                          <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   4306c:	42aa 0010      	clrl %a2@(16)                               <== NOT EXECUTED
   43070:	6008           	bras 4307a <newlib_free_buffers+0x4a>       <== NOT EXECUTED
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
   43072:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43074:	4eb9 0004 cb7e 	jsr 4cb7e <fclose>                          <== NOT EXECUTED
   4307a:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
   4307c:	246e fffc      	moveal %fp@(-4),%a2                         
   43080:	4280           	clrl %d0                                    
   43082:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042854 <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *pargp __attribute__((unused)) ) {
   42854:	4e56 0000      	linkw %fp,#0                                
   42858:	2f02           	movel %d2,%sp@-                             
   4285a:	242e 0008      	movel %fp@(8),%d2                           
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
   4285e:	4a39 0005 e2dc 	tstb 5e2dc <initialized>                    
   42864:	662e           	bnes 42894 <null_initialize+0x40>           
    initialized = 1;                                                  
                                                                      
    status = rtems_io_register_name(                                  
   42866:	42a7           	clrl %sp@-                                  
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
   42868:	7001           	moveq #1,%d0                                
                                                                      
    status = rtems_io_register_name(                                  
   4286a:	2f02           	movel %d2,%sp@-                             
   4286c:	4879 0005 bf5c 	pea 5bf5c <IntUartPollCallbacks.6221+0x20>  
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
   42872:	13c0 0005 e2dc 	moveb %d0,5e2dc <initialized>               
                                                                      
    status = rtems_io_register_name(                                  
   42878:	4eb9 0004 2e1c 	jsr 42e1c <rtems_io_register_name>          
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
   4287e:	4fef 000c      	lea %sp@(12),%sp                            
   42882:	4a80           	tstl %d0                                    
   42884:	6708           	beqs 4288e <null_initialize+0x3a>           <== ALWAYS TAKEN
      rtems_fatal_error_occurred(status);                             
   42886:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42888:	4eb9 0004 6958 	jsr 46958 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
    NULL_major = major;                                               
   4288e:	23c2 0005 eafc 	movel %d2,5eafc <NULL_major>                
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   42894:	242e fffc      	movel %fp@(-4),%d2                          
   42898:	4280           	clrl %d0                                    
   4289a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000428bc <null_write>: rtems_device_driver null_write( rtems_device_major_number major __attribute__((unused)), rtems_device_minor_number minor __attribute__((unused)), void *pargp ) {
   428bc:	4e56 0000      	linkw %fp,#0                                
   428c0:	206e 0010      	moveal %fp@(16),%a0                         
  rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp;   
                                                                      
  if ( rw_args )                                                      
   428c4:	4a88           	tstl %a0                                    
   428c6:	6706           	beqs 428ce <null_write+0x12>                <== ALWAYS TAKEN
    rw_args->bytes_moved = rw_args->count;                            
   428c8:	2168 0010 0018 	movel %a0@(16),%a0@(24)                     <== NOT EXECUTED
                                                                      
  return NULL_SUCCESSFUL;                                             
}                                                                     
   428ce:	4280           	clrl %d0                                    
   428d0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000432ec <open>: int open( const char *pathname, int flags, ... ) {
   432ec:	4e56 ffc8      	linkw %fp,#-56                              
   432f0:	48d7 3c7c      	moveml %d2-%d6/%a2-%a5,%sp@                 
   432f4:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
   432f8:	2002           	movel %d2,%d0                               
   432fa:	5280           	addql #1,%d0                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
   432fc:	262e 0008      	movel %fp@(8),%d3                           
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
   43300:	0800 0000      	btst #0,%d0                                 
   43304:	6704           	beqs 4330a <open+0x1e>                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
   43306:	7804           	moveq #4,%d4                                
   43308:	6002           	bras 4330c <open+0x20>                      
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
   4330a:	4284           	clrl %d4                                    
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
   4330c:	0800 0001      	btst #1,%d0                                 
   43310:	6704           	beqs 43316 <open+0x2a>                      
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
   43312:	7002           	moveq #2,%d0                                
   43314:	8880           	orl %d0,%d4                                 
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
   43316:	2c2e 0010      	movel %fp@(16),%d6                          
   *             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();                                       
   4331a:	4eb9 0004 9934 	jsr 49934 <rtems_libio_allocate>            
   43320:	2440           	moveal %d0,%a2                              
  if ( iop == 0 ) {                                                   
   43322:	4a80           	tstl %d0                                    
   43324:	6700 0150      	beqw 43476 <open+0x18a>                     
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
   43328:	2f03           	movel %d3,%sp@-                             
   4332a:	4bf9 0004 de88 	lea 4de88 <strlen>,%a5                      
   43330:	7a01           	moveq #1,%d5                                
   43332:	49f9 0004 274a 	lea 4274a <rtems_filesystem_evaluate_path>,%a4
   43338:	4e95           	jsr %a5@                                    
   4333a:	2e85           	movel %d5,%sp@                              
   4333c:	2a0e           	movel %fp,%d5                               
   4333e:	0685 ffff ffec 	addil #-20,%d5                              
   43344:	2f05           	movel %d5,%sp@-                             
   43346:	2f04           	movel %d4,%sp@-                             
   43348:	2f00           	movel %d0,%sp@-                             
   4334a:	2f03           	movel %d3,%sp@-                             
   4334c:	4e94           	jsr %a4@                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
   4334e:	4fef 0014      	lea %sp@(20),%sp                            
   43352:	72ff           	moveq #-1,%d1                               
   43354:	b280           	cmpl %d0,%d1                                
   43356:	665e           	bnes 433b6 <open+0xca>                      
    if ( errno != ENOENT ) {                                          
   43358:	47f9 0004 ca30 	lea 4ca30 <__errno>,%a3                     
   4335e:	4e93           	jsr %a3@                                    
   43360:	7202           	moveq #2,%d1                                
   43362:	2040           	moveal %d0,%a0                              
   43364:	b290           	cmpl %a0@,%d1                               
   43366:	6624           	bnes 4338c <open+0xa0>                      
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
   43368:	0802 0009      	btst #9,%d2                                 
   4336c:	6700 010c      	beqw 4347a <open+0x18e>                     
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
   43370:	42a7           	clrl %sp@-                                  
   43372:	2006           	movel %d6,%d0                               
   43374:	42a7           	clrl %sp@-                                  
   43376:	08c0 000f      	bset #15,%d0                                
   4337a:	2f00           	movel %d0,%sp@-                             
   4337c:	2f03           	movel %d3,%sp@-                             
   4337e:	4eb9 0004 2c08 	jsr 42c08 <mknod>                           
    if ( rc ) {                                                       
   43384:	4fef 0010      	lea %sp@(16),%sp                            
   43388:	4a80           	tstl %d0                                    
   4338a:	670c           	beqs 43398 <open+0xac>                      <== ALWAYS TAKEN
      rc = errno;                                                     
   4338c:	4e93           	jsr %a3@                                    
  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;             
   4338e:	4285           	clrl %d5                                    
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
   43390:	2040           	moveal %d0,%a0                              
   43392:	2410           	movel %a0@,%d2                              
      goto done;                                                      
   43394:	6000 00f4      	braw 4348a <open+0x19e>                     
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
   43398:	2f03           	movel %d3,%sp@-                             
   4339a:	4e95           	jsr %a5@                                    
   4339c:	7201           	moveq #1,%d1                                
   4339e:	2e81           	movel %d1,%sp@                              
   433a0:	2f05           	movel %d5,%sp@-                             
   433a2:	42a7           	clrl %sp@-                                  
   433a4:	2f00           	movel %d0,%sp@-                             
   433a6:	2f03           	movel %d3,%sp@-                             
   433a8:	4e94           	jsr %a4@                                    
    if ( status != 0 ) {   /* The file did not exist */               
   433aa:	4fef 0014      	lea %sp@(20),%sp                            
   433ae:	4a80           	tstl %d0                                    
   433b0:	6600 00ce      	bnew 43480 <open+0x194>                     
   433b4:	6012           	bras 433c8 <open+0xdc>                      
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
   433b6:	2002           	movel %d2,%d0                               
   433b8:	0280 0000 0a00 	andil #2560,%d0                             
   433be:	0c80 0000 0a00 	cmpil #2560,%d0                             
   433c4:	6700 00c0      	beqw 43486 <open+0x19a>                     
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
   433c8:	282a 0014      	movel %a2@(20),%d4                          
  iop->pathinfo   = loc;                                              
   433cc:	2a0e           	movel %fp,%d5                               
   433ce:	0685 ffff ffec 	addil #-20,%d5                              
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
   433d4:	256e fff4 003c 	movel %fp@(-12),%a2@(60)                    
  iop->file_info  = loc.node_access;                                  
   433da:	256e ffec 0038 	movel %fp@(-20),%a2@(56)                    
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
   433e0:	2f02           	movel %d2,%sp@-                             
   433e2:	4eb9 0004 98a6 	jsr 498a6 <rtems_libio_fcntl_flags>         
   433e8:	8084           	orl %d4,%d0                                 
   433ea:	2540 0014      	movel %d0,%a2@(20)                          
  iop->pathinfo   = loc;                                              
   433ee:	4878 0014      	pea 14 <OPER2>                              
   433f2:	2f05           	movel %d5,%sp@-                             
   433f4:	486a 0018      	pea %a2@(24)                                
   433f8:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
   433fe:	206a 003c      	moveal %a2@(60),%a0                         
   43402:	2f06           	movel %d6,%sp@-                             
   43404:	2f02           	movel %d2,%sp@-                             
   43406:	2f03           	movel %d3,%sp@-                             
   43408:	2f0a           	movel %a2,%sp@-                             
   4340a:	2050           	moveal %a0@,%a0                             
   4340c:	4e90           	jsr %a0@                                    
  if ( rc ) {                                                         
   4340e:	4fef 0020      	lea %sp@(32),%sp                            
   43412:	4a80           	tstl %d0                                    
   43414:	670c           	beqs 43422 <open+0x136>                     
    rc = errno;                                                       
   43416:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   4341c:	2040           	moveal %d0,%a0                              
   4341e:	2410           	movel %a0@,%d2                              
    goto done;                                                        
   43420:	6068           	bras 4348a <open+0x19e>                     
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
   43422:	0802 000a      	btst #10,%d2                                
   43426:	6700 0090      	beqw 434b8 <open+0x1cc>                     
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
   4342a:	42a7           	clrl %sp@-                                  
   4342c:	200a           	movel %a2,%d0                               
   4342e:	90b9 0005 d7b4 	subl 5d7b4 <rtems_libio_iops>,%d0           
   43434:	ec80           	asrl #6,%d0                                 
   43436:	42a7           	clrl %sp@-                                  
   43438:	2f00           	movel %d0,%sp@-                             
   4343a:	4eb9 0004 979c 	jsr 4979c <ftruncate>                       
    if ( rc ) {                                                       
   43440:	4fef 000c      	lea %sp@(12),%sp                            
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
   43444:	2400           	movel %d0,%d2                               
    if ( rc ) {                                                       
   43446:	6770           	beqs 434b8 <open+0x1cc>                     <== ALWAYS TAKEN
      if(errno) rc = errno;                                           
   43448:	47f9 0004 ca30 	lea 4ca30 <__errno>,%a3                     <== NOT EXECUTED
   4344e:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   43450:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43452:	4a90           	tstl %a0@                                   <== NOT EXECUTED
   43454:	6706           	beqs 4345c <open+0x170>                     <== NOT EXECUTED
   43456:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   43458:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4345a:	2410           	movel %a0@,%d2                              <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
   4345c:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   4345e:	90b9 0005 d7b4 	subl 5d7b4 <rtems_libio_iops>,%d0           <== NOT EXECUTED
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
   43464:	4285           	clrl %d5                                    <== 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 );                                
   43466:	ec80           	asrl #6,%d0                                 <== NOT EXECUTED
      /* those are released by close(): */                            
      iop = 0;                                                        
   43468:	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 );                                
   4346a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4346c:	4eb9 0004 9720 	jsr 49720 <close>                           <== NOT EXECUTED
   43472:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43474:	6014           	bras 4348a <open+0x19e>                     <== NOT EXECUTED
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
   43476:	7417           	moveq #23,%d2                               
   43478:	6030           	bras 434aa <open+0x1be>                     
  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;             
   4347a:	4285           	clrl %d5                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
   4347c:	7402           	moveq #2,%d2                                
   4347e:	600e           	bras 4348e <open+0x1a2>                     
  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;             
   43480:	4285           	clrl %d5                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
   43482:	740d           	moveq #13,%d2                               <== NOT EXECUTED
   43484:	6008           	bras 4348e <open+0x1a2>                     <== NOT EXECUTED
      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;                                                      
   43486:	7411           	moveq #17,%d2                               
   43488:	6004           	bras 4348e <open+0x1a2>                     
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
   4348a:	4a82           	tstl %d2                                    
   4348c:	672a           	beqs 434b8 <open+0x1cc>                     <== NEVER TAKEN
    if ( iop )                                                        
   4348e:	4a8a           	tstl %a2                                    
   43490:	670a           	beqs 4349c <open+0x1b0>                     <== NEVER TAKEN
      rtems_libio_free( iop );                                        
   43492:	2f0a           	movel %a2,%sp@-                             
   43494:	4eb9 0004 99bc 	jsr 499bc <rtems_libio_free>                
   4349a:	588f           	addql #4,%sp                                
    if ( loc_to_free )                                                
   4349c:	4a85           	tstl %d5                                    
   4349e:	670a           	beqs 434aa <open+0x1be>                     
      rtems_filesystem_freenode( loc_to_free );                       
   434a0:	2f05           	movel %d5,%sp@-                             
   434a2:	4eb9 0004 2840 	jsr 42840 <rtems_filesystem_freenode>       
   434a8:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( rc );                       
   434aa:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   434b0:	2040           	moveal %d0,%a0                              
   434b2:	70ff           	moveq #-1,%d0                               
   434b4:	2082           	movel %d2,%a0@                              
   434b6:	600a           	bras 434c2 <open+0x1d6>                     
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
   434b8:	200a           	movel %a2,%d0                               
   434ba:	90b9 0005 d7b4 	subl 5d7b4 <rtems_libio_iops>,%d0           
   434c0:	ec80           	asrl #6,%d0                                 
}                                                                     
   434c2:	4cee 3c7c ffc8 	moveml %fp@(-56),%d2-%d6/%a2-%a5            
   434c8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000440da <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
   440da:	4e56 fff0      	linkw %fp,#-16                              
   440de:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   440e2:	242e 0008      	movel %fp@(8),%d2                           
   440e6:	246e 000c      	moveal %fp@(12),%a2                         
   440ea:	1d42 fffe      	moveb %d2,%fp@(-2)                          
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
   440ee:	202a 0034      	movel %a2@(52),%d0                          
   440f2:	0800 0000      	btst #0,%d0                                 
   440f6:	6700 010e      	beqw 44206 <oproc+0x12c>                    
    switch (c) {                                                      
   440fa:	4281           	clrl %d1                                    
   440fc:	1202           	moveb %d2,%d1                               
   440fe:	7609           	moveq #9,%d3                                
   44100:	b681           	cmpl %d1,%d3                                
   44102:	6778           	beqs 4417c <oproc+0xa2>                     
   44104:	650e           	bcss 44114 <oproc+0x3a>                     <== ALWAYS TAKEN
   44106:	163c 0008      	moveb #8,%d3                                <== NOT EXECUTED
   4410a:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   4410c:	6600 00b2      	bnew 441c0 <oproc+0xe6>                     <== NOT EXECUTED
   44110:	6000 00a0      	braw 441b2 <oproc+0xd8>                     <== NOT EXECUTED
   44114:	760a           	moveq #10,%d3                               
   44116:	b681           	cmpl %d1,%d3                                
   44118:	670c           	beqs 44126 <oproc+0x4c>                     
   4411a:	163c 000d      	moveb #13,%d3                               
   4411e:	b681           	cmpl %d1,%d3                                
   44120:	6600 009e      	bnew 441c0 <oproc+0xe6>                     
   44124:	602e           	bras 44154 <oproc+0x7a>                     <== NOT EXECUTED
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
   44126:	0800 0005      	btst #5,%d0                                 
   4412a:	6704           	beqs 44130 <oproc+0x56>                     <== ALWAYS TAKEN
        tty->column = 0;                                              
   4412c:	42aa 0028      	clrl %a2@(40)                               <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
   44130:	44c0           	movew %d0,%ccr                              
   44132:	6600 00d2      	bnew 44206 <oproc+0x12c>                    
        rtems_termios_puts ("\r", 1, tty);                            
   44136:	2f0a           	movel %a2,%sp@-                             
   44138:	4878 0001      	pea 1 <ADD>                                 
   4413c:	4879 0005 b1fe 	pea 5b1fe <rtems_filesystem_default_pathconf+0x32>
   44142:	4eb9 0004 3fe2 	jsr 43fe2 <rtems_termios_puts>              
        tty->column = 0;                                              
   44148:	4fef 000c      	lea %sp@(12),%sp                            
   4414c:	42aa 0028      	clrl %a2@(40)                               
   44150:	6000 00b4      	braw 44206 <oproc+0x12c>                    
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
   44154:	0800 0004      	btst #4,%d0                                 <== NOT EXECUTED
   44158:	6708           	beqs 44162 <oproc+0x88>                     <== NOT EXECUTED
   4415a:	4aaa 0028      	tstl %a2@(40)                               <== NOT EXECUTED
   4415e:	6700 00ba      	beqw 4421a <oproc+0x140>                    <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
   44162:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   44164:	6a0e           	bpls 44174 <oproc+0x9a>                     <== NOT EXECUTED
        c = '\n';                                                     
   44166:	720a           	moveq #10,%d1                               <== NOT EXECUTED
   44168:	1d41 fffe      	moveb %d1,%fp@(-2)                          <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
   4416c:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   44170:	6700 0094      	beqw 44206 <oproc+0x12c>                    <== NOT EXECUTED
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
   44174:	42aa 0028      	clrl %a2@(40)                               <== NOT EXECUTED
      break;                                                          
   44178:	6000 008c      	braw 44206 <oproc+0x12c>                    <== NOT EXECUTED
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
   4417c:	222a 0028      	movel %a2@(40),%d1                          
   44180:	7407           	moveq #7,%d2                                
   44182:	307c 0008      	moveaw #8,%a0                               
   44186:	c481           	andl %d1,%d2                                
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
   44188:	0280 0000 1800 	andil #6144,%d0                             
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
   4418e:	91c2           	subal %d2,%a0                               
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
   44190:	0c80 0000 1800 	cmpil #6144,%d0                             
   44196:	6612           	bnes 441aa <oproc+0xd0>                     <== NEVER TAKEN
        tty->column += i;                                             
   44198:	d288           	addl %a0,%d1                                
   4419a:	2541 0028      	movel %d1,%a2@(40)                          
        rtems_termios_puts ( "        ",  i, tty);                    
   4419e:	2f0a           	movel %a2,%sp@-                             
   441a0:	2f08           	movel %a0,%sp@-                             
   441a2:	4879 0005 b200 	pea 5b200 <rtems_filesystem_default_pathconf+0x34>
   441a8:	6066           	bras 44210 <oproc+0x136>                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
   441aa:	d1c1           	addal %d1,%a0                               <== NOT EXECUTED
   441ac:	2548 0028      	movel %a0,%a2@(40)                          <== NOT EXECUTED
      break;                                                          
   441b0:	6054           	bras 44206 <oproc+0x12c>                    <== NOT EXECUTED
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
   441b2:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   441b6:	6f4e           	bles 44206 <oproc+0x12c>                    <== NOT EXECUTED
        tty->column--;                                                
   441b8:	5380           	subql #1,%d0                                <== NOT EXECUTED
   441ba:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
   441be:	6046           	bras 44206 <oproc+0x12c>                    <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
   441c0:	0800 0001      	btst #1,%d0                                 
   441c4:	6724           	beqs 441ea <oproc+0x110>                    <== ALWAYS TAKEN
        c = toupper(c);                                               
   441c6:	4280           	clrl %d0                                    <== NOT EXECUTED
   441c8:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   441ca:	7403           	moveq #3,%d2                                <== NOT EXECUTED
   441cc:	7602           	moveq #2,%d3                                <== NOT EXECUTED
   441ce:	2079 0005 c280 	moveal 5c280 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   441d4:	1230 0801      	moveb %a0@(00000001,%d0:l),%d1              <== NOT EXECUTED
   441d8:	49c1           	extbl %d1                                   <== NOT EXECUTED
   441da:	c282           	andl %d2,%d1                                <== NOT EXECUTED
   441dc:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   441de:	6606           	bnes 441e6 <oproc+0x10c>                    <== NOT EXECUTED
   441e0:	0680 ffff ffe0 	addil #-32,%d0                              <== NOT EXECUTED
   441e6:	1d40 fffe      	moveb %d0,%fp@(-2)                          <== NOT EXECUTED
      if (!iscntrl(c))                                                
   441ea:	4280           	clrl %d0                                    
   441ec:	102e fffe      	moveb %fp@(-2),%d0                          
   441f0:	2079 0005 c280 	moveal 5c280 <__ctype_ptr__>,%a0            
   441f6:	1030 0801      	moveb %a0@(00000001,%d0:l),%d0              
   441fa:	49c0           	extbl %d0                                   
   441fc:	0800 0005      	btst #5,%d0                                 
   44200:	6604           	bnes 44206 <oproc+0x12c>                    <== NEVER TAKEN
        tty->column++;                                                
   44202:	52aa 0028      	addql #1,%a2@(40)                           
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44206:	2f0a           	movel %a2,%sp@-                             
   44208:	4878 0001      	pea 1 <ADD>                                 
   4420c:	486e fffe      	pea %fp@(-2)                                
   44210:	4eb9 0004 3fe2 	jsr 43fe2 <rtems_termios_puts>              
   44216:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   4421a:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                
   44220:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049d38 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
   49d38:	4e56 ffe4      	linkw %fp,#-28                              
   49d3c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
   49d40:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   49d44:	4879 0005 d3b2 	pea 5d3b2 <_CPU_m68k_BFFFO_table+0x100>     
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
   49d4a:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
   49d4e:	4eb9 0004 ae90 	jsr 4ae90 <rtems_mkdir>                     
   49d54:	508f           	addql #8,%sp                                
   49d56:	4a80           	tstl %d0                                    
   49d58:	6600 00de      	bnew 49e38 <pipe_create+0x100>              
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   49d5c:	4878 000a      	pea a <LASTO>                               
   49d60:	240e           	movel %fp,%d2                               
   49d62:	4879 0005 d3b7 	pea 5d3b7 <_CPU_m68k_BFFFO_table+0x105>     
   49d68:	0682 ffff fff1 	addil #-15,%d2                              
   49d6e:	2f02           	movel %d2,%sp@-                             
   49d70:	4eb9 0004 f024 	jsr 4f024 <memcpy>                          
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   49d76:	3039 0005 f054 	movew 5f054 <rtems_pipe_no>,%d0             
   49d7c:	2200           	movel %d0,%d1                               
   49d7e:	5281           	addql #1,%d1                                
   49d80:	3f00           	movew %d0,%sp@-                             
   49d82:	33c1 0005 f054 	movew %d1,5f054 <rtems_pipe_no>             
   49d88:	4267           	clrw %sp@-                                  
   49d8a:	4879 0005 d3c2 	pea 5d3c2 <_CPU_m68k_BFFFO_table+0x110>     
   49d90:	486e fffb      	pea %fp@(-5)                                
   49d94:	4eb9 0004 f7f0 	jsr 4f7f0 <sprintf>                         
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
   49d9a:	4878 0180      	pea 180 <DBL_MANT_DIG+0x14b>                
   49d9e:	2f02           	movel %d2,%sp@-                             
   49da0:	4eb9 0004 ac54 	jsr 4ac54 <mkfifo>                          
   49da6:	4fef 0020      	lea %sp@(32),%sp                            
   49daa:	4a80           	tstl %d0                                    
   49dac:	670a           	beqs 49db8 <pipe_create+0x80>               <== NEVER TAKEN
    if (errno != EEXIST){                                             
   49dae:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         
   49db4:	6000 0082      	braw 49e38 <pipe_create+0x100>              
    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);                 
   49db8:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 <== NOT EXECUTED
   49dbc:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   49dbe:	4eb9 0004 436c 	jsr 4436c <open>                            <== NOT EXECUTED
  if (filsdes[0] < 0) {                                               
   49dc4:	508f           	addql #8,%sp                                <== NOT EXECUTED
    return -1;                                                        
    sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                 
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
   49dc6:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
  if (filsdes[0] < 0) {                                               
   49dc8:	6c0e           	bges 49dd8 <pipe_create+0xa0>               <== NOT EXECUTED
    err = errno;                                                      
   49dca:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         <== NOT EXECUTED
   49dd0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49dd2:	2610           	movel %a0@,%d3                              <== NOT EXECUTED
    /* Delete file at errors, or else if pipe is successfully created 
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
   49dd4:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   49dd6:	604e           	bras 49e26 <pipe_create+0xee>               <== NOT EXECUTED
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
   49dd8:	b0b9 0005 e034 	cmpl 5e034 <rtems_libio_number_iops>,%d0    <== NOT EXECUTED
   49dde:	640c           	bccs 49dec <pipe_create+0xb4>               <== NOT EXECUTED
   49de0:	2079 0005 f748 	moveal 5f748 <rtems_libio_iops>,%a0         <== NOT EXECUTED
   49de6:	ed88           	lsll #6,%d0                                 <== NOT EXECUTED
   49de8:	d1c0           	addal %d0,%a0                               <== NOT EXECUTED
   49dea:	6002           	bras 49dee <pipe_create+0xb6>               <== NOT EXECUTED
   49dec:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
   49dee:	70fe           	moveq #-2,%d0                               <== NOT EXECUTED
   49df0:	c1a8 0014      	andl %d0,%a0@(20)                           <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
   49df4:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   49df8:	486e fff1      	pea %fp@(-15)                               <== NOT EXECUTED
   49dfc:	4eb9 0004 436c 	jsr 4436c <open>                            <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
   49e02:	508f           	addql #8,%sp                                <== NOT EXECUTED
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
   49e04:	2540 0004      	movel %d0,%a2@(4)                           <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
   49e08:	6c16           	bges 49e20 <pipe_create+0xe8>               <== NOT EXECUTED
    err = errno;                                                      
   49e0a:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         <== NOT EXECUTED
   49e10:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49e12:	2610           	movel %a0@,%d3                              <== NOT EXECUTED
    close(filsdes[0]);                                                
   49e14:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   49e16:	4eb9 0004 2d6c 	jsr 42d6c <close>                           <== NOT EXECUTED
   49e1c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49e1e:	6002           	bras 49e22 <pipe_create+0xea>               <== NOT EXECUTED
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
   49e20:	4283           	clrl %d3                                    <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
   49e22:	486e fff1      	pea %fp@(-15)                               <== NOT EXECUTED
   49e26:	4eb9 0004 b038 	jsr 4b038 <unlink>                          <== NOT EXECUTED
   49e2c:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
   49e2e:	4eb9 0004 ddd0 	jsr 4ddd0 <__errno>                         <== NOT EXECUTED
   49e34:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49e36:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
}                                                                     
   49e38:	70ff           	moveq #-1,%d0                               
   49e3a:	4cee 040c ffe4 	moveml %fp@(-28),%d2-%d3/%a2                
   49e40:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b684 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
   4b684:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
   4b688:	203c 4004 667f 	movel #1074030207,%d0                       <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   4b68e:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4b690:	266e 0010      	moveal %fp@(16),%a3                         <== NOT EXECUTED
   4b694:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4b696:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
   4b69a:	b0ae 000c      	cmpl %fp@(12),%d0                           <== NOT EXECUTED
   4b69e:	662e           	bnes 4b6ce <pipe_ioctl+0x4a>                <== NOT EXECUTED
    if (buffer == NULL)                                               
   4b6a0:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   4b6a2:	672e           	beqs 4b6d2 <pipe_ioctl+0x4e>                <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
   4b6a4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b6a6:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b6a8:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4b6ac:	4eb9 0004 6f24 	jsr 46f24 <rtems_semaphore_obtain>          <== NOT EXECUTED
   4b6b2:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4b6b6:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b6b8:	661c           	bnes 4b6d6 <pipe_ioctl+0x52>                <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
   4b6ba:	26aa 000c      	movel %a2@(12),%a3@                         <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
   4b6be:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4b6c2:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         <== NOT EXECUTED
    return 0;                                                         
   4b6c8:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4b6ca:	4280           	clrl %d0                                    <== NOT EXECUTED
   4b6cc:	600a           	bras 4b6d8 <pipe_ioctl+0x54>                <== NOT EXECUTED
  }                                                                   
                                                                      
  return -EINVAL;                                                     
   4b6ce:	70ea           	moveq #-22,%d0                              <== NOT EXECUTED
   4b6d0:	6006           	bras 4b6d8 <pipe_ioctl+0x54>                <== NOT EXECUTED
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
   4b6d2:	70f2           	moveq #-14,%d0                              <== NOT EXECUTED
   4b6d4:	6002           	bras 4b6d8 <pipe_ioctl+0x54>                <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
   4b6d6:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
   4b6d8:	246e fff8      	moveal %fp@(-8),%a2                         <== NOT EXECUTED
   4b6dc:	266e fffc      	moveal %fp@(-4),%a3                         <== NOT EXECUTED
   4b6e0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ae88 <pipe_lock>: free(pipe->Buffer); free(pipe); } static rtems_status_code pipe_lock(void) {
   4ae88:	4e56 0000      	linkw %fp,#0                                
   4ae8c:	2f02           	movel %d2,%sp@-                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
   4ae8e:	4ab9 0005 e838 	tstl 5e838 <pipe_semaphore>                 
   4ae94:	6654           	bnes 4aeea <pipe_lock+0x62>                 
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 );
   4ae96:	42a7           	clrl %sp@-                                  
   4ae98:	42a7           	clrl %sp@-                                  
   4ae9a:	2f39 0005 ef88 	movel 5ef88 <rtems_libio_semaphore>,%sp@-   
   4aea0:	4eb9 0004 6f24 	jsr 46f24 <rtems_semaphore_obtain>          
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
   4aea6:	4fef 000c      	lea %sp@(12),%sp                            
   4aeaa:	4ab9 0005 e838 	tstl 5e838 <pipe_semaphore>                 
   4aeb0:	6624           	bnes 4aed6 <pipe_lock+0x4e>                 <== NEVER TAKEN
      sc = rtems_semaphore_create(                                    
   4aeb2:	4879 0005 e838 	pea 5e838 <pipe_semaphore>                  
   4aeb8:	42a7           	clrl %sp@-                                  
   4aeba:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   4aebe:	4878 0001      	pea 1 <ADD>                                 
   4aec2:	2f3c 5049 5045 	movel #1346981957,%sp@-                     
   4aec8:	4eb9 0004 6cec 	jsr 46cec <rtems_semaphore_create>          
   4aece:	4fef 0014      	lea %sp@(20),%sp                            
   4aed2:	2400           	movel %d0,%d2                               
   4aed4:	6002           	bras 4aed8 <pipe_lock+0x50>                 
  free(pipe);                                                         
}                                                                     
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
   4aed6:	4282           	clrl %d2                                    <== NOT EXECUTED
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4aed8:	2f39 0005 ef88 	movel 5ef88 <rtems_libio_semaphore>,%sp@-   
   4aede:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4aee4:	588f           	addql #4,%sp                                
   4aee6:	4a82           	tstl %d2                                    
   4aee8:	6618           	bnes 4af02 <pipe_lock+0x7a>                 
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4aeea:	42a7           	clrl %sp@-                                  
   4aeec:	42a7           	clrl %sp@-                                  
   4aeee:	2f39 0005 e838 	movel 5e838 <pipe_semaphore>,%sp@-          
   4aef4:	4eb9 0004 6f24 	jsr 46f24 <rtems_semaphore_obtain>          
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4aefa:	4fef 000c      	lea %sp@(12),%sp                            
   4aefe:	4a80           	tstl %d0                                    
   4af00:	6704           	beqs 4af06 <pipe_lock+0x7e>                 <== ALWAYS TAKEN
    return 0;                                                         
  } else {                                                            
    return -ENOMEM;                                                   
   4af02:	70f4           	moveq #-12,%d0                              
   4af04:	6002           	bras 4af08 <pipe_lock+0x80>                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
   4af06:	4280           	clrl %d0                                    
  } else {                                                            
    return -ENOMEM;                                                   
  }                                                                   
}                                                                     
   4af08:	242e fffc      	movel %fp@(-4),%d2                          
   4af0c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b6e4 <pipe_lseek>: rtems_libio_t *iop ) { /* Seek on pipe is not supported */ return -ESPIPE; }
   4b6e4:	70e3           	moveq #-29,%d0                              <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  off_t           offset,                                             
  int             whence,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   4b6e6:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  /* Seek on pipe is not supported */                                 
  return -ESPIPE;                                                     
}                                                                     
   4b6ea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0004b398 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
   4b398:	4e56 ffd4      	linkw %fp,#-44                              
   4b39c:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4b3a0:	42a7           	clrl %sp@-                                  
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   4b3a2:	246e 0008      	moveal %fp@(8),%a2                          
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4b3a6:	2e3c 0004 6f24 	movel #290596,%d7                           
   4b3ac:	2047           	moveal %d7,%a0                              
   4b3ae:	42a7           	clrl %sp@-                                  
   4b3b0:	2f2a 0028      	movel %a2@(40),%sp@-                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   4b3b4:	286e 000c      	moveal %fp@(12),%a4                         
   4b3b8:	2a2e 0010      	movel %fp@(16),%d5                          
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4b3bc:	4e90           	jsr %a0@                                    
   4b3be:	4fef 000c      	lea %sp@(12),%sp                            
   4b3c2:	4a80           	tstl %d0                                    
   4b3c4:	6600 011a      	bnew 4b4e0 <pipe_read+0x148>                
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
   4b3c8:	2c0e           	movel %fp,%d6                               
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4b3ca:	4282           	clrl %d2                                    
   4b3cc:	47f9 0004 eb20 	lea 4eb20 <memcpy>,%a3                      
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
   4b3d2:	5986           	subql #4,%d6                                
   4b3d4:	4bf9 0004 c888 	lea 4c888 <rtems_barrier_release>,%a5       
   4b3da:	6000 00e2      	braw 4b4be <pipe_read+0x126>                
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
   4b3de:	4aaa 0014      	tstl %a2@(20)                               
   4b3e2:	6700 00e0      	beqw 4b4c4 <pipe_read+0x12c>                
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
   4b3e6:	206e 0014      	moveal %fp@(20),%a0                         
   4b3ea:	7001           	moveq #1,%d0                                
   4b3ec:	c0a8 0014      	andl %a0@(20),%d0                           
   4b3f0:	6600 00d6      	bnew 4b4c8 <pipe_read+0x130>                
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
   4b3f4:	52aa 0018      	addql #1,%a2@(24)                           
      PIPE_UNLOCK(pipe);                                              
   4b3f8:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b3fc:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
      if (! PIPE_READWAIT(pipe))                                      
   4b402:	42a7           	clrl %sp@-                                  
   4b404:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b408:	4eb9 0004 c8ec 	jsr 4c8ec <rtems_barrier_wait>              
   4b40e:	4fef 000c      	lea %sp@(12),%sp                            
   4b412:	4a80           	tstl %d0                                    
   4b414:	6604           	bnes 4b41a <pipe_read+0x82>                 <== NEVER TAKEN
   4b416:	4283           	clrl %d3                                    
   4b418:	6002           	bras 4b41c <pipe_read+0x84>                 
        ret = -EINTR;                                                 
   4b41a:	76fc           	moveq #-4,%d3                               <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
   4b41c:	42a7           	clrl %sp@-                                  
   4b41e:	2047           	moveal %d7,%a0                              
   4b420:	42a7           	clrl %sp@-                                  
   4b422:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b426:	4e90           	jsr %a0@                                    
   4b428:	4fef 000c      	lea %sp@(12),%sp                            
   4b42c:	4a80           	tstl %d0                                    
   4b42e:	6600 00a8      	bnew 4b4d8 <pipe_read+0x140>                
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
   4b432:	53aa 0018      	subql #1,%a2@(24)                           
      if (ret != 0)                                                   
   4b436:	4a83           	tstl %d3                                    
   4b438:	6600 0090      	bnew 4b4ca <pipe_read+0x132>                
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
   4b43c:	262a 000c      	movel %a2@(12),%d3                          
   4b440:	679c           	beqs 4b3de <pipe_read+0x46>                 
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
   4b442:	2005           	movel %d5,%d0                               
   4b444:	9082           	subl %d2,%d0                                
   4b446:	b083           	cmpl %d3,%d0                                
   4b448:	6402           	bccs 4b44c <pipe_read+0xb4>                 <== ALWAYS TAKEN
   4b44a:	2600           	movel %d0,%d3                               <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
   4b44c:	222a 0008      	movel %a2@(8),%d1                           
   4b450:	200c           	movel %a4,%d0                               
   4b452:	d082           	addl %d2,%d0                                
   4b454:	282a 0004      	movel %a2@(4),%d4                           
   4b458:	9881           	subl %d1,%d4                                
   4b45a:	d292           	addl %a2@,%d1                               
    if (chunk > chunk1) {                                             
   4b45c:	b883           	cmpl %d3,%d4                                
   4b45e:	6c20           	bges 4b480 <pipe_read+0xe8>                 
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
   4b460:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4b462:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4b464:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4b466:	4e93           	jsr %a3@                                    <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
   4b468:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   4b46a:	9284           	subl %d4,%d1                                <== NOT EXECUTED
   4b46c:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   4b46e:	d084           	addl %d4,%d0                                <== NOT EXECUTED
   4b470:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4b472:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   4b474:	4874 0800      	pea %a4@(00000000,%d0:l)                    <== NOT EXECUTED
   4b478:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4b47a:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   4b47e:	600c           	bras 4b48c <pipe_read+0xf4>                 <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
   4b480:	2f03           	movel %d3,%sp@-                             
   4b482:	2f01           	movel %d1,%sp@-                             
   4b484:	2f00           	movel %d0,%sp@-                             
   4b486:	4e93           	jsr %a3@                                    
   4b488:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
    pipe->Start += chunk;                                             
   4b48c:	2003           	movel %d3,%d0                               
   4b48e:	d0aa 0008      	addl %a2@(8),%d0                            
    pipe->Start %= pipe->Size;                                        
   4b492:	4c6a 0001 0004 	remul %a2@(4),%d1,%d0                       
    pipe->Length -= chunk;                                            
   4b498:	202a 000c      	movel %a2@(12),%d0                          
   4b49c:	9083           	subl %d3,%d0                                
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
   4b49e:	2541 0008      	movel %d1,%a2@(8)                           
    pipe->Length -= chunk;                                            
   4b4a2:	2540 000c      	movel %d0,%a2@(12)                          
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
   4b4a6:	6604           	bnes 4b4ac <pipe_read+0x114>                <== NEVER TAKEN
      pipe->Start = 0;                                                
   4b4a8:	42aa 0008      	clrl %a2@(8)                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
   4b4ac:	4aaa 001c      	tstl %a2@(28)                               
   4b4b0:	670a           	beqs 4b4bc <pipe_read+0x124>                <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
   4b4b2:	2f06           	movel %d6,%sp@-                             <== NOT EXECUTED
   4b4b4:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   4b4b8:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   4b4ba:	508f           	addql #8,%sp                                <== NOT EXECUTED
    read += chunk;                                                    
   4b4bc:	d483           	addl %d3,%d2                                
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
   4b4be:	ba82           	cmpl %d2,%d5                                
   4b4c0:	6200 ff7a      	bhiw 4b43c <pipe_read+0xa4>                 
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
   4b4c4:	4283           	clrl %d3                                    
   4b4c6:	6002           	bras 4b4ca <pipe_read+0x132>                
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
   4b4c8:	76f5           	moveq #-11,%d3                              <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4b4ca:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b4ce:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
   4b4d4:	588f           	addql #4,%sp                                
   4b4d6:	6002           	bras 4b4da <pipe_read+0x142>                
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
   4b4d8:	76fc           	moveq #-4,%d3                               <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
   4b4da:	4a82           	tstl %d2                                    
   4b4dc:	6e08           	bgts 4b4e6 <pipe_read+0x14e>                <== ALWAYS TAKEN
   4b4de:	6004           	bras 4b4e4 <pipe_read+0x14c>                <== NOT EXECUTED
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
   4b4e0:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
   4b4e2:	6002           	bras 4b4e6 <pipe_read+0x14e>                <== NOT EXECUTED
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    return read;                                                      
  return ret;                                                         
   4b4e4:	2403           	movel %d3,%d2                               <== NOT EXECUTED
}                                                                     
   4b4e6:	2002           	movel %d2,%d0                               
   4b4e8:	4cee 3cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a5            
   4b4ee:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004af7e <pipe_release>: */ int pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
   4af7e:	4e56 fff0      	linkw %fp,#-16                              
   4af82:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   4af86:	266e 0008      	moveal %fp@(8),%a3                          
  pipe_control_t *pipe = *pipep;                                      
   4af8a:	2453           	moveal %a3@,%a2                             
  uint32_t mode;                                                      
                                                                      
  if (pipe_lock())                                                    
   4af8c:	4eba fefa      	jsr %pc@(4ae88 <pipe_lock>)                 
   4af90:	4a80           	tstl %d0                                    
   4af92:	6616           	bnes 4afaa <pipe_release+0x2c>              <== NEVER TAKEN
    /* WARN pipe not freed and pipep not set to NULL! */              
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
                                                                      
  if (!PIPE_LOCK(pipe))                                               
   4af94:	42a7           	clrl %sp@-                                  
   4af96:	42a7           	clrl %sp@-                                  
   4af98:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4af9c:	4eb9 0004 6f24 	jsr 46f24 <rtems_semaphore_obtain>          
   4afa2:	4fef 000c      	lea %sp@(12),%sp                            
   4afa6:	4a80           	tstl %d0                                    
   4afa8:	670c           	beqs 4afb6 <pipe_release+0x38>              <== ALWAYS TAKEN
    /* WARN pipe not released! */                                     
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
   4afaa:	2f3c dead beef 	movel #-559038737,%sp@-                     <== NOT EXECUTED
   4afb0:	4eb9 0004 7568 	jsr 47568 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
   4afb6:	206e 000c      	moveal %fp@(12),%a0                         
   4afba:	7406           	moveq #6,%d2                                
   4afbc:	c4a8 0014      	andl %a0@(20),%d2                           
  if (mode & LIBIO_FLAGS_READ)                                        
   4afc0:	0802 0001      	btst #1,%d2                                 
   4afc4:	6704           	beqs 4afca <pipe_release+0x4c>              
     pipe->Readers --;                                                
   4afc6:	53aa 0010      	subql #1,%a2@(16)                           
  if (mode & LIBIO_FLAGS_WRITE)                                       
   4afca:	44c2           	movew %d2,%ccr                              
   4afcc:	6604           	bnes 4afd2 <pipe_release+0x54>              
     pipe->Writers --;                                                
   4afce:	53aa 0014      	subql #1,%a2@(20)                           
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4afd2:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4afd6:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
   4afdc:	588f           	addql #4,%sp                                
   4afde:	4aaa 0010      	tstl %a2@(16)                               
   4afe2:	6622           	bnes 4b006 <pipe_release+0x88>              
   4afe4:	4aaa 0014      	tstl %a2@(20)                               
   4afe8:	660c           	bnes 4aff6 <pipe_release+0x78>              <== NEVER TAKEN
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
   4afea:	2f0a           	movel %a2,%sp@-                             
   4afec:	4eba ff22      	jsr %pc@(4af10 <pipe_free>)                 
    *pipep = NULL;                                                    
   4aff0:	588f           	addql #4,%sp                                
   4aff2:	4293           	clrl %a3@                                   
   4aff4:	602c           	bras 4b022 <pipe_release+0xa4>              
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
   4aff6:	7004           	moveq #4,%d0                                <== NOT EXECUTED
   4aff8:	b082           	cmpl %d2,%d0                                <== NOT EXECUTED
   4affa:	670a           	beqs 4b006 <pipe_release+0x88>              <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
   4affc:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   4b000:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   4b004:	6014           	bras 4b01a <pipe_release+0x9c>              <== NOT EXECUTED
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
   4b006:	4aaa 0014      	tstl %a2@(20)                               
   4b00a:	6616           	bnes 4b022 <pipe_release+0xa4>              <== NEVER TAKEN
   4b00c:	7002           	moveq #2,%d0                                
   4b00e:	b082           	cmpl %d2,%d0                                
   4b010:	6710           	beqs 4b022 <pipe_release+0xa4>              <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
   4b012:	486e fffc      	pea %fp@(-4)                                
   4b016:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b01a:	4eb9 0004 c888 	jsr 4c888 <rtems_barrier_release>           
   4b020:	508f           	addql #8,%sp                                
                                                                      
  pipe_unlock();                                                      
   4b022:	4eba ff34      	jsr %pc@(4af58 <pipe_unlock>)               
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
   4b026:	4280           	clrl %d0                                    
   4b028:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   4b02e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004af58 <pipe_unlock>: return -ENOMEM; } } static void pipe_unlock(void) {
   4af58:	4e56 0000      	linkw %fp,#0                                
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
   4af5c:	2f39 0005 e838 	movel 5e838 <pipe_semaphore>,%sp@-          
   4af62:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
  if (sc != RTEMS_SUCCESSFUL) {                                       
   4af68:	588f           	addql #4,%sp                                
   4af6a:	4a80           	tstl %d0                                    
   4af6c:	670c           	beqs 4af7a <pipe_unlock+0x22>               <== ALWAYS TAKEN
    /* FIXME */                                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
   4af6e:	2f3c dead beef 	movel #-559038737,%sp@-                     <== NOT EXECUTED
   4af74:	4eb9 0004 7568 	jsr 47568 <rtems_fatal_error_occurred>      <== NOT EXECUTED
  }                                                                   
}                                                                     
   4af7a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b4f2 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
   4b4f2:	4e56 ffd4      	linkw %fp,#-44                              
   4b4f6:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4b4fa:	246e 0008      	moveal %fp@(8),%a2                          
   4b4fe:	286e 000c      	moveal %fp@(12),%a4                         
   4b502:	282e 0010      	movel %fp@(16),%d4                          
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
   4b506:	6700 0166      	beqw 4b66e <pipe_write+0x17c>               
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4b50a:	42a7           	clrl %sp@-                                  
   4b50c:	42a7           	clrl %sp@-                                  
   4b50e:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b512:	4eb9 0004 6f24 	jsr 46f24 <rtems_semaphore_obtain>          
   4b518:	4fef 000c      	lea %sp@(12),%sp                            
   4b51c:	4a80           	tstl %d0                                    
   4b51e:	6600 0152      	bnew 4b672 <pipe_write+0x180>               
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
   4b522:	4aaa 0010      	tstl %a2@(16)                               
   4b526:	6700 010a      	beqw 4b632 <pipe_write+0x140>               
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
   4b52a:	b8aa 0004      	cmpl %a2@(4),%d4                            
   4b52e:	6204           	bhis 4b534 <pipe_write+0x42>                <== NEVER TAKEN
   4b530:	2a04           	movel %d4,%d5                               
   4b532:	6002           	bras 4b536 <pipe_write+0x44>                
   4b534:	7a01           	moveq #1,%d5                                <== NOT EXECUTED
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
   4b536:	4282           	clrl %d2                                    
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
   4b538:	2e3c 0004 c8ec 	movel #313580,%d7                           
   4b53e:	47f9 0004 eb20 	lea 4eb20 <memcpy>,%a3                      
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
   4b544:	4bf9 0004 c888 	lea 4c888 <rtems_barrier_release>,%a5       
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
   4b54a:	2c3c 0004 6f24 	movel #290596,%d6                           
   4b550:	6000 00d8      	braw 4b62a <pipe_write+0x138>               
  /* 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) {                                
      if (LIBIO_NODELAY(iop)) {                                       
   4b554:	206e 0014      	moveal %fp@(20),%a0                         <== NOT EXECUTED
   4b558:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4b55a:	c0a8 0014      	andl %a0@(20),%d0                           <== NOT EXECUTED
   4b55e:	6600 00d8      	bnew 4b638 <pipe_write+0x146>               <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
   4b562:	52aa 001c      	addql #1,%a2@(28)                           <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
   4b566:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4b56a:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
   4b570:	2047           	moveal %d7,%a0                              <== NOT EXECUTED
   4b572:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b574:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   4b578:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4b57a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4b57e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b580:	6604           	bnes 4b586 <pipe_write+0x94>                <== NOT EXECUTED
   4b582:	4283           	clrl %d3                                    <== NOT EXECUTED
   4b584:	6002           	bras 4b588 <pipe_write+0x96>                <== NOT EXECUTED
        ret = -EINTR;                                                 
   4b586:	76fc           	moveq #-4,%d3                               <== NOT EXECUTED
      if (! PIPE_LOCK(pipe)) {                                        
   4b588:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b58a:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   4b58c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b58e:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4b592:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4b594:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4b598:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b59a:	6600 00ca      	bnew 4b666 <pipe_write+0x174>               <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
   4b59e:	53aa 001c      	subql #1,%a2@(28)                           <== NOT EXECUTED
      if (ret != 0)                                                   
   4b5a2:	4a83           	tstl %d3                                    <== NOT EXECUTED
   4b5a4:	6600 0098      	bnew 4b63e <pipe_write+0x14c>               <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
   4b5a8:	4aaa 0010      	tstl %a2@(16)                               <== NOT EXECUTED
   4b5ac:	6700 008e      	beqw 4b63c <pipe_write+0x14a>               <== NOT EXECUTED
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
   4b5b0:	202a 0004      	movel %a2@(4),%d0                           
   4b5b4:	2600           	movel %d0,%d3                               
   4b5b6:	222a 000c      	movel %a2@(12),%d1                          
   4b5ba:	9681           	subl %d1,%d3                                
   4b5bc:	ba83           	cmpl %d3,%d5                                
   4b5be:	6294           	bhis 4b554 <pipe_write+0x62>                <== NEVER TAKEN
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
   4b5c0:	2044           	moveal %d4,%a0                              
   4b5c2:	91c2           	subal %d2,%a0                               
   4b5c4:	b1c3           	cmpal %d3,%a0                               
   4b5c6:	6402           	bccs 4b5ca <pipe_write+0xd8>                <== NEVER TAKEN
   4b5c8:	2608           	movel %a0,%d3                               
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
   4b5ca:	2a01           	movel %d1,%d5                               
   4b5cc:	daaa 0008      	addl %a2@(8),%d5                            
   4b5d0:	4c40 5001      	remul %d0,%d1,%d5                           
   4b5d4:	2a00           	movel %d0,%d5                               
   4b5d6:	9a81           	subl %d1,%d5                                
   4b5d8:	2012           	movel %a2@,%d0                              
   4b5da:	d081           	addl %d1,%d0                                
   4b5dc:	220c           	movel %a4,%d1                               
   4b5de:	d282           	addl %d2,%d1                                
    if (chunk > chunk1) {                                             
   4b5e0:	ba83           	cmpl %d3,%d5                                
   4b5e2:	6c20           	bges 4b604 <pipe_write+0x112>               <== ALWAYS TAKEN
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
   4b5e4:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   4b5e6:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4b5e8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4b5ea:	4e93           	jsr %a3@                                    <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
   4b5ec:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   4b5ee:	9285           	subl %d5,%d1                                <== NOT EXECUTED
   4b5f0:	2005           	movel %d5,%d0                               <== NOT EXECUTED
   4b5f2:	d082           	addl %d2,%d0                                <== NOT EXECUTED
   4b5f4:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4b5f6:	4874 0800      	pea %a4@(00000000,%d0:l)                    <== NOT EXECUTED
   4b5fa:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   4b5fc:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4b5fe:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   4b602:	600c           	bras 4b610 <pipe_write+0x11e>               <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
   4b604:	2f03           	movel %d3,%sp@-                             
   4b606:	2f01           	movel %d1,%sp@-                             
   4b608:	2f00           	movel %d0,%sp@-                             
   4b60a:	4e93           	jsr %a3@                                    
   4b60c:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
    pipe->Length += chunk;                                            
   4b610:	d7aa 000c      	addl %d3,%a2@(12)                           
    if (pipe->waitingReaders > 0)                                     
   4b614:	4aaa 0018      	tstl %a2@(24)                               
   4b618:	670c           	beqs 4b626 <pipe_write+0x134>               
      PIPE_WAKEUPREADERS(pipe);                                       
   4b61a:	486e fffc      	pea %fp@(-4)                                
   4b61e:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4b622:	4e95           	jsr %a5@                                    
   4b624:	508f           	addql #8,%sp                                
    written += chunk;                                                 
   4b626:	d483           	addl %d3,%d2                                
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
   4b628:	7a01           	moveq #1,%d5                                
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
   4b62a:	b882           	cmpl %d2,%d4                                
   4b62c:	6282           	bhis 4b5b0 <pipe_write+0xbe>                
   4b62e:	4283           	clrl %d3                                    
   4b630:	600c           	bras 4b63e <pipe_write+0x14c>               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
   4b632:	76e0           	moveq #-32,%d3                              <== NOT EXECUTED
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
   4b634:	4282           	clrl %d2                                    <== NOT EXECUTED
   4b636:	6006           	bras 4b63e <pipe_write+0x14c>               <== NOT EXECUTED
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
   4b638:	76f5           	moveq #-11,%d3                              <== NOT EXECUTED
   4b63a:	6002           	bras 4b63e <pipe_write+0x14c>               <== NOT EXECUTED
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
   4b63c:	76e0           	moveq #-32,%d3                              <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4b63e:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4b642:	4eb9 0004 702c 	jsr 4702c <rtems_semaphore_release>         
   4b648:	588f           	addql #4,%sp                                
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
   4b64a:	70e0           	moveq #-32,%d0                              
   4b64c:	b083           	cmpl %d3,%d0                                
   4b64e:	6618           	bnes 4b668 <pipe_write+0x176>               <== ALWAYS TAKEN
    kill(getpid(), SIGPIPE);                                          
   4b650:	4eb9 0004 bdc4 	jsr 4bdc4 <getpid>                          <== NOT EXECUTED
   4b656:	4878 000d      	pea d <OPER1+0x1>                           <== NOT EXECUTED
   4b65a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4b65c:	4eb9 0004 c05c 	jsr 4c05c <kill>                            <== NOT EXECUTED
   4b662:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4b664:	6002           	bras 4b668 <pipe_write+0x176>               <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
   4b666:	76fc           	moveq #-4,%d3                               <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
   4b668:	4a82           	tstl %d2                                    
   4b66a:	6e0c           	bgts 4b678 <pipe_write+0x186>               <== ALWAYS TAKEN
   4b66c:	6008           	bras 4b676 <pipe_write+0x184>               <== NOT EXECUTED
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
   4b66e:	4282           	clrl %d2                                    <== NOT EXECUTED
   4b670:	6006           	bras 4b678 <pipe_write+0x186>               <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
   4b672:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
   4b674:	6002           	bras 4b678 <pipe_write+0x186>               <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
   4b676:	2403           	movel %d3,%d2                               <== NOT EXECUTED
    return written;                                                   
  return ret;                                                         
}                                                                     
   4b678:	2002           	movel %d2,%d0                               
   4b67a:	4cee 3cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a5            
   4b680:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000469d0 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
   469d0:	4e56 0000      	linkw %fp,#0                                
   469d4:	202e 000c      	movel %fp@(12),%d0                          
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
   469d8:	2200           	movel %d0,%d1                               
   469da:	5381           	subql #1,%d1                                
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
   469dc:	52b9 0006 2ea4 	addql #1,62ea4 <rtems_malloc_statistics+0x8>
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
   469e2:	c280           	andl %d0,%d1                                
   469e4:	6610           	bnes 469f6 <posix_memalign+0x26>            <== NEVER TAKEN
   469e6:	123c 0003      	moveb #3,%d1                                
   469ea:	b280           	cmpl %d0,%d1                                
   469ec:	6408           	bccs 469f6 <posix_memalign+0x26>            
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
   469ee:	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 );                  
   469f0:	4ef9 0004 6b0c 	jmp 46b0c <rtems_memalign>                  
}                                                                     
   469f6:	7016           	moveq #22,%d0                               
   469f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000497e4 <pthread_attr_getinheritsched>: int pthread_attr_getinheritsched( const pthread_attr_t *attr, int *inheritsched ) {
   497e4:	4e56 0000      	linkw %fp,#0                                
   497e8:	206e 0008      	moveal %fp@(8),%a0                          
   497ec:	226e 000c      	moveal %fp@(12),%a1                         
  if ( !attr || !attr->is_initialized || !inheritsched )              
   497f0:	4a88           	tstl %a0                                    
   497f2:	6710           	beqs 49804 <pthread_attr_getinheritsched+0x20><== NEVER TAKEN
   497f4:	4a90           	tstl %a0@                                   
   497f6:	670c           	beqs 49804 <pthread_attr_getinheritsched+0x20><== NEVER TAKEN
   497f8:	4a89           	tstl %a1                                    
   497fa:	6708           	beqs 49804 <pthread_attr_getinheritsched+0x20><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *inheritsched = attr->inheritsched;                                 
   497fc:	22a8 0010      	movel %a0@(16),%a1@                         
  return 0;                                                           
   49800:	4280           	clrl %d0                                    
   49802:	6002           	bras 49806 <pthread_attr_getinheritsched+0x22>
  const pthread_attr_t  *attr,                                        
  int                   *inheritsched                                 
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized || !inheritsched )              
    return EINVAL;                                                    
   49804:	7016           	moveq #22,%d0                               
                                                                      
  *inheritsched = attr->inheritsched;                                 
  return 0;                                                           
}                                                                     
   49806:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000499a8 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
   499a8:	4e56 0000      	linkw %fp,#0                                
   499ac:	206e 0008      	moveal %fp@(8),%a0                          
   499b0:	222e 000c      	movel %fp@(12),%d1                          
   499b4:	2f02           	movel %d2,%sp@-                             
  if ( !attr || !attr->is_initialized )                               
   499b6:	4a88           	tstl %a0                                    
   499b8:	671e           	beqs 499d8 <pthread_attr_setschedpolicy+0x30>
   499ba:	4a90           	tstl %a0@                                   
   499bc:	671a           	beqs 499d8 <pthread_attr_setschedpolicy+0x30>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
   499be:	7004           	moveq #4,%d0                                
   499c0:	b081           	cmpl %d1,%d0                                
   499c2:	6518           	bcss 499dc <pthread_attr_setschedpolicy+0x34>
   499c4:	103c 0001      	moveb #1,%d0                                
   499c8:	7417           	moveq #23,%d2                               
   499ca:	e3a8           	lsll %d1,%d0                                
   499cc:	c082           	andl %d2,%d0                                
   499ce:	670c           	beqs 499dc <pthread_attr_setschedpolicy+0x34><== NEVER TAKEN
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
   499d0:	2141 0014      	movel %d1,%a0@(20)                          
      return 0;                                                       
   499d4:	4280           	clrl %d0                                    
   499d6:	600a           	bras 499e2 <pthread_attr_setschedpolicy+0x3a>
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
   499d8:	7016           	moveq #22,%d0                               
   499da:	6006           	bras 499e2 <pthread_attr_setschedpolicy+0x3a>
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
   499dc:	203c 0000 0086 	movel #134,%d0                              
  }                                                                   
}                                                                     
   499e2:	241f           	movel %sp@+,%d2                             
   499e4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045b40 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
   45b40:	4e56 ffdc      	linkw %fp,#-36                              
   45b44:	206e 000c      	moveal %fp@(12),%a0                         
   45b48:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   45b4c:	246e 0008      	moveal %fp@(8),%a2                          
   45b50:	242e 0010      	movel %fp@(16),%d2                          
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
   45b54:	4a8a           	tstl %a2                                    
   45b56:	6700 008e      	beqw 45be6 <pthread_barrier_init+0xa6>      
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
   45b5a:	4a82           	tstl %d2                                    
   45b5c:	6700 0088      	beqw 45be6 <pthread_barrier_init+0xa6>      
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
   45b60:	4a88           	tstl %a0                                    
   45b62:	6614           	bnes 45b78 <pthread_barrier_init+0x38>      
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
   45b64:	260e           	movel %fp,%d3                               
   45b66:	0683 ffff fff0 	addil #-16,%d3                              
   45b6c:	2f03           	movel %d3,%sp@-                             
   45b6e:	4eb9 0004 5a84 	jsr 45a84 <pthread_barrierattr_init>        
   45b74:	588f           	addql #4,%sp                                
    the_attr = &my_attr;                                              
   45b76:	2043           	moveal %d3,%a0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   45b78:	4a90           	tstl %a0@                                   
   45b7a:	676a           	beqs 45be6 <pthread_barrier_init+0xa6>      
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
   45b7c:	4aa8 0004      	tstl %a0@(4)                                
   45b80:	6664           	bnes 45be6 <pthread_barrier_init+0xa6>      <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   45b82:	2039 0005 eef0 	movel 5eef0 <_Thread_Dispatch_disable_level>,%d0
   45b88:	5280           	addql #1,%d0                                
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
   45b8a:	42ae fff8      	clrl %fp@(-8)                               
  the_attributes.maximum_count = count;                               
   45b8e:	2d42 fffc      	movel %d2,%fp@(-4)                          
   45b92:	23c0 0005 eef0 	movel %d0,5eef0 <_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 );                 
   45b98:	4879 0005 f214 	pea 5f214 <_POSIX_Barrier_Information>      
   45b9e:	49f9 0004 86aa 	lea 486aa <_Thread_Enable_dispatch>,%a4     
   45ba4:	4eb9 0004 7a6c 	jsr 47a6c <_Objects_Allocate>               
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
   45baa:	588f           	addql #4,%sp                                
   45bac:	2640           	moveal %d0,%a3                              
   45bae:	4a80           	tstl %d0                                    
   45bb0:	6606           	bnes 45bb8 <pthread_barrier_init+0x78>      
    _Thread_Enable_dispatch();                                        
   45bb2:	4e94           	jsr %a4@                                    
    return EAGAIN;                                                    
   45bb4:	700b           	moveq #11,%d0                               
   45bb6:	6030           	bras 45be8 <pthread_barrier_init+0xa8>      
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
   45bb8:	486e fff8      	pea %fp@(-8)                                
   45bbc:	486b 0010      	pea %a3@(16)                                
   45bc0:	4eb9 0004 7154 	jsr 47154 <_CORE_barrier_Initialize>        
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   45bc6:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   45bca:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   45bcc:	2079 0005 f22c 	moveal 5f22c <_POSIX_Barrier_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   45bd2:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   45bd4:	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;                                   
   45bd8:	42ab 000c      	clrl %a3@(12)                               
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
   45bdc:	2480           	movel %d0,%a2@                              
  _Thread_Enable_dispatch();                                          
   45bde:	4e94           	jsr %a4@                                    
  return 0;                                                           
   45be0:	508f           	addql #8,%sp                                
   45be2:	4280           	clrl %d0                                    
   45be4:	6002           	bras 45be8 <pthread_barrier_init+0xa8>      
  switch ( the_attr->process_shared ) {                               
    case PTHREAD_PROCESS_PRIVATE:    /* only supported values */      
      break;                                                          
    case PTHREAD_PROCESS_SHARED:                                      
    default:                                                          
      return EINVAL;                                                  
   45be6:	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;                                                           
}                                                                     
   45be8:	4cee 1c0c ffdc 	moveml %fp@(-36),%d2-%d3/%a2-%a4            
   45bee:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004556c <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
   4556c:	4e56 0000      	linkw %fp,#0                                
   45570:	2f03           	movel %d3,%sp@-                             
   45572:	262e 000c      	movel %fp@(12),%d3                          
   45576:	2f02           	movel %d2,%sp@-                             
   45578:	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 )                                                     
   4557c:	6754           	beqs 455d2 <pthread_cleanup_push+0x66>      <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   4557e:	2039 0005 e838 	movel 5e838 <_Thread_Dispatch_disable_level>,%d0
   45584:	5280           	addql #1,%d0                                
   45586:	23c0 0005 e838 	movel %d0,5e838 <_Thread_Dispatch_disable_level>
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
   4558c:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   45590:	4eb9 0004 939c 	jsr 4939c <_Workspace_Allocate>             
                                                                      
  if ( handler ) {                                                    
   45596:	588f           	addql #4,%sp                                
   45598:	4a80           	tstl %d0                                    
   4559a:	6726           	beqs 455c2 <pthread_cleanup_push+0x56>      <== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
   4559c:	2079 0005 ecc8 	moveal 5ecc8 <_Per_CPU_Information+0xc>,%a0 
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
   455a2:	2228 010e      	movel %a0@(270),%d1                         
                                                                      
    handler->routine = routine;                                       
   455a6:	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;           
   455a8:	0681 0000 00e0 	addil #224,%d1                              
                                                                      
    handler->routine = routine;                                       
   455ae:	2142 0008      	movel %d2,%a0@(8)                           
    handler->arg = arg;                                               
   455b2:	2143 000c      	movel %d3,%a0@(12)                          
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
   455b6:	2f00           	movel %d0,%sp@-                             
   455b8:	2f01           	movel %d1,%sp@-                             
   455ba:	4eb9 0004 6bfc 	jsr 46bfc <_Chain_Append>                   
   455c0:	508f           	addql #8,%sp                                
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
   455c2:	242e fff8      	movel %fp@(-8),%d2                          
   455c6:	262e fffc      	movel %fp@(-4),%d3                          
   455ca:	4e5e           	unlk %fp                                    
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
   455cc:	4ef9 0004 8116 	jmp 48116 <_Thread_Enable_dispatch>         
}                                                                     
   455d2:	242e fff8      	movel %fp@(-8),%d2                          
   455d6:	262e fffc      	movel %fp@(-4),%d3                          
   455da:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046288 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
   46288:	4e56 fff4      	linkw %fp,#-12                              
   4628c:	48d7 1c00      	moveml %a2-%a4,%sp@                         
   46290:	246e 000c      	moveal %fp@(12),%a2                         
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
   46294:	4a8a           	tstl %a2                                    
   46296:	6606           	bnes 4629e <pthread_cond_init+0x16>         
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
   46298:	45f9 0005 d6fa 	lea 5d6fa <_POSIX_Condition_variables_Default_attributes>,%a2
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
   4629e:	7001           	moveq #1,%d0                                
   462a0:	b0aa 0004      	cmpl %a2@(4),%d0                            
   462a4:	6776           	beqs 4631c <pthread_cond_init+0x94>         <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
   462a6:	4a92           	tstl %a2@                                   
   462a8:	6772           	beqs 4631c <pthread_cond_init+0x94>         
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   462aa:	2039 0005 fe0c 	movel 5fe0c <_Thread_Dispatch_disable_level>,%d0
   462b0:	5280           	addql #1,%d0                                
   462b2:	23c0 0005 fe0c 	movel %d0,5fe0c <_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 );     
   462b8:	4879 0006 01bc 	pea 601bc <_POSIX_Condition_variables_Information>
   462be:	49f9 0004 92f2 	lea 492f2 <_Thread_Enable_dispatch>,%a4     
   462c4:	4eb9 0004 86b4 	jsr 486b4 <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
   462ca:	588f           	addql #4,%sp                                
   462cc:	2640           	moveal %d0,%a3                              
   462ce:	4a80           	tstl %d0                                    
   462d0:	6606           	bnes 462d8 <pthread_cond_init+0x50>         
    _Thread_Enable_dispatch();                                        
   462d2:	4e94           	jsr %a4@                                    
    return ENOMEM;                                                    
   462d4:	700c           	moveq #12,%d0                               
   462d6:	6046           	bras 4631e <pthread_cond_init+0x96>         
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
   462d8:	276a 0004 0010 	movel %a2@(4),%a3@(16)                      
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
   462de:	42ab 0014      	clrl %a3@(20)                               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
   462e2:	4878 0074      	pea 74 <DBL_MANT_DIG+0x3f>                  
   462e6:	4878 0800      	pea 800 <D_MAX_EXP+0x1>                     
   462ea:	42a7           	clrl %sp@-                                  
   462ec:	486b 0018      	pea %a3@(24)                                
   462f0:	4eb9 0004 9a18 	jsr 49a18 <_Thread_queue_Initialize>        
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   462f6:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   462fa:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   462fc:	2079 0006 01d4 	moveal 601d4 <_POSIX_Condition_variables_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   46302:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46304:	218b 1c00      	movel %a3,%a0@(00000000,%d1:l:4)            
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
   46308:	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;                                   
   4630c:	42ab 000c      	clrl %a3@(12)                               
   46310:	2080           	movel %d0,%a0@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   46312:	4e94           	jsr %a4@                                    
                                                                      
  return 0;                                                           
   46314:	4fef 0010      	lea %sp@(16),%sp                            
   46318:	4280           	clrl %d0                                    
   4631a:	6002           	bras 4631e <pthread_cond_init+0x96>         
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
   4631c:	7016           	moveq #22,%d0                               
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
   4631e:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   46324:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046124 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
   46124:	4e56 0000      	linkw %fp,#0                                
   46128:	206e 0008      	moveal %fp@(8),%a0                          
  if ( !attr || attr->is_initialized == false )                       
   4612c:	4a88           	tstl %a0                                    
   4612e:	670a           	beqs 4613a <pthread_condattr_destroy+0x16>  
   46130:	4a90           	tstl %a0@                                   
   46132:	6706           	beqs 4613a <pthread_condattr_destroy+0x16>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
   46134:	4290           	clrl %a0@                                   
  return 0;                                                           
   46136:	4280           	clrl %d0                                    
   46138:	6002           	bras 4613c <pthread_condattr_destroy+0x18>  
int pthread_condattr_destroy(                                         
  pthread_condattr_t *attr                                            
)                                                                     
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
   4613a:	7016           	moveq #22,%d0                               
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
}                                                                     
   4613c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c58c <pthread_exit>: } void pthread_exit( void *value_ptr ) {
   4c58c:	4e56 0000      	linkw %fp,#0                                
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
   4c590:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4c594:	2f39 0005 dd9c 	movel 5dd9c <_Per_CPU_Information+0xc>,%sp@-
   4c59a:	4eb9 0004 c51c 	jsr 4c51c <_POSIX_Thread_Exit>              
   4c5a0:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   4c5a2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0004571c <pthread_key_create>: int pthread_key_create( pthread_key_t *key, void (*destructor)( void * ) ) {
   4571c:	4e56 ffe4      	linkw %fp,#-28                              
   45720:	2039 0005 f64c 	movel 5f64c <_Thread_Dispatch_disable_level>,%d0
   45726:	5280           	addql #1,%d0                                
   45728:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   4572c:	23c0 0005 f64c 	movel %d0,5f64c <_Thread_Dispatch_disable_level>
 *  the inactive chain of free keys control blocks.                   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void ) 
{                                                                     
  return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
   45732:	4879 0005 f9c2 	pea 5f9c2 <_POSIX_Keys_Information>         
   45738:	4eb9 0004 77ac 	jsr 477ac <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_key = _POSIX_Keys_Allocate();                                   
                                                                      
  if ( !the_key ) {                                                   
   4573e:	588f           	addql #4,%sp                                
   45740:	2440           	moveal %d0,%a2                              
   45742:	4a80           	tstl %d0                                    
   45744:	660c           	bnes 45752 <pthread_key_create+0x36>        
    _Thread_Enable_dispatch();                                        
   45746:	4eb9 0004 83ea 	jsr 483ea <_Thread_Enable_dispatch>         
    return EAGAIN;                                                    
   4574c:	700b           	moveq #11,%d0                               
   4574e:	6000 00b6      	braw 45806 <pthread_key_create+0xea>        
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
   45752:	49f9 0005 f60c 	lea 5f60c <_Objects_Information_table+0x4>,%a4
int	_EXFUN(pthread_once,                                              
	(pthread_once_t *__once_control, void (*__init_routine)(void)));     
                                                                      
/* Thread-Specific Data Key Create, P1003.1c/Draft 10, p. 163 */      
                                                                      
int	_EXFUN(pthread_key_create,                                        
   45758:	47ea 0018      	lea %a2@(24),%a3                            
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
   4575c:	7401           	moveq #1,%d2                                
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
   4575e:	283c 0004 96f0 	movel #300784,%d4                           
        _Thread_Enable_dispatch();                                    
        return ENOMEM;                                                
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
      memset( table, '\0', bytes_to_allocate );                       
   45764:	4bf9 0004 df04 	lea 4df04 <memset>,%a5                      
  if ( !the_key ) {                                                   
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  the_key->destructor = destructor;                                   
   4576a:	256e 000c 0010 	movel %fp@(12),%a2@(16)                     
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
                                                                      
    if ( _Objects_Information_table[ the_api ] ) {                    
   45770:	205c           	moveal %a4@+,%a0                            
   45772:	4a88           	tstl %a0                                    
   45774:	6760           	beqs 457d6 <pthread_key_create+0xba>        <== NEVER TAKEN
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
   45776:	2068 0004      	moveal %a0@(4),%a0                          
   4577a:	4283           	clrl %d3                                    
   4577c:	3628 000e      	movew %a0@(14),%d3                          
      table = _Workspace_Allocate( bytes_to_allocate );               
   45780:	2044           	moveal %d4,%a0                              
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
   45782:	5283           	addql #1,%d3                                
            INTERNAL_ERROR_CORE,                                      
            true,                                                     
            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY    
          );                                                          
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
   45784:	e58b           	lsll #2,%d3                                 
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
   45786:	2f03           	movel %d3,%sp@-                             
   45788:	4e90           	jsr %a0@                                    
      if ( !table ) {                                                 
   4578a:	588f           	addql #4,%sp                                
   4578c:	4a80           	tstl %d0                                    
   4578e:	6636           	bnes 457c6 <pthread_key_create+0xaa>        
        for ( --the_api;                                              
   45790:	2602           	movel %d2,%d3                               
   45792:	5383           	subql #1,%d3                                
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
   45794:	49f9 0004 970c 	lea 4970c <_Workspace_Free>,%a4             
   4579a:	47f2 2c14      	lea %a2@(00000014,%d2:l:4),%a3              
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
   4579e:	6008           	bras 457a8 <pthread_key_create+0x8c>        
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
   457a0:	2f23           	movel %a3@-,%sp@-                           
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
              the_api-- )                                             
   457a2:	5383           	subql #1,%d3                                
          _Workspace_Free( the_key->Values[ the_api ] );              
   457a4:	4e94           	jsr %a4@                                    
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
              the_api >= 1;                                           
              the_api-- )                                             
   457a6:	588f           	addql #4,%sp                                
      #endif                                                          
      bytes_to_allocate = sizeof( void * ) *                          
        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);    
      table = _Workspace_Allocate( bytes_to_allocate );               
      if ( !table ) {                                                 
        for ( --the_api;                                              
   457a8:	4a83           	tstl %d3                                    
   457aa:	66f4           	bnes 457a0 <pthread_key_create+0x84>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
   457ac:	2f0a           	movel %a2,%sp@-                             
   457ae:	4879 0005 f9c2 	pea 5f9c2 <_POSIX_Keys_Information>         
   457b4:	4eb9 0004 7aa0 	jsr 47aa0 <_Objects_Free>                   
              the_api >= 1;                                           
              the_api-- )                                             
          _Workspace_Free( the_key->Values[ the_api ] );              
                                                                      
        _POSIX_Keys_Free( the_key );                                  
        _Thread_Enable_dispatch();                                    
   457ba:	4eb9 0004 83ea 	jsr 483ea <_Thread_Enable_dispatch>         
        return ENOMEM;                                                
   457c0:	508f           	addql #8,%sp                                
   457c2:	700c           	moveq #12,%d0                               
   457c4:	6040           	bras 45806 <pthread_key_create+0xea>        
      }                                                               
                                                                      
      the_key->Values[ the_api ] = table;                             
   457c6:	2680           	movel %d0,%a3@                              
      memset( table, '\0', bytes_to_allocate );                       
   457c8:	2f03           	movel %d3,%sp@-                             
   457ca:	42a7           	clrl %sp@-                                  
   457cc:	2f00           	movel %d0,%sp@-                             
   457ce:	4e95           	jsr %a5@                                    
   457d0:	4fef 000c      	lea %sp@(12),%sp                            
   457d4:	6002           	bras 457d8 <pthread_key_create+0xbc>        
    } else {                                                          
      the_key->Values[ the_api ] = NULL;                              
   457d6:	4293           	clrl %a3@                                   <== NOT EXECUTED
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
        the_api <= OBJECTS_APIS_LAST;                                 
        the_api++ ) {                                                 
   457d8:	5282           	addql #1,%d2                                
   457da:	588b           	addql #4,%a3                                
   *  APIs are optional.                                              
   *                                                                  
   *  NOTE: Currently RTEMS Classic API tasks are always enabled.     
   */                                                                 
                                                                      
  for ( the_api = 1;                                                  
   457dc:	7004           	moveq #4,%d0                                
   457de:	b082           	cmpl %d2,%d0                                
   457e0:	668e           	bnes 45770 <pthread_key_create+0x54>        
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   457e2:	202a 0008      	movel %a2@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   457e6:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   457e8:	2079 0005 f9da 	moveal 5f9da <_POSIX_Keys_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   457ee:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   457f0:	218a 1c00      	movel %a2,%a0@(00000000,%d1:l:4)            
                                                                      
  }                                                                   
                                                                      
  _Objects_Open_u32( &_POSIX_Keys_Information, &the_key->Object, 0 ); 
                                                                      
  *key = the_key->Object.id;                                          
   457f4:	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;                                   
   457f8:	42aa 000c      	clrl %a2@(12)                               
   457fc:	2080           	movel %d0,%a0@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   457fe:	4eb9 0004 83ea 	jsr 483ea <_Thread_Enable_dispatch>         
                                                                      
  return 0;                                                           
   45804:	4280           	clrl %d0                                    
}                                                                     
   45806:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4580c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045810 <pthread_key_delete>: */ int pthread_key_delete( pthread_key_t key ) {
   45810:	4e56 ffec      	linkw %fp,#-20                              
   45814:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
  pthread_key_t      id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Keys_Control *)                                       
    _Objects_Get( &_POSIX_Keys_Information, (Objects_Id) id, location );
   45818:	486e fffc      	pea %fp@(-4)                                
   4581c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   45820:	4879 0005 f9c2 	pea 5f9c2 <_POSIX_Keys_Information>         
   45826:	4eb9 0004 7bfc 	jsr 47bfc <_Objects_Get>                    
  register POSIX_Keys_Control *the_key;                               
  Objects_Locations            location;                              
  uint32_t                     the_api;                               
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
   4582c:	4fef 000c      	lea %sp@(12),%sp                            
   45830:	2400           	movel %d0,%d2                               
   45832:	4aae fffc      	tstl %fp@(-4)                               
   45836:	6646           	bnes 4587e <pthread_key_delete+0x6e>        
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
   45838:	2f00           	movel %d0,%sp@-                             
   4583a:	4879 0005 f9c2 	pea 5f9c2 <_POSIX_Keys_Information>         
	(pthread_key_t __key, _CONST void *__value));                        
void *	_EXFUN(pthread_getspecific, (pthread_key_t __key));            
                                                                      
/* Thread-Specific Data Key Deletion, P1003.1c/Draft 10, p. 167 */    
                                                                      
int	_EXFUN(pthread_key_delete, (pthread_key_t __key));                
   45840:	2442           	moveal %d2,%a2                              
   45842:	45ea 0018      	lea %a2@(24),%a2                            
   45846:	7603           	moveq #3,%d3                                
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
        if ( the_key->Values[ the_api ] )                             
          _Workspace_Free( the_key->Values[ the_api ] );              
   45848:	47f9 0004 970c 	lea 4970c <_Workspace_Free>,%a3             
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
   4584e:	4eb9 0004 7828 	jsr 47828 <_Objects_Close>                  
   45854:	508f           	addql #8,%sp                                
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
        if ( the_key->Values[ the_api ] )                             
   45856:	201a           	movel %a2@+,%d0                             
   45858:	6706           	beqs 45860 <pthread_key_delete+0x50>        <== NEVER TAKEN
          _Workspace_Free( the_key->Values[ the_api ] );              
   4585a:	2f00           	movel %d0,%sp@-                             
   4585c:	4e93           	jsr %a3@                                    
   4585e:	588f           	addql #4,%sp                                
   45860:	5383           	subql #1,%d3                                
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
                                                                      
      for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )    
   45862:	66f2           	bnes 45856 <pthread_key_delete+0x46>        
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
   45864:	2f02           	movel %d2,%sp@-                             
   45866:	4879 0005 f9c2 	pea 5f9c2 <_POSIX_Keys_Information>         
   4586c:	4eb9 0004 7aa0 	jsr 47aa0 <_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();                                      
   45872:	4eb9 0004 83ea 	jsr 483ea <_Thread_Enable_dispatch>         
      return 0;                                                       
   45878:	508f           	addql #8,%sp                                
   4587a:	4280           	clrl %d0                                    
   4587c:	6002           	bras 45880 <pthread_key_delete+0x70>        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   4587e:	7016           	moveq #22,%d0                               
}                                                                     
   45880:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   45886:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000453b0 <pthread_mutexattr_gettype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) {
   453b0:	4e56 0000      	linkw %fp,#0                                
   453b4:	206e 0008      	moveal %fp@(8),%a0                          
   453b8:	226e 000c      	moveal %fp@(12),%a1                         
  if ( !attr )                                                        
   453bc:	4a88           	tstl %a0                                    
   453be:	6710           	beqs 453d0 <pthread_mutexattr_gettype+0x20> 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
   453c0:	4a90           	tstl %a0@                                   
   453c2:	670c           	beqs 453d0 <pthread_mutexattr_gettype+0x20> 
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
   453c4:	4a89           	tstl %a1                                    
   453c6:	6708           	beqs 453d0 <pthread_mutexattr_gettype+0x20> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
   453c8:	22a8 0010      	movel %a0@(16),%a1@                         
  return 0;                                                           
   453cc:	4280           	clrl %d0                                    
   453ce:	6002           	bras 453d2 <pthread_mutexattr_gettype+0x22> 
                                                                      
  if ( !attr->is_initialized )                                        
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
    return EINVAL;                                                    
   453d0:	7016           	moveq #22,%d0                               
                                                                      
  *type = attr->type;                                                 
  return 0;                                                           
}                                                                     
   453d2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047140 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
   47140:	4e56 0000      	linkw %fp,#0                                
   47144:	206e 0008      	moveal %fp@(8),%a0                          
   47148:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr || !attr->is_initialized )                               
   4714c:	4a88           	tstl %a0                                    
   4714e:	6712           	beqs 47162 <pthread_mutexattr_setpshared+0x22>
   47150:	4a90           	tstl %a0@                                   
   47152:	670e           	beqs 47162 <pthread_mutexattr_setpshared+0x22>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
   47154:	7201           	moveq #1,%d1                                
   47156:	b280           	cmpl %d0,%d1                                
   47158:	6508           	bcss 47162 <pthread_mutexattr_setpshared+0x22><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
   4715a:	2140 0004      	movel %d0,%a0@(4)                           
      return 0;                                                       
   4715e:	4280           	clrl %d0                                    
   47160:	6002           	bras 47164 <pthread_mutexattr_setpshared+0x24>
                                                                      
    default:                                                          
      return EINVAL;                                                  
   47162:	7016           	moveq #22,%d0                               
  }                                                                   
}                                                                     
   47164:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045404 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
   45404:	4e56 0000      	linkw %fp,#0                                
   45408:	206e 0008      	moveal %fp@(8),%a0                          
   4540c:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr || !attr->is_initialized )                               
   45410:	4a88           	tstl %a0                                    
   45412:	6712           	beqs 45426 <pthread_mutexattr_settype+0x22> 
   45414:	4a90           	tstl %a0@                                   
   45416:	670e           	beqs 45426 <pthread_mutexattr_settype+0x22> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
   45418:	7203           	moveq #3,%d1                                
   4541a:	b280           	cmpl %d0,%d1                                
   4541c:	6508           	bcss 45426 <pthread_mutexattr_settype+0x22> 
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
   4541e:	2140 0010      	movel %d0,%a0@(16)                          
      return 0;                                                       
   45422:	4280           	clrl %d0                                    
   45424:	6002           	bras 45428 <pthread_mutexattr_settype+0x24> 
                                                                      
    default:                                                          
      return EINVAL;                                                  
   45426:	7016           	moveq #22,%d0                               
  }                                                                   
}                                                                     
   45428:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045e8c <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
   45e8c:	4e56 fffc      	linkw %fp,#-4                               
   45e90:	2f0b           	movel %a3,%sp@-                             
   45e92:	266e 000c      	moveal %fp@(12),%a3                         
   45e96:	2f0a           	movel %a2,%sp@-                             
   45e98:	246e 0008      	moveal %fp@(8),%a2                          
  if ( !once_control || !init_routine )                               
   45e9c:	4a8a           	tstl %a2                                    
   45e9e:	674a           	beqs 45eea <pthread_once+0x5e>              
   45ea0:	4a8b           	tstl %a3                                    
   45ea2:	6746           	beqs 45eea <pthread_once+0x5e>              
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
   45ea4:	4aaa 0004      	tstl %a2@(4)                                
   45ea8:	6644           	bnes 45eee <pthread_once+0x62>              
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
   45eaa:	486e fffc      	pea %fp@(-4)                                
   45eae:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   45eb2:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   45eb6:	4eb9 0004 6994 	jsr 46994 <rtems_task_mode>                 
    if ( !once_control->init_executed ) {                             
   45ebc:	4fef 000c      	lea %sp@(12),%sp                            
   45ec0:	4aaa 0004      	tstl %a2@(4)                                
   45ec4:	660c           	bnes 45ed2 <pthread_once+0x46>              <== NEVER TAKEN
      once_control->is_initialized = true;                            
   45ec6:	7001           	moveq #1,%d0                                
   45ec8:	2480           	movel %d0,%a2@                              
      once_control->init_executed = true;                             
   45eca:	7001           	moveq #1,%d0                                
   45ecc:	2540 0004      	movel %d0,%a2@(4)                           
      (*init_routine)();                                              
   45ed0:	4e93           	jsr %a3@                                    
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   45ed2:	486e fffc      	pea %fp@(-4)                                
   45ed6:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   45eda:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   45ede:	4eb9 0004 6994 	jsr 46994 <rtems_task_mode>                 
   45ee4:	4fef 000c      	lea %sp@(12),%sp                            
   45ee8:	6004           	bras 45eee <pthread_once+0x62>              
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
   45eea:	7016           	moveq #22,%d0                               
   45eec:	6002           	bras 45ef0 <pthread_once+0x64>              
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
   45eee:	4280           	clrl %d0                                    
}                                                                     
   45ef0:	246e fff4      	moveal %fp@(-12),%a2                        
   45ef4:	266e fff8      	moveal %fp@(-8),%a3                         
   45ef8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000464c8 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
   464c8:	4e56 ffe4      	linkw %fp,#-28                              
   464cc:	206e 000c      	moveal %fp@(12),%a0                         
   464d0:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   464d4:	246e 0008      	moveal %fp@(8),%a2                          
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
   464d8:	4a8a           	tstl %a2                                    
   464da:	677e           	beqs 4655a <pthread_rwlock_init+0x92>       
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
   464dc:	4a88           	tstl %a0                                    
   464de:	6614           	bnes 464f4 <pthread_rwlock_init+0x2c>       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
   464e0:	240e           	movel %fp,%d2                               
   464e2:	0682 ffff fff4 	addil #-12,%d2                              
   464e8:	2f02           	movel %d2,%sp@-                             
   464ea:	4eb9 0004 6dd8 	jsr 46dd8 <pthread_rwlockattr_init>         
   464f0:	588f           	addql #4,%sp                                
    the_attr = &default_attr;                                         
   464f2:	2042           	moveal %d2,%a0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   464f4:	4a90           	tstl %a0@                                   
   464f6:	6762           	beqs 4655a <pthread_rwlock_init+0x92>       <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
   464f8:	4aa8 0004      	tstl %a0@(4)                                
   464fc:	665c           	bnes 4655a <pthread_rwlock_init+0x92>       <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   464fe:	2039 0006 0310 	movel 60310 <_Thread_Dispatch_disable_level>,%d0
   46504:	5280           	addql #1,%d0                                
   46506:	23c0 0006 0310 	movel %d0,60310 <_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 );                  
   4650c:	4879 0006 049e 	pea 6049e <_POSIX_RWLock_Information>       
   46512:	49f9 0004 954a 	lea 4954a <_Thread_Enable_dispatch>,%a4     
   46518:	4eb9 0004 890c 	jsr 4890c <_Objects_Allocate>               
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
   4651e:	588f           	addql #4,%sp                                
   46520:	2640           	moveal %d0,%a3                              
   46522:	4a80           	tstl %d0                                    
   46524:	6606           	bnes 4652c <pthread_rwlock_init+0x64>       
    _Thread_Enable_dispatch();                                        
   46526:	4e94           	jsr %a4@                                    
    return EAGAIN;                                                    
   46528:	700b           	moveq #11,%d0                               
   4652a:	6030           	bras 4655c <pthread_rwlock_init+0x94>       
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
   4652c:	486e fffc      	pea %fp@(-4)                                
   46530:	486b 0010      	pea %a3@(16)                                
   46534:	4eb9 0004 80ec 	jsr 480ec <_CORE_RWLock_Initialize>         
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   4653a:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   4653e:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46540:	2079 0006 04b6 	moveal 604b6 <_POSIX_RWLock_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   46546:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46548:	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;                                   
   4654c:	42ab 000c      	clrl %a3@(12)                               
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
   46550:	2480           	movel %d0,%a2@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   46552:	4e94           	jsr %a4@                                    
  return 0;                                                           
   46554:	508f           	addql #8,%sp                                
   46556:	4280           	clrl %d0                                    
   46558:	6002           	bras 4655c <pthread_rwlock_init+0x94>       
  switch ( the_attr->process_shared ) {                               
    case PTHREAD_PROCESS_PRIVATE:    /* only supported values */      
      break;                                                          
    case PTHREAD_PROCESS_SHARED:                                      
    default:                                                          
      return EINVAL;                                                  
   4655a:	7016           	moveq #22,%d0                               
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   4655c:	4cee 1c04 ffe4 	moveml %fp@(-28),%d2/%a2-%a4                
   46562:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000465d0 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
   465d0:	4e56 ffec      	linkw %fp,#-20                              
   465d4:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   465d8:	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 )                                                      
   465dc:	4a8a           	tstl %a2                                    
   465de:	6700 0088      	beqw 46668 <pthread_rwlock_timedrdlock+0x98>
   *                                                                  
   *  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 );       
   465e2:	486e fff8      	pea %fp@(-8)                                
   465e6:	2f2e 000c      	movel %fp@(12),%sp@-                        
   465ea:	4eb9 0004 c028 	jsr 4c028 <_POSIX_Absolute_timeout_to_ticks>
   465f0:	486e fffc      	pea %fp@(-4)                                
   465f4:	2400           	movel %d0,%d2                               
   465f6:	2f12           	movel %a2@,%sp@-                            
   465f8:	4879 0006 049e 	pea 6049e <_POSIX_RWLock_Information>       
   465fe:	4eb9 0004 8d5c 	jsr 48d5c <_Objects_Get>                    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   46604:	4fef 0014      	lea %sp@(20),%sp                            
   46608:	4aae fffc      	tstl %fp@(-4)                               
   4660c:	665a           	bnes 46668 <pthread_rwlock_timedrdlock+0x98>
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,                                
   4660e:	7203           	moveq #3,%d1                                
   46610:	b282           	cmpl %d2,%d1                                
   46612:	57c3           	seq %d3                                     
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
   46614:	42a7           	clrl %sp@-                                  
   46616:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   4661a:	4483           	negl %d3                                    
   4661c:	4281           	clrl %d1                                    
   4661e:	1203           	moveb %d3,%d1                               
   46620:	2040           	moveal %d0,%a0                              
   46622:	2f01           	movel %d1,%sp@-                             
   46624:	2f12           	movel %a2@,%sp@-                            
   46626:	4868 0010      	pea %a0@(16)                                
   4662a:	4eb9 0004 8120 	jsr 48120 <_CORE_RWLock_Obtain_for_reading> 
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   46630:	4eb9 0004 954a 	jsr 4954a <_Thread_Enable_dispatch>         
      if ( !do_wait ) {                                               
   46636:	4fef 0014      	lea %sp@(20),%sp                            
   4663a:	4a03           	tstb %d3                                    
   4663c:	6616           	bnes 46654 <pthread_rwlock_timedrdlock+0x84>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
   4663e:	2079 0006 07a0 	moveal 607a0 <_Per_CPU_Information+0xc>,%a0 
   46644:	7002           	moveq #2,%d0                                
   46646:	b0a8 0034      	cmpl %a0@(52),%d0                           
   4664a:	6608           	bnes 46654 <pthread_rwlock_timedrdlock+0x84>
	  switch (status) {                                                  
   4664c:	4a82           	tstl %d2                                    
   4664e:	6718           	beqs 46668 <pthread_rwlock_timedrdlock+0x98><== NEVER TAKEN
   46650:	b082           	cmpl %d2,%d0                                
   46652:	6418           	bccs 4666c <pthread_rwlock_timedrdlock+0x9c><== ALWAYS TAKEN
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
   46654:	2079 0006 07a0 	moveal 607a0 <_Per_CPU_Information+0xc>,%a0 
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   4665a:	2f28 0034      	movel %a0@(52),%sp@-                        
   4665e:	4eb9 0004 6720 	jsr 46720 <_POSIX_RWLock_Translate_core_RWLock_return_code>
   46664:	588f           	addql #4,%sp                                
   46666:	6006           	bras 4666e <pthread_rwlock_timedrdlock+0x9e>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   46668:	7016           	moveq #22,%d0                               
   4666a:	6002           	bras 4666e <pthread_rwlock_timedrdlock+0x9e>
	  switch (status) {                                                  
	    case POSIX_ABSOLUTE_TIMEOUT_INVALID:                             
	      return EINVAL;                                                 
	    case POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST:                          
	    case POSIX_ABSOLUTE_TIMEOUT_IS_NOW:                              
	      return ETIMEDOUT;                                              
   4666c:	7074           	moveq #116,%d0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4666e:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   46674:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046678 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
   46678:	4e56 ffec      	linkw %fp,#-20                              
   4667c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   46680:	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 )                                                      
   46684:	4a8a           	tstl %a2                                    
   46686:	6700 0088      	beqw 46710 <pthread_rwlock_timedwrlock+0x98>
   *                                                                  
   *  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 );       
   4668a:	486e fff8      	pea %fp@(-8)                                
   4668e:	2f2e 000c      	movel %fp@(12),%sp@-                        
   46692:	4eb9 0004 c028 	jsr 4c028 <_POSIX_Absolute_timeout_to_ticks>
   46698:	486e fffc      	pea %fp@(-4)                                
   4669c:	2400           	movel %d0,%d2                               
   4669e:	2f12           	movel %a2@,%sp@-                            
   466a0:	4879 0006 049e 	pea 6049e <_POSIX_RWLock_Information>       
   466a6:	4eb9 0004 8d5c 	jsr 48d5c <_Objects_Get>                    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   466ac:	4fef 0014      	lea %sp@(20),%sp                            
   466b0:	4aae fffc      	tstl %fp@(-4)                               
   466b4:	665a           	bnes 46710 <pthread_rwlock_timedwrlock+0x98>
        (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,                                
   466b6:	7203           	moveq #3,%d1                                
   466b8:	b282           	cmpl %d2,%d1                                
   466ba:	57c3           	seq %d3                                     
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
   466bc:	42a7           	clrl %sp@-                                  
   466be:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   466c2:	4483           	negl %d3                                    
   466c4:	4281           	clrl %d1                                    
   466c6:	1203           	moveb %d3,%d1                               
   466c8:	2040           	moveal %d0,%a0                              
   466ca:	2f01           	movel %d1,%sp@-                             
   466cc:	2f12           	movel %a2@,%sp@-                            
   466ce:	4868 0010      	pea %a0@(16)                                
   466d2:	4eb9 0004 81d0 	jsr 481d0 <_CORE_RWLock_Obtain_for_writing> 
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   466d8:	4eb9 0004 954a 	jsr 4954a <_Thread_Enable_dispatch>         
      if ( !do_wait &&                                                
   466de:	4fef 0014      	lea %sp@(20),%sp                            
   466e2:	4a03           	tstb %d3                                    
   466e4:	6616           	bnes 466fc <pthread_rwlock_timedwrlock+0x84>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
   466e6:	2079 0006 07a0 	moveal 607a0 <_Per_CPU_Information+0xc>,%a0 
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
   466ec:	7002           	moveq #2,%d0                                
   466ee:	b0a8 0034      	cmpl %a0@(52),%d0                           
   466f2:	6608           	bnes 466fc <pthread_rwlock_timedwrlock+0x84>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	switch (status) {                                                    
   466f4:	4a82           	tstl %d2                                    
   466f6:	6718           	beqs 46710 <pthread_rwlock_timedwrlock+0x98><== NEVER TAKEN
   466f8:	b082           	cmpl %d2,%d0                                
   466fa:	6418           	bccs 46714 <pthread_rwlock_timedwrlock+0x9c><== ALWAYS TAKEN
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
        (CORE_RWLock_Status) _Thread_Executing->Wait.return_code      
   466fc:	2079 0006 07a0 	moveal 607a0 <_Per_CPU_Information+0xc>,%a0 
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   46702:	2f28 0034      	movel %a0@(52),%sp@-                        
   46706:	4eb9 0004 6720 	jsr 46720 <_POSIX_RWLock_Translate_core_RWLock_return_code>
   4670c:	588f           	addql #4,%sp                                
   4670e:	6006           	bras 46716 <pthread_rwlock_timedwrlock+0x9e>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   46710:	7016           	moveq #22,%d0                               
   46712:	6002           	bras 46716 <pthread_rwlock_timedwrlock+0x9e>
	switch (status) {                                                    
	  case POSIX_ABSOLUTE_TIMEOUT_INVALID:                               
	    return EINVAL;                                                   
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST:                            
	  case POSIX_ABSOLUTE_TIMEOUT_IS_NOW:                                
	    return ETIMEDOUT;                                                
   46714:	7074           	moveq #116,%d0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   46716:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   4671c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046df8 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
   46df8:	4e56 0000      	linkw %fp,#0                                
   46dfc:	206e 0008      	moveal %fp@(8),%a0                          
   46e00:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr )                                                        
   46e04:	4a88           	tstl %a0                                    
   46e06:	6712           	beqs 46e1a <pthread_rwlockattr_setpshared+0x22>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
   46e08:	4a90           	tstl %a0@                                   
   46e0a:	670e           	beqs 46e1a <pthread_rwlockattr_setpshared+0x22>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
   46e0c:	7201           	moveq #1,%d1                                
   46e0e:	b280           	cmpl %d0,%d1                                
   46e10:	6508           	bcss 46e1a <pthread_rwlockattr_setpshared+0x22><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
   46e12:	2140 0004      	movel %d0,%a0@(4)                           
      return 0;                                                       
   46e16:	4280           	clrl %d0                                    
   46e18:	6002           	bras 46e1c <pthread_rwlockattr_setpshared+0x24>
                                                                      
    default:                                                          
      return EINVAL;                                                  
   46e1a:	7016           	moveq #22,%d0                               
  }                                                                   
}                                                                     
   46e1c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000453c8 <pthread_setcancelstate>: int pthread_setcancelstate( int state, int *oldstate ) {
   453c8:	4e56 0000      	linkw %fp,#0                                
   453cc:	202e 0008      	movel %fp@(8),%d0                           
   453d0:	226e 000c      	moveal %fp@(12),%a1                         
   *  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() )                                        
   453d4:	4ab9 0005 e40c 	tstl 5e40c <_Per_CPU_Information+0x8>       
   453da:	663c           	bnes 45418 <pthread_setcancelstate+0x50>    <== NEVER TAKEN
    return EPROTO;                                                    
                                                                      
  if ( !oldstate )                                                    
   453dc:	4a89           	tstl %a1                                    
   453de:	673c           	beqs 4541c <pthread_setcancelstate+0x54>    <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( state != PTHREAD_CANCEL_ENABLE && state != PTHREAD_CANCEL_DISABLE )
   453e0:	7201           	moveq #1,%d1                                
   453e2:	b280           	cmpl %d0,%d1                                
   453e4:	6536           	bcss 4541c <pthread_setcancelstate+0x54>    <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
   453e6:	2079 0005 e410 	moveal 5e410 <_Per_CPU_Information+0xc>,%a0 
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   453ec:	2239 0005 df80 	movel 5df80 <_Thread_Dispatch_disable_level>,%d1
   453f2:	5281           	addql #1,%d1                                
   453f4:	2068 010e      	moveal %a0@(270),%a0                        
   453f8:	23c1 0005 df80 	movel %d1,5df80 <_Thread_Dispatch_disable_level>
                                                                      
  _Thread_Disable_dispatch();                                         
    *oldstate = thread_support->cancelability_state;                  
   453fe:	22a8 00d4      	movel %a0@(212),%a1@                        
    thread_support->cancelability_state = state;                      
   45402:	2140 00d4      	movel %d0,%a0@(212)                         
                                                                      
    _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(_Thread_Executing);
   45406:	2f39 0005 e410 	movel 5e410 <_Per_CPU_Information+0xc>,%sp@-
   4540c:	4eb9 0004 a03c 	jsr 4a03c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>
                                                                      
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
                                                                      
  return 0;                                                           
   45412:	588f           	addql #4,%sp                                
   45414:	4280           	clrl %d0                                    
   45416:	6006           	bras 4541e <pthread_setcancelstate+0x56>    
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
    return EPROTO;                                                    
   45418:	7047           	moveq #71,%d0                               
   4541a:	6002           	bras 4541e <pthread_setcancelstate+0x56>    
                                                                      
  if ( !oldstate )                                                    
    return EINVAL;                                                    
                                                                      
  if ( state != PTHREAD_CANCEL_ENABLE && state != PTHREAD_CANCEL_DISABLE )
    return EINVAL;                                                    
   4541c:	7016           	moveq #22,%d0                               
  /*                                                                  
   *  _Thread_Enable_dispatch is invoked by above call.               
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
   4541e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047ccc <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
   47ccc:	4e56 ffe0      	linkw %fp,#-32                              
   47cd0:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   47cd4:	242e 000c      	movel %fp@(12),%d2                          
   47cd8:	282e 0010      	movel %fp@(16),%d4                          
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
   47cdc:	6700 00e0      	beqw 47dbe <pthread_setschedparam+0xf2>     
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
   47ce0:	486e fff8      	pea %fp@(-8)                                
   47ce4:	486e fffc      	pea %fp@(-4)                                
   47ce8:	2f04           	movel %d4,%sp@-                             
   47cea:	2f02           	movel %d2,%sp@-                             
   47cec:	4eb9 0004 d034 	jsr 4d034 <_POSIX_Thread_Translate_sched_param>
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
   47cf2:	4fef 0010      	lea %sp@(16),%sp                            
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
   47cf6:	2600           	movel %d0,%d3                               
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
   47cf8:	6600 00ca      	bnew 47dc4 <pthread_setschedparam+0xf8>     
   47cfc:	486e fff4      	pea %fp@(-12)                               
   47d00:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47d04:	4879 0006 2614 	pea 62614 <_POSIX_Threads_Information>      
   47d0a:	4eb9 0004 9aa4 	jsr 49aa4 <_Objects_Get>                    
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  switch ( location ) {                                               
   47d10:	4fef 000c      	lea %sp@(12),%sp                            
   47d14:	2640           	moveal %d0,%a3                              
   47d16:	4aae fff4      	tstl %fp@(-12)                              
   47d1a:	6600 00a6      	bnew 47dc2 <pthread_setschedparam+0xf6>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   47d1e:	246b 010e      	moveal %a3@(270),%a2                        
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
   47d22:	7004           	moveq #4,%d0                                
   47d24:	b0aa 0080      	cmpl %a2@(128),%d0                          
   47d28:	660c           	bnes 47d36 <pthread_setschedparam+0x6a>     
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
   47d2a:	486a 00a4      	pea %a2@(164)                               
   47d2e:	4eb9 0004 b498 	jsr 4b498 <_Watchdog_Remove>                
   47d34:	588f           	addql #4,%sp                                
                                                                      
      api->schedpolicy = policy;                                      
   47d36:	2542 0080      	movel %d2,%a2@(128)                         
      api->schedparam  = *param;                                      
   47d3a:	4878 001c      	pea 1c <OPER2+0x8>                          
   47d3e:	2f04           	movel %d4,%sp@-                             
   47d40:	486a 0084      	pea %a2@(132)                               
   47d44:	4eb9 0004 fd70 	jsr 4fd70 <memcpy>                          
      the_thread->budget_algorithm = budget_algorithm;                
   47d4a:	276e fffc 007a 	movel %fp@(-4),%a3@(122)                    
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
   47d50:	4fef 000c      	lea %sp@(12),%sp                            
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
   47d54:	276e fff8 007e 	movel %fp@(-8),%a3@(126)                    
                                                                      
      switch ( api->schedpolicy ) {                                   
   47d5a:	4a82           	tstl %d2                                    
   47d5c:	6d58           	blts 47db6 <pthread_setschedparam+0xea>     <== NEVER TAKEN
   47d5e:	7002           	moveq #2,%d0                                
   47d60:	b082           	cmpl %d2,%d0                                
   47d62:	6c0a           	bges 47d6e <pthread_setschedparam+0xa2>     
   47d64:	103c 0004      	moveb #4,%d0                                
   47d68:	b082           	cmpl %d2,%d0                                
   47d6a:	664a           	bnes 47db6 <pthread_setschedparam+0xea>     <== NEVER TAKEN
   47d6c:	602a           	bras 47d98 <pthread_setschedparam+0xcc>     
   47d6e:	4280           	clrl %d0                                    
   47d70:	1039 0006 0c66 	moveb 60c66 <rtems_maximum_priority>,%d0    
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
   47d76:	41f9 0006 2404 	lea 62404 <_Thread_Ticks_per_timeslice>,%a0 
   47d7c:	90aa 0084      	subl %a2@(132),%d0                          
   47d80:	2750 0076      	movel %a0@,%a3@(118)                        
                                                                      
          the_thread->real_priority =                                 
   47d84:	2740 0018      	movel %d0,%a3@(24)                          
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
   47d88:	4878 0001      	pea 1 <ADD>                                 
   47d8c:	2f00           	movel %d0,%sp@-                             
   47d8e:	2f0b           	movel %a3,%sp@-                             
   47d90:	4eb9 0004 9dac 	jsr 49dac <_Thread_Change_priority>         
   47d96:	601a           	bras 47db2 <pthread_setschedparam+0xe6>     
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
   47d98:	256a 0084 00a0 	movel %a2@(132),%a2@(160)                   
          _Watchdog_Remove( &api->Sporadic_timer );                   
   47d9e:	486a 00a4      	pea %a2@(164)                               
   47da2:	4eb9 0004 b498 	jsr 4b498 <_Watchdog_Remove>                
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
   47da8:	2f0b           	movel %a3,%sp@-                             
   47daa:	42a7           	clrl %sp@-                                  
   47dac:	4eb9 0004 7ba8 	jsr 47ba8 <_POSIX_Threads_Sporadic_budget_TSR>
          break;                                                      
   47db2:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
   47db6:	4eb9 0004 a292 	jsr 4a292 <_Thread_Enable_dispatch>         
      return 0;                                                       
   47dbc:	6006           	bras 47dc4 <pthread_setschedparam+0xf8>     
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
   47dbe:	7616           	moveq #22,%d3                               
   47dc0:	6002           	bras 47dc4 <pthread_setschedparam+0xf8>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
   47dc2:	7603           	moveq #3,%d3                                
}                                                                     
   47dc4:	2003           	movel %d3,%d0                               
   47dc6:	4cee 0c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a3            
   47dcc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045c98 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
   45c98:	4e56 0000      	linkw %fp,#0                                
   45c9c:	2f02           	movel %d2,%sp@-                             
   *  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() )                                        
   45c9e:	4ab9 0005 ecc4 	tstl 5ecc4 <_Per_CPU_Information+0x8>       
   45ca4:	6646           	bnes 45cec <pthread_testcancel+0x54>        <== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
   45ca6:	2079 0005 ecc8 	moveal 5ecc8 <_Per_CPU_Information+0xc>,%a0 
   45cac:	2039 0005 e838 	movel 5e838 <_Thread_Dispatch_disable_level>,%d0
   45cb2:	5280           	addql #1,%d0                                
   45cb4:	2068 010e      	moveal %a0@(270),%a0                        
   45cb8:	23c0 0005 e838 	movel %d0,5e838 <_Thread_Dispatch_disable_level>
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   45cbe:	4aa8 00d4      	tstl %a0@(212)                              
   45cc2:	660a           	bnes 45cce <pthread_testcancel+0x36>        <== NEVER TAKEN
                                                                      
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */          
                                                                      
int	_EXFUN(pthread_setcancelstate, (int __state, int *__oldstate));   
int	_EXFUN(pthread_setcanceltype, (int __type, int *__oldtype));      
void 	_EXFUN(pthread_testcancel, (void));                             
   45cc4:	4aa8 00dc      	tstl %a0@(220)                              
   45cc8:	56c2           	sne %d2                                     
   45cca:	4482           	negl %d2                                    
   45ccc:	6002           	bras 45cd0 <pthread_testcancel+0x38>        
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
  POSIX_API_Control *thread_support;                                  
  bool               cancel = false;                                  
   45cce:	4202           	clrb %d2                                    <== NOT EXECUTED
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
   45cd0:	4eb9 0004 8116 	jsr 48116 <_Thread_Enable_dispatch>         
                                                                      
  if ( cancel )                                                       
   45cd6:	4a02           	tstb %d2                                    
   45cd8:	6712           	beqs 45cec <pthread_testcancel+0x54>        
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
   45cda:	4878 ffff      	pea ffffffff <LESS>                         
   45cde:	2f39 0005 ecc8 	movel 5ecc8 <_Per_CPU_Information+0xc>,%sp@-
   45ce4:	4eb9 0004 af90 	jsr 4af90 <_POSIX_Thread_Exit>              
   45cea:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   45cec:	242e fffc      	movel %fp@(-4),%d2                          
   45cf0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042bc4 <putk>: * putk * * Kernel putk (e.g. puts) function requiring minimal infrastrure. */ void putk(const char *s) {
   42bc4:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   42bc8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42bca:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
   42bce:	6008           	bras 42bd8 <putk+0x14>                      <== NOT EXECUTED
    BSP_output_char(*p);                                              
   42bd0:	49c0           	extbl %d0                                   <== NOT EXECUTED
   42bd2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42bd4:	4e91           	jsr %a1@                                    <== NOT EXECUTED
   42bd6:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42bd8:	2279 0005 c7a4 	moveal 5c7a4 <BSP_output_char>,%a1          <== NOT EXECUTED
 */                                                                   
void putk(const char *s)                                              
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
   42bde:	101a           	moveb %a2@+,%d0                             <== NOT EXECUTED
   42be0:	66ee           	bnes 42bd0 <putk+0xc>                       <== NOT EXECUTED
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   42be2:	700a           	moveq #10,%d0                               <== NOT EXECUTED
}                                                                     
   42be4:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   42be8:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   42bec:	4e5e           	unlk %fp                                    <== NOT EXECUTED
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   42bee:	4ed1           	jmp %a1@                                    <== NOT EXECUTED
                                                                      

00059d8c <read>: ssize_t read( int fd, void *buffer, size_t count ) {
   59d8c:	4e56 fff4      	linkw %fp,#-12                              
   59d90:	202e 000c      	movel %fp@(12),%d0                          
   59d94:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   59d98:	242e 0008      	movel %fp@(8),%d2                           
   59d9c:	222e 0010      	movel %fp@(16),%d1                          
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   59da0:	b4b9 0005 c0a4 	cmpl 5c0a4 <rtems_libio_number_iops>,%d2    
   59da6:	6414           	bccs 59dbc <read+0x30>                      <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   59da8:	2479 0005 d7b4 	moveal 5d7b4 <rtems_libio_iops>,%a2         
   59dae:	ed8a           	lsll #6,%d2                                 
   59db0:	d5c2           	addal %d2,%a2                               
  rtems_libio_check_is_open( iop );                                   
   59db2:	242a 0014      	movel %a2@(20),%d2                          
   59db6:	0802 0008      	btst #8,%d2                                 
   59dba:	660e           	bnes 59dca <read+0x3e>                      
   59dbc:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   59dc2:	7209           	moveq #9,%d1                                
   59dc4:	2040           	moveal %d0,%a0                              
   59dc6:	2081           	movel %d1,%a0@                              
   59dc8:	601a           	bras 59de4 <read+0x58>                      
  rtems_libio_check_buffer( buffer );                                 
   59dca:	4a80           	tstl %d0                                    
   59dcc:	670a           	beqs 59dd8 <read+0x4c>                      <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
   59dce:	4a81           	tstl %d1                                    
   59dd0:	6744           	beqs 59e16 <read+0x8a>                      <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   59dd2:	0802 0001      	btst #1,%d2                                 
   59dd6:	6610           	bnes 59de8 <read+0x5c>                      <== ALWAYS TAKEN
   59dd8:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   59dde:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   59de0:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   59de2:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   59de4:	70ff           	moveq #-1,%d0                               
   59de6:	6030           	bras 59e18 <read+0x8c>                      
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
   59de8:	206a 003c      	moveal %a2@(60),%a0                         
   59dec:	2f01           	movel %d1,%sp@-                             
   59dee:	2f00           	movel %d0,%sp@-                             
   59df0:	2f0a           	movel %a2,%sp@-                             
   59df2:	2068 0008      	moveal %a0@(8),%a0                          
   59df6:	4e90           	jsr %a0@                                    
                                                                      
  if ( rc > 0 )                                                       
   59df8:	4fef 000c      	lea %sp@(12),%sp                            
   59dfc:	4a80           	tstl %d0                                    
   59dfe:	6f18           	bles 59e18 <read+0x8c>                      
    iop->offset += rc;                                                
   59e00:	2400           	movel %d0,%d2                               
   59e02:	5bc1           	smi %d1                                     
   59e04:	49c1           	extbl %d1                                   
   59e06:	d5aa 0010      	addl %d2,%a2@(16)                           
   59e0a:	262a 000c      	movel %a2@(12),%d3                          
   59e0e:	d781           	addxl %d1,%d3                               
   59e10:	2543 000c      	movel %d3,%a2@(12)                          
   59e14:	6002           	bras 59e18 <read+0x8c>                      
                                                                      
  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 );                                   
   59e16:	4280           	clrl %d0                                    <== NOT EXECUTED
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   59e18:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   59e1e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000452ec <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
   452ec:	4e56 ffdc      	linkw %fp,#-36                              
   452f0:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   452f4:	246e 0008      	moveal %fp@(8),%a2                          
   452f8:	262e 000c      	movel %fp@(12),%d3                          
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
   452fc:	660e           	bnes 4530c <readlink+0x20>                  <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   452fe:	4eb9 0004 efe0 	jsr 4efe0 <__errno>                         <== NOT EXECUTED
   45304:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   45306:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   45308:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   4530a:	607a           	bras 45386 <readlink+0x9a>                  <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
   4530c:	2f0a           	movel %a2,%sp@-                             
   4530e:	240e           	movel %fp,%d2                               
   45310:	0682 ffff ffec 	addil #-20,%d2                              
   45316:	4eb9 0005 0b38 	jsr 50b38 <strlen>                          
   4531c:	4297           	clrl %sp@                                   
   4531e:	2f02           	movel %d2,%sp@-                             
   45320:	42a7           	clrl %sp@-                                  
   45322:	2f00           	movel %d0,%sp@-                             
   45324:	2f0a           	movel %a2,%sp@-                             
   45326:	4eb9 0004 429a 	jsr 4429a <rtems_filesystem_evaluate_path>  
                                           0, &loc, false );          
  if ( result != 0 )                                                  
   4532c:	4fef 0014      	lea %sp@(20),%sp                            
   45330:	4a80           	tstl %d0                                    
   45332:	6652           	bnes 45386 <readlink+0x9a>                  <== NEVER TAKEN
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
   45334:	206e fff8      	moveal %fp@(-8),%a0                         
   45338:	45f9 0004 4390 	lea 44390 <rtems_filesystem_freenode>,%a2   
   4533e:	2f02           	movel %d2,%sp@-                             
   45340:	2068 0010      	moveal %a0@(16),%a0                         
   45344:	4e90           	jsr %a0@                                    
   45346:	588f           	addql #4,%sp                                
   45348:	7204           	moveq #4,%d1                                
   4534a:	b280           	cmpl %d0,%d1                                
   4534c:	6714           	beqs 45362 <readlink+0x76>                  
    rtems_filesystem_freenode( &loc );                                
   4534e:	2f02           	movel %d2,%sp@-                             
   45350:	4e92           	jsr %a2@                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45352:	4eb9 0004 efe0 	jsr 4efe0 <__errno>                         
   45358:	588f           	addql #4,%sp                                
   4535a:	2040           	moveal %d0,%a0                              
   4535c:	7016           	moveq #22,%d0                               
   4535e:	2080           	movel %d0,%a0@                              
   45360:	6024           	bras 45386 <readlink+0x9a>                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
   45362:	2f2e 0010      	movel %fp@(16),%sp@-                        
   45366:	206e fff8      	moveal %fp@(-8),%a0                         
   4536a:	2f03           	movel %d3,%sp@-                             
   4536c:	2f02           	movel %d2,%sp@-                             
   4536e:	2068 003c      	moveal %a0@(60),%a0                         
   45372:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   45374:	2f02           	movel %d2,%sp@-                             
   45376:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   4537a:	4e92           	jsr %a2@                                    
                                                                      
  return result;                                                      
   4537c:	202e ffe8      	movel %fp@(-24),%d0                         
   45380:	4fef 0010      	lea %sp@(16),%sp                            
   45384:	6002           	bras 45388 <readlink+0x9c>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
   45386:	70ff           	moveq #-1,%d0                               
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
   45388:	4cee 040c ffdc 	moveml %fp@(-36),%d2-%d3/%a2                
   4538e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00044308 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
   44308:	4e56 ffe4      	linkw %fp,#-28                              
   4430c:	202e 0008      	movel %fp@(8),%d0                           
   44310:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   44314:	246e 000c      	moveal %fp@(12),%a2                         
   44318:	262e 0010      	movel %fp@(16),%d3                          
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
   4431c:	b0b9 0005 caf4 	cmpl 5caf4 <rtems_libio_number_iops>,%d0    
   44322:	6414           	bccs 44338 <readv+0x30>                     
  iop = rtems_libio_iop( fd );                                        
   44324:	2679 0005 e204 	moveal 5e204 <rtems_libio_iops>,%a3         
   4432a:	ed88           	lsll #6,%d0                                 
   4432c:	d7c0           	addal %d0,%a3                               
  rtems_libio_check_is_open( iop );                                   
   4432e:	202b 0014      	movel %a3@(20),%d0                          
   44332:	0800 0008      	btst #8,%d0                                 
   44336:	6610           	bnes 44348 <readv+0x40>                     
   44338:	4eb9 0004 d67c 	jsr 4d67c <__errno>                         
   4433e:	7209           	moveq #9,%d1                                
   44340:	2040           	moveal %d0,%a0                              
   44342:	2081           	movel %d1,%a0@                              
   44344:	6000 009e      	braw 443e4 <readv+0xdc>                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   44348:	0800 0001      	btst #1,%d0                                 
   4434c:	672c           	beqs 4437a <readv+0x72>                     <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
   4434e:	4a8a           	tstl %a2                                    
   44350:	6728           	beqs 4437a <readv+0x72>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
   44352:	4a83           	tstl %d3                                    
   44354:	6f24           	bles 4437a <readv+0x72>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   44356:	0c83 0000 0400 	cmpil #1024,%d3                             
   4435c:	6e1c           	bgts 4437a <readv+0x72>                     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4435e:	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 )                                             
   44360:	93c9           	subal %a1,%a1                               
   44362:	4281           	clrl %d1                                    
   44364:	7001           	moveq #1,%d0                                
   44366:	6002           	bras 4436a <readv+0x62>                     
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   44368:	2204           	movel %d4,%d1                               
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
   4436a:	4a90           	tstl %a0@                                   
   4436c:	670c           	beqs 4437a <readv+0x72>                     
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   4436e:	2428 0004      	movel %a0@(4),%d2                           
   44372:	2801           	movel %d1,%d4                               
   44374:	d882           	addl %d2,%d4                                
    if ( total < old )                                                
   44376:	b284           	cmpl %d4,%d1                                
   44378:	6f0e           	bles 44388 <readv+0x80>                     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4437a:	4eb9 0004 d67c 	jsr 4d67c <__errno>                         
   44380:	2040           	moveal %d0,%a0                              
   44382:	7016           	moveq #22,%d0                               
   44384:	2080           	movel %d0,%a0@                              
   44386:	605c           	bras 443e4 <readv+0xdc>                     
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
   44388:	4a82           	tstl %d2                                    
   4438a:	57c1           	seq %d1                                     
   *  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++ ) {                           
   4438c:	5289           	addql #1,%a1                                
   4438e:	5088           	addql #8,%a0                                
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
   44390:	c081           	andl %d1,%d0                                
   *  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++ ) {                           
   44392:	b689           	cmpl %a1,%d3                                
   44394:	6ed2           	bgts 44368 <readv+0x60>                     
  /*                                                                  
   *  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 ) {                                          
   44396:	4a00           	tstb %d0                                    
   44398:	6646           	bnes 443e0 <readv+0xd8>                     
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
   4439a:	588a           	addql #4,%a2                                
   4439c:	4284           	clrl %d4                                    
   4439e:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
   443a0:	206b 003c      	moveal %a3@(60),%a0                         
   443a4:	2f12           	movel %a2@,%sp@-                            
   443a6:	2f2a fffc      	movel %a2@(-4),%sp@-                        
   443aa:	2f0b           	movel %a3,%sp@-                             
   443ac:	2068 0008      	moveal %a0@(8),%a0                          
   443b0:	4e90           	jsr %a0@                                    
                                                                      
    if ( bytes < 0 )                                                  
   443b2:	4fef 000c      	lea %sp@(12),%sp                            
   443b6:	4a80           	tstl %d0                                    
   443b8:	6d2a           	blts 443e4 <readv+0xdc>                     <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
   443ba:	6716           	beqs 443d2 <readv+0xca>                     <== NEVER TAKEN
      iop->offset += bytes;                                           
      total       += bytes;                                           
   443bc:	d480           	addl %d0,%d2                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
   443be:	2c00           	movel %d0,%d6                               
   443c0:	5bc5           	smi %d5                                     
   443c2:	49c5           	extbl %d5                                   
   443c4:	ddab 0010      	addl %d6,%a3@(16)                           
   443c8:	222b 000c      	movel %a3@(12),%d1                          
   443cc:	d385           	addxl %d5,%d1                               
   443ce:	2741 000c      	movel %d1,%a3@(12)                          
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
   443d2:	b092           	cmpl %a2@,%d0                               
   443d4:	6610           	bnes 443e6 <readv+0xde>                     <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   443d6:	5284           	addql #1,%d4                                
   443d8:	508a           	addql #8,%a2                                
   443da:	b684           	cmpl %d4,%d3                                
   443dc:	6ec2           	bgts 443a0 <readv+0x98>                     
   443de:	6006           	bras 443e6 <readv+0xde>                     
   *  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;                                                         
   443e0:	4282           	clrl %d2                                    
   443e2:	6002           	bras 443e6 <readv+0xde>                     
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
   443e4:	74ff           	moveq #-1,%d2                               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   443e6:	2002           	movel %d2,%d0                               
   443e8:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   443ee:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00059ea4 <realloc>: /* * Do not attempt to allocate memory if in a critical section or ISR. */ if (_System_state_Is_up(_System_state_Get())) {
   59ea4:	7003           	moveq #3,%d0                                
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
   59ea6:	4e56 fff0      	linkw %fp,#-16                              
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   59eaa:	52b9 0005 d7dc 	addql #1,5d7dc <rtems_malloc_statistics+0x10>
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
   59eb0:	48d7 001c      	moveml %d2-%d4,%sp@                         
   59eb4:	242e 0008      	movel %fp@(8),%d2                           
   59eb8:	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())) {                     
   59ebc:	b0b9 0005 da7a 	cmpl 5da7a <_System_state_Current>,%d0      
   59ec2:	6614           	bnes 59ed8 <realloc+0x34>                   <== NEVER TAKEN
    if (_Thread_Dispatch_disable_level > 0)                           
   59ec4:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0
   59eca:	6600 00aa      	bnew 59f76 <realloc+0xd2>                   
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
   59ece:	4ab9 0005 dd98 	tstl 5dd98 <_Per_CPU_Information+0x8>       
   59ed4:	6600 00a0      	bnew 59f76 <realloc+0xd2>                   
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
   59ed8:	4a82           	tstl %d2                                    
   59eda:	6610           	bnes 59eec <realloc+0x48>                   
    return malloc( size );                                            
   59edc:	2f03           	movel %d3,%sp@-                             
   59ede:	4eb9 0004 2b3c 	jsr 42b3c <malloc>                          
   59ee4:	588f           	addql #4,%sp                                
   59ee6:	2400           	movel %d0,%d2                               
   59ee8:	6000 008e      	braw 59f78 <realloc+0xd4>                   
                                                                      
  if ( !size ) {                                                      
   59eec:	4a83           	tstl %d3                                    
   59eee:	660c           	bnes 59efc <realloc+0x58>                   <== ALWAYS TAKEN
    free( ptr );                                                      
   59ef0:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   59ef2:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
    return (void *) 0;                                                
   59ef8:	588f           	addql #4,%sp                                <== NOT EXECUTED
   59efa:	607a           	bras 59f76 <realloc+0xd2>                   <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
   59efc:	486e fffc      	pea %fp@(-4)                                
   59f00:	2f02           	movel %d2,%sp@-                             
   59f02:	2f39 0005 c0b0 	movel 5c0b0 <RTEMS_Malloc_Heap>,%sp@-       
   59f08:	4eb9 0005 a404 	jsr 5a404 <_Protected_heap_Get_block_size>  
   59f0e:	4fef 000c      	lea %sp@(12),%sp                            
   59f12:	4a00           	tstb %d0                                    
   59f14:	660e           	bnes 59f24 <realloc+0x80>                   
    errno = EINVAL;                                                   
   59f16:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   59f1c:	2040           	moveal %d0,%a0                              
   59f1e:	7016           	moveq #22,%d0                               
   59f20:	2080           	movel %d0,%a0@                              
   59f22:	6052           	bras 59f76 <realloc+0xd2>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
   59f24:	2f03           	movel %d3,%sp@-                             
   59f26:	2f02           	movel %d2,%sp@-                             
   59f28:	2f39 0005 c0b0 	movel 5c0b0 <RTEMS_Malloc_Heap>,%sp@-       
   59f2e:	4eb9 0005 a440 	jsr 5a440 <_Protected_heap_Resize_block>    
   59f34:	4fef 000c      	lea %sp@(12),%sp                            
   59f38:	4a00           	tstb %d0                                    
   59f3a:	663c           	bnes 59f78 <realloc+0xd4>                   
   *  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 );                                          
   59f3c:	2f03           	movel %d3,%sp@-                             
   59f3e:	4eb9 0004 2b3c 	jsr 42b3c <malloc>                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
   59f44:	588f           	addql #4,%sp                                
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
   59f46:	53b9 0005 d7d0 	subql #1,5d7d0 <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 );                                          
   59f4c:	2800           	movel %d0,%d4                               
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
   59f4e:	6726           	beqs 59f76 <realloc+0xd2>                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
   59f50:	202e fffc      	movel %fp@(-4),%d0                          
   59f54:	b083           	cmpl %d3,%d0                                
   59f56:	6402           	bccs 59f5a <realloc+0xb6>                   <== NEVER TAKEN
   59f58:	2600           	movel %d0,%d3                               
   59f5a:	2f03           	movel %d3,%sp@-                             
   59f5c:	2f02           	movel %d2,%sp@-                             
   59f5e:	2f04           	movel %d4,%sp@-                             
   59f60:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
  free( ptr );                                                        
   59f66:	2f02           	movel %d2,%sp@-                             
                                                                      
  return new_area;                                                    
   59f68:	2404           	movel %d4,%d2                               
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
   59f6a:	4eb9 0004 2854 	jsr 42854 <free>                            
                                                                      
  return new_area;                                                    
   59f70:	4fef 0010      	lea %sp@(16),%sp                            
   59f74:	6002           	bras 59f78 <realloc+0xd4>                   
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
   59f76:	4282           	clrl %d2                                    
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
   59f78:	2002           	movel %d2,%d0                               
   59f7a:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   59f80:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000458d8 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
   458d8:	4e56 ffbc      	linkw %fp,#-68                              
   458dc:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   458e0:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
   458e4:	2f0a           	movel %a2,%sp@-                             
   458e6:	4eb9 0004 45f2 	jsr 445f2 <rtems_filesystem_dirname>        
                                                                      
  if ( parentpathlen == 0 )                                           
   458ec:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
   458ee:	2a00           	movel %d0,%d5                               
   458f0:	200e           	movel %fp,%d0                               
   458f2:	0680 ffff ffe8 	addil #-24,%d0                              
                                                                      
  if ( parentpathlen == 0 )                                           
   458f8:	4a85           	tstl %d5                                    
   458fa:	6616           	bnes 45912 <rmdir+0x3a>                     
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
   458fc:	2f00           	movel %d0,%sp@-                             
   458fe:	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;           
   45902:	4204           	clrb %d4                                    
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
   45904:	2f0a           	movel %a2,%sp@-                             
   45906:	4eb9 0004 5aa0 	jsr 45aa0 <rtems_filesystem_get_start_loc>  
   4590c:	4fef 000c      	lea %sp@(12),%sp                            
   45910:	601e           	bras 45930 <rmdir+0x58>                     
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
   45912:	42a7           	clrl %sp@-                                  
   45914:	2f00           	movel %d0,%sp@-                             
   45916:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4591a:	2f05           	movel %d5,%sp@-                             
   4591c:	2f0a           	movel %a2,%sp@-                             
   4591e:	4eb9 0004 457a 	jsr 4457a <rtems_filesystem_evaluate_path>  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
   45924:	4fef 0014      	lea %sp@(20),%sp                            
   45928:	4a80           	tstl %d0                                    
   4592a:	6600 00c2      	bnew 459ee <rmdir+0x116>                    
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
   4592e:	7801           	moveq #1,%d4                                
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   45930:	4878 0014      	pea 14 <OPER2>                              
   45934:	260e           	movel %fp,%d3                               
   45936:	0683 ffff ffe8 	addil #-24,%d3                              
   4593c:	240e           	movel %fp,%d2                               
   4593e:	0682 ffff ffd4 	addil #-44,%d2                              
  name = pathname + parentpathlen;                                    
   45944:	d5c5           	addal %d5,%a2                               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   45946:	47f9 0005 2130 	lea 52130 <strlen>,%a3                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   4594c:	2f03           	movel %d3,%sp@-                             
   4594e:	2f02           	movel %d2,%sp@-                             
   45950:	4eb9 0005 0a0c 	jsr 50a0c <memcpy>                          
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   45956:	2f0a           	movel %a2,%sp@-                             
   45958:	4e93           	jsr %a3@                                    
   4595a:	2e80           	movel %d0,%sp@                              
   4595c:	2f0a           	movel %a2,%sp@-                             
   4595e:	4eb9 0004 4634 	jsr 44634 <rtems_filesystem_prefix_separators>
   45964:	d5c0           	addal %d0,%a2                               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   45966:	2f0a           	movel %a2,%sp@-                             
   45968:	4e93           	jsr %a3@                                    
   4596a:	4297           	clrl %sp@                                   
   4596c:	2f02           	movel %d2,%sp@-                             
   4596e:	42a7           	clrl %sp@-                                  
   45970:	2f00           	movel %d0,%sp@-                             
   45972:	2f0a           	movel %a2,%sp@-                             
   45974:	4eb9 0004 44e0 	jsr 444e0 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   4597a:	4fef 0028      	lea %sp@(40),%sp                            
   4597e:	4a80           	tstl %d0                                    
   45980:	6710           	beqs 45992 <rmdir+0xba>                     
    if ( free_parentloc )                                             
   45982:	4a04           	tstb %d4                                    
   45984:	6768           	beqs 459ee <rmdir+0x116>                    <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
   45986:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   45988:	4eb9 0004 4670 	jsr 44670 <rtems_filesystem_freenode>       <== NOT EXECUTED
   4598e:	588f           	addql #4,%sp                                <== NOT EXECUTED
   45990:	605c           	bras 459ee <rmdir+0x116>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
   45992:	206e ffe0      	moveal %fp@(-32),%a0                        
   45996:	45f9 0004 4670 	lea 44670 <rtems_filesystem_freenode>,%a2   
   4599c:	2f02           	movel %d2,%sp@-                             
   4599e:	2068 0010      	moveal %a0@(16),%a0                         
   459a2:	4e90           	jsr %a0@                                    
   459a4:	588f           	addql #4,%sp                                
   459a6:	7201           	moveq #1,%d1                                
   459a8:	b280           	cmpl %d0,%d1                                
   459aa:	671e           	beqs 459ca <rmdir+0xf2>                     
    rtems_filesystem_freenode( &loc );                                
   459ac:	2f02           	movel %d2,%sp@-                             
   459ae:	4e92           	jsr %a2@                                    
    if ( free_parentloc )                                             
   459b0:	588f           	addql #4,%sp                                
   459b2:	4a04           	tstb %d4                                    
   459b4:	6706           	beqs 459bc <rmdir+0xe4>                     <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
   459b6:	2f03           	movel %d3,%sp@-                             
   459b8:	4e92           	jsr %a2@                                    
   459ba:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   459bc:	4eb9 0004 f178 	jsr 4f178 <__errno>                         
   459c2:	2040           	moveal %d0,%a0                              
   459c4:	7014           	moveq #20,%d0                               
   459c6:	2080           	movel %d0,%a0@                              
   459c8:	6024           	bras 459ee <rmdir+0x116>                    
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   459ca:	2f02           	movel %d2,%sp@-                             
   459cc:	206e ffdc      	moveal %fp@(-36),%a0                        
   459d0:	2f03           	movel %d3,%sp@-                             
   459d2:	2068 0034      	moveal %a0@(52),%a0                         
   459d6:	4e90           	jsr %a0@                                    
   459d8:	2a00           	movel %d0,%d5                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   459da:	2f02           	movel %d2,%sp@-                             
   459dc:	4e92           	jsr %a2@                                    
  if ( free_parentloc )                                               
   459de:	4fef 000c      	lea %sp@(12),%sp                            
   459e2:	4a04           	tstb %d4                                    
   459e4:	670a           	beqs 459f0 <rmdir+0x118>                    
    rtems_filesystem_freenode( &parentloc );                          
   459e6:	2f03           	movel %d3,%sp@-                             
   459e8:	4e92           	jsr %a2@                                    
   459ea:	588f           	addql #4,%sp                                
   459ec:	6002           	bras 459f0 <rmdir+0x118>                    
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
   459ee:	7aff           	moveq #-1,%d5                               
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   459f0:	2005           	movel %d5,%d0                               
   459f2:	4cee 0c3c ffbc 	moveml %fp@(-68),%d2-%d5/%a2-%a3            
   459f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c240 <rtems_assoc_name_bad>: uint32_t bad_value #else uint32_t bad_value __attribute((unused)) #endif ) {
   4c240:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
    sprintf(bad_buffer, "< %" PRId32 "[0x%" PRIx32 " ] >", bad_value, bad_value);
#else                                                                 
    static char bad_buffer[40] = "<assocnamebad.c: : BAD NAME>";      
#endif                                                                
    return bad_buffer;                                                
}                                                                     
   4c244:	203c 0005 c258 	movel #377432,%d0                           <== NOT EXECUTED
   4c24a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00049698 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
   49698:	4e56 0000      	linkw %fp,#0                                
   4969c:	2f02           	movel %d2,%sp@-                             
   4969e:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
   496a2:	2f02           	movel %d2,%sp@-                             
   496a4:	2f2e 0008      	movel %fp@(8),%sp@-                         
   496a8:	4eb9 0004 96d0 	jsr 496d0 <rtems_assoc_ptr_by_local>        
  if (nap)                                                            
   496ae:	508f           	addql #8,%sp                                
   496b0:	4a80           	tstl %d0                                    
   496b2:	670c           	beqs 496c0 <rtems_assoc_name_by_local+0x28> <== NEVER TAKEN
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
   496b4:	2040           	moveal %d0,%a0                              
   496b6:	242e fffc      	movel %fp@(-4),%d2                          
   496ba:	4e5e           	unlk %fp                                    
   496bc:	2010           	movel %a0@,%d0                              
   496be:	4e75           	rts                                         
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
   496c0:	2d42 0008      	movel %d2,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   496c4:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   496c8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
   496ca:	4ef9 0004 c240 	jmp 4c240 <rtems_assoc_name_bad>            <== NOT EXECUTED
                                                                      

000496d0 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
   496d0:	4e56 0000      	linkw %fp,#0                                
   496d4:	2f0a           	movel %a2,%sp@-                             
   496d6:	246e 0008      	moveal %fp@(8),%a2                          
   496da:	2f02           	movel %d2,%sp@-                             
   496dc:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   496e0:	2012           	movel %a2@,%d0                              
   496e2:	6718           	beqs 496fc <rtems_assoc_ptr_by_local+0x2c>  <== NEVER TAKEN
   496e4:	4879 0005 b4d4 	pea 5b4d4 <IMFS_memfile_handlers+0x38>      
   496ea:	2f00           	movel %d0,%sp@-                             
   496ec:	4eb9 0004 d930 	jsr 4d930 <strcmp>                          
   496f2:	508f           	addql #8,%sp                                
   496f4:	4a80           	tstl %d0                                    
   496f6:	6604           	bnes 496fc <rtems_assoc_ptr_by_local+0x2c>  <== ALWAYS TAKEN
    default_ap = ap++;                                                
   496f8:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   496fa:	600a           	bras 49706 <rtems_assoc_ptr_by_local+0x36>  <== NOT EXECUTED
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;                                
   496fc:	4280           	clrl %d0                                    
   496fe:	600a           	bras 4970a <rtems_assoc_ptr_by_local+0x3a>  
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
   49700:	b4aa 0004      	cmpl %a2@(4),%d2                            
   49704:	670a           	beqs 49710 <rtems_assoc_ptr_by_local+0x40>  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
   49706:	45ea 000c      	lea %a2@(12),%a2                            
   4970a:	4a92           	tstl %a2@                                   
   4970c:	66f2           	bnes 49700 <rtems_assoc_ptr_by_local+0x30>  
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
   4970e:	2440           	moveal %d0,%a2                              
}                                                                     
   49710:	200a           	movel %a2,%d0                               
   49712:	242e fff8      	movel %fp@(-8),%d2                          
   49716:	246e fffc      	moveal %fp@(-4),%a2                         
   4971a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004c250 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
   4c250:	4e56 0000      	linkw %fp,#0                                
   4c254:	2f0a           	movel %a2,%sp@-                             
   4c256:	246e 0008      	moveal %fp@(8),%a2                          
   4c25a:	2f02           	movel %d2,%sp@-                             
   4c25c:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   4c260:	2012           	movel %a2@,%d0                              
   4c262:	6718           	beqs 4c27c <rtems_assoc_ptr_by_remote+0x2c> <== NEVER TAKEN
   4c264:	4879 0005 b4d4 	pea 5b4d4 <IMFS_memfile_handlers+0x38>      
   4c26a:	2f00           	movel %d0,%sp@-                             
   4c26c:	4eb9 0004 d930 	jsr 4d930 <strcmp>                          
   4c272:	508f           	addql #8,%sp                                
   4c274:	4a80           	tstl %d0                                    
   4c276:	6604           	bnes 4c27c <rtems_assoc_ptr_by_remote+0x2c> <== ALWAYS TAKEN
    default_ap = ap++;                                                
   4c278:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   4c27a:	600a           	bras 4c286 <rtems_assoc_ptr_by_remote+0x36> <== NOT EXECUTED
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;                                
   4c27c:	4280           	clrl %d0                                    
   4c27e:	600a           	bras 4c28a <rtems_assoc_ptr_by_remote+0x3a> 
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
   4c280:	b4aa 0008      	cmpl %a2@(8),%d2                            
   4c284:	670a           	beqs 4c290 <rtems_assoc_ptr_by_remote+0x40> 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
   4c286:	45ea 000c      	lea %a2@(12),%a2                            
   4c28a:	4a92           	tstl %a2@                                   
   4c28c:	66f2           	bnes 4c280 <rtems_assoc_ptr_by_remote+0x30> 
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
   4c28e:	2440           	moveal %d0,%a2                              
}                                                                     
   4c290:	200a           	movel %a2,%d0                               
   4c292:	242e fff8      	movel %fp@(-8),%d2                          
   4c296:	246e fffc      	moveal %fp@(-4),%a2                         
   4c29a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045fd0 <rtems_barrier_wait>: rtems_status_code rtems_barrier_wait( rtems_id id, rtems_interval timeout ) {
   45fd0:	4e56 fffc      	linkw %fp,#-4                               
   45fd4:	2f02           	movel %d2,%sp@-                             
   45fd6:	486e fffc      	pea %fp@(-4)                                
   45fda:	242e 0008      	movel %fp@(8),%d2                           
   45fde:	2f02           	movel %d2,%sp@-                             
   45fe0:	4879 0005 edb8 	pea 5edb8 <_Barrier_Information>            
   45fe6:	4eb9 0004 7df0 	jsr 47df0 <_Objects_Get>                    
  Barrier_Control   *the_barrier;                                     
  Objects_Locations  location;                                        
                                                                      
  the_barrier = _Barrier_Get( id, &location );                        
  switch ( location ) {                                               
   45fec:	4fef 000c      	lea %sp@(12),%sp                            
   45ff0:	4aae fffc      	tstl %fp@(-4)                               
   45ff4:	6634           	bnes 4602a <rtems_barrier_wait+0x5a>        <== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      _CORE_barrier_Wait(                                             
   45ff6:	42a7           	clrl %sp@-                                  
   45ff8:	2f2e 000c      	movel %fp@(12),%sp@-                        
   45ffc:	2040           	moveal %d0,%a0                              
   45ffe:	4878 0001      	pea 1 <ADD>                                 
   46002:	2f02           	movel %d2,%sp@-                             
   46004:	4868 0014      	pea %a0@(20)                                
   46008:	4eb9 0004 70c4 	jsr 470c4 <_CORE_barrier_Wait>              
        id,                                                           
        true,                                                         
        timeout,                                                      
        NULL                                                          
      );                                                              
      _Thread_Enable_dispatch();                                      
   4600e:	4eb9 0004 8652 	jsr 48652 <_Thread_Enable_dispatch>         
      return _Barrier_Translate_core_barrier_return_code(             
                _Thread_Executing->Wait.return_code );                
   46014:	2079 0005 f344 	moveal 5f344 <_Per_CPU_Information+0xc>,%a0 
        true,                                                         
        timeout,                                                      
        NULL                                                          
      );                                                              
      _Thread_Enable_dispatch();                                      
      return _Barrier_Translate_core_barrier_return_code(             
   4601a:	2f28 0034      	movel %a0@(52),%sp@-                        
   4601e:	4eb9 0004 b52c 	jsr 4b52c <_Barrier_Translate_core_barrier_return_code>
   46024:	4fef 0018      	lea %sp@(24),%sp                            
   46028:	6002           	bras 4602c <rtems_barrier_wait+0x5c>        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   4602a:	7004           	moveq #4,%d0                                
}                                                                     
   4602c:	242e fff8      	movel %fp@(-8),%d2                          
   46030:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042188 <rtems_bsp_cmdline_get_param>: const char *rtems_bsp_cmdline_get_param( const char *name, char *value, size_t length ) {
   42188:	4e56 ffec      	linkw %fp,#-20                              
   4218c:	202e 0008      	movel %fp@(8),%d0                           
   42190:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   42194:	246e 000c      	moveal %fp@(12),%a2                         
   42198:	242e 0010      	movel %fp@(16),%d2                          
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
   4219c:	4a80           	tstl %d0                                    
   4219e:	674e           	beqs 421ee <rtems_bsp_cmdline_get_param+0x66>
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
   421a0:	4a8a           	tstl %a2                                    
   421a2:	674c           	beqs 421f0 <rtems_bsp_cmdline_get_param+0x68>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
   421a4:	4a82           	tstl %d2                                    
   421a6:	6746           	beqs 421ee <rtems_bsp_cmdline_get_param+0x66>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
   421a8:	4212           	clrb %a2@                                   
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
   421aa:	2f00           	movel %d0,%sp@-                             
   421ac:	4eb9 0004 21fc 	jsr 421fc <rtems_bsp_cmdline_get_param_raw> 
                                                                      
  if ( !p )                                                           
   421b2:	588f           	addql #4,%sp                                
   421b4:	4a80           	tstl %d0                                    
   421b6:	6736           	beqs 421ee <rtems_bsp_cmdline_get_param+0x66>
   421b8:	2240           	moveal %d0,%a1                              
   421ba:	204a           	moveal %a2,%a0                              
   421bc:	4281           	clrl %d1                                    
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   421be:	5382           	subql #1,%d2                                
   421c0:	601e           	bras 421e0 <rtems_bsp_cmdline_get_param+0x58>
    if ( *p == '\"' ) {                                               
   421c2:	7822           	moveq #34,%d4                               
   421c4:	1003           	moveb %d3,%d0                               
   421c6:	49c0           	extbl %d0                                   
   421c8:	b880           	cmpl %d0,%d4                                
   421ca:	6604           	bnes 421d0 <rtems_bsp_cmdline_get_param+0x48>
      quotes++;                                                       
   421cc:	5281           	addql #1,%d1                                
   421ce:	600c           	bras 421dc <rtems_bsp_cmdline_get_param+0x54>
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
   421d0:	0801 0000      	btst #0,%d1                                 
   421d4:	6606           	bnes 421dc <rtems_bsp_cmdline_get_param+0x54>
   421d6:	7820           	moveq #32,%d4                               
   421d8:	b880           	cmpl %d0,%d4                                
   421da:	6714           	beqs 421f0 <rtems_bsp_cmdline_get_param+0x68>
      break;                                                          
    value[i++] = *p++;                                                
   421dc:	10c3           	moveb %d3,%a0@+                             
    value[i] = '\0';                                                  
   421de:	4210           	clrb %a0@                                   
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   421e0:	1619           	moveb %a1@+,%d3                             
   421e2:	670c           	beqs 421f0 <rtems_bsp_cmdline_get_param+0x68>
   421e4:	2648           	moveal %a0,%a3                              
   421e6:	97ca           	subal %a2,%a3                               
   421e8:	b48b           	cmpl %a3,%d2                                
   421ea:	62d6           	bhis 421c2 <rtems_bsp_cmdline_get_param+0x3a><== ALWAYS TAKEN
   421ec:	6002           	bras 421f0 <rtems_bsp_cmdline_get_param+0x68><== NOT EXECUTED
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
    return NULL;                                                      
   421ee:	95ca           	subal %a2,%a2                               
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
   421f0:	200a           	movel %a2,%d0                               
   421f2:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   421f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042224 <rtems_bsp_cmdline_get_param_rhs>: const char *rtems_bsp_cmdline_get_param_rhs( const char *name, char *value, size_t length ) {
   42224:	4e56 fff4      	linkw %fp,#-12                              
   42228:	48d7 001c      	moveml %d2-%d4,%sp@                         
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   4222c:	2f2e 0010      	movel %fp@(16),%sp@-                        
const char *rtems_bsp_cmdline_get_param_rhs(                          
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
   42230:	242e 000c      	movel %fp@(12),%d2                          
   42234:	282e 0008      	movel %fp@(8),%d4                           
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   42238:	2f02           	movel %d2,%sp@-                             
   4223a:	2f04           	movel %d4,%sp@-                             
   4223c:	4eb9 0004 2188 	jsr 42188 <rtems_bsp_cmdline_get_param>     
  if ( !p )                                                           
   42242:	4fef 000c      	lea %sp@(12),%sp                            
{                                                                     
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   42246:	2600           	movel %d0,%d3                               
  if ( !p )                                                           
   42248:	6744           	beqs 4228e <rtems_bsp_cmdline_get_param_rhs+0x6a>
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
   4224a:	2f04           	movel %d4,%sp@-                             
   4224c:	4eb9 0004 e25c 	jsr 4e25c <strlen>                          
   42252:	588f           	addql #4,%sp                                
   42254:	2043           	moveal %d3,%a0                              
   42256:	d1c0           	addal %d0,%a0                               
  if ( *rhs != '=' )                                                  
   42258:	723d           	moveq #61,%d1                               
   4225a:	1010           	moveb %a0@,%d0                              
   4225c:	49c0           	extbl %d0                                   
   4225e:	b280           	cmpl %d0,%d1                                
   42260:	662c           	bnes 4228e <rtems_bsp_cmdline_get_param_rhs+0x6a><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs++;                                                              
   42262:	5288           	addql #1,%a0                                
  if ( *rhs == '\"' )                                                 
   42264:	123c 0022      	moveb #34,%d1                               
   42268:	1010           	moveb %a0@,%d0                              
   4226a:	49c0           	extbl %d0                                   
   4226c:	b280           	cmpl %d0,%d1                                
   4226e:	6602           	bnes 42272 <rtems_bsp_cmdline_get_param_rhs+0x4e>
    rhs++;                                                            
   42270:	5288           	addql #1,%a0                                
const char *rtems_bsp_cmdline_get_param_rhs(                          
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
   42272:	2242           	moveal %d2,%a1                              
   42274:	6002           	bras 42278 <rtems_bsp_cmdline_get_param_rhs+0x54>
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
   42276:	12c0           	moveb %d0,%a1@+                             
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
   42278:	1018           	moveb %a0@+,%d0                             
   4227a:	66fa           	bnes 42276 <rtems_bsp_cmdline_get_param_rhs+0x52>
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
   4227c:	2049           	moveal %a1,%a0                              
   4227e:	7222           	moveq #34,%d1                               
   42280:	1020           	moveb %a0@-,%d0                             
   42282:	49c0           	extbl %d0                                   
   42284:	b280           	cmpl %d0,%d1                                
   42286:	6702           	beqs 4228a <rtems_bsp_cmdline_get_param_rhs+0x66>
   42288:	2049           	moveal %a1,%a0                              
    d--;                                                              
  *d = '\0';                                                          
   4228a:	4210           	clrb %a0@                                   
                                                                      
  return value;                                                       
   4228c:	6002           	bras 42290 <rtems_bsp_cmdline_get_param_rhs+0x6c>
  if ( !p )                                                           
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
   4228e:	4282           	clrl %d2                                    
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
}                                                                     
   42290:	2002           	movel %d2,%d0                               
   42292:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    
   42298:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046040 <rtems_clock_set>: */ rtems_status_code rtems_clock_set( rtems_time_of_day *time_buffer ) {
   46040:	4e56 fff8      	linkw %fp,#-8                               
   46044:	2f0a           	movel %a2,%sp@-                             
   46046:	246e 0008      	moveal %fp@(8),%a2                          
  struct timespec  newtime;                                           
                                                                      
  if ( !time_buffer )                                                 
   4604a:	4a8a           	tstl %a2                                    
   4604c:	675a           	beqs 460a8 <rtems_clock_set+0x68>           <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( _TOD_Validate( time_buffer ) ) {                               
   4604e:	2f0a           	movel %a2,%sp@-                             
   46050:	4eb9 0004 6190 	jsr 46190 <_TOD_Validate>                   
   46056:	588f           	addql #4,%sp                                
   46058:	4a00           	tstb %d0                                    
   4605a:	6750           	beqs 460ac <rtems_clock_set+0x6c>           <== NEVER TAKEN
    newtime.tv_sec = _TOD_To_seconds( time_buffer );                  
   4605c:	2f0a           	movel %a2,%sp@-                             
   4605e:	4eb9 0004 60f4 	jsr 460f4 <_TOD_To_seconds>                 
    newtime.tv_nsec = time_buffer->ticks *                            
   46064:	41f9 0005 e310 	lea 5e310 <Configuration+0xc>,%a0           
   4606a:	223c 0000 03e8 	movel #1000,%d1                             
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( _TOD_Validate( time_buffer ) ) {                               
    newtime.tv_sec = _TOD_To_seconds( time_buffer );                  
   46070:	2d40 fff8      	movel %d0,%fp@(-8)                          
    newtime.tv_nsec = time_buffer->ticks *                            
   46074:	202a 0018      	movel %a2@(24),%d0                          
   46078:	4c10 0800      	mulsl %a0@,%d0                              
   4607c:	4c00 1800      	mulsl %d0,%d1                               
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   46080:	2039 0006 787c 	movel 6787c <_Thread_Dispatch_disable_level>,%d0
   46086:	5280           	addql #1,%d0                                
   46088:	2d41 fffc      	movel %d1,%fp@(-4)                          
   4608c:	23c0 0006 787c 	movel %d0,6787c <_Thread_Dispatch_disable_level>
      rtems_configuration_get_nanoseconds_per_tick();                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( &newtime );                                           
   46092:	486e fff8      	pea %fp@(-8)                                
   46096:	4eb9 0004 7828 	jsr 47828 <_TOD_Set>                        
    _Thread_Enable_dispatch();                                        
   4609c:	4eb9 0004 8a72 	jsr 48a72 <_Thread_Enable_dispatch>         
    return RTEMS_SUCCESSFUL;                                          
   460a2:	508f           	addql #8,%sp                                
   460a4:	4280           	clrl %d0                                    
   460a6:	6006           	bras 460ae <rtems_clock_set+0x6e>           
)                                                                     
{                                                                     
  struct timespec  newtime;                                           
                                                                      
  if ( !time_buffer )                                                 
    return RTEMS_INVALID_ADDRESS;                                     
   460a8:	7009           	moveq #9,%d0                                
   460aa:	6002           	bras 460ae <rtems_clock_set+0x6e>           
    _Thread_Disable_dispatch();                                       
      _TOD_Set( &newtime );                                           
    _Thread_Enable_dispatch();                                        
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
  return RTEMS_INVALID_CLOCK;                                         
   460ac:	7014           	moveq #20,%d0                               
}                                                                     
   460ae:	246e fff4      	moveal %fp@(-12),%a2                        
   460b2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004c968 <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
   4c968:	4e56 0000      	linkw %fp,#0                                
   4c96c:	202e 0008      	movel %fp@(8),%d0                           
   4c970:	2f02           	movel %d2,%sp@-                             
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4c972:	4a80           	tstl %d0                                    
   4c974:	6722           	beqs 4c998 <rtems_deviceio_errno+0x30>      <== ALWAYS TAKEN
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
   4c976:	721c           	moveq #28,%d1                               <== NOT EXECUTED
   4c978:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4c97a:	650c           	bcss 4c988 <rtems_deviceio_errno+0x20>      <== NOT EXECUTED
      eno = status_code_to_errno [sc];                                
   4c97c:	41f9 0005 b72e 	lea 5b72e <status_code_to_errno>,%a0        <== NOT EXECUTED
   4c982:	2430 0c00      	movel %a0@(00000000,%d0:l:4),%d2            <== NOT EXECUTED
   4c986:	6002           	bras 4c98a <rtems_deviceio_errno+0x22>      <== NOT EXECUTED
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
   4c988:	7416           	moveq #22,%d2                               <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
   4c98a:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4c990:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
                                                                      
    return -1;                                                        
   4c992:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
   4c994:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
                                                                      
    return -1;                                                        
   4c996:	6002           	bras 4c99a <rtems_deviceio_errno+0x32>      <== NOT EXECUTED
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
   4c998:	4280           	clrl %d0                                    
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
   4c99a:	242e fffc      	movel %fp@(-4),%d2                          
   4c99e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004274a <rtems_filesystem_evaluate_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
   4274a:	4e56 fffc      	linkw %fp,#-4                               
   4274e:	2f0a           	movel %a2,%sp@-                             
   42750:	246e 0008      	moveal %fp@(8),%a2                          
   42754:	2f02           	movel %d2,%sp@-                             
   42756:	242e 0014      	movel %fp@(20),%d2                          
  int                           i = 0;                                
   4275a:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
   4275e:	4a8a           	tstl %a2                                    
   42760:	660e           	bnes 42770 <rtems_filesystem_evaluate_path+0x26><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   42762:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42768:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4276a:	700e           	moveq #14,%d0                               <== NOT EXECUTED
   4276c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4276e:	6010           	bras 42780 <rtems_filesystem_evaluate_path+0x36><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
   42770:	4a82           	tstl %d2                                    
   42772:	6610           	bnes 42784 <rtems_filesystem_evaluate_path+0x3a><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
   42774:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   4277a:	7405           	moveq #5,%d2                                <== NOT EXECUTED
   4277c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4277e:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   42780:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42782:	6032           	bras 427b6 <rtems_filesystem_evaluate_path+0x6c><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
   42784:	2f02           	movel %d2,%sp@-                             
   42786:	486e fffc      	pea %fp@(-4)                                
   4278a:	2f0a           	movel %a2,%sp@-                             
   4278c:	4eb9 0004 3508 	jsr 43508 <rtems_filesystem_get_start_loc>  
                                                                      
  /*                                                                  
   * We evaluation the path relative to the start location we get got.
   */                                                                 
  return rtems_filesystem_evaluate_relative_path( &pathname[i],       
   42792:	2f2e 0018      	movel %fp@(24),%sp@-                        
   42796:	2f02           	movel %d2,%sp@-                             
   42798:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4279c:	202e fffc      	movel %fp@(-4),%d0                          
   427a0:	222e 000c      	movel %fp@(12),%d1                          
   427a4:	9280           	subl %d0,%d1                                
   427a6:	2f01           	movel %d1,%sp@-                             
   427a8:	4872 0800      	pea %a2@(00000000,%d0:l)                    
   427ac:	4eb9 0004 26b0 	jsr 426b0 <rtems_filesystem_evaluate_relative_path>
   427b2:	4fef 0020      	lea %sp@(32),%sp                            
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
   427b6:	242e fff4      	movel %fp@(-12),%d2                         
   427ba:	246e fff8      	moveal %fp@(-8),%a2                         
   427be:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000426b0 <rtems_filesystem_evaluate_relative_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
   426b0:	4e56 fff0      	linkw %fp,#-16                              
   426b4:	202e 0008      	movel %fp@(8),%d0                           
   426b8:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   426bc:	222e 000c      	movel %fp@(12),%d1                          
   426c0:	262e 0010      	movel %fp@(16),%d3                          
   426c4:	246e 0014      	moveal %fp@(20),%a2                         
   426c8:	282e 0018      	movel %fp@(24),%d4                          
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
   426cc:	4a80           	tstl %d0                                    
   426ce:	660e           	bnes 426de <rtems_filesystem_evaluate_relative_path+0x2e><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   426d0:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   426d6:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   426d8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   426da:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   426dc:	6010           	bras 426ee <rtems_filesystem_evaluate_relative_path+0x3e><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
   426de:	4a8a           	tstl %a2                                    
   426e0:	6610           	bnes 426f2 <rtems_filesystem_evaluate_relative_path+0x42><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
   426e2:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   426e8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   426ea:	7005           	moveq #5,%d0                                <== NOT EXECUTED
   426ec:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   426ee:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   426f0:	604c           	bras 4273e <rtems_filesystem_evaluate_relative_path+0x8e><== NOT EXECUTED
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
   426f2:	206a 000c      	moveal %a2@(12),%a0                         
   426f6:	2f0a           	movel %a2,%sp@-                             
   426f8:	2f03           	movel %d3,%sp@-                             
   426fa:	2f01           	movel %d1,%sp@-                             
   426fc:	2f00           	movel %d0,%sp@-                             
   426fe:	2050           	moveal %a0@,%a0                             
   42700:	4e90           	jsr %a0@                                    
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
   42702:	4fef 0010      	lea %sp@(16),%sp                            
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  if ( !pathloc )                                                     
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
   42706:	2400           	movel %d0,%d2                               
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
   42708:	6634           	bnes 4273e <rtems_filesystem_evaluate_relative_path+0x8e>
   4270a:	4a84           	tstl %d4                                    
   4270c:	6730           	beqs 4273e <rtems_filesystem_evaluate_relative_path+0x8e>
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
   4270e:	206a 000c      	moveal %a2@(12),%a0                         
   42712:	2f0a           	movel %a2,%sp@-                             
   42714:	2068 0010      	moveal %a0@(16),%a0                         
   42718:	4e90           	jsr %a0@                                    
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
   4271a:	588f           	addql #4,%sp                                
   4271c:	7201           	moveq #1,%d1                                
   4271e:	5780           	subql #3,%d0                                
   42720:	b280           	cmpl %d0,%d1                                
   42722:	651a           	bcss 4273e <rtems_filesystem_evaluate_relative_path+0x8e>
         *    pathloc will be passed up (and eventually released).    
         *    Hence, the (valid) originial node that we submit to     
         *    eval_link_h() should be released by the handler.        
         */                                                           
                                                                      
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
   42724:	206a 000c      	moveal %a2@(12),%a0                         
   42728:	2d43 000c      	movel %d3,%fp@(12)                          
   4272c:	2d4a 0008      	movel %a2,%fp@(8)                           
   42730:	2268 0034      	moveal %a0@(52),%a1                         
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
   42734:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4273a:	4e5e           	unlk %fp                                    
         *    pathloc will be passed up (and eventually released).    
         *    Hence, the (valid) originial node that we submit to     
         *    eval_link_h() should be released by the handler.        
         */                                                           
                                                                      
        result =  (*pathloc->ops->eval_link_h)( pathloc, flags );     
   4273c:	4ed1           	jmp %a1@                                    
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
   4273e:	2002           	movel %d2,%d0                               
   42740:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   42746:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049b7e <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
   49b7e:	4e56 fff8      	linkw %fp,#-8                               
   49b82:	202e 0008      	movel %fp@(8),%d0                           
  find_arg fa = {                                                     
   49b86:	42ae fffc      	clrl %fp@(-4)                               
   49b8a:	2d40 fff8      	movel %d0,%fp@(-8)                          
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
   49b8e:	6710           	beqs 49ba0 <rtems_filesystem_get_mount_handler+0x22><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
   49b90:	486e fff8      	pea %fp@(-8)                                
   49b94:	487a ff16      	pea %pc@(49aac <find_handler>)              
   49b98:	4eb9 0004 9b16 	jsr 49b16 <rtems_filesystem_iterate>        
   49b9e:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
   49ba0:	202e fffc      	movel %fp@(-4),%d0                          
   49ba4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042374 <rtems_filesystem_initialize>: /* * Set the default umask to "022". */ rtems_filesystem_umask = 022;
   42374:	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 )                              
{                                                                     
   42376:	4e56 ffe0      	linkw %fp,#-32                              
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
   4237a:	2079 0005 c1c0 	moveal 5c1c0 <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 )                              
{                                                                     
   42380:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
   42384:	2140 002c      	movel %d0,%a0@(44)                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
   42388:	4ab9 0005 a92e 	tstl 5a92e <rtems_filesystem_mount_table_size>
   4238e:	6608           	bnes 42398 <rtems_filesystem_initialize+0x24><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
   42390:	2f3c abcd 0001 	movel #-1412628479,%sp@-                    <== NOT EXECUTED
   42396:	602c           	bras 423c4 <rtems_filesystem_initialize+0x50><== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
   42398:	2079 0005 c0ac 	moveal 5c0ac <rtems_filesystem_mount_table>,%a0
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
   4239e:	42a7           	clrl %sp@-                                  
   423a0:	2f28 0004      	movel %a0@(4),%sp@-                         
   423a4:	2f10           	movel %a0@,%sp@-                            
   423a6:	2f28 000c      	movel %a0@(12),%sp@-                        
   423aa:	2f28 0008      	movel %a0@(8),%sp@-                         
   423ae:	4eb9 0004 2d38 	jsr 42d38 <mount>                           
                                                                      
  if ( status == -1 )                                                 
   423b4:	4fef 0014      	lea %sp@(20),%sp                            
   423b8:	72ff           	moveq #-1,%d1                               
   423ba:	b280           	cmpl %d0,%d1                                
   423bc:	660c           	bnes 423ca <rtems_filesystem_initialize+0x56><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
   423be:	2f3c abcd 0002 	movel #-1412628478,%sp@-                    <== NOT EXECUTED
   423c4:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  rtems_filesystem_link_counts = 0;                                   
   423ca:	2079 0005 c1c0 	moveal 5c1c0 <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);                 
   423d0:	240e           	movel %fp,%d2                               
   423d2:	0682 ffff ffec 	addil #-20,%d2                              
   423d8:	47f9 0004 274a 	lea 4274a <rtems_filesystem_evaluate_path>,%a3
  rtems_filesystem_root        = loc;                                 
   423de:	45f9 0004 d2dc 	lea 4d2dc <memcpy>,%a2                      
  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;                                   
   423e4:	4240           	clrw %d0                                    
   423e6:	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);                 
   423ea:	42a7           	clrl %sp@-                                  
   423ec:	2f02           	movel %d2,%sp@-                             
   423ee:	42a7           	clrl %sp@-                                  
   423f0:	4878 0001      	pea 1 <ADD>                                 
   423f4:	4879 0005 ace0 	pea 5ace0 <IMFS_ops+0x48>                   
   423fa:	4e93           	jsr %a3@                                    
  rtems_filesystem_root        = loc;                                 
   423fc:	4878 0014      	pea 14 <OPER2>                              
   42400:	2079 0005 c1c0 	moveal 5c1c0 <rtems_current_user_env>,%a0   
   42406:	41e8 0018      	lea %a0@(24),%a0                            
   4240a:	2f02           	movel %d2,%sp@-                             
   4240c:	2f08           	movel %a0,%sp@-                             
   4240e:	4e92           	jsr %a2@                                    
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   42410:	4fef 001c      	lea %sp@(28),%sp                            
   42414:	4297           	clrl %sp@                                   
   42416:	2f02           	movel %d2,%sp@-                             
   42418:	42a7           	clrl %sp@-                                  
   4241a:	4878 0001      	pea 1 <ADD>                                 
   4241e:	4879 0005 ace0 	pea 5ace0 <IMFS_ops+0x48>                   
   42424:	4e93           	jsr %a3@                                    
  rtems_filesystem_current     = loc;                                 
   42426:	4878 0014      	pea 14 <OPER2>                              
   4242a:	2039 0005 c1c0 	movel 5c1c0 <rtems_current_user_env>,%d0    
   42430:	5880           	addql #4,%d0                                
   42432:	2f02           	movel %d2,%sp@-                             
   42434:	2f00           	movel %d0,%sp@-                             
   42436:	4e92           	jsr %a2@                                    
   *                                                                  
   *  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);                                      
   42438:	4fef 0020      	lea %sp@(32),%sp                            
   4243c:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   42440:	4879 0005 ace2 	pea 5ace2 <IMFS_ops+0x4a>                   
   42446:	4eb9 0004 2be8 	jsr 42be8 <mkdir>                           
  if ( status != 0 )                                                  
   4244c:	508f           	addql #8,%sp                                
   4244e:	4a80           	tstl %d0                                    
   42450:	670a           	beqs 4245c <rtems_filesystem_initialize+0xe8><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0003 );                         
   42452:	2f3c abcd 0003 	movel #-1412628477,%sp@-                    <== NOT EXECUTED
   42458:	6000 ff6a      	braw 423c4 <rtems_filesystem_initialize+0x50><== NOT EXECUTED
   *  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.        
   */                                                                 
}                                                                     
   4245c:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   42462:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049b16 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
   49b16:	4e56 fff0      	linkw %fp,#-16                              
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
   49b1a:	4200           	clrb %d0                                    
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
   49b1c:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   49b20:	266e 0008      	moveal %fp@(8),%a3                          
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
   49b24:	45f9 0005 a90e 	lea 5a90e <rtems_filesystem_table>,%a2      
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
   49b2a:	242e 000c      	movel %fp@(12),%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 ) {                              
   49b2e:	600a           	bras 49b3a <rtems_filesystem_iterate+0x24>  
    stop = (*routine)( table_entry, routine_arg );                    
   49b30:	2f02           	movel %d2,%sp@-                             
   49b32:	2f0a           	movel %a2,%sp@-                             
    ++table_entry;                                                    
   49b34:	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 );                    
   49b36:	4e93           	jsr %a3@                                    
    ++table_entry;                                                    
   49b38:	508f           	addql #8,%sp                                
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
   49b3a:	4a92           	tstl %a2@                                   
   49b3c:	6706           	beqs 49b44 <rtems_filesystem_iterate+0x2e>  
   49b3e:	4a00           	tstb %d0                                    
   49b40:	67ee           	beqs 49b30 <rtems_filesystem_iterate+0x1a>  <== ALWAYS TAKEN
   49b42:	6030           	bras 49b74 <rtems_filesystem_iterate+0x5e>  <== NOT EXECUTED
   49b44:	1600           	moveb %d0,%d3                               
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
   49b46:	662c           	bnes 49b74 <rtems_filesystem_iterate+0x5e>  
    rtems_libio_lock();                                               
   49b48:	4eba ff9a      	jsr %pc@(49ae4 <rtems_libio_lock>)          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   49b4c:	2479 0005 c1c4 	moveal 5c1c4 <filesystem_chain>,%a2         
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   49b52:	600e           	bras 49b62 <rtems_filesystem_iterate+0x4c>  
      !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 );                  
   49b54:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   49b56:	486a 0008      	pea %a2@(8)                                 <== NOT EXECUTED
   49b5a:	4e93           	jsr %a3@                                    <== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   49b5c:	2452           	moveal %a2@,%a2                             <== NOT EXECUTED
   49b5e:	508f           	addql #8,%sp                                <== NOT EXECUTED
      !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 );                  
   49b60:	1600           	moveb %d0,%d3                               <== NOT EXECUTED
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   49b62:	b5fc 0005 c1c8 	cmpal #377288,%a2                           
   49b68:	6704           	beqs 49b6e <rtems_filesystem_iterate+0x58>  <== ALWAYS TAKEN
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
   49b6a:	4a03           	tstb %d3                                    <== NOT EXECUTED
   49b6c:	67e6           	beqs 49b54 <rtems_filesystem_iterate+0x3e>  <== NOT EXECUTED
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
    }                                                                 
    rtems_libio_unlock();                                             
   49b6e:	4eba ff90      	jsr %pc@(49b00 <rtems_libio_unlock>)        
   49b72:	1003           	moveb %d3,%d0                               
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
   49b74:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   49b7a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042cee <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
   42cee:	4e56 fff0      	linkw %fp,#-16                              
   42cf2:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   42cf6:	266e 0008      	moveal %fp@(8),%a3                          
   42cfa:	242e 000c      	movel %fp@(12),%d2                          
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
   42cfe:	4eba ffbc      	jsr %pc@(42cbc <rtems_libio_lock>)          
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   42d02:	2479 0005 c1a0 	moveal 5c1a0 <mount_chain>,%a2              
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
   42d08:	4200           	clrb %d0                                    
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   42d0a:	600a           	bras 42d16 <rtems_filesystem_mount_iterate+0x28>
    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 );                       
   42d0c:	2f02           	movel %d2,%sp@-                             
   42d0e:	2f0a           	movel %a2,%sp@-                             
   42d10:	4e93           	jsr %a3@                                    
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   42d12:	2452           	moveal %a2@,%a2                             
   42d14:	508f           	addql #8,%sp                                
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   42d16:	b5fc 0005 c1a4 	cmpal #377252,%a2                           
   42d1c:	6704           	beqs 42d22 <rtems_filesystem_mount_iterate+0x34>
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
   42d1e:	4a00           	tstb %d0                                    
   42d20:	67ea           	beqs 42d0c <rtems_filesystem_mount_iterate+0x1e><== ALWAYS TAKEN
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
   42d22:	2d40 fffc      	movel %d0,%fp@(-4)                          
   42d26:	4eba ffb0      	jsr %pc@(42cd8 <rtems_libio_unlock>)        
                                                                      
  return stop;                                                        
}                                                                     
   42d2a:	202e fffc      	movel %fp@(-4),%d0                          
   42d2e:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   42d34:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042804 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
   42804:	4e56 fff0      	linkw %fp,#-16                              
   42808:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4280c:	262e 000c      	movel %fp@(12),%d3                          
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
   42810:	4282           	clrl %d2                                    
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42812:	47f9 0004 356c 	lea 4356c <rtems_filesystem_is_separator>,%a3
)                                                                     
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
   42818:	246e 0008      	moveal %fp@(8),%a2                          
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   4281c:	6002           	bras 42820 <rtems_filesystem_prefix_separators+0x1c>
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
   4281e:	5282           	addql #1,%d2                                
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42820:	101a           	moveb %a2@+,%d0                             
   42822:	6710           	beqs 42834 <rtems_filesystem_prefix_separators+0x30><== NEVER TAKEN
   42824:	b483           	cmpl %d3,%d2                                
   42826:	670c           	beqs 42834 <rtems_filesystem_prefix_separators+0x30><== NEVER TAKEN
   42828:	49c0           	extbl %d0                                   
   4282a:	2f00           	movel %d0,%sp@-                             
   4282c:	4e93           	jsr %a3@                                    
   4282e:	588f           	addql #4,%sp                                
   42830:	4a80           	tstl %d0                                    
   42832:	66ea           	bnes 4281e <rtems_filesystem_prefix_separators+0x1a>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
   42834:	2002           	movel %d2,%d0                               
   42836:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4283c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049ba8 <rtems_filesystem_register>: int rtems_filesystem_register( const char *type, rtems_filesystem_fsmount_me_t mount_h ) {
   49ba8:	4e56 fff4      	linkw %fp,#-12                              <== NOT EXECUTED
   49bac:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     <== NOT EXECUTED
   49bb0:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
   49bb4:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   49bb6:	4eb9 0004 de88 	jsr 4de88 <strlen>                          <== NOT EXECUTED
  filesystem_node *fsn = malloc( fsn_size );                          
   49bbc:	0680 0000 0011 	addil #17,%d0                               <== NOT EXECUTED
   49bc2:	2e80           	movel %d0,%sp@                              <== NOT EXECUTED
   49bc4:	4eb9 0004 2b3c 	jsr 42b3c <malloc>                          <== NOT EXECUTED
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
   49bca:	588f           	addql #4,%sp                                <== NOT EXECUTED
  const char                    *type,                                
  rtems_filesystem_fsmount_me_t  mount_h                              
)                                                                     
{                                                                     
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
  filesystem_node *fsn = malloc( fsn_size );                          
   49bcc:	2440           	moveal %d0,%a2                              <== NOT EXECUTED
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
   49bce:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49bd0:	660e           	bnes 49be0 <rtems_filesystem_register+0x38> <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   49bd2:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   49bd8:	720c           	moveq #12,%d1                               <== NOT EXECUTED
   49bda:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49bdc:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   49bde:	605e           	bras 49c3e <rtems_filesystem_register+0x96> <== NOT EXECUTED
                                                                      
  strcpy(type_storage, type);                                         
   49be0:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  rtems_filesystem_fsmount_me_t  mount_h                              
)                                                                     
{                                                                     
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
  filesystem_node *fsn = malloc( fsn_size );                          
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
   49be2:	47ea 0010      	lea %a2@(16),%a3                            <== NOT EXECUTED
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  strcpy(type_storage, type);                                         
   49be6:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   49be8:	4eb9 0004 d9dc 	jsr 4d9dc <strcpy>                          <== NOT EXECUTED
  fsn->entry.type = type_storage;                                     
  fsn->entry.mount_h = mount_h;                                       
   49bee:	256e 000c 000c 	movel %fp@(12),%a2@(12)                     <== NOT EXECUTED
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  strcpy(type_storage, type);                                         
  fsn->entry.type = type_storage;                                     
   49bf4:	254b 0008      	movel %a3,%a2@(8)                           <== NOT EXECUTED
   49bf8:	47fa ff06      	lea %pc@(49b00 <rtems_libio_unlock>),%a3    <== NOT EXECUTED
  fsn->entry.mount_h = mount_h;                                       
                                                                      
  rtems_libio_lock();                                                 
   49bfc:	4eba fee6      	jsr %pc@(49ae4 <rtems_libio_lock>)          <== NOT EXECUTED
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
   49c00:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   49c02:	4eb9 0004 9b7e 	jsr 49b7e <rtems_filesystem_get_mount_handler><== NOT EXECUTED
   49c08:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   49c0c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49c0e:	6616           	bnes 49c26 <rtems_filesystem_register+0x7e> <== NOT EXECUTED
   49c10:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49c12:	4879 0005 c1c4 	pea 5c1c4 <filesystem_chain>                <== NOT EXECUTED
   49c18:	4eb9 0004 612c 	jsr 4612c <_Chain_Append>                   <== NOT EXECUTED
    rtems_libio_unlock();                                             
    free( fsn );                                                      
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  rtems_libio_unlock();                                               
   49c1e:	4e93           	jsr %a3@                                    <== NOT EXECUTED
                                                                      
  return 0;                                                           
   49c20:	508f           	addql #8,%sp                                <== NOT EXECUTED
   49c22:	4280           	clrl %d0                                    <== NOT EXECUTED
   49c24:	601a           	bras 49c40 <rtems_filesystem_register+0x98> <== NOT EXECUTED
                                                                      
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
    rtems_chain_append( &filesystem_chain, &fsn->node );              
  } else {                                                            
    rtems_libio_unlock();                                             
   49c26:	4e93           	jsr %a3@                                    <== NOT EXECUTED
    free( fsn );                                                      
   49c28:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49c2a:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   49c30:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   49c36:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49c38:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49c3a:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   49c3c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   49c3e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
}                                                                     
   49c40:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                <== NOT EXECUTED
   49c46:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049c4a <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
   49c4a:	4e56 fff4      	linkw %fp,#-12                              <== NOT EXECUTED
   49c4e:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     <== NOT EXECUTED
   49c52:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
   49c56:	660e           	bnes 49c66 <rtems_filesystem_unregister+0x1c><== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   49c58:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   49c5e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49c60:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   49c62:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   49c64:	6054           	bras 49cba <rtems_filesystem_unregister+0x70><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
   49c66:	4eba fe7c      	jsr %pc@(49ae4 <rtems_libio_lock>)          <== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   49c6a:	2479 0005 c1c4 	moveal 5c1c4 <filesystem_chain>,%a2         <== NOT EXECUTED
    !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 ) {                     
   49c70:	47f9 0004 d930 	lea 4d930 <strcmp>,%a3                      <== NOT EXECUTED
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   49c76:	602a           	bras 49ca2 <rtems_filesystem_unregister+0x58><== NOT EXECUTED
    !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 ) {                     
   49c78:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   49c7a:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   49c7e:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   49c80:	508f           	addql #8,%sp                                <== NOT EXECUTED
   49c82:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49c84:	661a           	bnes 49ca0 <rtems_filesystem_unregister+0x56><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   49c86:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49c88:	4eb9 0004 6164 	jsr 46164 <_Chain_Extract>                  <== NOT EXECUTED
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
   49c8e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49c90:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
      rtems_libio_unlock();                                           
   49c96:	4eba fe68      	jsr %pc@(49b00 <rtems_libio_unlock>)        <== NOT EXECUTED
                                                                      
      return 0;                                                       
   49c9a:	508f           	addql #8,%sp                                <== NOT EXECUTED
   49c9c:	4280           	clrl %d0                                    <== NOT EXECUTED
   49c9e:	601c           	bras 49cbc <rtems_filesystem_unregister+0x72><== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   49ca0:	2452           	moveal %a2@,%a2                             <== NOT EXECUTED
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   49ca2:	b5fc 0005 c1c8 	cmpal #377288,%a2                           <== NOT EXECUTED
   49ca8:	66ce           	bnes 49c78 <rtems_filesystem_unregister+0x2e><== NOT EXECUTED
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
   49caa:	4eba fe54      	jsr %pc@(49b00 <rtems_libio_unlock>)        <== NOT EXECUTED
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   49cae:	7402           	moveq #2,%d2                                <== NOT EXECUTED
   49cb0:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   49cb6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49cb8:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   49cba:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   49cbc:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                <== NOT EXECUTED
   49cc2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00042fcc <rtems_gxx_getspecific>: void *rtems_gxx_getspecific(__gthread_key_t key) {
   42fcc:	4e56 fffc      	linkw %fp,#-4                               
  rtems_status_code  status;                                          
  void              *p= 0;                                            
   42fd0:	204e           	moveal %fp,%a0                              
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
void *rtems_gxx_getspecific(__gthread_key_t key)                      
{                                                                     
   42fd2:	2f0a           	movel %a2,%sp@-                             
   42fd4:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_status_code  status;                                          
  void              *p= 0;                                            
   42fd8:	42a0           	clrl %a0@-                                  
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_get( RTEMS_SELF, (void **)key, &p );   
   42fda:	2f08           	movel %a0,%sp@-                             
   42fdc:	2f0a           	movel %a2,%sp@-                             
   42fde:	42a7           	clrl %sp@-                                  
   42fe0:	4eb9 0004 662c 	jsr 4662c <rtems_task_variable_get>         
  if ( status == RTEMS_SUCCESSFUL ) {                                 
   42fe6:	4fef 000c      	lea %sp@(12),%sp                            
   42fea:	4a80           	tstl %d0                                    
   42fec:	6606           	bnes 42ff4 <rtems_gxx_getspecific+0x28>     <== NEVER TAKEN
    /* We do not have to do this, but what the heck ! */              
     p= key->val;                                                     
   42fee:	2d52 fffc      	movel %a2@,%fp@(-4)                         
   42ff2:	6024           	bras 43018 <rtems_gxx_getspecific+0x4c>     
  } else {                                                            
    /* fisrt time, always set to zero, it is unknown the value that the others
     * threads are using at the moment of this call                   
     */                                                               
    status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
   42ff4:	2f2a 0004      	movel %a2@(4),%sp@-                         <== NOT EXECUTED
   42ff8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42ffa:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   42ffc:	4eb9 0004 6524 	jsr 46524 <rtems_task_variable_add>         <== NOT EXECUTED
    if ( status != RTEMS_SUCCESSFUL ) {                               
   43002:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43006:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43008:	670c           	beqs 43016 <rtems_gxx_getspecific+0x4a>     <== NOT EXECUTED
       rtems_panic ("rtems_gxx_getspecific");                         
   4300a:	4879 0005 bbf0 	pea 5bbf0 <rtems_filesystem_null_handlers+0x38><== NOT EXECUTED
   43010:	4eb9 0004 2c06 	jsr 42c06 <rtems_panic>                     <== NOT EXECUTED
    }                                                                 
    key->val = (void *)0;                                             
   43016:	4292           	clrl %a2@                                   <== NOT EXECUTED
       p,                                                             
       rtems_task_self()                                              
    );                                                                
  #endif                                                              
  return p;                                                           
}                                                                     
   43018:	202e fffc      	movel %fp@(-4),%d0                          
   4301c:	246e fff8      	moveal %fp@(-8),%a2                         
   43020:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042f9a <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
   42f9a:	4e56 0000      	linkw %fp,#0                                
   42f9e:	2f02           	movel %d2,%sp@-                             
   42fa0:	242e 0008      	movel %fp@(8),%d2                           
  #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 );    
   42fa4:	2f02           	movel %d2,%sp@-                             
   42fa6:	42a7           	clrl %sp@-                                  
   42fa8:	4eb9 0004 65b8 	jsr 465b8 <rtems_task_variable_delete>      
  if ( status == RTEMS_SUCCESSFUL ) {                                 
   42fae:	508f           	addql #8,%sp                                
   42fb0:	4a80           	tstl %d0                                    
   42fb2:	660e           	bnes 42fc2 <rtems_gxx_key_delete+0x28>      <== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( (void *)key );                                   
   42fb4:	4a82           	tstl %d2                                    
   42fb6:	670a           	beqs 42fc2 <rtems_gxx_key_delete+0x28>      <== NEVER TAKEN
   42fb8:	2f02           	movel %d2,%sp@-                             
   42fba:	4eb9 0004 2de0 	jsr 42de0 <free>                            
   42fc0:	588f           	addql #4,%sp                                
    return 0;                                                         
  }                                                                   
  return 0;                                                           
}                                                                     
   42fc2:	242e fffc      	movel %fp@(-4),%d2                          
   42fc6:	4280           	clrl %d0                                    
   42fc8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042f8a <rtems_gxx_key_dtor>: printk( "gxx_wrappers: dtor key=%x, ptr=%x\n", key, ptr ); #endif key->val = 0; return 0; }
   42f8a:	4280           	clrl %d0                                    <== NOT EXECUTED
    return 0;                                                         
  return -1;                                                          
}                                                                     
                                                                      
int rtems_gxx_key_dtor (__gthread_key_t key, void *ptr)               
{                                                                     
   42f8c:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: dtor key=%x, ptr=%x\n", key, ptr );        
  #endif                                                              
                                                                      
  key->val  = 0;                                                      
   42f90:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
  return 0;                                                           
}                                                                     
   42f94:	4e5e           	unlk %fp                                    <== NOT EXECUTED
{                                                                     
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: dtor key=%x, ptr=%x\n", key, ptr );        
  #endif                                                              
                                                                      
  key->val  = 0;                                                      
   42f96:	4290           	clrl %a0@                                   <== NOT EXECUTED
  return 0;                                                           
}                                                                     
                                                                      

000430ac <rtems_gxx_mutex_destroy>: int rtems_gxx_mutex_destroy (__gthread_mutex_t *mutex) {
   430ac:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: destroy mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_delete(*(rtems_id *)mutex);                
   430b0:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   430b4:	2f10           	movel %a0@,%sp@-                            <== NOT EXECUTED
   430b6:	4eb9 0004 5ec4 	jsr 45ec4 <rtems_semaphore_delete>          <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL )                                   
   430bc:	588f           	addql #4,%sp                                <== NOT EXECUTED
    return 0;                                                         
  return -1;                                                          
}                                                                     
   430be:	4e5e           	unlk %fp                                    <== NOT EXECUTED
    printk( "gxx_wrappers: destroy mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_delete(*(rtems_id *)mutex);                
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
   430c0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   430c2:	56c0           	sne %d0                                     <== NOT EXECUTED
   430c4:	49c0           	extbl %d0                                   <== NOT EXECUTED
  return -1;                                                          
}                                                                     
                                                                      

00043054 <rtems_gxx_mutex_init>: /* * MUTEX support */ void rtems_gxx_mutex_init (__gthread_mutex_t *mutex) {
   43054:	4e56 0000      	linkw %fp,#0                                
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: mutex init =%X\n", *mutex );               
  #endif                                                              
                                                                      
  status = rtems_semaphore_create(                                    
   43058:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4305c:	42a7           	clrl %sp@-                                  
   4305e:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   43062:	4878 0001      	pea 1 <ADD>                                 
   43066:	2f3c 4743 4332 	movel #1195590450,%sp@-                     
   4306c:	4eb9 0004 5d28 	jsr 45d28 <rtems_semaphore_create>          
    RTEMS_PRIORITY|RTEMS_BINARY_SEMAPHORE|                            
      RTEMS_INHERIT_PRIORITY|RTEMS_NO_PRIORITY_CEILING|RTEMS_LOCAL,   
    0,                                                                
    (rtems_id *)mutex                                                 
  );                                                                  
  if ( status != RTEMS_SUCCESSFUL ) {                                 
   43072:	4fef 0014      	lea %sp@(20),%sp                            
   43076:	4a80           	tstl %d0                                    
   43078:	670c           	beqs 43086 <rtems_gxx_mutex_init+0x32>      <== ALWAYS TAKEN
        "gxx_wrappers: mutex init failed %s (%d)\n",                  
        rtems_status_text(status),                                    
        status                                                        
      );                                                              
    #endif                                                            
    rtems_panic ("rtems_gxx_mutex_init");                             
   4307a:	4879 0005 bc06 	pea 5bc06 <rtems_filesystem_null_handlers+0x4e><== NOT EXECUTED
   43080:	4eb9 0004 2c06 	jsr 42c06 <rtems_panic>                     <== NOT EXECUTED
  }                                                                   
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: mutex init complete =%X\n", *mutex );      
  #endif                                                              
}                                                                     
   43086:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042eec <rtems_gxx_once>: typedef int __gthread_once_t; typedef void *__gthread_mutex_t; typedef void *__gthread_recursive_mutex_t; int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
   42eec:	4e56 fffc      	linkw %fp,#-4                               
   42ef0:	2f0a           	movel %a2,%sp@-                             
   42ef2:	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 ) {                    
   42ef6:	2012           	movel %a2@,%d0                              
typedef int   __gthread_once_t;                                       
typedef void *__gthread_mutex_t;                                      
typedef void *__gthread_recursive_mutex_t;                            
                                                                      
int rtems_gxx_once(__gthread_once_t *once, void (*func) (void))       
{                                                                     
   42ef8:	2f02           	movel %d2,%sp@-                             
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
   42efa:	4a80           	tstl %d0                                    
   42efc:	663e           	bnes 42f3c <rtems_gxx_once+0x50>            
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
   42efe:	486e fffc      	pea %fp@(-4)                                
   42f02:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   42f06:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   42f0a:	4eb9 0004 6348 	jsr 46348 <rtems_task_mode>                 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
   42f10:	2412           	movel %a2@,%d2                              
   42f12:	4fef 000c      	lea %sp@(12),%sp                            
   42f16:	6604           	bnes 42f1c <rtems_gxx_once+0x30>            <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
   42f18:	7001           	moveq #1,%d0                                
   42f1a:	2480           	movel %d0,%a2@                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   42f1c:	486e fffc      	pea %fp@(-4)                                
   42f20:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   42f24:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   42f28:	4eb9 0004 6348 	jsr 46348 <rtems_task_mode>                 
    if ( o == 0 )                                                     
   42f2e:	4fef 000c      	lea %sp@(12),%sp                            
   42f32:	4a82           	tstl %d2                                    
   42f34:	6606           	bnes 42f3c <rtems_gxx_once+0x50>            <== NEVER TAKEN
      (*func)();                                                      
   42f36:	206e 000c      	moveal %fp@(12),%a0                         
   42f3a:	4e90           	jsr %a0@                                    
  }                                                                   
  return 0;                                                           
}                                                                     
   42f3c:	242e fff4      	movel %fp@(-12),%d2                         
   42f40:	4280           	clrl %d0                                    
   42f42:	246e fff8      	moveal %fp@(-8),%a2                         
   42f46:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043024 <rtems_gxx_setspecific>: int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
   43024:	4e56 0000      	linkw %fp,#0                                
   43028:	2f0a           	movel %a2,%sp@-                             
   4302a:	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 );
   4302e:	2f2a 0004      	movel %a2@(4),%sp@-                         
   43032:	2f0a           	movel %a2,%sp@-                             
   43034:	42a7           	clrl %sp@-                                  
   43036:	4eb9 0004 6524 	jsr 46524 <rtems_task_variable_add>         
  if ( status == RTEMS_SUCCESSFUL ) {                                 
   4303c:	4fef 000c      	lea %sp@(12),%sp                            
   43040:	4a80           	tstl %d0                                    
   43042:	6606           	bnes 4304a <rtems_gxx_setspecific+0x26>     <== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
   43044:	24ae 000c      	movel %fp@(12),%a2@                         
    return 0;                                                         
   43048:	6002           	bras 4304c <rtems_gxx_setspecific+0x28>     
  }                                                                   
  return -1;                                                          
   4304a:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   4304c:	246e fffc      	moveal %fp@(-4),%a2                         
   43050:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045da6 <rtems_initialize_start_multitasking>:
   45da6:	7002           	moveq #2,%d0                                
}                                                                     
                                                                      
void rtems_initialize_start_multitasking(void)                        
{                                                                     
   45da8:	4e56 0000      	linkw %fp,#0                                
   ******                 APPLICATION RUNS HERE                 ******
   ******            RETURNS WHEN SYSTEM IS SHUT DOWN           ******
   *******************************************************************
   *******************************************************************
   *******************************************************************/
}                                                                     
   45dac:	4e5e           	unlk %fp                                    
   45dae:	23c0 0005 da7a 	movel %d0,5da7a <_System_state_Current>     
void rtems_initialize_start_multitasking(void)                        
{                                                                     
                                                                      
  _System_state_Set( SYSTEM_STATE_BEGIN_MULTITASKING );               
                                                                      
  _Thread_Start_multitasking();                                       
   45db4:	4ef9 0004 80d8 	jmp 480d8 <_Thread_Start_multitasking>      
	...                                                                  
                                                                      

0004c6dc <rtems_io_close>: rtems_status_code rtems_io_close( rtems_device_major_number major, rtems_device_minor_number minor, void *argument ) {
   4c6dc:	4e56 0000      	linkw %fp,#0                                
   4c6e0:	202e 0008      	movel %fp@(8),%d0                           
   4c6e4:	2f03           	movel %d3,%sp@-                             
   4c6e6:	2f02           	movel %d2,%sp@-                             
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
   4c6e8:	b0b9 0005 e188 	cmpl 5e188 <_IO_Number_of_drivers>,%d0      
   4c6ee:	6420           	bccs 4c710 <rtems_io_close+0x34>            <== NEVER TAKEN
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
   4c6f0:	2600           	movel %d0,%d3                               
   4c6f2:	2200           	movel %d0,%d1                               
   4c6f4:	e78b           	lsll #3,%d3                                 
   4c6f6:	eb89           	lsll #5,%d1                                 
   4c6f8:	2279 0005 e18c 	moveal 5e18c <_IO_Driver_address_table>,%a1 
   4c6fe:	9283           	subl %d3,%d1                                
   4c700:	2271 1808      	moveal %a1@(00000008,%d1:l),%a1             
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
   4c704:	4a89           	tstl %a1                                    
   4c706:	670c           	beqs 4c714 <rtems_io_close+0x38>            
}                                                                     
   4c708:	241f           	movel %sp@+,%d2                             
   4c70a:	261f           	movel %sp@+,%d3                             
   4c70c:	4e5e           	unlk %fp                                    
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
   4c70e:	4ed1           	jmp %a1@                                    
)                                                                     
{                                                                     
  rtems_device_driver_entry callout;                                  
                                                                      
  if ( major >= _IO_Number_of_drivers )                               
    return RTEMS_INVALID_NUMBER;                                      
   4c710:	700a           	moveq #10,%d0                               
   4c712:	6002           	bras 4c716 <rtems_io_close+0x3a>            
                                                                      
  callout = _IO_Driver_address_table[major].close_entry;              
  return callout ? callout(major, minor, argument) : RTEMS_SUCCESSFUL;
   4c714:	4280           	clrl %d0                                    
}                                                                     
   4c716:	241f           	movel %sp@+,%d2                             
   4c718:	261f           	movel %sp@+,%d3                             
   4c71a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000422c0 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
   422c0:	4e56 ffd4      	linkw %fp,#-44                              <== NOT EXECUTED
   422c4:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 <== NOT EXECUTED
   422c8:	262e 0008      	movel %fp@(8),%d3                           <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
   422cc:	49f9 0004 de88 	lea 4de88 <strlen>,%a4                      <== NOT EXECUTED
   422d2:	240e           	movel %fp,%d2                               <== NOT EXECUTED
   422d4:	0682 ffff ffec 	addil #-20,%d2                              <== NOT EXECUTED
   422da:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
   422dc:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
   422e0:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   422e2:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   422e4:	2e81           	movel %d1,%sp@                              <== NOT EXECUTED
   422e6:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   422e8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   422ea:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   422ec:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   422ee:	4eb9 0004 274a 	jsr 4274a <rtems_filesystem_evaluate_path>  <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   422f4:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
   422f8:	2800           	movel %d0,%d4                               <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   422fa:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path( name, strlen( name ), 0x00, &loc, true );
  the_jnode = loc.node_access;                                        
   422fe:	266e ffec      	moveal %fp@(-20),%a3                        <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   42302:	2068 0010      	moveal %a0@(16),%a0                         <== NOT EXECUTED
   42306:	4a88           	tstl %a0                                    <== NOT EXECUTED
   42308:	661c           	bnes 42326 <rtems_io_lookup_name+0x66>      <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
   4230a:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4230c:	4eb9 0004 2840 	jsr 42840 <rtems_filesystem_freenode>       <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   42312:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   42318:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4231a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4231c:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4231e:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   42324:	6042           	bras 42368 <rtems_io_lookup_name+0xa8>      <== NOT EXECUTED
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
   42326:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42328:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
   4232a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4232c:	4a84           	tstl %d4                                    <== NOT EXECUTED
   4232e:	6606           	bnes 42336 <rtems_io_lookup_name+0x76>      <== NOT EXECUTED
   42330:	7202           	moveq #2,%d1                                <== NOT EXECUTED
   42332:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   42334:	6710           	beqs 42346 <rtems_io_lookup_name+0x86>      <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
   42336:	486e ffec      	pea %fp@(-20)                               <== NOT EXECUTED
   4233a:	4eb9 0004 2840 	jsr 42840 <rtems_filesystem_freenode>       <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
   42340:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42342:	700d           	moveq #13,%d0                               <== NOT EXECUTED
   42344:	6022           	bras 42368 <rtems_io_lookup_name+0xa8>      <== NOT EXECUTED
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
   42346:	2483           	movel %d3,%a2@                              <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
   42348:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4234a:	4e94           	jsr %a4@                                    <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
   4234c:	256b 004c 0008 	movel %a3@(76),%a2@(8)                      <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
   42352:	256b 0050 000c 	movel %a3@(80),%a2@(12)                     <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
   42358:	2540 0004      	movel %d0,%a2@(4)                           <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4235c:	2e82           	movel %d2,%sp@                              <== NOT EXECUTED
   4235e:	4eb9 0004 2840 	jsr 42840 <rtems_filesystem_freenode>       <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   42364:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42366:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   42368:	4cee 1c1c ffd4 	moveml %fp@(-44),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   4236e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00047cf4 <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) {
   47cf4:	4e56 fff0      	linkw %fp,#-16                              
   47cf8:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   47cfc:	286e 0008      	moveal %fp@(8),%a4                          
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
   47d00:	4a8c           	tstl %a4                                    
   47d02:	673c           	beqs 47d40 <rtems_iterate_over_all_threads+0x4c><== NEVER TAKEN
   47d04:	45f9 0006 783c 	lea 6783c <_Objects_Information_table+0x4>,%a2
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
   47d0a:	205a           	moveal %a2@+,%a0                            
   47d0c:	4a88           	tstl %a0                                    
   47d0e:	6728           	beqs 47d38 <rtems_iterate_over_all_threads+0x44><== NEVER TAKEN
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
   47d10:	2668 0004      	moveal %a0@(4),%a3                          
    if ( !information )                                               
   47d14:	4a8b           	tstl %a3                                    
   47d16:	6720           	beqs 47d38 <rtems_iterate_over_all_threads+0x44>
   47d18:	7401           	moveq #1,%d2                                
   47d1a:	6012           	bras 47d2e <rtems_iterate_over_all_threads+0x3a>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
   47d1c:	206b 0018      	moveal %a3@(24),%a0                         
   47d20:	2030 2c00      	movel %a0@(00000000,%d2:l:4),%d0            
                                                                      
      if ( !the_thread )                                              
   47d24:	6706           	beqs 47d2c <rtems_iterate_over_all_threads+0x38><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
   47d26:	2f00           	movel %d0,%sp@-                             
   47d28:	4e94           	jsr %a4@                                    
   47d2a:	588f           	addql #4,%sp                                
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
   47d2c:	5282           	addql #1,%d2                                
   47d2e:	4280           	clrl %d0                                    
   47d30:	302b 000e      	movew %a3@(14),%d0                          
   47d34:	b082           	cmpl %d2,%d0                                
   47d36:	64e4           	bccs 47d1c <rtems_iterate_over_all_threads+0x28>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
   47d38:	b5fc 0006 7848 	cmpal #424008,%a2                           
   47d3e:	66ca           	bnes 47d0a <rtems_iterate_over_all_threads+0x16>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
   47d40:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   47d46:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000499bc <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
   499bc:	4e56 0000      	linkw %fp,#0                                
   499c0:	2f0a           	movel %a2,%sp@-                             
   499c2:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_libio_lock();                                                 
   499c6:	4eba feac      	jsr %pc@(49874 <rtems_libio_lock>)          
                                                                      
    if (iop->sem)                                                     
   499ca:	202a 002c      	movel %a2@(44),%d0                          
   499ce:	670a           	beqs 499da <rtems_libio_free+0x1e>          <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
   499d0:	2f00           	movel %d0,%sp@-                             
   499d2:	4eb9 0004 56ec 	jsr 456ec <rtems_semaphore_delete>          
   499d8:	588f           	addql #4,%sp                                
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
   499da:	41f9 0005 d7b8 	lea 5d7b8 <rtems_libio_iop_freelist>,%a0    
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   499e0:	203c ffff feff 	movel #-257,%d0                             
    iop->data1 = rtems_libio_iop_freelist;                            
   499e6:	2550 0034      	movel %a0@,%a2@(52)                         
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   499ea:	c1aa 0014      	andl %d0,%a2@(20)                           
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
   499ee:	23ca 0005 d7b8 	movel %a2,5d7b8 <rtems_libio_iop_freelist>  
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
   499f4:	246e fffc      	moveal %fp@(-4),%a2                         
   499f8:	4e5e           	unlk %fp                                    
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
   499fa:	6000 fe94      	braw 49890 <rtems_libio_unlock>             
                                                                      

00042960 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
   42960:	4e56 0000      	linkw %fp,#0                                
   42964:	2f02           	movel %d2,%sp@-                             
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
   42966:	2439 0005 c0a4 	movel 5c0a4 <rtems_libio_number_iops>,%d2   
   4296c:	673e           	beqs 429ac <rtems_libio_init+0x4c>          <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
   4296e:	4878 0040      	pea 40 <DBL_MANT_DIG+0xb>                   
   42972:	2f02           	movel %d2,%sp@-                             
   42974:	4eb9 0004 2468 	jsr 42468 <calloc>                          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
   4297a:	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,
   4297c:	23c0 0005 d7b4 	movel %d0,5d7b4 <rtems_libio_iops>          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
   42982:	6606           	bnes 4298a <rtems_libio_init+0x2a>          <== ALWAYS TAKEN
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
   42984:	4878 001a      	pea 1a <OPER2+0x6>                          <== NOT EXECUTED
   42988:	6048           	bras 429d2 <rtems_libio_init+0x72>          <== NOT EXECUTED
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
   4298a:	23c0 0005 d7b8 	movel %d0,5d7b8 <rtems_libio_iop_freelist>  
   42990:	2040           	moveal %d0,%a0                              
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   42992:	4281           	clrl %d1                                    
   42994:	6004           	bras 4299a <rtems_libio_init+0x3a>          
          iop->data1 = iop + 1;                                       
   42996:	2148 fff4      	movel %a0,%a0@(-12)                         
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   4299a:	5281           	addql #1,%d1                                
   4299c:	41e8 0040      	lea %a0@(64),%a0                            
   429a0:	b481           	cmpl %d1,%d2                                
   429a2:	62f2           	bhis 42996 <rtems_libio_init+0x36>          
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
   429a4:	2040           	moveal %d0,%a0                              
   429a6:	ed8a           	lsll #6,%d2                                 
   429a8:	42b0 28f4      	clrl %a0@(fffffff4,%d2:l)                   
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
   429ac:	4879 0005 d7bc 	pea 5d7bc <rtems_libio_semaphore>           
   429b2:	42a7           	clrl %sp@-                                  
   429b4:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   429b8:	4878 0001      	pea 1 <ADD>                                 
   429bc:	2f3c 4c42 494f 	movel #1279412559,%sp@-                     
   429c2:	4eb9 0004 5550 	jsr 45550 <rtems_semaphore_create>          
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
   429c8:	4fef 0014      	lea %sp@(20),%sp                            
   429cc:	4a80           	tstl %d0                                    
   429ce:	6708           	beqs 429d8 <rtems_libio_init+0x78>          <== ALWAYS TAKEN
    rtems_fatal_error_occurred( rc );                                 
   429d0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   429d2:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
   429d8:	2279 0005 c0a0 	moveal 5c0a0 <rtems_fs_init_helper>,%a1     
   429de:	4a89           	tstl %a1                                    
   429e0:	6708           	beqs 429ea <rtems_libio_init+0x8a>          <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
}                                                                     
   429e2:	242e fffc      	movel %fp@(-4),%d2                          
   429e6:	4e5e           	unlk %fp                                    
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
   429e8:	4ed1           	jmp %a1@                                    
}                                                                     
   429ea:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   429ee:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00043acc <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
   43acc:	4e56 ffd8      	linkw %fp,#-40                              
   43ad0:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
   43ad4:	486e fffc      	pea %fp@(-4)                                
   43ad8:	42a7           	clrl %sp@-                                  
   43ada:	42a7           	clrl %sp@-                                  
   43adc:	4eb9 0004 62f4 	jsr 462f4 <rtems_task_ident>                
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   43ae2:	4fef 000c      	lea %sp@(12),%sp                            
rtems_status_code rtems_libio_set_private_env(void) {                 
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
   43ae6:	2400           	movel %d0,%d2                               
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   43ae8:	6600 00da      	bnew 43bc4 <rtems_libio_set_private_env+0xf8>
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   43aec:	203c 0005 df04 	movel #384772,%d0                           
   43af2:	b0b9 0005 c8c8 	cmpl 5c8c8 <rtems_current_user_env>,%d0     
   43af8:	6644           	bnes 43b3e <rtems_libio_set_private_env+0x72>
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
   43afa:	4878 0048      	pea 48 <DBL_MANT_DIG+0x13>                  
   43afe:	4eb9 0004 30b8 	jsr 430b8 <malloc>                          
   if (!tmp)                                                          
   43b04:	588f           	addql #4,%sp                                
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
   43b06:	2600           	movel %d0,%d3                               
   if (!tmp)                                                          
   43b08:	6700 00b8      	beqw 43bc2 <rtems_libio_set_private_env+0xf6>
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
   43b0c:	487a ff76      	pea %pc@(43a84 <free_user_env>)             
   43b10:	4879 0005 c8c8 	pea 5c8c8 <rtems_current_user_env>          
   43b16:	42a7           	clrl %sp@-                                  
   43b18:	4eb9 0004 646c 	jsr 4646c <rtems_task_variable_add>         
   if (sc != RTEMS_SUCCESSFUL) {                                      
   43b1e:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
#ifdef HAVE_USERENV_REFCNT                                            
   tmp->refcnt = 1;                                                   
#endif                                                                
                                                                      
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
   43b22:	2440           	moveal %d0,%a2                              
   if (sc != RTEMS_SUCCESSFUL) {                                      
   43b24:	4a80           	tstl %d0                                    
   43b26:	6710           	beqs 43b38 <rtems_libio_set_private_env+0x6c><== ALWAYS TAKEN
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
   43b28:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
     return sc;                                                       
   43b2a:	240a           	movel %a2,%d2                               <== NOT EXECUTED
   sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
   if (sc != RTEMS_SUCCESSFUL) {                                      
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
   43b2c:	4eb9 0004 2b98 	jsr 42b98 <free>                            <== NOT EXECUTED
     return sc;                                                       
   43b32:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43b34:	6000 008e      	braw 43bc4 <rtems_libio_set_private_env+0xf8><== NOT EXECUTED
   }                                                                  
   rtems_current_user_env = tmp;                                      
   43b38:	23c3 0005 c8c8 	movel %d3,5c8c8 <rtems_current_user_env>    
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
   43b3e:	4878 0048      	pea 48 <DBL_MANT_DIG+0x13>                  
   43b42:	45f9 0004 da54 	lea 4da54 <memcpy>,%a2                      
   43b48:	4879 0005 df04 	pea 5df04 <rtems_global_user_env>           
   * what we are trying to do here is forking off                     
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   43b4e:	260e           	movel %fp,%d3                               
   43b50:	0683 ffff ffe8 	addil #-24,%d3                              
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
   43b56:	2679 0005 c8c8 	moveal 5c8c8 <rtems_current_user_env>,%a3   
   43b5c:	2f0b           	movel %a3,%sp@-                             
   43b5e:	4e92           	jsr %a2@                                    
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
   43b60:	26ae fffc      	movel %fp@(-4),%a3@                         
   * what we are trying to do here is forking off                     
   * clones. The reason is a pathloc can be allocated by the          
   * file system and needs to be freed when deleting the environment. 
   */                                                                 
                                                                      
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   43b64:	47f9 0004 2a8e 	lea 42a8e <rtems_filesystem_evaluate_path>,%a3
   43b6a:	42a7           	clrl %sp@-                                  
   43b6c:	2f03           	movel %d3,%sp@-                             
   43b6e:	42a7           	clrl %sp@-                                  
   43b70:	4878 0001      	pea 1 <ADD>                                 
   43b74:	4879 0005 b402 	pea 5b402 <IMFS_ops+0x48>                   
   43b7a:	4e93           	jsr %a3@                                    
  rtems_filesystem_root    = loc;                                     
   43b7c:	4fef 0020      	lea %sp@(32),%sp                            
   43b80:	4878 0014      	pea 14 <OPER2>                              
   43b84:	2079 0005 c8c8 	moveal 5c8c8 <rtems_current_user_env>,%a0   
   43b8a:	41e8 0018      	lea %a0@(24),%a0                            
   43b8e:	2f03           	movel %d3,%sp@-                             
   43b90:	2f08           	movel %a0,%sp@-                             
   43b92:	4e92           	jsr %a2@                                    
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   43b94:	42a7           	clrl %sp@-                                  
   43b96:	2f03           	movel %d3,%sp@-                             
   43b98:	42a7           	clrl %sp@-                                  
   43b9a:	4878 0001      	pea 1 <ADD>                                 
   43b9e:	4879 0005 b402 	pea 5b402 <IMFS_ops+0x48>                   
   43ba4:	4e93           	jsr %a3@                                    
  rtems_filesystem_current = loc;                                     
   43ba6:	4fef 0020      	lea %sp@(32),%sp                            
   43baa:	4878 0014      	pea 14 <OPER2>                              
   43bae:	2039 0005 c8c8 	movel 5c8c8 <rtems_current_user_env>,%d0    
   43bb4:	5880           	addql #4,%d0                                
   43bb6:	2f03           	movel %d3,%sp@-                             
   43bb8:	2f00           	movel %d0,%sp@-                             
   43bba:	4e92           	jsr %a2@                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   43bbc:	4fef 000c      	lea %sp@(12),%sp                            
   43bc0:	6002           	bras 43bc4 <rtems_libio_set_private_env+0xf8>
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
   if (!tmp)                                                          
     return RTEMS_NO_MEMORY;                                          
   43bc2:	741a           	moveq #26,%d2                               <== NOT EXECUTED
  rtems_filesystem_root    = loc;                                     
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current = loc;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   43bc4:	2002           	movel %d2,%d0                               
   43bc6:	4cee 0c0c ffd8 	moveml %fp@(-40),%d2-%d3/%a2-%a3            
   43bcc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043bd0 <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ #ifndef HAVE_USERENV_REFCNT rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
   43bd0:	4e56 fff8      	linkw %fp,#-8                               <== NOT EXECUTED
   43bd4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
  rtems_status_code  sc;                                              
  rtems_user_env_t * shared_user_env;                                 
  rtems_id           current_task_id;                                 
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,¤t_task_id);                 
   43bd6:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   43bda:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43bdc:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43bde:	4eb9 0004 62f4 	jsr 462f4 <rtems_task_ident>                <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   43be4:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43be8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43bea:	6678           	bnes 43c64 <rtems_libio_share_private_env+0x94><== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   43bec:	2479 0005 c8c8 	moveal 5c8c8 <rtems_current_user_env>,%a2   <== NOT EXECUTED
   43bf2:	202e fff8      	movel %fp@(-8),%d0                          <== NOT EXECUTED
   43bf6:	b092           	cmpl %a2@,%d0                               <== NOT EXECUTED
   43bf8:	661c           	bnes 43c16 <rtems_libio_share_private_env+0x46><== NOT EXECUTED
   /* kill the current user env & task_var*/                          
	rtems_user_env_t 	*tmp = rtems_current_user_env;                     
   sc = rtems_task_variable_delete(RTEMS_SELF,(void*)&rtems_current_user_env);
   43bfa:	4879 0005 c8c8 	pea 5c8c8 <rtems_current_user_env>          <== NOT EXECUTED
   43c00:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43c02:	4eb9 0004 6500 	jsr 46500 <rtems_task_variable_delete>      <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
   43c08:	508f           	addql #8,%sp                                <== NOT EXECUTED
   43c0a:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43c0c:	6656           	bnes 43c64 <rtems_libio_share_private_env+0x94><== NOT EXECUTED
   free_user_env(tmp);                                                
   43c0e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43c10:	4eba fe72      	jsr %pc@(43a84 <free_user_env>)             <== NOT EXECUTED
   43c14:	588f           	addql #4,%sp                                <== NOT EXECUTED
  };                                                                  
                                                                      
  /* AT THIS POINT, rtems_current_user_env is DANGLING */             
                                                                      
  sc = rtems_task_variable_get(task_id,(void*)&rtems_current_user_env,
   43c16:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   43c1a:	4879 0005 c8c8 	pea 5c8c8 <rtems_current_user_env>          <== NOT EXECUTED
   43c20:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   43c24:	4eb9 0004 6574 	jsr 46574 <rtems_task_variable_get>         <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
   43c2a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43c2e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43c30:	6626           	bnes 43c58 <rtems_libio_share_private_env+0x88><== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
   43c32:	487a fe50      	pea %pc@(43a84 <free_user_env>)             <== NOT EXECUTED
   43c36:	4879 0005 c8c8 	pea 5c8c8 <rtems_current_user_env>          <== NOT EXECUTED
   43c3c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43c3e:	4eb9 0004 646c 	jsr 4646c <rtems_task_variable_add>         <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
   43c44:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43c48:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43c4a:	660c           	bnes 43c58 <rtems_libio_share_private_env+0x88><== NOT EXECUTED
    goto bailout;                                                     
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
   43c4c:	41ee fffc      	lea %fp@(-4),%a0                            <== NOT EXECUTED
   43c50:	23d0 0005 c8c8 	movel %a0@,5c8c8 <rtems_current_user_env>   <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   43c56:	600c           	bras 43c64 <rtems_libio_share_private_env+0x94><== NOT EXECUTED
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
   43c58:	223c 0005 df04 	movel #384772,%d1                           <== NOT EXECUTED
   43c5e:	23c1 0005 c8c8 	movel %d1,5c8c8 <rtems_current_user_env>    <== NOT EXECUTED
  return sc;                                                          
}                                                                     
   43c64:	246e fff4      	moveal %fp@(-12),%a2                        <== NOT EXECUTED
   43c68:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000498e6 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
   498e6:	7006           	moveq #6,%d0                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
   498e8:	4e56 0000      	linkw %fp,#0                                
   498ec:	222e 0008      	movel %fp@(8),%d1                           
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
   498f0:	c081           	andl %d1,%d0                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
   498f2:	2f02           	movel %d2,%sp@-                             
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
   498f4:	7406           	moveq #6,%d2                                
   498f6:	b480           	cmpl %d0,%d2                                
   498f8:	6710           	beqs 4990a <rtems_libio_to_fcntl_flags+0x24><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
   498fa:	0801 0001      	btst #1,%d1                                 
   498fe:	660e           	bnes 4990e <rtems_libio_to_fcntl_flags+0x28><== ALWAYS TAKEN
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
   49900:	44c1           	movew %d1,%ccr                              <== NOT EXECUTED
   49902:	57c0           	seq %d0                                     <== NOT EXECUTED
   49904:	49c0           	extbl %d0                                   <== NOT EXECUTED
   49906:	4480           	negl %d0                                    <== NOT EXECUTED
   49908:	6006           	bras 49910 <rtems_libio_to_fcntl_flags+0x2a><== NOT EXECUTED
   4990a:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   4990c:	6002           	bras 49910 <rtems_libio_to_fcntl_flags+0x2a><== NOT EXECUTED
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
    fcntl_flags |= O_RDONLY;                                          
   4990e:	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 ) {     
   49910:	0801 0000      	btst #0,%d1                                 
   49914:	6704           	beqs 4991a <rtems_libio_to_fcntl_flags+0x34>
    fcntl_flags |= O_NONBLOCK;                                        
   49916:	08c0 000e      	bset #14,%d0                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
   4991a:	0801 0009      	btst #9,%d1                                 
   4991e:	6704           	beqs 49924 <rtems_libio_to_fcntl_flags+0x3e>
    fcntl_flags |= O_APPEND;                                          
   49920:	7408           	moveq #8,%d2                                
   49922:	8082           	orl %d2,%d0                                 
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
   49924:	0801 000a      	btst #10,%d1                                
   49928:	6704           	beqs 4992e <rtems_libio_to_fcntl_flags+0x48>
    fcntl_flags |= O_CREAT;                                           
   4992a:	08c0 0009      	bset #9,%d0                                 
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
   4992e:	241f           	movel %sp@+,%d2                             
   49930:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d22c <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
   4d22c:	4e56 0000      	linkw %fp,#0                                
   4d230:	2f0a           	movel %a2,%sp@-                             
   4d232:	246e 0008      	moveal %fp@(8),%a2                          
   4d236:	2f02           	movel %d2,%sp@-                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
   4d238:	4a8a           	tstl %a2                                    
   4d23a:	6754           	beqs 4d290 <rtems_memalign+0x64>            
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
   4d23c:	4292           	clrl %a2@                                   
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4d23e:	7003           	moveq #3,%d0                                
   4d240:	b0b9 0006 1122 	cmpl 61122 <_System_state_Current>,%d0      
   4d246:	660a           	bnes 4d252 <rtems_memalign+0x26>            <== NEVER TAKEN
       !malloc_is_system_state_OK() )                                 
   4d248:	4eb9 0004 36a8 	jsr 436a8 <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()) &&                    
   4d24e:	4a00           	tstb %d0                                    
   4d250:	673e           	beqs 4d290 <rtems_memalign+0x64>            <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
   4d252:	4eb9 0004 36e6 	jsr 436e6 <malloc_deferred_frees_process>   
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
   4d258:	42a7           	clrl %sp@-                                  
   4d25a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4d25e:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4d262:	2f39 0005 f6b0 	movel 5f6b0 <RTEMS_Malloc_Heap>,%sp@-       
   4d268:	4eb9 0004 8090 	jsr 48090 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
   4d26e:	4fef 0010      	lea %sp@(16),%sp                            
   4d272:	2400           	movel %d0,%d2                               
   4d274:	671e           	beqs 4d294 <rtems_memalign+0x68>            
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   4d276:	2079 0005 fd56 	moveal 5fd56 <rtems_malloc_statistics_helpers>,%a0
   4d27c:	4a88           	tstl %a0                                    
   4d27e:	670a           	beqs 4d28a <rtems_memalign+0x5e>            <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
   4d280:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4d282:	2068 0004      	moveal %a0@(4),%a0                          <== NOT EXECUTED
   4d286:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4d288:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  *pointer = return_this;                                             
   4d28a:	2482           	movel %d2,%a2@                              
  return 0;                                                           
   4d28c:	4280           	clrl %d0                                    
   4d28e:	6006           	bras 4d296 <rtems_memalign+0x6a>            
  /*                                                                  
   *  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;                                                    
   4d290:	7016           	moveq #22,%d0                               
   4d292:	6002           	bras 4d296 <rtems_memalign+0x6a>            
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
   4d294:	700c           	moveq #12,%d0                               
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
   4d296:	242e fff8      	movel %fp@(-8),%d2                          
   4d29a:	246e fffc      	moveal %fp@(-4),%a2                         
   4d29e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ae90 <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
   4ae90:	4e56 ff90      	linkw %fp,#-112                             
   4ae94:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
   4ae98:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4ae9c:	4eb9 0004 fa7c 	jsr 4fa7c <strdup>                          
                                                                      
	if (dup_path != NULL) {                                              
   4aea2:	588f           	addql #4,%sp                                
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
   4aea4:	2440           	moveal %d0,%a2                              
                                                                      
	if (dup_path != NULL) {                                              
   4aea6:	4a80           	tstl %d0                                    
   4aea8:	6700 0122      	beqw 4afcc <rtems_mkdir+0x13c>              
	char *p;                                                             
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
   4aeac:	722f           	moveq #47,%d1                               
   4aeae:	1012           	moveb %a2@,%d0                              
   4aeb0:	49c0           	extbl %d0                                   
   4aeb2:	b280           	cmpl %d0,%d1                                
   4aeb4:	6606           	bnes 4aebc <rtems_mkdir+0x2c>               
		++p;                                                                
   4aeb6:	47ea 0001      	lea %a2@(1),%a3                             
   4aeba:	6002           	bras 4aebe <rtems_mkdir+0x2e>               
	char *p;                                                             
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
   4aebc:	264a           	moveal %a2,%a3                              
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
			if (errno == EEXIST || errno == EISDIR) {                          
				if (stat(path, &sb) < 0) {                                        
   4aebe:	2c0e           	movel %fp,%d6                               
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
   4aec0:	2a4b           	moveal %a3,%a5                              
	char *p;                                                             
                                                                      
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
   4aec2:	4283           	clrl %d3                                    
   4aec4:	7001           	moveq #1,%d0                                
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
   4aec6:	2e3c 0004 3c68 	movel #277608,%d7                           
			if (errno == EEXIST || errno == EISDIR) {                          
   4aecc:	283c 0004 ddd0 	movel #318928,%d4                           
				if (stat(path, &sb) < 0) {                                        
   4aed2:	0686 ffff ffba 	addil #-70,%d6                              
   4aed8:	2a3c 0004 45fc 	movel #280060,%d5                           
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
   4aede:	49f9 0004 6124 	lea 46124 <umask>,%a4                       
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
   4aee4:	121d           	moveb %a5@+,%d1                             
   4aee6:	670e           	beqs 4aef6 <rtems_mkdir+0x66>               
			last = 1;                                                          
		else if (p[0] != '/')                                               
   4aee8:	49c1           	extbl %d1                                   
   4aeea:	742f           	moveq #47,%d2                               
   4aeec:	b481           	cmpl %d1,%d2                                
   4aeee:	6600 00b8      	bnew 4afa8 <rtems_mkdir+0x118>              
   4aef2:	4281           	clrl %d1                                    
   4aef4:	6002           	bras 4aef8 <rtems_mkdir+0x68>               
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
		if (p[0] == '\0')                                                   
			last = 1;                                                          
   4aef6:	7201           	moveq #1,%d1                                
		else if (p[0] != '/')                                               
			continue;                                                          
		*p = '\0';                                                          
   4aef8:	4213           	clrb %a3@                                   
		if (!last && p[1] == '\0')                                          
   4aefa:	4a81           	tstl %d1                                    
   4aefc:	660a           	bnes 4af08 <rtems_mkdir+0x78>               
   4aefe:	4a15           	tstb %a5@                                   
   4af00:	57c2           	seq %d2                                     
   4af02:	49c2           	extbl %d2                                   
   4af04:	4482           	negl %d2                                    
   4af06:	6002           	bras 4af0a <rtems_mkdir+0x7a>               
   4af08:	7401           	moveq #1,%d2                                
			last = 1;                                                          
		if (first) {                                                        
   4af0a:	4a80           	tstl %d0                                    
   4af0c:	6712           	beqs 4af20 <rtems_mkdir+0x90>               
			 *    mkdir [-m mode] dir                                          
			 *                                                                 
			 * We change the user's umask and then restore it,                 
			 * instead of doing chmod's.                                       
			 */                                                                
			oumask = umask(0);                                                 
   4af0e:	42a7           	clrl %sp@-                                  
   4af10:	4e94           	jsr %a4@                                    
   4af12:	2600           	movel %d0,%d3                               
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
   4af14:	0280 ffff ff3f 	andil #-193,%d0                             
   4af1a:	2f00           	movel %d0,%sp@-                             
   4af1c:	4e94           	jsr %a4@                                    
   4af1e:	508f           	addql #8,%sp                                
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
   4af20:	203c 0000 01ff 	movel #511,%d0                              
			oumask = umask(0);                                                 
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
   4af26:	4a82           	tstl %d2                                    
   4af28:	670a           	beqs 4af34 <rtems_mkdir+0xa4>               
			(void)umask(oumask);                                               
   4af2a:	2f03           	movel %d3,%sp@-                             
   4af2c:	4e94           	jsr %a4@                                    
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
   4af2e:	202e 000c      	movel %fp@(12),%d0                          
			numask = oumask & ~(S_IWUSR | S_IXUSR);                            
			(void)umask(numask);                                               
			first = 0;                                                         
		}                                                                   
		if (last)                                                           
			(void)umask(oumask);                                               
   4af32:	588f           	addql #4,%sp                                
		if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {  
   4af34:	2f00           	movel %d0,%sp@-                             
   4af36:	2047           	moveal %d7,%a0                              
   4af38:	2f0a           	movel %a2,%sp@-                             
   4af3a:	4e90           	jsr %a0@                                    
   4af3c:	508f           	addql #8,%sp                                
   4af3e:	4a80           	tstl %d0                                    
   4af40:	6c5c           	bges 4af9e <rtems_mkdir+0x10e>              
			if (errno == EEXIST || errno == EISDIR) {                          
   4af42:	2044           	moveal %d4,%a0                              
   4af44:	4e90           	jsr %a0@                                    
   4af46:	7211           	moveq #17,%d1                               
   4af48:	2040           	moveal %d0,%a0                              
   4af4a:	b290           	cmpl %a0@,%d1                               
   4af4c:	670c           	beqs 4af5a <rtems_mkdir+0xca>               <== ALWAYS TAKEN
   4af4e:	2044           	moveal %d4,%a0                              <== NOT EXECUTED
   4af50:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4af52:	7215           	moveq #21,%d1                               <== NOT EXECUTED
   4af54:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4af56:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   4af58:	667e           	bnes 4afd8 <rtems_mkdir+0x148>              <== NOT EXECUTED
				if (stat(path, &sb) < 0) {                                        
   4af5a:	2f06           	movel %d6,%sp@-                             
   4af5c:	2045           	moveal %d5,%a0                              
   4af5e:	2f0a           	movel %a2,%sp@-                             
   4af60:	4e90           	jsr %a0@                                    
   4af62:	508f           	addql #8,%sp                                
   4af64:	4a80           	tstl %d0                                    
   4af66:	6d70           	blts 4afd8 <rtems_mkdir+0x148>              <== NEVER TAKEN
					retval = 0;                                                      
					break;                                                           
				} else if (!S_ISDIR(sb.st_mode)) {                                
   4af68:	202e ffc6      	movel %fp@(-58),%d0                         
   4af6c:	0280 0000 f000 	andil #61440,%d0                            
   4af72:	0c80 0000 4000 	cmpil #16384,%d0                            
   4af78:	671e           	beqs 4af98 <rtems_mkdir+0x108>              
   4af7a:	41f9 0004 ddd0 	lea 4ddd0 <__errno>,%a0                     
					if (last)                                                        
   4af80:	4a82           	tstl %d2                                    
   4af82:	670a           	beqs 4af8e <rtems_mkdir+0xfe>               <== NEVER TAKEN
						errno = EEXIST;                                                 
   4af84:	4e90           	jsr %a0@                                    
   4af86:	7211           	moveq #17,%d1                               
   4af88:	2040           	moveal %d0,%a0                              
   4af8a:	2081           	movel %d1,%a0@                              
   4af8c:	602a           	bras 4afb8 <rtems_mkdir+0x128>              
					else                                                             
						errno = ENOTDIR;                                                
   4af8e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4af90:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4af92:	7014           	moveq #20,%d0                               <== NOT EXECUTED
   4af94:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4af96:	6016           	bras 4afae <rtems_mkdir+0x11e>              <== NOT EXECUTED
					retval = 0;                                                      
					break;                                                           
				}                                                                 
				if (last)                                                         
   4af98:	4a82           	tstl %d2                                    
   4af9a:	6642           	bnes 4afde <rtems_mkdir+0x14e>              
   4af9c:	6004           	bras 4afa2 <rtems_mkdir+0x112>              
			} else {                                                           
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
   4af9e:	4a82           	tstl %d2                                    
   4afa0:	6640           	bnes 4afe2 <rtems_mkdir+0x152>              
		    *p = '/';                                                       
   4afa2:	4280           	clrl %d0                                    
   4afa4:	16bc 002f      	moveb #47,%a3@                              
	p = path;                                                            
	oumask = 0;                                                          
	retval = 1;                                                          
	if (p[0] == '/')		/* Skip leading '/'. */                            
		++p;                                                                
	for (first = 1, last = 0; !last ; ++p) {                             
   4afa8:	528b           	addql #1,%a3                                
   4afaa:	6000 ff38      	braw 4aee4 <rtems_mkdir+0x54>               
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
	}                                                                    
	if (!first && !last)                                                 
		(void)umask(oumask);                                                
   4afae:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4afb0:	4eb9 0004 6124 	jsr 46124 <umask>                           <== NOT EXECUTED
   4afb6:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4afb8:	4282           	clrl %d2                                    
	int success = 0;                                                     
	char *dup_path = strdup(path);                                       
                                                                      
	if (dup_path != NULL) {                                              
		success = build(dup_path, mode);                                    
		free(dup_path);                                                     
   4afba:	2f0a           	movel %a2,%sp@-                             
   4afbc:	4eb9 0004 349c 	jsr 4349c <free>                            
	}                                                                    
                                                                      
	return success != 0 ? 0 : -1;                                        
   4afc2:	588f           	addql #4,%sp                                
   4afc4:	4a82           	tstl %d2                                    
   4afc6:	57c0           	seq %d0                                     
   4afc8:	49c0           	extbl %d0                                   
   4afca:	6002           	bras 4afce <rtems_mkdir+0x13e>              
   4afcc:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   4afce:	4cee 3cfc ff90 	moveml %fp@(-112),%d2-%d7/%a2-%a5           
   4afd4:	4e5e           	unlk %fp                                    
   4afd6:	4e75           	rts                                         
			}                                                                  
		}                                                                   
		if (!last)                                                          
		    *p = '/';                                                       
	}                                                                    
	if (!first && !last)                                                 
   4afd8:	4a82           	tstl %d2                                    <== NOT EXECUTED
   4afda:	67d2           	beqs 4afae <rtems_mkdir+0x11e>              <== NOT EXECUTED
   4afdc:	60da           	bras 4afb8 <rtems_mkdir+0x128>              <== NOT EXECUTED
						errno = ENOTDIR;                                                
					retval = 0;                                                      
					break;                                                           
				}                                                                 
				if (last)                                                         
					retval = 2;                                                      
   4afde:	7402           	moveq #2,%d2                                
   4afe0:	60d8           	bras 4afba <rtems_mkdir+0x12a>              
			} else {                                                           
				retval = 0;                                                       
				break;                                                            
			}                                                                  
		}                                                                   
		if (!last)                                                          
   4afe2:	7401           	moveq #1,%d2                                
   4afe4:	60d4           	bras 4afba <rtems_mkdir+0x12a>              
	...                                                                  
                                                                      

0004267a <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
   4267a:	4e56 0000      	linkw %fp,#0                                
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
   4267e:	486e 000c      	pea %fp@(12)                                
   42682:	2f2e 0008      	movel %fp@(8),%sp@-                         
   42686:	2f3c 2000 0000 	movel #536870912,%sp@-                      
   4268c:	4eba fe3e      	jsr %pc@(424cc <rtems_verror>)              
  va_end(arglist);                                                    
                                                                      
  rtems_error(0, "fatal error, exiting");                             
   42690:	4879 0005 ad16 	pea 5ad16 <IMFS_ops+0x7e>                   
   42696:	42a7           	clrl %sp@-                                  
   42698:	4eb9 0004 2618 	jsr 42618 <rtems_error>                     
  _exit(errno);                                                       
   4269e:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   426a4:	2040           	moveal %d0,%a0                              
   426a6:	2f10           	movel %a0@,%sp@-                            
   426a8:	4eb9 0004 3008 	jsr 43008 <_exit>                           
	...                                                                  
                                                                      

0004ffcc <rtems_partition_delete>: */ rtems_status_code rtems_partition_delete( rtems_id id ) {
   4ffcc:	4e56 fffc      	linkw %fp,#-4                               
   4ffd0:	2f0b           	movel %a3,%sp@-                             
   4ffd2:	2f0a           	movel %a2,%sp@-                             
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
   4ffd4:	486e fffc      	pea %fp@(-4)                                
   4ffd8:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4ffdc:	4879 0007 6362 	pea 76362 <_Partition_Information>          
   4ffe2:	4eb9 0005 462c 	jsr 5462c <_Objects_Get>                    
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
   4ffe8:	4fef 000c      	lea %sp@(12),%sp                            
   4ffec:	2440           	moveal %d0,%a2                              
   4ffee:	4aae fffc      	tstl %fp@(-4)                               
   4fff2:	6638           	bnes 5002c <rtems_partition_delete+0x60>    <== NEVER TAKEN
   4fff4:	47f9 0005 4e8e 	lea 54e8e <_Thread_Enable_dispatch>,%a3     
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_partition->number_of_used_blocks == 0 ) {              
   4fffa:	4aaa 0020      	tstl %a2@(32)                               
   4fffe:	6626           	bnes 50026 <rtems_partition_delete+0x5a>    
        _Objects_Close( &_Partition_Information, &the_partition->Object );
   50000:	2f00           	movel %d0,%sp@-                             
   50002:	4879 0007 6362 	pea 76362 <_Partition_Information>          
   50008:	4eb9 0005 4220 	jsr 54220 <_Objects_Close>                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Partition_Free (                           
   Partition_Control *the_partition                                   
)                                                                     
{                                                                     
  _Objects_Free( &_Partition_Information, &the_partition->Object );   
   5000e:	2f0a           	movel %a2,%sp@-                             
   50010:	4879 0007 6362 	pea 76362 <_Partition_Information>          
   50016:	4eb9 0005 4498 	jsr 54498 <_Objects_Free>                   
            0                          /* Not used */                 
          );                                                          
        }                                                             
#endif                                                                
                                                                      
        _Thread_Enable_dispatch();                                    
   5001c:	4e93           	jsr %a3@                                    
        return RTEMS_SUCCESSFUL;                                      
   5001e:	4fef 0010      	lea %sp@(16),%sp                            
   50022:	4280           	clrl %d0                                    
   50024:	6008           	bras 5002e <rtems_partition_delete+0x62>    
      }                                                               
      _Thread_Enable_dispatch();                                      
   50026:	4e93           	jsr %a3@                                    
      return RTEMS_RESOURCE_IN_USE;                                   
   50028:	700c           	moveq #12,%d0                               
   5002a:	6002           	bras 5002e <rtems_partition_delete+0x62>    
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   5002c:	7004           	moveq #4,%d0                                
}                                                                     
   5002e:	246e fff4      	moveal %fp@(-12),%a2                        
   50032:	266e fff8      	moveal %fp@(-8),%a3                         
   50036:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000500d0 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
   500d0:	4e56 fffc      	linkw %fp,#-4                               
   500d4:	2f0a           	movel %a2,%sp@-                             
   500d6:	2f02           	movel %d2,%sp@-                             
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
   500d8:	486e fffc      	pea %fp@(-4)                                
   500dc:	2f2e 0008      	movel %fp@(8),%sp@-                         
   500e0:	4879 0007 6362 	pea 76362 <_Partition_Information>          
   500e6:	242e 000c      	movel %fp@(12),%d2                          
   500ea:	4eb9 0005 462c 	jsr 5462c <_Objects_Get>                    
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
   500f0:	4fef 000c      	lea %sp@(12),%sp                            
   500f4:	2440           	moveal %d0,%a2                              
   500f6:	4aae fffc      	tstl %fp@(-4)                               
   500fa:	663e           	bnes 5013a <rtems_partition_return_buffer+0x6a>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
   500fc:	202a 0010      	movel %a2@(16),%d0                          
  ending   = _Addresses_Add_offset( starting, the_partition->length );
   50100:	222a 0014      	movel %a2@(20),%d1                          
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
   50104:	b082           	cmpl %d2,%d0                                
   50106:	6240           	bhis 50148 <rtems_partition_return_buffer+0x78>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
   50108:	d280           	addl %d0,%d1                                
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
   5010a:	b282           	cmpl %d2,%d1                                
   5010c:	653a           	bcss 50148 <rtems_partition_return_buffer+0x78><== NEVER TAKEN
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
   5010e:	2202           	movel %d2,%d1                               
   50110:	9280           	subl %d0,%d1                                
   50112:	2001           	movel %d1,%d0                               
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
   50114:	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 ) &&         
   5011a:	4a81           	tstl %d1                                    
   5011c:	662a           	bnes 50148 <rtems_partition_return_buffer+0x78>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
   5011e:	2f02           	movel %d2,%sp@-                             
   50120:	486a 0024      	pea %a2@(36)                                
   50124:	4eb9 0005 2c7c 	jsr 52c7c <_Chain_Append>                   
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
   5012a:	53aa 0020      	subql #1,%a2@(32)                           
        _Thread_Enable_dispatch();                                    
   5012e:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   50134:	508f           	addql #8,%sp                                
   50136:	4280           	clrl %d0                                    
   50138:	6002           	bras 5013c <rtems_partition_return_buffer+0x6c>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   5013a:	7004           	moveq #4,%d0                                
}                                                                     
   5013c:	242e fff4      	movel %fp@(-12),%d2                         
   50140:	246e fff8      	moveal %fp@(-8),%a2                         
   50144:	4e5e           	unlk %fp                                    
   50146:	4e75           	rts                                         
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
   50148:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
      return RTEMS_INVALID_ADDRESS;                                   
   5014e:	7009           	moveq #9,%d0                                
   50150:	60ea           	bras 5013c <rtems_partition_return_buffer+0x6c>
	...                                                                  
                                                                      

00042396 <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
   42396:	4e56 ffec      	linkw %fp,#-20                              
   4239a:	202e 000c      	movel %fp@(12),%d0                          
   4239e:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   423a2:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
   423a6:	4a80           	tstl %d0                                    
   423a8:	674e           	beqs 423f8 <rtems_print_buffer+0x62>        <== NEVER TAKEN
                                                                      
  mod = length % 16;                                                  
   423aa:	2400           	movel %d0,%d2                               
   423ac:	0282 8000 000f 	andil #-2147483633,%d2                      
   423b2:	6c08           	bges 423bc <rtems_print_buffer+0x26>        <== ALWAYS TAKEN
   423b4:	5382           	subql #1,%d2                                <== NOT EXECUTED
   423b6:	72f0           	moveq #-16,%d1                              <== NOT EXECUTED
   423b8:	8481           	orl %d1,%d2                                 <== NOT EXECUTED
   423ba:	5282           	addql #1,%d2                                <== NOT EXECUTED
                                                                      
  max = length - mod;                                                 
   423bc:	2800           	movel %d0,%d4                               
   423be:	9882           	subl %d2,%d4                                
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   423c0:	4283           	clrl %d3                                    
    Dump_Line( &buffer[ i ], 16 );                                    
   423c2:	47fa fec0      	lea %pc@(42284 <Dump_Line>),%a3             
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   423c6:	6012           	bras 423da <rtems_print_buffer+0x44>        
    Dump_Line( &buffer[ i ], 16 );                                    
   423c8:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   423cc:	4872 3800      	pea %a2@(00000000,%d3:l)                    
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   423d0:	0683 0000 0010 	addil #16,%d3                               
    Dump_Line( &buffer[ i ], 16 );                                    
   423d6:	4e93           	jsr %a3@                                    
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   423d8:	508f           	addql #8,%sp                                
   423da:	b883           	cmpl %d3,%d4                                
   423dc:	6eea           	bgts 423c8 <rtems_print_buffer+0x32>        
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
   423de:	4a82           	tstl %d2                                    
   423e0:	6716           	beqs 423f8 <rtems_print_buffer+0x62>        
    Dump_Line( &buffer[ max ], mod );                                 
   423e2:	d5c4           	addal %d4,%a2                               
   423e4:	2d42 000c      	movel %d2,%fp@(12)                          
   423e8:	2d4a 0008      	movel %a2,%fp@(8)                           
}                                                                     
   423ec:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   423f2:	4e5e           	unlk %fp                                    
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
   423f4:	6000 fe8e      	braw 42284 <Dump_Line>                      
}                                                                     
   423f8:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   423fe:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004be30 <rtems_rate_monotonic_get_status>: rtems_status_code rtems_rate_monotonic_get_status( rtems_id id, rtems_rate_monotonic_period_status *status ) {
   4be30:	4e56 ffec      	linkw %fp,#-20                              
   4be34:	2f0a           	movel %a2,%sp@-                             
   4be36:	246e 000c      	moveal %fp@(12),%a2                         
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
   4be3a:	4a8a           	tstl %a2                                    
   4be3c:	6700 0092      	beqw 4bed0 <rtems_rate_monotonic_get_status+0xa0>
   4be40:	486e fffc      	pea %fp@(-4)                                
   4be44:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4be48:	4879 0005 f49c 	pea 5f49c <_Rate_monotonic_Information>     
   4be4e:	4eb9 0004 8498 	jsr 48498 <_Objects_Get>                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
   4be54:	4fef 000c      	lea %sp@(12),%sp                            
   4be58:	2040           	moveal %d0,%a0                              
   4be5a:	4aae fffc      	tstl %fp@(-4)                               
   4be5e:	6674           	bnes 4bed4 <rtems_rate_monotonic_get_status+0xa4><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
   4be60:	2268 0040      	moveal %a0@(64),%a1                         
   4be64:	24a9 0008      	movel %a1@(8),%a2@                          
      status->state = the_period->state;                              
   4be68:	2028 0038      	movel %a0@(56),%d0                          
   4be6c:	2540 0004      	movel %d0,%a2@(4)                           
                                                                      
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
   4be70:	6612           	bnes 4be84 <rtems_rate_monotonic_get_status+0x54>
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timespec_Set_to_zero( &status->since_last_period );        
   4be72:	42aa 0008      	clrl %a2@(8)                                
   4be76:	42aa 000c      	clrl %a2@(12)                               
          _Timespec_Set_to_zero( &status->executed_since_last_period );
   4be7a:	42aa 0010      	clrl %a2@(16)                               
   4be7e:	42aa 0014      	clrl %a2@(20)                               
   4be82:	6042           	bras 4bec6 <rtems_rate_monotonic_get_status+0x96>
      } else {                                                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
   4be84:	486e fff4      	pea %fp@(-12)                               
   4be88:	486e ffec      	pea %fp@(-20)                               
   4be8c:	2f08           	movel %a0,%sp@-                             
   4be8e:	4eb9 0004 62b0 	jsr 462b0 <_Rate_monotonic_Get_status>      
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
   4be94:	4fef 000c      	lea %sp@(12),%sp                            
   4be98:	4a00           	tstb %d0                                    
   4be9a:	660a           	bnes 4bea6 <rtems_rate_monotonic_get_status+0x76>
          _Thread_Enable_dispatch();                                  
   4be9c:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
          return RTEMS_NOT_DEFINED;                                   
   4bea2:	700b           	moveq #11,%d0                               
   4bea4:	6030           	bras 4bed6 <rtems_rate_monotonic_get_status+0xa6>
        }                                                             
                                                                      
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timestamp_To_timespec(                                     
   4bea6:	202e ffec      	movel %fp@(-20),%d0                         
   4beaa:	222e fff0      	movel %fp@(-16),%d1                         
   4beae:	2540 0008      	movel %d0,%a2@(8)                           
   4beb2:	2541 000c      	movel %d1,%a2@(12)                          
            &since_last_period, &status->since_last_period            
          );                                                          
          _Timestamp_To_timespec(                                     
   4beb6:	202e fff4      	movel %fp@(-12),%d0                         
   4beba:	222e fff8      	movel %fp@(-8),%d1                          
   4bebe:	2540 0010      	movel %d0,%a2@(16)                          
   4bec2:	2541 0014      	movel %d1,%a2@(20)                          
          status->since_last_period = since_last_period;              
          status->executed_since_last_period = executed;              
        #endif                                                        
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
   4bec6:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   4becc:	4280           	clrl %d0                                    
   4bece:	6006           	bras 4bed6 <rtems_rate_monotonic_get_status+0xa6>
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
   4bed0:	7009           	moveq #9,%d0                                
   4bed2:	6002           	bras 4bed6 <rtems_rate_monotonic_get_status+0xa6>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   4bed4:	7004           	moveq #4,%d0                                
}                                                                     
   4bed6:	246e ffe8      	moveal %fp@(-24),%a2                        
   4beda:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000464ba <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
   464ba:	4e56 ffec      	linkw %fp,#-20                              
   464be:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
   464c2:	486e fffc      	pea %fp@(-4)                                
   464c6:	262e 0008      	movel %fp@(8),%d3                           
   464ca:	2f03           	movel %d3,%sp@-                             
   464cc:	4879 0005 f49c 	pea 5f49c <_Rate_monotonic_Information>     
   464d2:	242e 000c      	movel %fp@(12),%d2                          
   464d6:	4eb9 0004 8498 	jsr 48498 <_Objects_Get>                    
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
   464dc:	4fef 000c      	lea %sp@(12),%sp                            
   464e0:	2440           	moveal %d0,%a2                              
   464e2:	4aae fffc      	tstl %fp@(-4)                               
   464e6:	6600 0150      	bnew 46638 <rtems_rate_monotonic_period+0x17e>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
   464ea:	2039 0005 fa28 	movel 5fa28 <_Per_CPU_Information+0xc>,%d0  
   464f0:	b0aa 0040      	cmpl %a2@(64),%d0                           
   464f4:	670c           	beqs 46502 <rtems_rate_monotonic_period+0x48>
        _Thread_Enable_dispatch();                                    
   464f6:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
   464fc:	7417           	moveq #23,%d2                               
   464fe:	6000 013a      	braw 4663a <rtems_rate_monotonic_period+0x180>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
   46502:	4a82           	tstl %d2                                    
   46504:	6622           	bnes 46528 <rtems_rate_monotonic_period+0x6e>
        switch ( the_period->state ) {                                
   46506:	202a 0038      	movel %a2@(56),%d0                          
   4650a:	7204           	moveq #4,%d1                                
   4650c:	b280           	cmpl %d0,%d1                                
   4650e:	650c           	bcss 4651c <rtems_rate_monotonic_period+0x62><== NEVER TAKEN
   46510:	41f9 0005 cc62 	lea 5cc62 <CSWTCH.2>,%a0                    
   46516:	2430 0c00      	movel %a0@(00000000,%d0:l:4),%d2            
   4651a:	6002           	bras 4651e <rtems_rate_monotonic_period+0x64>
   4651c:	4282           	clrl %d2                                    <== NOT EXECUTED
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
   4651e:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
        return( return_value );                                       
   46524:	6000 0114      	braw 4663a <rtems_rate_monotonic_period+0x180>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
   46528:	203c 0000 0700 	movel #1792,%d0                             
   4652e:	40c4           	movew %sr,%d4                               
   46530:	8084           	orl %d4,%d0                                 
   46532:	46c0           	movew %d0,%sr                               
      switch ( the_period->state ) {                                  
   46534:	202a 0038      	movel %a2@(56),%d0                          
   46538:	7202           	moveq #2,%d1                                
   4653a:	b280           	cmpl %d0,%d1                                
   4653c:	675a           	beqs 46598 <rtems_rate_monotonic_period+0xde>
   4653e:	123c 0004      	moveb #4,%d1                                
   46542:	b280           	cmpl %d0,%d1                                
   46544:	6700 00bc      	beqw 46602 <rtems_rate_monotonic_period+0x148>
   46548:	4a80           	tstl %d0                                    
   4654a:	6600 00ec      	bnew 46638 <rtems_rate_monotonic_period+0x17e>
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
   4654e:	46c4           	movew %d4,%sr                               
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
   46550:	2f0a           	movel %a2,%sp@-                             
   46552:	4eb9 0004 634e 	jsr 4634e <_Rate_monotonic_Initiate_statistics>
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   46558:	7002           	moveq #2,%d0                                
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   4655a:	223c 0004 6884 	movel #288900,%d1                           
   46560:	2540 0038      	movel %d0,%a2@(56)                          
   46564:	2541 002c      	movel %d1,%a2@(44)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   46568:	42aa 0018      	clrl %a2@(24)                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   4656c:	2543 0030      	movel %d3,%a2@(48)                          
  the_watchdog->user_data = user_data;                                
   46570:	42aa 0034      	clrl %a2@(52)                               
            _Rate_monotonic_Timeout,                                  
            id,                                                       
            NULL                                                      
          );                                                          
                                                                      
          the_period->next_length = length;                           
   46574:	2542 003c      	movel %d2,%a2@(60)                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   46578:	2542 001c      	movel %d2,%a2@(28)                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4657c:	486a 0010      	pea %a2@(16)                                
   46580:	4879 0005 f65a 	pea 5f65a <_Watchdog_Ticks_chain>           
   46586:	4eb9 0004 9d68 	jsr 49d68 <_Watchdog_Insert>                
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
   4658c:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
          return RTEMS_SUCCESSFUL;                                    
   46592:	4fef 000c      	lea %sp@(12),%sp                            
   46596:	6066           	bras 465fe <rtems_rate_monotonic_period+0x144>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
   46598:	2f0a           	movel %a2,%sp@-                             
   4659a:	4eb9 0004 63c6 	jsr 463c6 <_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;       
   465a0:	7001           	moveq #1,%d0                                
          the_period->next_length = length;                           
   465a2:	2542 003c      	movel %d2,%a2@(60)                          
          /*                                                          
           *  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;       
   465a6:	2540 0038      	movel %d0,%a2@(56)                          
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
   465aa:	46c4           	movew %d4,%sr                               
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
   465ac:	2079 0005 fa28 	moveal 5fa28 <_Per_CPU_Information+0xc>,%a0 
   465b2:	216a 0008 0020 	movel %a2@(8),%a0@(32)                      
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   465b8:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   465bc:	2f08           	movel %a0,%sp@-                             
   465be:	4eb9 0004 9538 	jsr 49538 <_Thread_Set_state>               
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
   465c4:	203c 0000 0700 	movel #1792,%d0                             
   465ca:	40c1           	movew %sr,%d1                               
   465cc:	8081           	orl %d1,%d0                                 
   465ce:	46c0           	movew %d0,%sr                               
            local_state = the_period->state;                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
   465d0:	7402           	moveq #2,%d2                                
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
            local_state = the_period->state;                          
   465d2:	202a 0038      	movel %a2@(56),%d0                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
   465d6:	2542 0038      	movel %d2,%a2@(56)                          
          _ISR_Enable( level );                                       
   465da:	46c1           	movew %d1,%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 ) 
   465dc:	7203           	moveq #3,%d1                                
   465de:	4fef 000c      	lea %sp@(12),%sp                            
   465e2:	b280           	cmpl %d0,%d1                                
   465e4:	6612           	bnes 465f8 <rtems_rate_monotonic_period+0x13e>
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   465e6:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   465ea:	2f39 0005 fa28 	movel 5fa28 <_Per_CPU_Information+0xc>,%sp@-
   465f0:	4eb9 0004 8954 	jsr 48954 <_Thread_Clear_state>             
   465f6:	508f           	addql #8,%sp                                
                                                                      
          _Thread_Enable_dispatch();                                  
   465f8:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
          return RTEMS_SUCCESSFUL;                                    
   465fe:	4282           	clrl %d2                                    
   46600:	6038           	bras 4663a <rtems_rate_monotonic_period+0x180>
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
   46602:	2f0a           	movel %a2,%sp@-                             
   46604:	4eb9 0004 63c6 	jsr 463c6 <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
   4660a:	46c4           	movew %d4,%sr                               
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   4660c:	7002           	moveq #2,%d0                                
          the_period->next_length = length;                           
   4660e:	2542 003c      	movel %d2,%a2@(60)                          
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   46612:	2540 0038      	movel %d0,%a2@(56)                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   46616:	2542 001c      	movel %d2,%a2@(28)                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4661a:	486a 0010      	pea %a2@(16)                                
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
          return RTEMS_TIMEOUT;                                       
   4661e:	7406           	moveq #6,%d2                                
   46620:	4879 0005 f65a 	pea 5f65a <_Watchdog_Ticks_chain>           
   46626:	4eb9 0004 9d68 	jsr 49d68 <_Watchdog_Insert>                
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
   4662c:	4eb9 0004 8cfa 	jsr 48cfa <_Thread_Enable_dispatch>         
          return RTEMS_TIMEOUT;                                       
   46632:	4fef 000c      	lea %sp@(12),%sp                            
   46636:	6002           	bras 4663a <rtems_rate_monotonic_period+0x180>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   46638:	7404           	moveq #4,%d2                                
}                                                                     
   4663a:	2002           	movel %d2,%d0                               
   4663c:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   46642:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00050cc8 <rtems_region_get_segment_size>: rtems_status_code rtems_region_get_segment_size( rtems_id id, void *segment, uintptr_t *size ) {
   50cc8:	4e56 fffc      	linkw %fp,#-4                               
   50ccc:	2f03           	movel %d3,%sp@-                             
   50cce:	262e 0010      	movel %fp@(16),%d3                          
   50cd2:	2f02           	movel %d2,%sp@-                             
   50cd4:	242e 000c      	movel %fp@(12),%d2                          
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
   50cd8:	6768           	beqs 50d42 <rtems_region_get_segment_size+0x7a>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
   50cda:	4a83           	tstl %d3                                    
   50cdc:	6764           	beqs 50d42 <rtems_region_get_segment_size+0x7a>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
   50cde:	2f39 0007 6572 	movel 76572 <_RTEMS_Allocator_Mutex>,%sp@-  
   50ce4:	4eb9 0005 2be8 	jsr 52be8 <_API_Mutex_Lock>                 
   50cea:	486e fffc      	pea %fp@(-4)                                
   50cee:	2f2e 0008      	movel %fp@(8),%sp@-                         
   50cf2:	4879 0007 63d6 	pea 763d6 <_Region_Information>             
   50cf8:	4eb9 0005 45f4 	jsr 545f4 <_Objects_Get_no_protection>      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
   50cfe:	222e fffc      	movel %fp@(-4),%d1                          
   50d02:	4fef 0010      	lea %sp@(16),%sp                            
   50d06:	6708           	beqs 50d10 <rtems_region_get_segment_size+0x48>
   50d08:	7001           	moveq #1,%d0                                
   50d0a:	b081           	cmpl %d1,%d0                                
   50d0c:	661a           	bnes 50d28 <rtems_region_get_segment_size+0x60><== NEVER TAKEN
   50d0e:	601c           	bras 50d2c <rtems_region_get_segment_size+0x64>
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
   50d10:	2f03           	movel %d3,%sp@-                             
   50d12:	2040           	moveal %d0,%a0                              
   50d14:	2f02           	movel %d2,%sp@-                             
   50d16:	4868 0068      	pea %a0@(104)                               
   50d1a:	4eb9 0005 4070 	jsr 54070 <_Heap_Size_of_alloc_area>        
   50d20:	4fef 000c      	lea %sp@(12),%sp                            
   50d24:	4a00           	tstb %d0                                    
   50d26:	6708           	beqs 50d30 <rtems_region_get_segment_size+0x68><== NEVER TAKEN
  void      *segment,                                                 
  uintptr_t *size                                                     
)                                                                     
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
   50d28:	4282           	clrl %d2                                    
   50d2a:	6006           	bras 50d32 <rtems_region_get_segment_size+0x6a>
      case OBJECTS_REMOTE:        /* this error cannot be returned */ 
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
   50d2c:	7404           	moveq #4,%d2                                
   50d2e:	6002           	bras 50d32 <rtems_region_get_segment_size+0x6a>
    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;                      
   50d30:	7409           	moveq #9,%d2                                <== NOT EXECUTED
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   50d32:	2f39 0007 6572 	movel 76572 <_RTEMS_Allocator_Mutex>,%sp@-  
   50d38:	4eb9 0005 2c48 	jsr 52c48 <_API_Mutex_Unlock>               
  return return_status;                                               
   50d3e:	588f           	addql #4,%sp                                
   50d40:	6002           	bras 50d44 <rtems_region_get_segment_size+0x7c>
                                                                      
  if ( !segment )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
   50d42:	7409           	moveq #9,%d2                                
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
   50d44:	2002           	movel %d2,%d0                               
   50d46:	242e fff4      	movel %fp@(-12),%d2                         
   50d4a:	262e fff8      	movel %fp@(-8),%d3                          
   50d4e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00051328 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
   51328:	4e56 fffc      	linkw %fp,#-4                               
   5132c:	2f03           	movel %d3,%sp@-                             
   5132e:	2f02           	movel %d2,%sp@-                             
   51330:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
   51334:	677a           	beqs 513b0 <rtems_signal_send+0x88>         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   51336:	486e fffc      	pea %fp@(-4)                                
   5133a:	2f2e 0008      	movel %fp@(8),%sp@-                         
   5133e:	4eb9 0005 4eb4 	jsr 54eb4 <_Thread_Get>                     
  switch ( location ) {                                               
   51344:	508f           	addql #8,%sp                                
   51346:	4aae fffc      	tstl %fp@(-4)                               
   5134a:	6668           	bnes 513b4 <rtems_signal_send+0x8c>         
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
   5134c:	2240           	moveal %d0,%a1                              
   5134e:	2069 010a      	moveal %a1@(266),%a0                        
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
   51352:	4aa8 000a      	tstl %a0@(10)                               
   51356:	674e           	beqs 513a6 <rtems_signal_send+0x7e>         
        if ( asr->is_enabled ) {                                      
   51358:	4a28 0008      	tstb %a0@(8)                                
   5135c:	672c           	beqs 5138a <rtems_signal_send+0x62>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
   5135e:	223c 0000 0700 	movel #1792,%d1                             
   51364:	40c3           	movew %sr,%d3                               
   51366:	8283           	orl %d3,%d1                                 
   51368:	46c1           	movew %d1,%sr                               
    *signal_set |= signals;                                           
   5136a:	85a8 0012      	orl %d2,%a0@(18)                            
  _ISR_Enable( _level );                                              
   5136e:	46c3           	movew %d3,%sr                               
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   51370:	4ab9 0007 6964 	tstl 76964 <_Per_CPU_Information+0x8>       
   51376:	6724           	beqs 5139c <rtems_signal_send+0x74>         
   51378:	b0b9 0007 6968 	cmpl 76968 <_Per_CPU_Information+0xc>,%d0   
   5137e:	661c           	bnes 5139c <rtems_signal_send+0x74>         <== NEVER TAKEN
            _Context_Switch_necessary = true;                         
   51380:	7001           	moveq #1,%d0                                
   51382:	13c0 0007 6974 	moveb %d0,76974 <_Per_CPU_Information+0x18> 
   51388:	6012           	bras 5139c <rtems_signal_send+0x74>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
   5138a:	203c 0000 0700 	movel #1792,%d0                             
   51390:	40c1           	movew %sr,%d1                               
   51392:	8081           	orl %d1,%d0                                 
   51394:	46c0           	movew %d0,%sr                               
    *signal_set |= signals;                                           
   51396:	85a8 0016      	orl %d2,%a0@(22)                            
  _ISR_Enable( _level );                                              
   5139a:	46c1           	movew %d1,%sr                               
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
   5139c:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   513a2:	4280           	clrl %d0                                    
   513a4:	6010           	bras 513b6 <rtems_signal_send+0x8e>         
      }                                                               
      _Thread_Enable_dispatch();                                      
   513a6:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
      return RTEMS_NOT_DEFINED;                                       
   513ac:	700b           	moveq #11,%d0                               
   513ae:	6006           	bras 513b6 <rtems_signal_send+0x8e>         
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
   513b0:	700a           	moveq #10,%d0                               
   513b2:	6002           	bras 513b6 <rtems_signal_send+0x8e>         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   513b4:	7004           	moveq #4,%d0                                
}                                                                     
   513b6:	242e fff4      	movel %fp@(-12),%d2                         
   513ba:	262e fff8      	movel %fp@(-8),%d3                          
   513be:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041e1c <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
   41e1c:	4e56 0000      	linkw %fp,#0                                
   41e20:	206e 0008      	moveal %fp@(8),%a0                          
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
   41e24:	4aa8 0008      	tstl %a0@(8)                                
   41e28:	671c           	beqs 41e46 <rtems_stack_checker_begin_extension+0x2a><== NEVER TAKEN
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
   41e2a:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   41e2e:	4879 0005 dc48 	pea 5dc48 <Stack_check_Pattern>             
   41e34:	2068 00c2      	moveal %a0@(194),%a0                        
   41e38:	5088           	addql #8,%a0                                
   41e3a:	2f08           	movel %a0,%sp@-                             
   41e3c:	4eb9 0004 d6b4 	jsr 4d6b4 <memcpy>                          
   41e42:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   41e46:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041df4 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
   41df4:	4e56 0000      	linkw %fp,#0                                
   41df8:	206e 000c      	moveal %fp@(12),%a0                         
  Stack_check_Initialize();                                           
                                                                      
  if (the_thread)                                                     
   41dfc:	4a88           	tstl %a0                                    
   41dfe:	6716           	beqs 41e16 <rtems_stack_checker_create_extension+0x22><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
   41e00:	2f28 00be      	movel %a0@(190),%sp@-                       
   41e04:	4878 00a5      	pea a5 <DBL_MANT_DIG+0x70>                  
   41e08:	2f28 00c2      	movel %a0@(194),%sp@-                       
   41e0c:	4eb9 0004 d724 	jsr 4d724 <memset>                          
   41e12:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  return true;                                                        
}                                                                     
   41e16:	4e5e           	unlk %fp                                    
   41e18:	7001           	moveq #1,%d0                                <== NOT EXECUTED
                                                                      

00041f58 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
   41f58:	4e56 0000      	linkw %fp,#0                                
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
   41f5c:	2079 0005 e24c 	moveal 5e24c <_Per_CPU_Information+0xc>,%a0 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   41f62:	2028 00c2      	movel %a0@(194),%d0                         
   41f66:	b08e           	cmpl %fp,%d0                                
   41f68:	6208           	bhis 41f72 <rtems_stack_checker_is_blown+0x1a><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
   41f6a:	d0a8 00be      	addl %a0@(190),%d0                          
   41f6e:	b08e           	cmpl %fp,%d0                                
   41f70:	6410           	bccs 41f82 <rtems_stack_checker_is_blown+0x2a><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
   41f72:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   41f76:	2f39 0005 e24c 	movel 5e24c <_Per_CPU_Information+0xc>,%sp@-<== NOT EXECUTED
   41f7c:	4eb9 0004 1e4a 	jsr 41e4a <Stack_check_report_blown_task>   <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
   41f82:	4e5e           	unlk %fp                                    
   41f84:	4200           	clrb %d0                                    <== NOT EXECUTED
                                                                      

00041fee <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) {
   41fee:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
   41ff2:	4879 0004 37bc 	pea 437bc <printk_plugin>                   <== NOT EXECUTED
   41ff8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   41ffa:	4eb9 0004 1f88 	jsr 41f88 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
   42000:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   42002:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00041f88 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
   41f88:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   41f8c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   41f8e:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
   41f92:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   41f94:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
  if ( !print )                                                       
   41f98:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   41f9a:	6746           	beqs 41fe2 <rtems_stack_checker_report_usage_with_plugin+0x5a><== NOT EXECUTED
    return;                                                           
                                                                      
  print_context = context;                                            
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   41f9c:	4879 0005 b0c2 	pea 5b0c2 <IntUartPollCallbacks.6221+0x136> <== NOT EXECUTED
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
   41fa2:	23c2 0005 d444 	movel %d2,5d444 <print_context>             <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   41fa8:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
  print_handler = print;                                              
   41faa:	23ca 0005 d448 	movel %a2,5d448 <print_handler>             <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   41fb0:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  (*print)( context,                                                  
   41fb2:	4879 0005 b0d9 	pea 5b0d9 <IntUartPollCallbacks.6221+0x14d> <== NOT EXECUTED
   41fb8:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   41fba:	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 );   
   41fbc:	4879 0004 1d28 	pea 41d28 <Stack_check_Dump_threads_usage>  <== NOT EXECUTED
   41fc2:	4eb9 0004 6c94 	jsr 46c94 <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);            
   41fc8:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   41fcc:	4eb9 0004 1d28 	jsr 41d28 <Stack_check_Dump_threads_usage>  <== NOT EXECUTED
  #endif                                                              
                                                                      
  print_context = NULL;                                               
  print_handler = NULL;                                               
   41fd2:	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;                                               
   41fd6:	42b9 0005 d444 	clrl 5d444 <print_context>                  <== NOT EXECUTED
  print_handler = NULL;                                               
   41fdc:	42b9 0005 d448 	clrl 5d448 <print_handler>                  <== NOT EXECUTED
}                                                                     
   41fe2:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   41fe6:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   41fea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041ef0 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
   41ef0:	4e56 0000      	linkw %fp,#0                                
   41ef4:	2f0a           	movel %a2,%sp@-                             
   41ef6:	246e 0008      	moveal %fp@(8),%a2                          
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool        sp_ok;                                                  
  bool        pattern_ok = true;                                      
                                                                      
  pattern = (void *) Stack_check_Get_pattern_area(the_stack)->pattern;
   41efa:	222a 00c2      	movel %a2@(194),%d1                         
   41efe:	5081           	addql #8,%d1                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   41f00:	202a 00c2      	movel %a2@(194),%d0                         
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
   41f04:	2f02           	movel %d2,%sp@-                             
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   41f06:	b08e           	cmpl %fp,%d0                                
   41f08:	620c           	bhis 41f16 <rtems_stack_checker_switch_extension+0x26><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
   41f0a:	d0aa 00be      	addl %a2@(190),%d0                          
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_switch_extension                              
 */                                                                   
void rtems_stack_checker_switch_extension(                            
   41f0e:	b08e           	cmpl %fp,%d0                                
   41f10:	54c2           	scc %d2                                     
   41f12:	4482           	negl %d2                                    
   41f14:	6002           	bras 41f18 <rtems_stack_checker_switch_extension+0x28>
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
   41f16:	4202           	clrb %d2                                    <== NOT EXECUTED
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
   41f18:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   41f1c:	4879 0005 dc48 	pea 5dc48 <Stack_check_Pattern>             
   41f22:	2f01           	movel %d1,%sp@-                             
   41f24:	4eb9 0004 d634 	jsr 4d634 <memcmp>                          
   41f2a:	4fef 000c      	lea %sp@(12),%sp                            
   41f2e:	4a80           	tstl %d0                                    
   41f30:	57c0           	seq %d0                                     
   41f32:	4480           	negl %d0                                    
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
   41f34:	4a02           	tstb %d2                                    
   41f36:	6704           	beqs 41f3c <rtems_stack_checker_switch_extension+0x4c><== NEVER TAKEN
   41f38:	4a00           	tstb %d0                                    
   41f3a:	6610           	bnes 41f4c <rtems_stack_checker_switch_extension+0x5c><== ALWAYS TAKEN
    Stack_check_report_blown_task( running, pattern_ok );             
   41f3c:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   41f42:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41f44:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   41f46:	4eb9 0004 1e4a 	jsr 41e4a <Stack_check_report_blown_task>   <== NOT EXECUTED
  }                                                                   
}                                                                     
   41f4c:	242e fff8      	movel %fp@(-8),%d2                          
   41f50:	246e fffc      	moveal %fp@(-4),%a2                         
   41f54:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b680 <rtems_string_to_double>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4b680:	4e56 ffe8      	linkw %fp,#-24                              <== NOT EXECUTED
   4b684:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 <== NOT EXECUTED
   4b688:	282e 0008      	movel %fp@(8),%d4                           <== NOT EXECUTED
   4b68c:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
   4b690:	266e 0010      	moveal %fp@(16),%a3                         <== NOT EXECUTED
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4b694:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   4b696:	6768           	beqs 4b700 <rtems_string_to_double+0x80>    <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b698:	4eb9 0004 e390 	jsr 4e390 <__errno>                         <== NOT EXECUTED
  *n    = 0;                                                          
   4b69e:	4281           	clrl %d1                                    <== NOT EXECUTED
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b6a0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
  *n    = 0;                                                          
   4b6a2:	4280           	clrl %d0                                    <== NOT EXECUTED
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b6a4:	4290           	clrl %a0@                                   <== NOT EXECUTED
  *n    = 0;                                                          
   4b6a6:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
   4b6a8:	2541 0004      	movel %d1,%a2@(4)                           <== NOT EXECUTED
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
   4b6ac:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   4b6b0:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4b6b2:	4eb9 0005 0d86 	jsr 50d86 <strtod>                          <== NOT EXECUTED
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b6b8:	508f           	addql #8,%sp                                <== NOT EXECUTED
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
   4b6ba:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   4b6bc:	2601           	movel %d1,%d3                               <== NOT EXECUTED
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b6be:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   4b6c0:	6704           	beqs 4b6c6 <rtems_string_to_double+0x46>    <== NOT EXECUTED
    *endptr = end;                                                    
   4b6c2:	26ae fffc      	movel %fp@(-4),%a3@                         <== NOT EXECUTED
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4b6c6:	b8ae fffc      	cmpl %fp@(-4),%d4                           <== NOT EXECUTED
   4b6ca:	6738           	beqs 4b704 <rtems_string_to_double+0x84>    <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4b6cc:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   4b6d0:	2f3c 7fef ffff 	movel #2146435071,%sp@-                     <== NOT EXECUTED
   4b6d6:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4b6d8:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b6da:	4eb9 0005 bd94 	jsr 5bd94 <__gtdf2>                         <== NOT EXECUTED
   4b6e0:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4b6e4:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b6e6:	6f0e           	bles 4b6f6 <rtems_string_to_double+0x76>    <== NOT EXECUTED
   4b6e8:	4eb9 0004 e390 	jsr 4e390 <__errno>                         <== NOT EXECUTED
   4b6ee:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4b6f0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b6f2:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   4b6f4:	6712           	beqs 4b708 <rtems_string_to_double+0x88>    <== NOT EXECUTED
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4b6f6:	2482           	movel %d2,%a2@                              <== NOT EXECUTED
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b6f8:	4280           	clrl %d0                                    <== NOT EXECUTED
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4b6fa:	2543 0004      	movel %d3,%a2@(4)                           <== NOT EXECUTED
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b6fe:	600a           	bras 4b70a <rtems_string_to_double+0x8a>    <== NOT EXECUTED
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4b700:	7009           	moveq #9,%d0                                <== NOT EXECUTED
   4b702:	6006           	bras 4b70a <rtems_string_to_double+0x8a>    <== NOT EXECUTED
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4b704:	700b           	moveq #11,%d0                               <== NOT EXECUTED
   4b706:	6002           	bras 4b70a <rtems_string_to_double+0x8a>    <== NOT EXECUTED
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4b708:	700a           	moveq #10,%d0                               <== NOT EXECUTED
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4b70a:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            <== NOT EXECUTED
   4b710:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b714 <rtems_string_to_float>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4b714:	4e56 ffec      	linkw %fp,#-20                              
   4b718:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b71c:	262e 0008      	movel %fp@(8),%d3                           
   4b720:	246e 000c      	moveal %fp@(12),%a2                         
   4b724:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4b728:	4a8a           	tstl %a2                                    
   4b72a:	6756           	beqs 4b782 <rtems_string_to_float+0x6e>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b72c:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b732:	2040           	moveal %d0,%a0                              
   4b734:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4b736:	24bc 0000 0000 	movel #0,%a2@                               
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
   4b73c:	486e fffc      	pea %fp@(-4)                                
   4b740:	2f03           	movel %d3,%sp@-                             
   4b742:	4eb9 0005 0da6 	jsr 50da6 <strtof>                          
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b748:	508f           	addql #8,%sp                                
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
   4b74a:	2400           	movel %d0,%d2                               
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b74c:	4a8b           	tstl %a3                                    
   4b74e:	6704           	beqs 4b754 <rtems_string_to_float+0x40>     
    *endptr = end;                                                    
   4b750:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4b754:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b758:	672c           	beqs 4b786 <rtems_string_to_float+0x72>     
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4b75a:	2f3c 7f7f ffff 	movel #2139095039,%sp@-                     
   4b760:	2f02           	movel %d2,%sp@-                             
   4b762:	4eb9 0005 be24 	jsr 5be24 <__gtsf2>                         
   4b768:	508f           	addql #8,%sp                                
   4b76a:	4a80           	tstl %d0                                    
   4b76c:	6f0e           	bles 4b77c <rtems_string_to_float+0x68>     <== ALWAYS TAKEN
   4b76e:	4eb9 0004 e390 	jsr 4e390 <__errno>                         <== NOT EXECUTED
   4b774:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4b776:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b778:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   4b77a:	670e           	beqs 4b78a <rtems_string_to_float+0x76>     <== NOT EXECUTED
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4b77c:	2482           	movel %d2,%a2@                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b77e:	4280           	clrl %d0                                    
   4b780:	600a           	bras 4b78c <rtems_string_to_float+0x78>     
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4b782:	7009           	moveq #9,%d0                                
   4b784:	6006           	bras 4b78c <rtems_string_to_float+0x78>     
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4b786:	700b           	moveq #11,%d0                               
   4b788:	6002           	bras 4b78c <rtems_string_to_float+0x78>     
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4b78a:	700a           	moveq #10,%d0                               <== NOT EXECUTED
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4b78c:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b792:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b798 <rtems_string_to_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4b798:	4e56 ffec      	linkw %fp,#-20                              
   4b79c:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b7a0:	262e 0008      	movel %fp@(8),%d3                           
   4b7a4:	246e 000c      	moveal %fp@(12),%a2                         
   4b7a8:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4b7ac:	4a8a           	tstl %a2                                    
   4b7ae:	674c           	beqs 4b7fc <rtems_string_to_int+0x64>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b7b0:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b7b6:	2040           	moveal %d0,%a0                              
   4b7b8:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4b7ba:	4292           	clrl %a2@                                   
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4b7bc:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4b7c0:	486e fffc      	pea %fp@(-4)                                
   4b7c4:	2f03           	movel %d3,%sp@-                             
   4b7c6:	4eb9 0005 0f5c 	jsr 50f5c <strtol>                          
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b7cc:	4fef 000c      	lea %sp@(12),%sp                            
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4b7d0:	2400           	movel %d0,%d2                               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b7d2:	4a8b           	tstl %a3                                    
   4b7d4:	6704           	beqs 4b7da <rtems_string_to_int+0x42>       
    *endptr = end;                                                    
   4b7d6:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4b7da:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b7de:	6720           	beqs 4b800 <rtems_string_to_int+0x68>       <== NEVER TAKEN
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4b7e0:	0c82 7fff ffff 	cmpil #2147483647,%d2                       
   4b7e6:	660e           	bnes 4b7f6 <rtems_string_to_int+0x5e>       
   4b7e8:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b7ee:	7222           	moveq #34,%d1                               
   4b7f0:	2040           	moveal %d0,%a0                              
   4b7f2:	b290           	cmpl %a0@,%d1                               
   4b7f4:	670e           	beqs 4b804 <rtems_string_to_int+0x6c>       
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4b7f6:	2482           	movel %d2,%a2@                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b7f8:	4280           	clrl %d0                                    
   4b7fa:	600a           	bras 4b806 <rtems_string_to_int+0x6e>       
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4b7fc:	7009           	moveq #9,%d0                                
   4b7fe:	6006           	bras 4b806 <rtems_string_to_int+0x6e>       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4b800:	700b           	moveq #11,%d0                               
   4b802:	6002           	bras 4b806 <rtems_string_to_int+0x6e>       
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4b804:	700a           	moveq #10,%d0                               
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4b806:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b80c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b8ac <rtems_string_to_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4b8ac:	4e56 ffec      	linkw %fp,#-20                              
   4b8b0:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b8b4:	262e 0008      	movel %fp@(8),%d3                           
   4b8b8:	246e 000c      	moveal %fp@(12),%a2                         
   4b8bc:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4b8c0:	4a8a           	tstl %a2                                    
   4b8c2:	6754           	beqs 4b918 <rtems_string_to_long+0x6c>      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b8c4:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b8ca:	2040           	moveal %d0,%a0                              
   4b8cc:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4b8ce:	4292           	clrl %a2@                                   
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4b8d0:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4b8d4:	486e fffc      	pea %fp@(-4)                                
   4b8d8:	2f03           	movel %d3,%sp@-                             
   4b8da:	4eb9 0005 0f5c 	jsr 50f5c <strtol>                          
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b8e0:	4fef 000c      	lea %sp@(12),%sp                            
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4b8e4:	2400           	movel %d0,%d2                               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b8e6:	4a8b           	tstl %a3                                    
   4b8e8:	6704           	beqs 4b8ee <rtems_string_to_long+0x42>      
    *endptr = end;                                                    
   4b8ea:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4b8ee:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b8f2:	6728           	beqs 4b91c <rtems_string_to_long+0x70>      
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4b8f4:	0c82 7fff ffff 	cmpil #2147483647,%d2                       
   4b8fa:	6708           	beqs 4b904 <rtems_string_to_long+0x58>      
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
   4b8fc:	0c82 8000 0000 	cmpil #-2147483648,%d2                      
   4b902:	660e           	bnes 4b912 <rtems_string_to_long+0x66>      
   4b904:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b90a:	7222           	moveq #34,%d1                               
   4b90c:	2040           	moveal %d0,%a0                              
   4b90e:	b290           	cmpl %a0@,%d1                               
   4b910:	670e           	beqs 4b920 <rtems_string_to_long+0x74>      <== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4b912:	2482           	movel %d2,%a2@                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b914:	4280           	clrl %d0                                    
   4b916:	600a           	bras 4b922 <rtems_string_to_long+0x76>      
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4b918:	7009           	moveq #9,%d0                                
   4b91a:	6006           	bras 4b922 <rtems_string_to_long+0x76>      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4b91c:	700b           	moveq #11,%d0                               
   4b91e:	6002           	bras 4b922 <rtems_string_to_long+0x76>      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4b920:	700a           	moveq #10,%d0                               
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4b922:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b928:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b810 <rtems_string_to_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4b810:	4e56 ffe8      	linkw %fp,#-24                              
   4b814:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   4b818:	282e 0008      	movel %fp@(8),%d4                           
   4b81c:	246e 000c      	moveal %fp@(12),%a2                         
   4b820:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4b824:	4a8a           	tstl %a2                                    
   4b826:	676e           	beqs 4b896 <rtems_string_to_long_long+0x86> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b828:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b82e:	2040           	moveal %d0,%a0                              
  *n    = 0;                                                          
   4b830:	4280           	clrl %d0                                    
   4b832:	4281           	clrl %d1                                    
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b834:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4b836:	2480           	movel %d0,%a2@                              
   4b838:	2541 0004      	movel %d1,%a2@(4)                           
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4b83c:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4b840:	486e fffc      	pea %fp@(-4)                                
   4b844:	2f04           	movel %d4,%sp@-                             
   4b846:	4eb9 0005 0f7c 	jsr 50f7c <strtoll>                         
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b84c:	4fef 000c      	lea %sp@(12),%sp                            
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4b850:	2400           	movel %d0,%d2                               
   4b852:	2601           	movel %d1,%d3                               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b854:	4a8b           	tstl %a3                                    
   4b856:	6704           	beqs 4b85c <rtems_string_to_long_long+0x4c> 
    *endptr = end;                                                    
   4b858:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4b85c:	b8ae fffc      	cmpl %fp@(-4),%d4                           
   4b860:	6738           	beqs 4b89a <rtems_string_to_long_long+0x8a> 
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4b862:	203c 7fff ffff 	movel #2147483647,%d0                       
   4b868:	72ff           	moveq #-1,%d1                               
   4b86a:	9283           	subl %d3,%d1                                
   4b86c:	9182           	subxl %d2,%d0                               
   4b86e:	670e           	beqs 4b87e <rtems_string_to_long_long+0x6e> 
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
   4b870:	203c 8000 0000 	movel #-2147483648,%d0                      
   4b876:	4281           	clrl %d1                                    
   4b878:	9283           	subl %d3,%d1                                
   4b87a:	9182           	subxl %d2,%d0                               
   4b87c:	660e           	bnes 4b88c <rtems_string_to_long_long+0x7c> 
   4b87e:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b884:	7222           	moveq #34,%d1                               
   4b886:	2040           	moveal %d0,%a0                              
   4b888:	b290           	cmpl %a0@,%d1                               
   4b88a:	6712           	beqs 4b89e <rtems_string_to_long_long+0x8e> <== ALWAYS TAKEN
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b88c:	4280           	clrl %d0                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4b88e:	2482           	movel %d2,%a2@                              
   4b890:	2543 0004      	movel %d3,%a2@(4)                           
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b894:	600a           	bras 4b8a0 <rtems_string_to_long_long+0x90> 
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4b896:	7009           	moveq #9,%d0                                
   4b898:	6006           	bras 4b8a0 <rtems_string_to_long_long+0x90> 
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4b89a:	700b           	moveq #11,%d0                               
   4b89c:	6002           	bras 4b8a0 <rtems_string_to_long_long+0x90> 
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4b89e:	700a           	moveq #10,%d0                               
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4b8a0:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   4b8a6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b92c <rtems_string_to_pointer>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4b92c:	4e56 ffec      	linkw %fp,#-20                              
   4b930:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b934:	262e 0008      	movel %fp@(8),%d3                           
   4b938:	246e 000c      	moveal %fp@(12),%a2                         
   4b93c:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4b940:	4a8a           	tstl %a2                                    
   4b942:	674a           	beqs 4b98e <rtems_string_to_pointer+0x62>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b944:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4b94a:	2040           	moveal %d0,%a0                              
   4b94c:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4b94e:	4292           	clrl %a2@                                   
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
   4b950:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   4b954:	486e fffc      	pea %fp@(-4)                                
   4b958:	2f03           	movel %d3,%sp@-                             
   4b95a:	4eb9 0005 1390 	jsr 51390 <strtoul>                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b960:	4fef 000c      	lea %sp@(12),%sp                            
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
   4b964:	2400           	movel %d0,%d2                               
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4b966:	4a8b           	tstl %a3                                    
   4b968:	6704           	beqs 4b96e <rtems_string_to_pointer+0x42>   
    *endptr = end;                                                    
   4b96a:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4b96e:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b972:	671e           	beqs 4b992 <rtems_string_to_pointer+0x66>   
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4b974:	70ff           	moveq #-1,%d0                               
   4b976:	b082           	cmpl %d2,%d0                                
   4b978:	660e           	bnes 4b988 <rtems_string_to_pointer+0x5c>   <== ALWAYS TAKEN
   4b97a:	4eb9 0004 e390 	jsr 4e390 <__errno>                         <== NOT EXECUTED
   4b980:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4b982:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b984:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   4b986:	670e           	beqs 4b996 <rtems_string_to_pointer+0x6a>   <== NOT EXECUTED
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
   4b988:	2482           	movel %d2,%a2@                              
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4b98a:	4280           	clrl %d0                                    
   4b98c:	600a           	bras 4b998 <rtems_string_to_pointer+0x6c>   
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4b98e:	7009           	moveq #9,%d0                                
   4b990:	6006           	bras 4b998 <rtems_string_to_pointer+0x6c>   
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4b992:	700b           	moveq #11,%d0                               
   4b994:	6002           	bras 4b998 <rtems_string_to_pointer+0x6c>   
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4b996:	700a           	moveq #10,%d0                               <== NOT EXECUTED
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4b998:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b99e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ba00 <rtems_string_to_unsigned_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4ba00:	4e56 ffec      	linkw %fp,#-20                              
   4ba04:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4ba08:	262e 0008      	movel %fp@(8),%d3                           
   4ba0c:	246e 000c      	moveal %fp@(12),%a2                         
   4ba10:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4ba14:	4a8a           	tstl %a2                                    
   4ba16:	674a           	beqs 4ba62 <rtems_string_to_unsigned_int+0x62>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4ba18:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4ba1e:	2040           	moveal %d0,%a0                              
   4ba20:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4ba22:	4292           	clrl %a2@                                   
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4ba24:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4ba28:	486e fffc      	pea %fp@(-4)                                
   4ba2c:	2f03           	movel %d3,%sp@-                             
   4ba2e:	4eb9 0005 1390 	jsr 51390 <strtoul>                         
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4ba34:	4fef 000c      	lea %sp@(12),%sp                            
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4ba38:	2400           	movel %d0,%d2                               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4ba3a:	4a8b           	tstl %a3                                    
   4ba3c:	6704           	beqs 4ba42 <rtems_string_to_unsigned_int+0x42>
    *endptr = end;                                                    
   4ba3e:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4ba42:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4ba46:	671e           	beqs 4ba66 <rtems_string_to_unsigned_int+0x66>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4ba48:	70ff           	moveq #-1,%d0                               
   4ba4a:	b082           	cmpl %d2,%d0                                
   4ba4c:	660e           	bnes 4ba5c <rtems_string_to_unsigned_int+0x5c>
   4ba4e:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4ba54:	7222           	moveq #34,%d1                               
   4ba56:	2040           	moveal %d0,%a0                              
   4ba58:	b290           	cmpl %a0@,%d1                               
   4ba5a:	670e           	beqs 4ba6a <rtems_string_to_unsigned_int+0x6a><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4ba5c:	2482           	movel %d2,%a2@                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4ba5e:	4280           	clrl %d0                                    
   4ba60:	600a           	bras 4ba6c <rtems_string_to_unsigned_int+0x6c>
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4ba62:	7009           	moveq #9,%d0                                
   4ba64:	6006           	bras 4ba6c <rtems_string_to_unsigned_int+0x6c>
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4ba66:	700b           	moveq #11,%d0                               
   4ba68:	6002           	bras 4ba6c <rtems_string_to_unsigned_int+0x6c>
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4ba6a:	700a           	moveq #10,%d0                               
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4ba6c:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4ba72:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004bb00 <rtems_string_to_unsigned_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4bb00:	4e56 ffec      	linkw %fp,#-20                              
   4bb04:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4bb08:	262e 0008      	movel %fp@(8),%d3                           
   4bb0c:	246e 000c      	moveal %fp@(12),%a2                         
   4bb10:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4bb14:	4a8a           	tstl %a2                                    
   4bb16:	674a           	beqs 4bb62 <rtems_string_to_unsigned_long+0x62>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4bb18:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4bb1e:	2040           	moveal %d0,%a0                              
   4bb20:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4bb22:	4292           	clrl %a2@                                   
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4bb24:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4bb28:	486e fffc      	pea %fp@(-4)                                
   4bb2c:	2f03           	movel %d3,%sp@-                             
   4bb2e:	4eb9 0005 1390 	jsr 51390 <strtoul>                         
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4bb34:	4fef 000c      	lea %sp@(12),%sp                            
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4bb38:	2400           	movel %d0,%d2                               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4bb3a:	4a8b           	tstl %a3                                    
   4bb3c:	6704           	beqs 4bb42 <rtems_string_to_unsigned_long+0x42>
    *endptr = end;                                                    
   4bb3e:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4bb42:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4bb46:	671e           	beqs 4bb66 <rtems_string_to_unsigned_long+0x66>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4bb48:	70ff           	moveq #-1,%d0                               
   4bb4a:	b082           	cmpl %d2,%d0                                
   4bb4c:	660e           	bnes 4bb5c <rtems_string_to_unsigned_long+0x5c>
   4bb4e:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4bb54:	7222           	moveq #34,%d1                               
   4bb56:	2040           	moveal %d0,%a0                              
   4bb58:	b290           	cmpl %a0@,%d1                               
   4bb5a:	670e           	beqs 4bb6a <rtems_string_to_unsigned_long+0x6a><== ALWAYS TAKEN
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4bb5c:	2482           	movel %d2,%a2@                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4bb5e:	4280           	clrl %d0                                    
   4bb60:	600a           	bras 4bb6c <rtems_string_to_unsigned_long+0x6c>
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4bb62:	7009           	moveq #9,%d0                                
   4bb64:	6006           	bras 4bb6c <rtems_string_to_unsigned_long+0x6c>
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4bb66:	700b           	moveq #11,%d0                               
   4bb68:	6002           	bras 4bb6c <rtems_string_to_unsigned_long+0x6c>
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4bb6a:	700a           	moveq #10,%d0                               
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4bb6c:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4bb72:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ba78 <rtems_string_to_unsigned_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
   4ba78:	4e56 ffe8      	linkw %fp,#-24                              
   4ba7c:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   4ba80:	282e 0008      	movel %fp@(8),%d4                           
   4ba84:	246e 000c      	moveal %fp@(12),%a2                         
   4ba88:	266e 0010      	moveal %fp@(16),%a3                         
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
   4ba8c:	4a8a           	tstl %a2                                    
   4ba8e:	675c           	beqs 4baec <rtems_string_to_unsigned_long_long+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4ba90:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4ba96:	2040           	moveal %d0,%a0                              
  *n    = 0;                                                          
   4ba98:	4280           	clrl %d0                                    
   4ba9a:	4281           	clrl %d1                                    
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4ba9c:	4290           	clrl %a0@                                   
  *n    = 0;                                                          
   4ba9e:	2480           	movel %d0,%a2@                              
   4baa0:	2541 0004      	movel %d1,%a2@(4)                           
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4baa4:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4baa8:	486e fffc      	pea %fp@(-4)                                
   4baac:	2f04           	movel %d4,%sp@-                             
   4baae:	4eb9 0005 13b0 	jsr 513b0 <strtoull>                        
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4bab4:	4fef 000c      	lea %sp@(12),%sp                            
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
   4bab8:	2400           	movel %d0,%d2                               
   4baba:	2601           	movel %d1,%d3                               
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
   4babc:	4a8b           	tstl %a3                                    
   4babe:	6704           	beqs 4bac4 <rtems_string_to_unsigned_long_long+0x4c>
    *endptr = end;                                                    
   4bac0:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
   4bac4:	b8ae fffc      	cmpl %fp@(-4),%d4                           
   4bac8:	6726           	beqs 4baf0 <rtems_string_to_unsigned_long_long+0x78>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
   4baca:	70ff           	moveq #-1,%d0                               
   4bacc:	72ff           	moveq #-1,%d1                               
   4bace:	9283           	subl %d3,%d1                                
   4bad0:	9182           	subxl %d2,%d0                               
   4bad2:	660e           	bnes 4bae2 <rtems_string_to_unsigned_long_long+0x6a>
   4bad4:	4eb9 0004 e390 	jsr 4e390 <__errno>                         
   4bada:	7222           	moveq #34,%d1                               
   4badc:	2040           	moveal %d0,%a0                              
   4bade:	b290           	cmpl %a0@,%d1                               
   4bae0:	6712           	beqs 4baf4 <rtems_string_to_unsigned_long_long+0x7c><== ALWAYS TAKEN
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4bae2:	4280           	clrl %d0                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
   4bae4:	2482           	movel %d2,%a2@                              
   4bae6:	2543 0004      	movel %d3,%a2@(4)                           
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
   4baea:	600a           	bras 4baf6 <rtems_string_to_unsigned_long_long+0x7e>
{                                                                     
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4baec:	7009           	moveq #9,%d0                                
   4baee:	6006           	bras 4baf6 <rtems_string_to_unsigned_long_long+0x7e>
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4baf0:	700b           	moveq #11,%d0                               
   4baf2:	6002           	bras 4baf6 <rtems_string_to_unsigned_long_long+0x7e>
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
   4baf4:	700a           	moveq #10,%d0                               
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4baf6:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   4bafc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045940 <rtems_task_create>: size_t stack_size, rtems_mode initial_modes, rtems_attribute attribute_set, rtems_id *id ) {
   45940:	4e56 ffe8      	linkw %fp,#-24                              
   45944:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   45948:	266e 0008      	moveal %fp@(8),%a3                          
   4594c:	262e 000c      	movel %fp@(12),%d3                          
   45950:	242e 0014      	movel %fp@(20),%d2                          
   45954:	282e 0018      	movel %fp@(24),%d4                          
   45958:	286e 001c      	moveal %fp@(28),%a4                         
  Priority_Control         core_priority;                             
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
                                                                      
  if ( !id )                                                          
   4595c:	4a8c           	tstl %a4                                    
   4595e:	6700 00f0      	beqw 45a50 <rtems_task_create+0x110>        
   return RTEMS_INVALID_ADDRESS;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
   45962:	4a8b           	tstl %a3                                    
   45964:	6700 00ee      	beqw 45a54 <rtems_task_create+0x114>        
                                                                      
  /*                                                                  
   *  Validate the RTEMS API priority and convert it to the core priority range.
   */                                                                 
                                                                      
  if ( !_Attributes_Is_system_task( the_attribute_set ) ) {           
   45968:	4a44           	tstw %d4                                    
   4596a:	6d1e           	blts 4598a <rtems_task_create+0x4a>         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
   4596c:	4a83           	tstl %d3                                    
   4596e:	6712           	beqs 45982 <rtems_task_create+0x42>         <== NEVER TAKEN
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
   45970:	4280           	clrl %d0                                    
   45972:	1039 0005 c152 	moveb 5c152 <rtems_maximum_priority>,%d0    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
   45978:	b083           	cmpl %d3,%d0                                
   4597a:	54c0           	scc %d0                                     
   4597c:	49c0           	extbl %d0                                   
   4597e:	4480           	negl %d0                                    
   45980:	6002           	bras 45984 <rtems_task_create+0x44>         
   45982:	4280           	clrl %d0                                    
    if ( !_RTEMS_tasks_Priority_is_valid( initial_priority ) )        
   45984:	4a00           	tstb %d0                                    
   45986:	6700 00d0      	beqw 45a58 <rtems_task_create+0x118>        
   */                                                                 
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
   4598a:	2f39 0005 d9ae 	movel 5d9ae <_RTEMS_Allocator_Mutex>,%sp@-  
   45990:	4eb9 0004 6098 	jsr 46098 <_API_Mutex_Lock>                 
 *  This function allocates a task control block from                 
 *  the inactive chain of free task control blocks.                   
 */                                                                   
RTEMS_INLINE_ROUTINE Thread_Control *_RTEMS_tasks_Allocate( void )    
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_RTEMS_tasks_Information );
   45996:	4879 0005 d886 	pea 5d886 <_RTEMS_tasks_Information>        
   4599c:	4eb9 0004 6a08 	jsr 46a08 <_Objects_Allocate>               
   *         the event of an error.                                   
   */                                                                 
                                                                      
  the_thread = _RTEMS_tasks_Allocate();                               
                                                                      
  if ( !the_thread ) {                                                
   459a2:	508f           	addql #8,%sp                                
   459a4:	2440           	moveal %d0,%a2                              
   459a6:	4a80           	tstl %d0                                    
   459a8:	6614           	bnes 459be <rtems_task_create+0x7e>         
    _RTEMS_Unlock_allocator();                                        
   459aa:	2f39 0005 d9ae 	movel 5d9ae <_RTEMS_Allocator_Mutex>,%sp@-  
   459b0:	4eb9 0004 60f8 	jsr 460f8 <_API_Mutex_Unlock>               
    return RTEMS_TOO_MANY;                                            
   459b6:	588f           	addql #4,%sp                                
   459b8:	7005           	moveq #5,%d0                                
   459ba:	6000 009e      	braw 45a5a <rtems_task_create+0x11a>        
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
                                                                      
  status = _Thread_Initialize(                                        
   459be:	7007           	moveq #7,%d0                                
   459c0:	2f0b           	movel %a3,%sp@-                             
   459c2:	47f9 0004 60f8 	lea 460f8 <_API_Mutex_Unlock>,%a3           
   459c8:	c082           	andl %d2,%d0                                
   459ca:	2f00           	movel %d0,%sp@-                             
   459cc:	0802 0009      	btst #9,%d2                                 
   459d0:	56c0           	sne %d0                                     
   459d2:	42a7           	clrl %sp@-                                  
   459d4:	49c0           	extbl %d0                                   
   459d6:	4480           	negl %d0                                    
   459d8:	2f00           	movel %d0,%sp@-                             
   459da:	0802 0008      	btst #8,%d2                                 
   459de:	57c0           	seq %d0                                     
   459e0:	49c0           	extbl %d0                                   
   459e2:	4480           	negl %d0                                    
   459e4:	2f00           	movel %d0,%sp@-                             
   459e6:	7001           	moveq #1,%d0                                
   459e8:	2f03           	movel %d3,%sp@-                             
   459ea:	c084           	andl %d4,%d0                                
   459ec:	2f00           	movel %d0,%sp@-                             
   459ee:	2f2e 0010      	movel %fp@(16),%sp@-                        
   459f2:	42a7           	clrl %sp@-                                  
   459f4:	2f0a           	movel %a2,%sp@-                             
   459f6:	4879 0005 d886 	pea 5d886 <_RTEMS_tasks_Information>        
   459fc:	4eb9 0004 776c 	jsr 4776c <_Thread_Initialize>              
    NULL,        /* no budget algorithm callout */                    
    _Modes_Get_interrupt_level(initial_modes),                        
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  if ( !status ) {                                                    
   45a02:	4fef 002c      	lea %sp@(44),%sp                            
   45a06:	4a00           	tstb %d0                                    
   45a08:	6624           	bnes 45a2e <rtems_task_create+0xee>         
 */                                                                   
RTEMS_INLINE_ROUTINE void _RTEMS_tasks_Free (                         
  Thread_Control *the_task                                            
)                                                                     
{                                                                     
  _Objects_Free(                                                      
   45a0a:	2f2a 0008      	movel %a2@(8),%sp@-                         
   45a0e:	4eb9 0004 6d80 	jsr 46d80 <_Objects_Get_information_id>     
   45a14:	2f0a           	movel %a2,%sp@-                             
   45a16:	2f00           	movel %d0,%sp@-                             
   45a18:	4eb9 0004 6cfc 	jsr 46cfc <_Objects_Free>                   
#if defined(RTEMS_MULTIPROCESSING)                                    
    if ( is_global )                                                  
      _Objects_MP_Free_global_object( the_global_object );            
#endif                                                                
    _RTEMS_tasks_Free( the_thread );                                  
    _RTEMS_Unlock_allocator();                                        
   45a1e:	2f39 0005 d9ae 	movel 5d9ae <_RTEMS_Allocator_Mutex>,%sp@-  
   45a24:	4e93           	jsr %a3@                                    
    return RTEMS_UNSATISFIED;                                         
   45a26:	4fef 0010      	lea %sp@(16),%sp                            
   45a2a:	700d           	moveq #13,%d0                               
   45a2c:	602c           	bras 45a5a <rtems_task_create+0x11a>        
  }                                                                   
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
  asr = &api->Signal;                                                 
   45a2e:	206a 010a      	moveal %a2@(266),%a0                        
 *    id               - thread id                                    
 *    RTEMS_SUCCESSFUL - if successful                                
 *    error code       - if unsuccessful                              
 */                                                                   
                                                                      
rtems_status_code rtems_task_create(                                  
   45a32:	0802 000a      	btst #10,%d2                                
   45a36:	57c0           	seq %d0                                     
   45a38:	4480           	negl %d0                                    
  }                                                                   
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
  asr = &api->Signal;                                                 
                                                                      
  asr->is_enabled = _Modes_Is_asr_disabled(initial_modes) ? false : true;
   45a3a:	1140 0008      	moveb %d0,%a0@(8)                           
                                                                      
  *id = the_thread->Object.id;                                        
   45a3e:	28aa 0008      	movel %a2@(8),%a4@                          
    );                                                                
                                                                      
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
   45a42:	2f39 0005 d9ae 	movel 5d9ae <_RTEMS_Allocator_Mutex>,%sp@-  
   45a48:	4e93           	jsr %a3@                                    
  return RTEMS_SUCCESSFUL;                                            
   45a4a:	588f           	addql #4,%sp                                
   45a4c:	4280           	clrl %d0                                    
   45a4e:	600a           	bras 45a5a <rtems_task_create+0x11a>        
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
                                                                      
  if ( !id )                                                          
   return RTEMS_INVALID_ADDRESS;                                      
   45a50:	7009           	moveq #9,%d0                                
   45a52:	6006           	bras 45a5a <rtems_task_create+0x11a>        
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
   45a54:	7003           	moveq #3,%d0                                
   45a56:	6002           	bras 45a5a <rtems_task_create+0x11a>        
   *  Validate the RTEMS API priority and convert it to the core priority range.
   */                                                                 
                                                                      
  if ( !_Attributes_Is_system_task( the_attribute_set ) ) {           
    if ( !_RTEMS_tasks_Priority_is_valid( initial_priority ) )        
      return RTEMS_INVALID_PRIORITY;                                  
   45a58:	7013           	moveq #19,%d0                               
   }                                                                  
#endif                                                                
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   45a5a:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   45a60:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004725c <rtems_task_get_note>: rtems_status_code rtems_task_get_note( rtems_id id, uint32_t notepad, uint32_t *note ) {
   4725c:	4e56 fffc      	linkw %fp,#-4                               
   47260:	202e 0008      	movel %fp@(8),%d0                           
   47264:	2f0a           	movel %a2,%sp@-                             
   47266:	246e 0010      	moveal %fp@(16),%a2                         
   4726a:	2f02           	movel %d2,%sp@-                             
   4726c:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
   47270:	4a39 0005 e8c4 	tstb 5e8c4 <Configuration_RTEMS_API+0x4>    
   47276:	6752           	beqs 472ca <rtems_task_get_note+0x6e>       <== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  if ( !note )                                                        
   47278:	4a8a           	tstl %a2                                    
   4727a:	6752           	beqs 472ce <rtems_task_get_note+0x72>       
  /*                                                                  
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
   4727c:	720f           	moveq #15,%d1                               
   4727e:	b282           	cmpl %d2,%d1                                
   47280:	6550           	bcss 472d2 <rtems_task_get_note+0x76>       
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
   47282:	4a80           	tstl %d0                                    
   47284:	670c           	beqs 47292 <rtems_task_get_note+0x36>       
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
   47286:	2079 0006 07e6 	moveal 607e6 <_Per_CPU_Information+0xc>,%a0 
                                                                      
  /*                                                                  
   *  Optimize the most likely case to avoid the Thread_Dispatch.     
   */                                                                 
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ||            
   4728c:	b0a8 0008      	cmpl %a0@(8),%d0                            
   47290:	6610           	bnes 472a2 <rtems_task_get_note+0x46>       
       _Objects_Are_ids_equal( id, _Thread_Executing->Object.id ) ) { 
      api = _Thread_Executing->API_Extensions[ THREAD_API_RTEMS ];    
   47292:	2079 0006 07e6 	moveal 607e6 <_Per_CPU_Information+0xc>,%a0 
      *note = api->Notepads[ notepad ];                               
   47298:	2068 010a      	moveal %a0@(266),%a0                        
   4729c:	24b0 2c1e      	movel %a0@(0000001e,%d2:l:4),%a2@           
   472a0:	6024           	bras 472c6 <rtems_task_get_note+0x6a>       
      return RTEMS_SUCCESSFUL;                                        
  }                                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   472a2:	486e fffc      	pea %fp@(-4)                                
   472a6:	2f00           	movel %d0,%sp@-                             
   472a8:	4eb9 0004 9110 	jsr 49110 <_Thread_Get>                     
  switch ( location ) {                                               
   472ae:	508f           	addql #8,%sp                                
   472b0:	4aae fffc      	tstl %fp@(-4)                               
   472b4:	6620           	bnes 472d6 <rtems_task_get_note+0x7a>       
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
      *note = api->Notepads[ notepad ];                               
   472b6:	2240           	moveal %d0,%a1                              
   472b8:	2069 010a      	moveal %a1@(266),%a0                        
   472bc:	24b0 2c1e      	movel %a0@(0000001e,%d2:l:4),%a2@           
      _Thread_Enable_dispatch();                                      
   472c0:	4eb9 0004 90ea 	jsr 490ea <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   472c6:	4280           	clrl %d0                                    
   472c8:	600e           	bras 472d8 <rtems_task_get_note+0x7c>       
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
                                                                      
  if ( !rtems_configuration_get_notepads_enabled() )                  
    return RTEMS_NOT_CONFIGURED;                                      
   472ca:	7016           	moveq #22,%d0                               
   472cc:	600a           	bras 472d8 <rtems_task_get_note+0x7c>       
                                                                      
  if ( !note )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
   472ce:	7009           	moveq #9,%d0                                
   472d0:	6006           	bras 472d8 <rtems_task_get_note+0x7c>       
   *  NOTE:  There is no check for < RTEMS_NOTEPAD_FIRST because that would
   *         be checking an unsigned number for being negative.       
   */                                                                 
                                                                      
  if ( notepad > RTEMS_NOTEPAD_LAST )                                 
    return RTEMS_INVALID_NUMBER;                                      
   472d2:	700a           	moveq #10,%d0                               
   472d4:	6002           	bras 472d8 <rtems_task_get_note+0x7c>       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   472d6:	7004           	moveq #4,%d0                                
}                                                                     
   472d8:	242e fff4      	movel %fp@(-12),%d2                         
   472dc:	246e fff8      	moveal %fp@(-8),%a2                         
   472e0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c5a8 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
   4c5a8:	4e56 ffe4      	linkw %fp,#-28                              
   4c5ac:	48d7 1c3c      	moveml %d2-%d5/%a2-%a4,%sp@                 
   4c5b0:	262e 0008      	movel %fp@(8),%d3                           
   4c5b4:	282e 000c      	movel %fp@(12),%d4                          
   4c5b8:	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 )                                           
   4c5bc:	4a8c           	tstl %a4                                    
   4c5be:	6700 010c      	beqw 4c6cc <rtems_task_mode+0x124>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
   4c5c2:	2679 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a3 
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
   4c5c8:	4a2b 0074      	tstb %a3@(116)                              
   4c5cc:	57c2           	seq %d2                                     
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   4c5ce:	246b 010a      	moveal %a3@(266),%a2                        
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
   4c5d2:	49c2           	extbl %d2                                   
   4c5d4:	0282 0000 0100 	andil #256,%d2                              
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
   4c5da:	4aab 007a      	tstl %a3@(122)                              
   4c5de:	6704           	beqs 4c5e4 <rtems_task_mode+0x3c>           
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
   4c5e0:	08c2 0009      	bset #9,%d2                                 
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
   4c5e4:	4a2a 0008      	tstb %a2@(8)                                
   4c5e8:	57c5           	seq %d5                                     
  old_mode |= _ISR_Get_level();                                       
   4c5ea:	4eb9 0004 89d0 	jsr 489d0 <_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;           
   4c5f0:	49c5           	extbl %d5                                   
   4c5f2:	0285 0000 0400 	andil #1024,%d5                             
   4c5f8:	8085           	orl %d5,%d0                                 
  old_mode |= _ISR_Get_level();                                       
   4c5fa:	8082           	orl %d2,%d0                                 
   4c5fc:	2880           	movel %d0,%a4@                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
   4c5fe:	0804 0008      	btst #8,%d4                                 
   4c602:	670c           	beqs 4c610 <rtems_task_mode+0x68>           
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
   4c604:	0803 0008      	btst #8,%d3                                 
   4c608:	57c0           	seq %d0                                     
   4c60a:	4480           	negl %d0                                    
   4c60c:	1740 0074      	moveb %d0,%a3@(116)                         
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
   4c610:	0804 0009      	btst #9,%d4                                 
   4c614:	671c           	beqs 4c632 <rtems_task_mode+0x8a>           
    if ( _Modes_Is_timeslice(mode_set) ) {                            
   4c616:	0803 0009      	btst #9,%d3                                 
   4c61a:	6712           	beqs 4c62e <rtems_task_mode+0x86>           
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
   4c61c:	41f9 0005 d8c4 	lea 5d8c4 <_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;
   4c622:	7001           	moveq #1,%d0                                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
   4c624:	2750 0076      	movel %a0@,%a3@(118)                        
  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;
   4c628:	2740 007a      	movel %d0,%a3@(122)                         
   4c62c:	6004           	bras 4c632 <rtems_task_mode+0x8a>           
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
   4c62e:	42ab 007a      	clrl %a3@(122)                              
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
   4c632:	7007           	moveq #7,%d0                                
   4c634:	c084           	andl %d4,%d0                                
   4c636:	6712           	beqs 4c64a <rtems_task_mode+0xa2>           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
   4c638:	40c0           	movew %sr,%d0                               
 */                                                                   
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (           
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  return ( mode_set & RTEMS_INTERRUPT_MASK );                         
   4c63a:	7207           	moveq #7,%d1                                
   4c63c:	c283           	andl %d3,%d1                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
   4c63e:	0280 0000 f8ff 	andil #63743,%d0                            
   4c644:	e189           	lsll #8,%d1                                 
   4c646:	8081           	orl %d1,%d0                                 
   4c648:	46c0           	movew %d0,%sr                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
   4c64a:	0804 000a      	btst #10,%d4                                
   4c64e:	6740           	beqs 4c690 <rtems_task_mode+0xe8>           
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
   4c650:	4281           	clrl %d1                                    
   4c652:	122a 0008      	moveb %a2@(8),%d1                           
   4c656:	4282           	clrl %d2                                    
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
   4c658:	0803 000a      	btst #10,%d3                                
   4c65c:	57c0           	seq %d0                                     
   4c65e:	4480           	negl %d0                                    
  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 ) {                        
   4c660:	1400           	moveb %d0,%d2                               
   4c662:	b282           	cmpl %d2,%d1                                
   4c664:	672a           	beqs 4c690 <rtems_task_mode+0xe8>           
      asr->is_enabled = is_asr_enabled;                               
   4c666:	1540 0008      	moveb %d0,%a2@(8)                           
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
   4c66a:	203c 0000 0700 	movel #1792,%d0                             
   4c670:	40c1           	movew %sr,%d1                               
   4c672:	8081           	orl %d1,%d0                                 
   4c674:	46c0           	movew %d0,%sr                               
    _signals                     = information->signals_pending;      
   4c676:	202a 0016      	movel %a2@(22),%d0                          
    information->signals_pending = information->signals_posted;       
   4c67a:	256a 0012 0016 	movel %a2@(18),%a2@(22)                     
    information->signals_posted  = _signals;                          
   4c680:	2540 0012      	movel %d0,%a2@(18)                          
  _ISR_Enable( _level );                                              
   4c684:	46c1           	movew %d1,%sr                               
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
   4c686:	4aaa 0012      	tstl %a2@(18)                               
   4c68a:	56c0           	sne %d0                                     
   4c68c:	4480           	negl %d0                                    
   4c68e:	6002           	bras 4c692 <rtems_task_mode+0xea>           
   4c690:	4200           	clrb %d0                                    
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
   4c692:	7203           	moveq #3,%d1                                
   4c694:	b2b9 0005 da7a 	cmpl 5da7a <_System_state_Current>,%d1      
   4c69a:	6634           	bnes 4c6d0 <rtems_task_mode+0x128>          <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Thread_Evaluate_mode( void )               
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
   4c69c:	2079 0005 dd9c 	moveal 5dd9c <_Per_CPU_Information+0xc>,%a0 
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
   4c6a2:	4aa8 0010      	tstl %a0@(16)                               
   4c6a6:	660e           	bnes 4c6b6 <rtems_task_mode+0x10e>          <== NEVER TAKEN
   4c6a8:	b1f9 0005 dda0 	cmpal 5dda0 <_Per_CPU_Information+0x10>,%a0 
   4c6ae:	6710           	beqs 4c6c0 <rtems_task_mode+0x118>          
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
   4c6b0:	4a28 0074      	tstb %a0@(116)                              
   4c6b4:	670a           	beqs 4c6c0 <rtems_task_mode+0x118>          <== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
   4c6b6:	7001           	moveq #1,%d0                                
   4c6b8:	13c0 0005 dda8 	moveb %d0,5dda8 <_Per_CPU_Information+0x18> 
   4c6be:	6004           	bras 4c6c4 <rtems_task_mode+0x11c>          
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
   4c6c0:	4a00           	tstb %d0                                    
   4c6c2:	670c           	beqs 4c6d0 <rtems_task_mode+0x128>          
      _Thread_Dispatch();                                             
   4c6c4:	4eb9 0004 757c 	jsr 4757c <_Thread_Dispatch>                
   4c6ca:	6004           	bras 4c6d0 <rtems_task_mode+0x128>          
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4c6cc:	7009           	moveq #9,%d0                                
   4c6ce:	6002           	bras 4c6d2 <rtems_task_mode+0x12a>          
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
      _Thread_Dispatch();                                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4c6d0:	4280           	clrl %d0                                    
}                                                                     
   4c6d2:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4c6d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049480 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
   49480:	4e56 fffc      	linkw %fp,#-4                               
   49484:	2f0a           	movel %a2,%sp@-                             
   49486:	246e 0010      	moveal %fp@(16),%a2                         
   4948a:	2f02           	movel %d2,%sp@-                             
   4948c:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
   49490:	670c           	beqs 4949e <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 ) );             
   49492:	4280           	clrl %d0                                    
   49494:	1039 0005 faf2 	moveb 5faf2 <rtems_maximum_priority>,%d0    
   4949a:	b082           	cmpl %d2,%d0                                
   4949c:	654e           	bcss 494ec <rtems_task_set_priority+0x6c>   
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
   4949e:	4a8a           	tstl %a2                                    
   494a0:	674e           	beqs 494f0 <rtems_task_set_priority+0x70>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   494a2:	486e fffc      	pea %fp@(-4)                                
   494a6:	2f2e 0008      	movel %fp@(8),%sp@-                         
   494aa:	4eb9 0004 b198 	jsr 4b198 <_Thread_Get>                     
  switch ( location ) {                                               
   494b0:	508f           	addql #8,%sp                                
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   494b2:	2040           	moveal %d0,%a0                              
  switch ( location ) {                                               
   494b4:	4aae fffc      	tstl %fp@(-4)                               
   494b8:	663a           	bnes 494f4 <rtems_task_set_priority+0x74>   
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
   494ba:	24a8 0014      	movel %a0@(20),%a2@                         
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
   494be:	4a82           	tstl %d2                                    
   494c0:	6720           	beqs 494e2 <rtems_task_set_priority+0x62>   
        the_thread->real_priority = new_priority;                     
   494c2:	2142 0018      	movel %d2,%a0@(24)                          
        if ( the_thread->resource_count == 0 ||                       
   494c6:	4aa8 001c      	tstl %a0@(28)                               
   494ca:	6706           	beqs 494d2 <rtems_task_set_priority+0x52>   
   494cc:	b4a8 0014      	cmpl %a0@(20),%d2                           
   494d0:	6410           	bccs 494e2 <rtems_task_set_priority+0x62>   <== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
   494d2:	42a7           	clrl %sp@-                                  
   494d4:	2f02           	movel %d2,%sp@-                             
   494d6:	2f08           	movel %a0,%sp@-                             
   494d8:	4eb9 0004 ac8c 	jsr 4ac8c <_Thread_Change_priority>         
   494de:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
      _Thread_Enable_dispatch();                                      
   494e2:	4eb9 0004 b172 	jsr 4b172 <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   494e8:	4280           	clrl %d0                                    
   494ea:	600a           	bras 494f6 <rtems_task_set_priority+0x76>   
  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;                                    
   494ec:	7013           	moveq #19,%d0                               
   494ee:	6006           	bras 494f6 <rtems_task_set_priority+0x76>   
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
   494f0:	7009           	moveq #9,%d0                                
   494f2:	6002           	bras 494f6 <rtems_task_set_priority+0x76>   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   494f4:	7004           	moveq #4,%d0                                
}                                                                     
   494f6:	242e fff4      	movel %fp@(-12),%d2                         
   494fa:	246e fff8      	moveal %fp@(-8),%a2                         
   494fe:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00044a50 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
   44a50:	7209           	moveq #9,%d1                                
#include <rtems/termiostypes.h>                                       
                                                                      
int rtems_termios_baud_to_index(                                      
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
   44a52:	4e56 0000      	linkw %fp,#0                                
   44a56:	202e 0008      	movel %fp@(8),%d0                           
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   44a5a:	b280           	cmpl %d0,%d1                                
   44a5c:	6700 00c4      	beqw 44b22 <rtems_termios_baud_to_index+0xd2>
   44a60:	6d50           	blts 44ab2 <rtems_termios_baud_to_index+0x62>
   44a62:	123c 0004      	moveb #4,%d1                                
   44a66:	b280           	cmpl %d0,%d1                                
   44a68:	6700 00a4      	beqw 44b0e <rtems_termios_baud_to_index+0xbe>
   44a6c:	6d28           	blts 44a96 <rtems_termios_baud_to_index+0x46>
   44a6e:	123c 0001      	moveb #1,%d1                                
   44a72:	b280           	cmpl %d0,%d1                                
   44a74:	6700 00dc      	beqw 44b52 <rtems_termios_baud_to_index+0x102>
   44a78:	6d0a           	blts 44a84 <rtems_termios_baud_to_index+0x34>
   44a7a:	4a80           	tstl %d0                                    
   44a7c:	6700 0084      	beqw 44b02 <rtems_termios_baud_to_index+0xb2>
   44a80:	6000 00cc      	braw 44b4e <rtems_termios_baud_to_index+0xfe>
   44a84:	7202           	moveq #2,%d1                                
   44a86:	b280           	cmpl %d0,%d1                                
   44a88:	677c           	beqs 44b06 <rtems_termios_baud_to_index+0xb6>
   44a8a:	123c 0003      	moveb #3,%d1                                
   44a8e:	b280           	cmpl %d0,%d1                                
   44a90:	6600 00bc      	bnew 44b4e <rtems_termios_baud_to_index+0xfe>
   44a94:	6074           	bras 44b0a <rtems_termios_baud_to_index+0xba>
   44a96:	7206           	moveq #6,%d1                                
   44a98:	b280           	cmpl %d0,%d1                                
   44a9a:	677a           	beqs 44b16 <rtems_termios_baud_to_index+0xc6>
   44a9c:	6e74           	bgts 44b12 <rtems_termios_baud_to_index+0xc2>
   44a9e:	123c 0007      	moveb #7,%d1                                
   44aa2:	b280           	cmpl %d0,%d1                                
   44aa4:	6774           	beqs 44b1a <rtems_termios_baud_to_index+0xca>
   44aa6:	123c 0008      	moveb #8,%d1                                
   44aaa:	b280           	cmpl %d0,%d1                                
   44aac:	6600 00a0      	bnew 44b4e <rtems_termios_baud_to_index+0xfe>
   44ab0:	606c           	bras 44b1e <rtems_termios_baud_to_index+0xce>
   44ab2:	720e           	moveq #14,%d1                               
   44ab4:	b280           	cmpl %d0,%d1                                
   44ab6:	677e           	beqs 44b36 <rtems_termios_baud_to_index+0xe6>
   44ab8:	6d1c           	blts 44ad6 <rtems_termios_baud_to_index+0x86>
   44aba:	123c 000b      	moveb #11,%d1                               
   44abe:	b280           	cmpl %d0,%d1                                
   44ac0:	6768           	beqs 44b2a <rtems_termios_baud_to_index+0xda>
   44ac2:	6e62           	bgts 44b26 <rtems_termios_baud_to_index+0xd6>
   44ac4:	123c 000c      	moveb #12,%d1                               
   44ac8:	b280           	cmpl %d0,%d1                                
   44aca:	6762           	beqs 44b2e <rtems_termios_baud_to_index+0xde>
   44acc:	123c 000d      	moveb #13,%d1                               
   44ad0:	b280           	cmpl %d0,%d1                                
   44ad2:	667a           	bnes 44b4e <rtems_termios_baud_to_index+0xfe><== NEVER TAKEN
   44ad4:	605c           	bras 44b32 <rtems_termios_baud_to_index+0xe2>
   44ad6:	0c80 0000 1002 	cmpil #4098,%d0                             
   44adc:	6764           	beqs 44b42 <rtems_termios_baud_to_index+0xf2>
   44ade:	6e10           	bgts 44af0 <rtems_termios_baud_to_index+0xa0>
   44ae0:	720f           	moveq #15,%d1                               
   44ae2:	b280           	cmpl %d0,%d1                                
   44ae4:	6754           	beqs 44b3a <rtems_termios_baud_to_index+0xea>
   44ae6:	0c80 0000 1001 	cmpil #4097,%d0                             
   44aec:	6660           	bnes 44b4e <rtems_termios_baud_to_index+0xfe><== NEVER TAKEN
   44aee:	604e           	bras 44b3e <rtems_termios_baud_to_index+0xee>
   44af0:	0c80 0000 1003 	cmpil #4099,%d0                             
   44af6:	674e           	beqs 44b46 <rtems_termios_baud_to_index+0xf6>
   44af8:	0c80 0000 1004 	cmpil #4100,%d0                             
   44afe:	664e           	bnes 44b4e <rtems_termios_baud_to_index+0xfe><== NEVER TAKEN
   44b00:	6048           	bras 44b4a <rtems_termios_baud_to_index+0xfa>
    case B0:        baud_index =  0;  break;                          
   44b02:	4280           	clrl %d0                                    
   44b04:	604e           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
   44b06:	7002           	moveq #2,%d0                                
   44b08:	604a           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B110:      baud_index =  3;  break;                          
   44b0a:	7003           	moveq #3,%d0                                
   44b0c:	6046           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B134:      baud_index =  4;  break;                          
   44b0e:	7004           	moveq #4,%d0                                
   44b10:	6042           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B150:      baud_index =  5;  break;                          
   44b12:	7005           	moveq #5,%d0                                
   44b14:	603e           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B200:      baud_index =  6;  break;                          
   44b16:	7006           	moveq #6,%d0                                
   44b18:	603a           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B300:      baud_index =  7;  break;                          
   44b1a:	7007           	moveq #7,%d0                                
   44b1c:	6036           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B600:      baud_index =  8;  break;                          
   44b1e:	7008           	moveq #8,%d0                                
   44b20:	6032           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B1200:     baud_index =  9;  break;                          
   44b22:	7009           	moveq #9,%d0                                
   44b24:	602e           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B1800:     baud_index = 10;  break;                          
   44b26:	700a           	moveq #10,%d0                               
   44b28:	602a           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B2400:     baud_index = 11;  break;                          
   44b2a:	700b           	moveq #11,%d0                               
   44b2c:	6026           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B4800:     baud_index = 12;  break;                          
   44b2e:	700c           	moveq #12,%d0                               
   44b30:	6022           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B9600:     baud_index = 13;  break;                          
   44b32:	700d           	moveq #13,%d0                               
   44b34:	601e           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B19200:    baud_index = 14;  break;                          
   44b36:	700e           	moveq #14,%d0                               
   44b38:	601a           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B38400:    baud_index = 15;  break;                          
   44b3a:	700f           	moveq #15,%d0                               
   44b3c:	6016           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B57600:    baud_index = 16;  break;                          
   44b3e:	7010           	moveq #16,%d0                               
   44b40:	6012           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B115200:   baud_index = 17;  break;                          
   44b42:	7011           	moveq #17,%d0                               
   44b44:	600e           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B230400:   baud_index = 18;  break;                          
   44b46:	7012           	moveq #18,%d0                               
   44b48:	600a           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    case B460800:   baud_index = 19;  break;                          
   44b4a:	7013           	moveq #19,%d0                               
   44b4c:	6006           	bras 44b54 <rtems_termios_baud_to_index+0x104>
    default:        baud_index = -1;  break;                          
   44b4e:	70ff           	moveq #-1,%d0                               
   44b50:	6002           	bras 44b54 <rtems_termios_baud_to_index+0x104>
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
   44b52:	7001           	moveq #1,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   44b54:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004359c <rtems_termios_baud_to_number>: case B134: baud = 134; break; case B150: baud = 150; break; case B200: baud = 200; break; case B300: baud = 300; break; case B600: baud = 600; break; case B1200: baud = 1200; break;
   4359c:	203c 0000 04b0 	movel #1200,%d0                             
#include <rtems/termiostypes.h>                                       
                                                                      
int32_t rtems_termios_baud_to_number(                                 
  int termios_baud                                                    
)                                                                     
{                                                                     
   435a2:	4e56 0000      	linkw %fp,#0                                
   435a6:	222e 0008      	movel %fp@(8),%d1                           
   435aa:	2f02           	movel %d2,%sp@-                             
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   435ac:	7409           	moveq #9,%d2                                
   435ae:	b481           	cmpl %d1,%d2                                
   435b0:	6700 0108      	beqw 436ba <rtems_termios_baud_to_number+0x11e>
   435b4:	6d6c           	blts 43622 <rtems_termios_baud_to_number+0x86>
   435b6:	143c 0004      	moveb #4,%d2                                
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
   435ba:	303c 0086      	movew #134,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   435be:	b481           	cmpl %d1,%d2                                
   435c0:	6700 00f8      	beqw 436ba <rtems_termios_baud_to_number+0x11e>
   435c4:	6d2a           	blts 435f0 <rtems_termios_baud_to_number+0x54>
   435c6:	103c 0001      	moveb #1,%d0                                
   435ca:	b081           	cmpl %d1,%d0                                
   435cc:	6700 00ea      	beqw 436b8 <rtems_termios_baud_to_number+0x11c>
   435d0:	6d0a           	blts 435dc <rtems_termios_baud_to_number+0x40>
   435d2:	4a81           	tstl %d1                                    
   435d4:	6700 00d2      	beqw 436a8 <rtems_termios_baud_to_number+0x10c>
   435d8:	6000 00da      	braw 436b4 <rtems_termios_baud_to_number+0x118>
   435dc:	7402           	moveq #2,%d2                                
   435de:	b481           	cmpl %d1,%d2                                
   435e0:	6700 00ca      	beqw 436ac <rtems_termios_baud_to_number+0x110>
   435e4:	7003           	moveq #3,%d0                                
   435e6:	b081           	cmpl %d1,%d0                                
   435e8:	6600 00ca      	bnew 436b4 <rtems_termios_baud_to_number+0x118>
   435ec:	6000 00c2      	braw 436b0 <rtems_termios_baud_to_number+0x114>
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
   435f0:	203c 0000 00c8 	movel #200,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   435f6:	7406           	moveq #6,%d2                                
   435f8:	b481           	cmpl %d1,%d2                                
   435fa:	6700 00be      	beqw 436ba <rtems_termios_baud_to_number+0x11e>
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
   435fe:	0680 ffff ffce 	addil #-50,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43604:	b481           	cmpl %d1,%d2                                
   43606:	6e00 00b2      	bgtw 436ba <rtems_termios_baud_to_number+0x11e>
   4360a:	143c 0007      	moveb #7,%d2                                
    case B75:       baud =     75;  break;                            
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
   4360e:	303c 012c      	movew #300,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43612:	b481           	cmpl %d1,%d2                                
   43614:	6700 00a4      	beqw 436ba <rtems_termios_baud_to_number+0x11e>
   43618:	143c 0008      	moveb #8,%d2                                
    case B110:      baud =    110;  break;                            
    case B134:      baud =    134;  break;                            
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
   4361c:	303c 0258      	movew #600,%d0                              
   43620:	6038           	bras 4365a <rtems_termios_baud_to_number+0xbe>
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
   43622:	203c 0000 4b00 	movel #19200,%d0                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43628:	740e           	moveq #14,%d2                               
   4362a:	b481           	cmpl %d1,%d2                                
   4362c:	6700 008c      	beqw 436ba <rtems_termios_baud_to_number+0x11e>
   43630:	6d2e           	blts 43660 <rtems_termios_baud_to_number+0xc4><== NEVER TAKEN
   43632:	143c 000b      	moveb #11,%d2                               
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
   43636:	303c 0960      	movew #2400,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4363a:	b481           	cmpl %d1,%d2                                
   4363c:	677c           	beqs 436ba <rtems_termios_baud_to_number+0x11e><== NEVER TAKEN
    case B150:      baud =    150;  break;                            
    case B200:      baud =    200;  break;                            
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
   4363e:	303c 0708      	movew #1800,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43642:	b481           	cmpl %d1,%d2                                
   43644:	6e74           	bgts 436ba <rtems_termios_baud_to_number+0x11e>
   43646:	143c 000c      	moveb #12,%d2                               
    case B300:      baud =    300;  break;                            
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
   4364a:	303c 12c0      	movew #4800,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4364e:	b481           	cmpl %d1,%d2                                
   43650:	6768           	beqs 436ba <rtems_termios_baud_to_number+0x11e>
   43652:	143c 000d      	moveb #13,%d2                               
    case B600:      baud =    600;  break;                            
    case B1200:     baud =   1200;  break;                            
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
   43656:	303c 2580      	movew #9600,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4365a:	b481           	cmpl %d1,%d2                                
   4365c:	6656           	bnes 436b4 <rtems_termios_baud_to_number+0x118><== NEVER TAKEN
   4365e:	605a           	bras 436ba <rtems_termios_baud_to_number+0x11e>
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
   43660:	203c 0001 c200 	movel #115200,%d0                           
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43666:	0c81 0000 1002 	cmpil #4098,%d1                             
   4366c:	674c           	beqs 436ba <rtems_termios_baud_to_number+0x11e>
   4366e:	6e1a           	bgts 4368a <rtems_termios_baud_to_number+0xee>
   43670:	740f           	moveq #15,%d2                               
    case B1800:     baud =   1800;  break;                            
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
   43672:	203c 0000 9600 	movel #38400,%d0                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43678:	b481           	cmpl %d1,%d2                                
   4367a:	673e           	beqs 436ba <rtems_termios_baud_to_number+0x11e>
    case B2400:     baud =   2400;  break;                            
    case B4800:     baud =   4800;  break;                            
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
   4367c:	303c e100      	movew #-7936,%d0                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43680:	0c81 0000 1001 	cmpil #4097,%d1                             
   43686:	662c           	bnes 436b4 <rtems_termios_baud_to_number+0x118><== NEVER TAKEN
   43688:	6030           	bras 436ba <rtems_termios_baud_to_number+0x11e>
    case B9600:     baud =   9600;  break;                            
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
   4368a:	203c 0003 8400 	movel #230400,%d0                           
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43690:	0c81 0000 1003 	cmpil #4099,%d1                             
   43696:	6722           	beqs 436ba <rtems_termios_baud_to_number+0x11e>
    case B19200:    baud =  19200;  break;                            
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
    case B460800:   baud = 460800;  break;                            
   43698:	203c 0007 0800 	movel #460800,%d0                           
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4369e:	0c81 0000 1004 	cmpil #4100,%d1                             
   436a4:	660e           	bnes 436b4 <rtems_termios_baud_to_number+0x118><== NEVER TAKEN
   436a6:	6012           	bras 436ba <rtems_termios_baud_to_number+0x11e>
    case B0:        baud =      0;  break;                            
   436a8:	4280           	clrl %d0                                    
   436aa:	600e           	bras 436ba <rtems_termios_baud_to_number+0x11e>
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
   436ac:	704b           	moveq #75,%d0                               
   436ae:	600a           	bras 436ba <rtems_termios_baud_to_number+0x11e>
    case B110:      baud =    110;  break;                            
   436b0:	706e           	moveq #110,%d0                              
   436b2:	6006           	bras 436ba <rtems_termios_baud_to_number+0x11e>
    case B38400:    baud =  38400;  break;                            
    case B57600:    baud =  57600;  break;                            
    case B115200:   baud = 115200;  break;                            
    case B230400:   baud = 230400;  break;                            
    case B460800:   baud = 460800;  break;                            
    default:        baud =     -1;  break;                            
   436b4:	70ff           	moveq #-1,%d0                               
   436b6:	6002           	bras 436ba <rtems_termios_baud_to_number+0x11e>
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
   436b8:	7032           	moveq #50,%d0                               
    case B460800:   baud = 460800;  break;                            
    default:        baud =     -1;  break;                            
  }                                                                   
                                                                      
  return baud;                                                        
}                                                                     
   436ba:	241f           	movel %sp@+,%d2                             
   436bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043ca8 <rtems_termios_bufsize>: { rtems_termios_cbufsize = cbufsize; rtems_termios_raw_input_size = raw_input; rtems_termios_raw_output_size = raw_output; return RTEMS_SUCCESSFUL; }
   43ca8:	4280           	clrl %d0                                    <== NOT EXECUTED
rtems_status_code rtems_termios_bufsize (                             
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
   43caa:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  rtems_termios_cbufsize        = cbufsize;                           
   43cae:	41ee 0008      	lea %fp@(8),%a0                             <== NOT EXECUTED
   43cb2:	23d0 0005 c1b0 	movel %a0@,5c1b0 <rtems_termios_cbufsize>   <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
   43cb8:	41ee 000c      	lea %fp@(12),%a0                            <== NOT EXECUTED
   43cbc:	23d0 0005 c1b4 	movel %a0@,5c1b4 <rtems_termios_raw_input_size><== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
   43cc2:	41ee 0010      	lea %fp@(16),%a0                            <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   43cc6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  int raw_output                                                      
)                                                                     
{                                                                     
  rtems_termios_cbufsize        = cbufsize;                           
  rtems_termios_raw_input_size  = raw_input;                          
  rtems_termios_raw_output_size = raw_output;                         
   43cc8:	23d0 0005 c1b8 	movel %a0@,5c1b8 <rtems_termios_raw_output_size><== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      

00043b48 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
   43b48:	4e56 fff4      	linkw %fp,#-12                              
   43b4c:	48d7 1c00      	moveml %a2-%a4,%sp@                         
   43b50:	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(                                        
   43b54:	49f9 0004 5788 	lea 45788 <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;                   
   43b5a:	2053           	moveal %a3@,%a0                             
   43b5c:	2468 0034      	moveal %a0@(52),%a2                         
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
   43b60:	42a7           	clrl %sp@-                                  
   43b62:	42a7           	clrl %sp@-                                  
   43b64:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  
   43b6a:	4e94           	jsr %a4@                                    
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
   43b6c:	4fef 000c      	lea %sp@(12),%sp                            
   43b70:	4a80           	tstl %d0                                    
   43b72:	6670           	bnes 43be4 <rtems_termios_close+0x9c>       <== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
   43b74:	202a 0008      	movel %a2@(8),%d0                           
   43b78:	5380           	subql #1,%d0                                
   43b7a:	2540 0008      	movel %d0,%a2@(8)                           
   43b7e:	6600 0110      	bnew 43c90 <rtems_termios_close+0x148>      
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
   43b82:	202a 00cc      	movel %a2@(204),%d0                         
   43b86:	eb88           	lsll #5,%d0                                 
   43b88:	0680 0005 cfc0 	addil #380864,%d0                           
   43b8e:	2240           	moveal %d0,%a1                              
   43b90:	2051           	moveal %a1@,%a0                             
   43b92:	4a88           	tstl %a0                                    
   43b94:	6706           	beqs 43b9c <rtems_termios_close+0x54>       <== ALWAYS TAKEN
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
   43b96:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43b98:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43b9a:	6018           	bras 43bb4 <rtems_termios_close+0x6c>       <== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   43b9c:	42a7           	clrl %sp@-                                  
   43b9e:	42a7           	clrl %sp@-                                  
   43ba0:	2f2a 0018      	movel %a2@(24),%sp@-                        
   43ba4:	4e94           	jsr %a4@                                    
      if (sc != RTEMS_SUCCESSFUL) {                                   
   43ba6:	4fef 000c      	lea %sp@(12),%sp                            
   43baa:	4a80           	tstl %d0                                    
   43bac:	6636           	bnes 43be4 <rtems_termios_close+0x9c>       <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      }                                                               
            drainOutput (tty);                                        
   43bae:	2f0a           	movel %a2,%sp@-                             
   43bb0:	4eba fb4a      	jsr %pc@(436fc <drainOutput>)               
   43bb4:	588f           	addql #4,%sp                                
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts                              
   43bb6:	7002           	moveq #2,%d0                                
   43bb8:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   43bbc:	662e           	bnes 43bec <rtems_termios_close+0xa4>       
        == TERMIOS_TASK_DRIVEN) {                                     
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send(                                          
   43bbe:	4878 0001      	pea 1 <ADD>                                 
   43bc2:	49f9 0004 5338 	lea 45338 <rtems_event_send>,%a4            
   43bc8:	2f2a 00c4      	movel %a2@(196),%sp@-                       
   43bcc:	4e94           	jsr %a4@                                    
                                  tty->rxTaskId,                      
          TERMIOS_RX_TERMINATE_EVENT);                                
      if (sc != RTEMS_SUCCESSFUL)                                     
   43bce:	508f           	addql #8,%sp                                
   43bd0:	4a80           	tstl %d0                                    
   43bd2:	6610           	bnes 43be4 <rtems_termios_close+0x9c>       <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send(                                          
   43bd4:	4878 0001      	pea 1 <ADD>                                 
   43bd8:	2f2a 00c8      	movel %a2@(200),%sp@-                       
   43bdc:	4e94           	jsr %a4@                                    
                                  tty->txTaskId,                      
          TERMIOS_TX_TERMINATE_EVENT);                                
      if (sc != RTEMS_SUCCESSFUL)                                     
   43bde:	508f           	addql #8,%sp                                
   43be0:	4a80           	tstl %d0                                    
   43be2:	6708           	beqs 43bec <rtems_termios_close+0xa4>       <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
   43be4:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43be6:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
    }                                                                 
    if (tty->device.lastClose)                                        
   43bec:	206a 009c      	moveal %a2@(156),%a0                        
   43bf0:	4a88           	tstl %a0                                    
   43bf2:	6710           	beqs 43c04 <rtems_termios_close+0xbc>       
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
   43bf4:	2f0b           	movel %a3,%sp@-                             
   43bf6:	2f2a 0010      	movel %a2@(16),%sp@-                        
   43bfa:	2f2a 000c      	movel %a2@(12),%sp@-                        
   43bfe:	4e90           	jsr %a0@                                    
   43c00:	4fef 000c      	lea %sp@(12),%sp                            
    if (tty->forw == NULL) {                                          
   43c04:	2052           	moveal %a2@,%a0                             
   43c06:	4a88           	tstl %a0                                    
   43c08:	6610           	bnes 43c1a <rtems_termios_close+0xd2>       
      rtems_termios_ttyTail = tty->back;                              
   43c0a:	206a 0004      	moveal %a2@(4),%a0                          
   43c0e:	23c8 0005 d7fc 	movel %a0,5d7fc <rtems_termios_ttyTail>     
      if ( rtems_termios_ttyTail != NULL ) {                          
   43c14:	670a           	beqs 43c20 <rtems_termios_close+0xd8>       <== ALWAYS TAKEN
        rtems_termios_ttyTail->forw = NULL;                           
   43c16:	4290           	clrl %a0@                                   <== NOT EXECUTED
   43c18:	6006           	bras 43c20 <rtems_termios_close+0xd8>       <== NOT EXECUTED
      }                                                               
    }                                                                 
    else {                                                            
      tty->forw->back = tty->back;                                    
   43c1a:	216a 0004 0004 	movel %a2@(4),%a0@(4)                       
    }                                                                 
    if (tty->back == NULL) {                                          
   43c20:	206a 0004      	moveal %a2@(4),%a0                          
   43c24:	4a88           	tstl %a0                                    
   43c26:	6610           	bnes 43c38 <rtems_termios_close+0xf0>       <== NEVER TAKEN
      rtems_termios_ttyHead = tty->forw;                              
   43c28:	2052           	moveal %a2@,%a0                             
   43c2a:	23c8 0005 d800 	movel %a0,5d800 <rtems_termios_ttyHead>     
      if ( rtems_termios_ttyHead != NULL ) {                          
   43c30:	6708           	beqs 43c3a <rtems_termios_close+0xf2>       
        rtems_termios_ttyHead->back = NULL;                           
   43c32:	42a8 0004      	clrl %a0@(4)                                
   43c36:	6002           	bras 43c3a <rtems_termios_close+0xf2>       
      }                                                               
    }                                                                 
    else {                                                            
      tty->back->forw = tty->forw;                                    
   43c38:	2092           	movel %a2@,%a0@                             <== NOT EXECUTED
    }                                                                 
    rtems_semaphore_delete (tty->isem);                               
   43c3a:	2f2a 0014      	movel %a2@(20),%sp@-                        
   43c3e:	47f9 0004 56ec 	lea 456ec <rtems_semaphore_delete>,%a3      
   43c44:	4e93           	jsr %a3@                                    
    rtems_semaphore_delete (tty->osem);                               
   43c46:	2f2a 0018      	movel %a2@(24),%sp@-                        
   43c4a:	4e93           	jsr %a3@                                    
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
   43c4c:	2f2a 008c      	movel %a2@(140),%sp@-                       
   43c50:	4e93           	jsr %a3@                                    
    if ((tty->device.pollRead == NULL) ||                             
   43c52:	4fef 000c      	lea %sp@(12),%sp                            
   43c56:	4aaa 00a0      	tstl %a2@(160)                              
   43c5a:	6708           	beqs 43c64 <rtems_termios_close+0x11c>      
   43c5c:	7002           	moveq #2,%d0                                
   43c5e:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   43c62:	660c           	bnes 43c70 <rtems_termios_close+0x128>      
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
   43c64:	2f2a 0068      	movel %a2@(104),%sp@-                       
   43c68:	4eb9 0004 56ec 	jsr 456ec <rtems_semaphore_delete>          
   43c6e:	588f           	addql #4,%sp                                
    free (tty->rawInBuf.theBuf);                                      
   43c70:	2f2a 0058      	movel %a2@(88),%sp@-                        
   43c74:	47f9 0004 2854 	lea 42854 <free>,%a3                        
   43c7a:	4e93           	jsr %a3@                                    
    free (tty->rawOutBuf.theBuf);                                     
   43c7c:	2f2a 007c      	movel %a2@(124),%sp@-                       
   43c80:	4e93           	jsr %a3@                                    
    free (tty->cbuf);                                                 
   43c82:	2f2a 001c      	movel %a2@(28),%sp@-                        
   43c86:	4e93           	jsr %a3@                                    
    free (tty);                                                       
   43c88:	2f0a           	movel %a2,%sp@-                             
   43c8a:	4e93           	jsr %a3@                                    
   43c8c:	4fef 0010      	lea %sp@(16),%sp                            
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
   43c90:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  
   43c96:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   43c9c:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   43ca2:	4280           	clrl %d0                                    
   43ca4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044e96 <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) {
   44e96:	4e56 0000      	linkw %fp,#0                                
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
   44e9a:	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)                
{                                                                     
   44e9e:	206e 0008      	moveal %fp@(8),%a0                          
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
   44ea2:	d1a8 0090      	addl %d0,%a0@(144)                          
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
   44ea6:	7002           	moveq #2,%d0                                
   44ea8:	b0a8 00b4      	cmpl %a0@(180),%d0                          
   44eac:	661c           	bnes 44eca <rtems_termios_dequeue_characters+0x34>
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId,                              
   44eae:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   44eb2:	2f28 00c8      	movel %a0@(200),%sp@-                       
   44eb6:	4eb9 0004 5338 	jsr 45338 <rtems_event_send>                
              TERMIOS_TX_START_EVENT);                                
    if (sc != RTEMS_SUCCESSFUL)                                       
   44ebc:	508f           	addql #8,%sp                                
   44ebe:	4a80           	tstl %d0                                    
   44ec0:	672e           	beqs 44ef0 <rtems_termios_dequeue_characters+0x5a><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
   44ec2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44ec4:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
   44eca:	7005           	moveq #5,%d0                                
   44ecc:	b0a8 00cc      	cmpl %a0@(204),%d0                          
   44ed0:	6612           	bnes 44ee4 <rtems_termios_dequeue_characters+0x4e><== ALWAYS TAKEN
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
   44ed2:	2279 0005 d070 	moveal 5d070 <rtems_termios_linesw+0xb4>,%a1<== NOT EXECUTED
   44ed8:	4a89           	tstl %a1                                    <== NOT EXECUTED
   44eda:	6714           	beqs 44ef0 <rtems_termios_dequeue_characters+0x5a><== NOT EXECUTED
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
   44edc:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   44ede:	4e91           	jsr %a1@                                    <== NOT EXECUTED
   44ee0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44ee2:	600c           	bras 44ef0 <rtems_termios_dequeue_characters+0x5a><== NOT EXECUTED
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
   44ee4:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   44ee8:	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);                       
   44eea:	4ef9 0004 4c7a 	jmp 44c7a <rtems_termios_refill_transmitter>
}                                                                     
   44ef0:	4280           	clrl %d0                                    
   44ef2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000449b8 <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) {
   449b8:	4e56 ffd0      	linkw %fp,#-48                              
   449bc:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   449c0:	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) {             
   449c4:	202a 00cc      	movel %a2@(204),%d0                         
   449c8:	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) 
{                                                                     
   449ca:	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) {             
   449ce:	0680 0005 cfcc 	addil #380876,%d0                           
   449d4:	2040           	moveal %d0,%a0                              
 *       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) 
{                                                                     
   449d6:	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) {             
   449da:	4a90           	tstl %a0@                                   
   449dc:	6630           	bnes 44a0e <rtems_termios_enqueue_raw_characters+0x56><== NEVER TAKEN
   449de:	2802           	movel %d2,%d4                               
   449e0:	4282           	clrl %d2                                    
                                                                      
        /*                                                            
         * 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); 
   449e2:	4bea 0030      	lea %a2@(48),%a5                            
          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,                          
   449e6:	49ea 004a      	lea %a2@(74),%a4                            
  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) {             
   449ea:	4206           	clrb %d6                                    
   449ec:	6000 01f4      	braw 44be2 <rtems_termios_enqueue_raw_characters+0x22a>
    while (len--) {                                                   
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
   449f0:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   449f4:	5382           	subql #1,%d2                                <== NOT EXECUTED
   449f6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   449f8:	121b           	moveb %a3@+,%d1                             <== NOT EXECUTED
   449fa:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   449fc:	49c1           	extbl %d1                                   <== NOT EXECUTED
   449fe:	0680 0005 cfcc 	addil #380876,%d0                           <== NOT EXECUTED
   44a04:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   44a06:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   44a08:	2051           	moveal %a1@,%a0                             <== NOT EXECUTED
   44a0a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44a0c:	508f           	addql #8,%sp                                <== NOT EXECUTED
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
   44a0e:	4a82           	tstl %d2                                    <== NOT EXECUTED
   44a10:	66de           	bnes 449f0 <rtems_termios_enqueue_raw_characters+0x38><== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
   44a12:	4aaa 00e4      	tstl %a2@(228)                              <== NOT EXECUTED
   44a16:	6600 01e2      	bnew 44bfa <rtems_termios_enqueue_raw_characters+0x242><== NOT EXECUTED
   44a1a:	206a 00dc      	moveal %a2@(220),%a0                        <== NOT EXECUTED
   44a1e:	4a88           	tstl %a0                                    <== NOT EXECUTED
   44a20:	6700 01d8      	beqw 44bfa <rtems_termios_enqueue_raw_characters+0x242><== NOT EXECUTED
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
   44a24:	2f2a 00e0      	movel %a2@(224),%sp@-                       <== NOT EXECUTED
   44a28:	486a 0030      	pea %a2@(48)                                <== NOT EXECUTED
   44a2c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
   44a2e:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44a30:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   44a32:	2540 00e4      	movel %d0,%a2@(228)                         <== NOT EXECUTED
   44a36:	6000 01c4      	braw 44bfc <rtems_termios_enqueue_raw_characters+0x244><== NOT EXECUTED
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
   44a3a:	202a 00b8      	movel %a2@(184),%d0                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
   44a3e:	1e1b           	moveb %a3@+,%d7                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
   44a40:	0800 0009      	btst #9,%d0                                 
   44a44:	6740           	beqs 44a86 <rtems_termios_enqueue_raw_characters+0xce>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
   44a46:	4283           	clrl %d3                                    
   44a48:	162a 004a      	moveb %a2@(74),%d3                          
   44a4c:	4281           	clrl %d1                                    
   44a4e:	122a 0049      	moveb %a2@(73),%d1                          
   44a52:	1007           	moveb %d7,%d0                               
   44a54:	49c0           	extbl %d0                                   
   44a56:	b680           	cmpl %d0,%d3                                
   44a58:	661e           	bnes 44a78 <rtems_termios_enqueue_raw_characters+0xc0><== ALWAYS TAKEN
        if (c == tty->termios.c_cc[VSTART]) {                         
   44a5a:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44a5c:	660a           	bnes 44a68 <rtems_termios_enqueue_raw_characters+0xb0><== NOT EXECUTED
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
   44a5e:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44a62:	7210           	moveq #16,%d1                               <== NOT EXECUTED
   44a64:	b380           	eorl %d1,%d0                                <== NOT EXECUTED
   44a66:	6008           	bras 44a70 <rtems_termios_enqueue_raw_characters+0xb8><== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
   44a68:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44a6c:	7a10           	moveq #16,%d5                               <== NOT EXECUTED
   44a6e:	8085           	orl %d5,%d0                                 <== NOT EXECUTED
   44a70:	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) 
{                                                                     
   44a74:	7c01           	moveq #1,%d6                                <== NOT EXECUTED
   44a76:	6012           	bras 44a8a <rtems_termios_enqueue_raw_characters+0xd2><== NOT EXECUTED
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
   44a78:	b280           	cmpl %d0,%d1                                
   44a7a:	660a           	bnes 44a86 <rtems_termios_enqueue_raw_characters+0xce><== ALWAYS TAKEN
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
   44a7c:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44a80:	72ef           	moveq #-17,%d1                              <== NOT EXECUTED
   44a82:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   44a84:	60ea           	bras 44a70 <rtems_termios_enqueue_raw_characters+0xb8><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
   44a86:	4a06           	tstb %d6                                    
   44a88:	6750           	beqs 44ada <rtems_termios_enqueue_raw_characters+0x122><== ALWAYS TAKEN
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
   44a8a:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44a8e:	7a30           	moveq #48,%d5                               <== NOT EXECUTED
   44a90:	7220           	moveq #32,%d1                               <== NOT EXECUTED
   44a92:	c085           	andl %d5,%d0                                <== NOT EXECUTED
   44a94:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44a96:	6600 0148      	bnew 44be0 <rtems_termios_enqueue_raw_characters+0x228><== NOT EXECUTED
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
   44a9a:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   44aa0:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   44aa2:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   44aa4:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
   44aa6:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44aaa:	7adf           	moveq #-33,%d5                              <== NOT EXECUTED
   44aac:	c085           	andl %d5,%d0                                <== NOT EXECUTED
   44aae:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
   44ab2:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   44ab6:	671c           	beqs 44ad4 <rtems_termios_enqueue_raw_characters+0x11c><== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(tty->minor,                              
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);             
   44ab8:	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)(tty->minor,                              
   44abc:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44ac0:	d0aa 007c      	addl %a2@(124),%d0                          <== NOT EXECUTED
   44ac4:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44ac6:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44aca:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   44ace:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44ad0:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);             
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
   44ad4:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
   44ad6:	6000 0108      	braw 44be0 <rtems_termios_enqueue_raw_characters+0x228><== NOT EXECUTED
      }                                                               
    }                                                                 
    else {                                                            
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
   44ada:	222a 0060      	movel %a2@(96),%d1                          
   44ade:	5281           	addql #1,%d1                                
   44ae0:	202a 0064      	movel %a2@(100),%d0                         
   44ae4:	4c40 1003      	remul %d0,%d3,%d1                           
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
   44ae8:	203c 0000 0700 	movel #1792,%d0                             
   44aee:	40c1           	movew %sr,%d1                               
   44af0:	8081           	orl %d1,%d0                                 
   44af2:	46c0           	movew %d0,%sr                               
   44af4:	2d41 fffc      	movel %d1,%fp@(-4)                          
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
   44af8:	206a 005c      	moveal %a2@(92),%a0                         
   44afc:	202a 0064      	movel %a2@(100),%d0                         
   44b00:	9088           	subl %a0,%d0                                
   44b02:	2240           	moveal %d0,%a1                              
   44b04:	d3c3           	addal %d3,%a1                               
            % tty->rawInBuf.Size) > tty->highwater) &&                
   44b06:	2009           	movel %a1,%d0                               
   44b08:	2a2a 0064      	movel %a2@(100),%d5                         
   44b0c:	4c45 0001      	remul %d5,%d1,%d0                           
   44b10:	2d45 fff8      	movel %d5,%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)       
   44b14:	b2aa 00c0      	cmpl %a2@(192),%d1                          
   44b18:	6300 008a      	blsw 44ba4 <rtems_termios_enqueue_raw_characters+0x1ec>
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
   44b1c:	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) &&                
   44b20:	0800 0000      	btst #0,%d0                                 <== NOT EXECUTED
   44b24:	667e           	bnes 44ba4 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
   44b26:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44b2a:	7a01           	moveq #1,%d5                                <== NOT EXECUTED
   44b2c:	8085           	orl %d5,%d0                                 <== NOT EXECUTED
   44b2e:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
   44b32:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44b36:	0280 0000 0402 	andil #1026,%d0                             <== NOT EXECUTED
   44b3c:	0c80 0000 0400 	cmpil #1024,%d0                             <== NOT EXECUTED
   44b42:	6632           	bnes 44b76 <rtems_termios_enqueue_raw_characters+0x1be><== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
   44b44:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44b48:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   44b4c:	6606           	bnes 44b54 <rtems_termios_enqueue_raw_characters+0x19c><== NOT EXECUTED
   44b4e:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   44b52:	6650           	bnes 44ba4 <rtems_termios_enqueue_raw_characters+0x1ec><== 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;                             
   44b54:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44b58:	7202           	moveq #2,%d1                                <== NOT EXECUTED
   44b5a:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   44b5c:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
   44b60:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44b64:	2f0c           	movel %a4,%sp@-                             <== NOT EXECUTED
   44b66:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44b6a:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   44b6e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44b70:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44b74:	602e           	bras 44ba4 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        }                                                             
        else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
   44b76:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44b7a:	0280 0000 0104 	andil #260,%d0                              <== NOT EXECUTED
   44b80:	0c80 0000 0100 	cmpil #256,%d0                              <== NOT EXECUTED
   44b86:	661c           	bnes 44ba4 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
          tty->flow_ctrl |= FL_IRTSOFF;                               
   44b88:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44b8c:	7a04           	moveq #4,%d5                                <== NOT EXECUTED
   44b8e:	8085           	orl %d5,%d0                                 <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
   44b90:	206a 00ac      	moveal %a2@(172),%a0                        <== NOT EXECUTED
            (*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;                               
   44b94:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
   44b98:	4a88           	tstl %a0                                    <== NOT EXECUTED
   44b9a:	6708           	beqs 44ba4 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
   44b9c:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44ba0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44ba2:	588f           	addql #4,%sp                                <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
   44ba4:	202e fffc      	movel %fp@(-4),%d0                          
   44ba8:	46c0           	movew %d0,%sr                               
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
   44baa:	202a 005c      	movel %a2@(92),%d0                          
   44bae:	b083           	cmpl %d3,%d0                                
   44bb0:	6604           	bnes 44bb6 <rtems_termios_enqueue_raw_characters+0x1fe><== ALWAYS TAKEN
        dropped++;                                                    
   44bb2:	5282           	addql #1,%d2                                <== NOT EXECUTED
   44bb4:	602a           	bras 44be0 <rtems_termios_enqueue_raw_characters+0x228><== NOT EXECUTED
      }                                                               
      else {                                                          
        tty->rawInBuf.theBuf[newTail] = c;                            
   44bb6:	206a 0058      	moveal %a2@(88),%a0                         
   44bba:	1187 3800      	moveb %d7,%a0@(00000000,%d3:l)              
        tty->rawInBuf.Tail = newTail;                                 
   44bbe:	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 )) {
   44bc2:	4aaa 00e4      	tstl %a2@(228)                              
   44bc6:	6618           	bnes 44be0 <rtems_termios_enqueue_raw_characters+0x228><== NEVER TAKEN
   44bc8:	206a 00dc      	moveal %a2@(220),%a0                        
   44bcc:	4a88           	tstl %a0                                    
   44bce:	6710           	beqs 44be0 <rtems_termios_enqueue_raw_characters+0x228><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
   44bd0:	2f2a 00e0      	movel %a2@(224),%sp@-                       <== NOT EXECUTED
   44bd4:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   44bd6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
   44bd8:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44bda:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   44bdc:	2541 00e4      	movel %d1,%a2@(228)                         <== NOT EXECUTED
   44be0:	5384           	subql #1,%d4                                
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
   44be2:	4a84           	tstl %d4                                    
   44be4:	6600 fe54      	bnew 44a3a <rtems_termios_enqueue_raw_characters+0x82>
          tty->tty_rcvwakeup = 1;                                     
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
  tty->rawInBufDropped += dropped;                                    
   44be8:	d5aa 0078      	addl %d2,%a2@(120)                          
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
   44bec:	2f2a 0068      	movel %a2@(104),%sp@-                       
   44bf0:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  return dropped;                                                     
   44bf6:	588f           	addql #4,%sp                                
   44bf8:	6002           	bras 44bfc <rtems_termios_enqueue_raw_characters+0x244>
     */                                                               
    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;                                                         
   44bfa:	4282           	clrl %d2                                    <== NOT EXECUTED
    }                                                                 
  }                                                                   
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
   44bfc:	2002           	movel %d2,%d0                               
   44bfe:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            
   44c04:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000436c0 <rtems_termios_initialize>: struct rtems_termios_tty *rtems_termios_ttyTail; rtems_id rtems_termios_ttyMutex; void rtems_termios_initialize (void) {
   436c0:	4e56 0000      	linkw %fp,#0                                
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
   436c4:	4ab9 0005 d7f8 	tstl 5d7f8 <rtems_termios_ttyMutex>         
   436ca:	662c           	bnes 436f8 <rtems_termios_initialize+0x38>  
    sc = rtems_semaphore_create (                                     
   436cc:	4879 0005 d7f8 	pea 5d7f8 <rtems_termios_ttyMutex>          
   436d2:	42a7           	clrl %sp@-                                  
   436d4:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   436d8:	4878 0001      	pea 1 <ADD>                                 
   436dc:	2f3c 5452 6d69 	movel #1414688105,%sp@-                     
   436e2:	4eb9 0004 5550 	jsr 45550 <rtems_semaphore_create>          
      rtems_build_name ('T', 'R', 'm', 'i'),                          
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &rtems_termios_ttyMutex);                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
   436e8:	4fef 0014      	lea %sp@(20),%sp                            
   436ec:	4a80           	tstl %d0                                    
   436ee:	6708           	beqs 436f8 <rtems_termios_initialize+0x38>  <== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
   436f0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   436f2:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
  }                                                                   
}                                                                     
   436f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043cd0 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
   43cd0:	4e56 ffec      	linkw %fp,#-20                              
   43cd4:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   43cd8:	266e 0008      	moveal %fp@(8),%a3                          
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
   43cdc:	2053           	moveal %a3@,%a0                             
   43cde:	2468 0034      	moveal %a0@(52),%a2                         
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
   43ce2:	286b 0008      	moveal %a3@(8),%a4                          
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
   43ce6:	42ab 000c      	clrl %a3@(12)                               
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   43cea:	42a7           	clrl %sp@-                                  
   43cec:	42a7           	clrl %sp@-                                  
   43cee:	2f2a 0018      	movel %a2@(24),%sp@-                        
   43cf2:	4eb9 0004 5788 	jsr 45788 <rtems_semaphore_obtain>          
  if (sc != RTEMS_SUCCESSFUL) {                                       
   43cf8:	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);
   43cfc:	2400           	movel %d0,%d2                               
  if (sc != RTEMS_SUCCESSFUL) {                                       
   43cfe:	6708           	beqs 43d08 <rtems_termios_ioctl+0x38>       <== ALWAYS TAKEN
    args->ioctl_return = sc;                                          
   43d00:	2740 000c      	movel %d0,%a3@(12)                          <== NOT EXECUTED
    return sc;                                                        
   43d04:	6000 02d0      	braw 43fd6 <rtems_termios_ioctl+0x306>      <== NOT EXECUTED
  }                                                                   
  switch (args->command) {                                            
   43d08:	202b 0004      	movel %a3@(4),%d0                           
   43d0c:	7204           	moveq #4,%d1                                
   43d0e:	b280           	cmpl %d0,%d1                                
   43d10:	6700 0230      	beqw 43f42 <rtems_termios_ioctl+0x272>      
   43d14:	6514           	bcss 43d2a <rtems_termios_ioctl+0x5a>       <== NEVER TAKEN
   43d16:	7602           	moveq #2,%d3                                
   43d18:	b680           	cmpl %d0,%d3                                
   43d1a:	6774           	beqs 43d90 <rtems_termios_ioctl+0xc0>       
   43d1c:	6500 020a      	bcsw 43f28 <rtems_termios_ioctl+0x258>      
   43d20:	123c 0001      	moveb #1,%d1                                
   43d24:	b280           	cmpl %d0,%d1                                
   43d26:	662c           	bnes 43d54 <rtems_termios_ioctl+0x84>       <== NEVER TAKEN
   43d28:	604c           	bras 43d76 <rtems_termios_ioctl+0xa6>       
   43d2a:	0c80 4004 667f 	cmpil #1074030207,%d0                       <== NOT EXECUTED
   43d30:	6700 026e      	beqw 43fa0 <rtems_termios_ioctl+0x2d0>      <== NOT EXECUTED
   43d34:	620a           	bhis 43d40 <rtems_termios_ioctl+0x70>       <== NOT EXECUTED
   43d36:	7605           	moveq #5,%d3                                <== NOT EXECUTED
   43d38:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   43d3a:	6618           	bnes 43d54 <rtems_termios_ioctl+0x84>       <== NOT EXECUTED
   43d3c:	6000 01f2      	braw 43f30 <rtems_termios_ioctl+0x260>      <== NOT EXECUTED
   43d40:	0c80 4004 741a 	cmpil #1074033690,%d0                       <== NOT EXECUTED
   43d46:	6700 024e      	beqw 43f96 <rtems_termios_ioctl+0x2c6>      <== NOT EXECUTED
   43d4a:	0c80 8004 741b 	cmpil #-2147191781,%d0                      <== NOT EXECUTED
   43d50:	6700 0200      	beqw 43f52 <rtems_termios_ioctl+0x282>      <== NOT EXECUTED
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
   43d54:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   43d58:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   43d5a:	0680 0005 cfd4 	addil #380884,%d0                           <== NOT EXECUTED
   43d60:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   43d62:	2051           	moveal %a1@,%a0                             <== NOT EXECUTED
   43d64:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43d66:	6700 025c      	beqw 43fc4 <rtems_termios_ioctl+0x2f4>      <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
   43d6a:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   43d6c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43d6e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43d70:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   43d72:	6000 01ae      	braw 43f22 <rtems_termios_ioctl+0x252>      <== NOT EXECUTED
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
   43d76:	4878 0024      	pea 24 <OPER2+0x10>                         
   43d7a:	486a 0030      	pea %a2@(48)                                
   43d7e:	2f2b 0008      	movel %a3@(8),%sp@-                         
   43d82:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
    break;                                                            
   43d88:	4fef 000c      	lea %sp@(12),%sp                            
   43d8c:	6000 0238      	braw 43fc6 <rtems_termios_ioctl+0x2f6>      
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
   43d90:	4878 0024      	pea 24 <OPER2+0x10>                         
   43d94:	2f2b 0008      	movel %a3@(8),%sp@-                         
   43d98:	486a 0030      	pea %a2@(48)                                
   43d9c:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
   43da2:	202a 00b8      	movel %a2@(184),%d0                         
   43da6:	4fef 000c      	lea %sp@(12),%sp                            
   43daa:	0800 0009      	btst #9,%d0                                 
   43dae:	6760           	beqs 43e10 <rtems_termios_ioctl+0x140>      
      !(tty->termios.c_iflag & IXON)) {                               
   43db0:	202a 0030      	movel %a2@(48),%d0                          
   43db4:	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) &&                                 
   43dba:	6654           	bnes 43e10 <rtems_termios_ioctl+0x140>      <== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
   43dbc:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43dc0:	0280 ffff fdef 	andil #-529,%d0                             <== NOT EXECUTED
   43dc6:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
   43dca:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43dce:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   43dd2:	673c           	beqs 43e10 <rtems_termios_ioctl+0x140>      <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
   43dd4:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   43dda:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   43ddc:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   43dde:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
   43de0:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43de4:	72df           	moveq #-33,%d1                              <== NOT EXECUTED
   43de6:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   43de8:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
   43dec:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   43df0:	671c           	beqs 43e0e <rtems_termios_ioctl+0x13e>      <== NOT EXECUTED
  /* if chars available, call write function... */                    
  (*tty->device.write)(tty->minor,                                    
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);              
   43df2:	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)(tty->minor,                                    
   43df6:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   43dfa:	d0aa 007c      	addl %a2@(124),%d0                          <== NOT EXECUTED
   43dfe:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43e00:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43e04:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   43e08:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43e0a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
         &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);              
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
   43e0e:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
   43e10:	202a 00b8      	movel %a2@(184),%d0                         
   43e14:	0800 000a      	btst #10,%d0                                
   43e18:	6724           	beqs 43e3e <rtems_termios_ioctl+0x16e>      <== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXOFF)) {                              
   43e1a:	202a 0030      	movel %a2@(48),%d0                          <== NOT EXECUTED
   43e1e:	0280 0000 1000 	andil #4096,%d0                             <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
   43e24:	6618           	bnes 43e3e <rtems_termios_ioctl+0x16e>      <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
   43e26:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
   43e2a:	76fd           	moveq #-3,%d3                               <== NOT EXECUTED
  }                                                                   
  /* 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);                                    
   43e2c:	0880 000a      	bclr #10,%d0                                <== NOT EXECUTED
   43e30:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
   43e34:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43e38:	c083           	andl %d3,%d0                                <== NOT EXECUTED
   43e3a:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
   43e3e:	202a 00b8      	movel %a2@(184),%d0                         
   43e42:	0800 0008      	btst #8,%d0                                 
   43e46:	6736           	beqs 43e7e <rtems_termios_ioctl+0x1ae>      <== ALWAYS TAKEN
   43e48:	4aaa 0038      	tstl %a2@(56)                               <== NOT EXECUTED
   43e4c:	6d30           	blts 43e7e <rtems_termios_ioctl+0x1ae>      <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
   43e4e:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43e52:	0880 0008      	bclr #8,%d0                                 <== NOT EXECUTED
   43e56:	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)) {
   43e5a:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43e5e:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   43e60:	6610           	bnes 43e72 <rtems_termios_ioctl+0x1a2>      <== NOT EXECUTED
   43e62:	206a 00b0      	moveal %a2@(176),%a0                        <== NOT EXECUTED
   43e66:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43e68:	6708           	beqs 43e72 <rtems_termios_ioctl+0x1a2>      <== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
   43e6a:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43e6e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43e70:	588f           	addql #4,%sp                                <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
   43e72:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43e76:	72fb           	moveq #-5,%d1                               <== NOT EXECUTED
   43e78:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   43e7a:	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) {                               
   43e7e:	4aaa 0038      	tstl %a2@(56)                               
   43e82:	6c0c           	bges 43e90 <rtems_termios_ioctl+0x1c0>      <== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
   43e84:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43e88:	08c0 0008      	bset #8,%d0                                 <== NOT EXECUTED
   43e8c:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
   43e90:	222a 0030      	movel %a2@(48),%d1                          
   43e94:	0801 000c      	btst #12,%d1                                
   43e98:	670c           	beqs 43ea6 <rtems_termios_ioctl+0x1d6>      <== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDXOF;                                       
   43e9a:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43e9e:	08c0 000a      	bset #10,%d0                                <== NOT EXECUTED
   43ea2:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
   43ea6:	0801 000a      	btst #10,%d1                                
   43eaa:	670c           	beqs 43eb8 <rtems_termios_ioctl+0x1e8>      <== NEVER TAKEN
    tty->flow_ctrl |= FL_MDXON;                                       
   43eac:	202a 00b8      	movel %a2@(184),%d0                         
   43eb0:	08c0 0009      	bset #9,%d0                                 
   43eb4:	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) {                              
   43eb8:	7002           	moveq #2,%d0                                
   43eba:	c0aa 003c      	andl %a2@(60),%d0                           
   43ebe:	663a           	bnes 43efa <rtems_termios_ioctl+0x22a>      <== ALWAYS TAKEN
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    }                                                                 
    else {                                                            
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
   43ec0:	4283           	clrl %d3                                    <== NOT EXECUTED
   43ec2:	162a 0046      	moveb %a2@(70),%d3                          <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
   43ec6:	4eb9 0004 5154 	jsr 45154 <rtems_clock_get_ticks_per_second><== NOT EXECUTED
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    }                                                                 
    else {                                                            
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
   43ecc:	4c03 0800      	mulsl %d3,%d0                               <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
   43ed0:	760a           	moveq #10,%d3                               <== NOT EXECUTED
   43ed2:	4c43 0000      	remul %d3,%d0,%d0                           <== NOT EXECUTED
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    }                                                                 
    else {                                                            
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
   43ed6:	2540 0054      	movel %d0,%a2@(84)                          <== NOT EXECUTED
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
   43eda:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   43ede:	6714           	beqs 43ef4 <rtems_termios_ioctl+0x224>      <== NOT EXECUTED
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
   43ee0:	42aa 006c      	clrl %a2@(108)                              <== NOT EXECUTED
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
   43ee4:	2540 0070      	movel %d0,%a2@(112)                         <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
   43ee8:	4a2a 0047      	tstb %a2@(71)                               <== NOT EXECUTED
   43eec:	6614           	bnes 43f02 <rtems_termios_ioctl+0x232>      <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
   43eee:	2540 0074      	movel %d0,%a2@(116)                         <== NOT EXECUTED
   43ef2:	601a           	bras 43f0e <rtems_termios_ioctl+0x23e>      <== NOT EXECUTED
      }                                                               
      else {                                                          
        if (tty->termios.c_cc[VMIN]) {                                
   43ef4:	4a2a 0047      	tstb %a2@(71)                               <== NOT EXECUTED
   43ef8:	670e           	beqs 43f08 <rtems_termios_ioctl+0x238>      <== NOT EXECUTED
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
   43efa:	42aa 006c      	clrl %a2@(108)                              
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
   43efe:	42aa 0070      	clrl %a2@(112)                              
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
   43f02:	42aa 0074      	clrl %a2@(116)                              
   43f06:	6006           	bras 43f0e <rtems_termios_ioctl+0x23e>      
        }                                                             
        else {                                                        
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
   43f08:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   43f0a:	2540 006c      	movel %d0,%a2@(108)                         <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
   43f0e:	206a 00a8      	moveal %a2@(168),%a0                        
   43f12:	4a88           	tstl %a0                                    
   43f14:	6700 00b0      	beqw 43fc6 <rtems_termios_ioctl+0x2f6>      
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
   43f18:	486a 0030      	pea %a2@(48)                                
   43f1c:	2f2a 0010      	movel %a2@(16),%sp@-                        
   43f20:	4e90           	jsr %a0@                                    
   43f22:	508f           	addql #8,%sp                                
   43f24:	6000 00a0      	braw 43fc6 <rtems_termios_ioctl+0x2f6>      
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
   43f28:	2f0a           	movel %a2,%sp@-                             
   43f2a:	4eba f7d0      	jsr %pc@(436fc <drainOutput>)               
   43f2e:	6062           	bras 43f92 <rtems_termios_ioctl+0x2c2>      
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
   43f30:	2014           	movel %a4@,%d0                              <== NOT EXECUTED
   43f32:	222c 0004      	movel %a4@(4),%d1                           <== NOT EXECUTED
   43f36:	2540 00d4      	movel %d0,%a2@(212)                         <== NOT EXECUTED
   43f3a:	2541 00d8      	movel %d1,%a2@(216)                         <== NOT EXECUTED
    break;                                                            
   43f3e:	6000 0086      	braw 43fc6 <rtems_termios_ioctl+0x2f6>      <== NOT EXECUTED
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
   43f42:	2014           	movel %a4@,%d0                              <== NOT EXECUTED
   43f44:	222c 0004      	movel %a4@(4),%d1                           <== NOT EXECUTED
   43f48:	2540 00dc      	movel %d0,%a2@(220)                         <== NOT EXECUTED
   43f4c:	2541 00e0      	movel %d1,%a2@(224)                         <== NOT EXECUTED
    break;                                                            
   43f50:	6074           	bras 43fc6 <rtems_termios_ioctl+0x2f6>      <== NOT EXECUTED
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
   43f52:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   43f56:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   43f58:	0680 0005 cfc0 	addil #380864,%d0                           <== NOT EXECUTED
   43f5e:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   43f60:	2051           	moveal %a1@,%a0                             <== NOT EXECUTED
   43f62:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43f64:	6708           	beqs 43f6e <rtems_termios_ioctl+0x29e>      <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
   43f66:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43f68:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43f6a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43f6c:	2400           	movel %d0,%d2                               <== NOT EXECUTED
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
   43f6e:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   43f72:	2010           	movel %a0@,%d0                              <== NOT EXECUTED
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
   43f74:	41f9 0005 cfbc 	lea 5cfbc <rtems_termios_linesw>,%a0        <== NOT EXECUTED
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
   43f7a:	2540 00cc      	movel %d0,%a2@(204)                         <== NOT EXECUTED
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
   43f7e:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
    tty->t_sc = NULL; /* ensure that no more valid data */            
   43f80:	42aa 00d0      	clrl %a2@(208)                              <== NOT EXECUTED
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
   43f84:	2070 0800      	moveal %a0@(00000000,%d0:l),%a0             <== NOT EXECUTED
   43f88:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43f8a:	673a           	beqs 43fc6 <rtems_termios_ioctl+0x2f6>      <== NOT EXECUTED
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
   43f8c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43f8e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43f90:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   43f92:	588f           	addql #4,%sp                                
   43f94:	6030           	bras 43fc6 <rtems_termios_ioctl+0x2f6>      
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
   43f96:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   43f9a:	20aa 00cc      	movel %a2@(204),%a0@                        <== NOT EXECUTED
    break;                                                            
   43f9e:	6026           	bras 43fc6 <rtems_termios_ioctl+0x2f6>      <== NOT EXECUTED
#endif                                                                
   case FIONREAD:                                                     
    {                                                                 
    int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;              
   43fa0:	202a 0060      	movel %a2@(96),%d0                          <== NOT EXECUTED
   43fa4:	222a 005c      	movel %a2@(92),%d1                          <== NOT EXECUTED
   43fa8:	9081           	subl %d1,%d0                                <== NOT EXECUTED
    if ( rawnc < 0 )                                                  
   43faa:	6a06           	bpls 43fb2 <rtems_termios_ioctl+0x2e2>      <== NOT EXECUTED
      rawnc += tty->rawInBuf.Size;                                    
   43fac:	222a 0064      	movel %a2@(100),%d1                         <== NOT EXECUTED
   43fb0:	d081           	addl %d1,%d0                                <== NOT EXECUTED
    /* Half guess that this is the right operation */                 
    *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;         
   43fb2:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   43fb6:	92aa 0024      	subl %a2@(36),%d1                           <== NOT EXECUTED
   43fba:	d280           	addl %d0,%d1                                <== NOT EXECUTED
   43fbc:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   43fc0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
    }                                                                 
    break;                                                            
   43fc2:	6002           	bras 43fc6 <rtems_termios_ioctl+0x2f6>      <== 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;                                      
   43fc4:	740a           	moveq #10,%d2                               <== NOT EXECUTED
    /* Half guess that this is the right operation */                 
    *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;         
    }                                                                 
    break;                                                            
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
   43fc6:	2f2a 0018      	movel %a2@(24),%sp@-                        
   43fca:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   43fd0:	588f           	addql #4,%sp                                
    *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;         
    }                                                                 
    break;                                                            
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
   43fd2:	2742 000c      	movel %d2,%a3@(12)                          
  return sc;                                                          
}                                                                     
   43fd6:	2002           	movel %d2,%d0                               
   43fd8:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   43fde:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044cb8 <rtems_termios_number_to_baud>: #include <rtems/termiostypes.h> int rtems_termios_number_to_baud( int32_t baud ) {
   44cb8:	4e56 0000      	linkw %fp,#0                                
   44cbc:	222e 0008      	movel %fp@(8),%d1                           
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44cc0:	0c81 0000 04b0 	cmpil #1200,%d1                             
   44cc6:	6700 0100      	beqw 44dc8 <rtems_termios_number_to_baud+0x110>
   44cca:	6e68           	bgts 44d34 <rtems_termios_number_to_baud+0x7c>
   44ccc:	0c81 0000 0086 	cmpil #134,%d1                              
   44cd2:	6700 00e0      	beqw 44db4 <rtems_termios_number_to_baud+0xfc>
   44cd6:	6e2a           	bgts 44d02 <rtems_termios_number_to_baud+0x4a>
   44cd8:	7032           	moveq #50,%d0                               
   44cda:	b081           	cmpl %d1,%d0                                
   44cdc:	6700 010a      	beqw 44de8 <rtems_termios_number_to_baud+0x130>
   44ce0:	6d0a           	blts 44cec <rtems_termios_number_to_baud+0x34>
   44ce2:	4a81           	tstl %d1                                    
   44ce4:	6700 00c2      	beqw 44da8 <rtems_termios_number_to_baud+0xf0>
   44ce8:	6000 00fa      	braw 44de4 <rtems_termios_number_to_baud+0x12c>
   44cec:	704b           	moveq #75,%d0                               
   44cee:	b081           	cmpl %d1,%d0                                
   44cf0:	6700 00ba      	beqw 44dac <rtems_termios_number_to_baud+0xf4>
   44cf4:	103c 006e      	moveb #110,%d0                              
   44cf8:	b081           	cmpl %d1,%d0                                
   44cfa:	6600 00e8      	bnew 44de4 <rtems_termios_number_to_baud+0x12c>
   44cfe:	6000 00b0      	braw 44db0 <rtems_termios_number_to_baud+0xf8>
   44d02:	0c81 0000 00c8 	cmpil #200,%d1                              
   44d08:	6700 00b2      	beqw 44dbc <rtems_termios_number_to_baud+0x104>
   44d0c:	6e0e           	bgts 44d1c <rtems_termios_number_to_baud+0x64>
   44d0e:	0c81 0000 0096 	cmpil #150,%d1                              
   44d14:	6600 00ce      	bnew 44de4 <rtems_termios_number_to_baud+0x12c>
   44d18:	6000 009e      	braw 44db8 <rtems_termios_number_to_baud+0x100>
   44d1c:	0c81 0000 012c 	cmpil #300,%d1                              
   44d22:	6700 009c      	beqw 44dc0 <rtems_termios_number_to_baud+0x108>
   44d26:	0c81 0000 0258 	cmpil #600,%d1                              
   44d2c:	6600 00b6      	bnew 44de4 <rtems_termios_number_to_baud+0x12c>
   44d30:	6000 0092      	braw 44dc4 <rtems_termios_number_to_baud+0x10c>
   44d34:	0c81 0000 4b00 	cmpil #19200,%d1                            
   44d3a:	6700 00a0      	beqw 44ddc <rtems_termios_number_to_baud+0x124>
   44d3e:	6e2a           	bgts 44d6a <rtems_termios_number_to_baud+0xb2>
   44d40:	0c81 0000 0960 	cmpil #2400,%d1                             
   44d46:	6700 0088      	beqw 44dd0 <rtems_termios_number_to_baud+0x118>
   44d4a:	6e0c           	bgts 44d58 <rtems_termios_number_to_baud+0xa0>
   44d4c:	0c81 0000 0708 	cmpil #1800,%d1                             
   44d52:	6600 0090      	bnew 44de4 <rtems_termios_number_to_baud+0x12c>
   44d56:	6074           	bras 44dcc <rtems_termios_number_to_baud+0x114>
   44d58:	0c81 0000 12c0 	cmpil #4800,%d1                             
   44d5e:	6774           	beqs 44dd4 <rtems_termios_number_to_baud+0x11c>
   44d60:	0c81 0000 2580 	cmpil #9600,%d1                             
   44d66:	667c           	bnes 44de4 <rtems_termios_number_to_baud+0x12c>
   44d68:	606e           	bras 44dd8 <rtems_termios_number_to_baud+0x120>
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
   44d6a:	203c 0000 1002 	movel #4098,%d0                             
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44d70:	0c81 0001 c200 	cmpil #115200,%d1                           
   44d76:	6772           	beqs 44dea <rtems_termios_number_to_baud+0x132>
   44d78:	6e14           	bgts 44d8e <rtems_termios_number_to_baud+0xd6>
   44d7a:	0c81 0000 9600 	cmpil #38400,%d1                            
   44d80:	675e           	beqs 44de0 <rtems_termios_number_to_baud+0x128>
    case 2400:    termios_baud = B2400;   break;                      
    case 4800:    termios_baud = B4800;   break;                      
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
   44d82:	5380           	subql #1,%d0                                
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44d84:	0c81 0000 e100 	cmpil #57600,%d1                            
   44d8a:	6658           	bnes 44de4 <rtems_termios_number_to_baud+0x12c><== NEVER TAKEN
   44d8c:	605c           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 9600:    termios_baud = B9600;   break;                      
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
   44d8e:	203c 0000 1003 	movel #4099,%d0                             
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44d94:	0c81 0003 8400 	cmpil #230400,%d1                           
   44d9a:	674e           	beqs 44dea <rtems_termios_number_to_baud+0x132>
    case 19200:   termios_baud = B19200;  break;                      
    case 38400:   termios_baud = B38400;  break;                      
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
    case 460800:  termios_baud = B460800; break;                      
   44d9c:	5280           	addql #1,%d0                                
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44d9e:	0c81 0007 0800 	cmpil #460800,%d1                           
   44da4:	663e           	bnes 44de4 <rtems_termios_number_to_baud+0x12c><== NEVER TAKEN
   44da6:	6042           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 0:       termios_baud = B0;      break;                      
   44da8:	4280           	clrl %d0                                    
   44daa:	603e           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
   44dac:	7002           	moveq #2,%d0                                
   44dae:	603a           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 110:     termios_baud = B110;    break;                      
   44db0:	7003           	moveq #3,%d0                                
   44db2:	6036           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 134:     termios_baud = B134;    break;                      
   44db4:	7004           	moveq #4,%d0                                
   44db6:	6032           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 150:     termios_baud = B150;    break;                      
   44db8:	7005           	moveq #5,%d0                                
   44dba:	602e           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 200:     termios_baud = B200;    break;                      
   44dbc:	7006           	moveq #6,%d0                                
   44dbe:	602a           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 300:     termios_baud = B300;    break;                      
   44dc0:	7007           	moveq #7,%d0                                
   44dc2:	6026           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 600:     termios_baud = B600;    break;                      
   44dc4:	7008           	moveq #8,%d0                                
   44dc6:	6022           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 1200:    termios_baud = B1200;   break;                      
   44dc8:	7009           	moveq #9,%d0                                
   44dca:	601e           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 1800:    termios_baud = B1800;   break;                      
   44dcc:	700a           	moveq #10,%d0                               
   44dce:	601a           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 2400:    termios_baud = B2400;   break;                      
   44dd0:	700b           	moveq #11,%d0                               
   44dd2:	6016           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 4800:    termios_baud = B4800;   break;                      
   44dd4:	700c           	moveq #12,%d0                               
   44dd6:	6012           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 9600:    termios_baud = B9600;   break;                      
   44dd8:	700d           	moveq #13,%d0                               
   44dda:	600e           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 19200:   termios_baud = B19200;  break;                      
   44ddc:	700e           	moveq #14,%d0                               
   44dde:	600a           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 38400:   termios_baud = B38400;  break;                      
   44de0:	700f           	moveq #15,%d0                               
   44de2:	6006           	bras 44dea <rtems_termios_number_to_baud+0x132>
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
    case 460800:  termios_baud = B460800; break;                      
    default:      termios_baud = -1;      break;                      
   44de4:	70ff           	moveq #-1,%d0                               
   44de6:	6002           	bras 44dea <rtems_termios_number_to_baud+0x132>
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
    case 0:       termios_baud = B0;      break;                      
    case 50:      termios_baud = B50;     break;                      
   44de8:	7001           	moveq #1,%d0                                
    case 460800:  termios_baud = B460800; break;                      
    default:      termios_baud = -1;      break;                      
  }                                                                   
                                                                      
  return termios_baud;                                                
}                                                                     
   44dea:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043766 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
   43766:	4e56 ffd8      	linkw %fp,#-40                              
   4376a:	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 (rtems_termios_ttyMutex,                
   4376e:	42a7           	clrl %sp@-                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
   43770:	282e 0008      	movel %fp@(8),%d4                           
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                
   43774:	42a7           	clrl %sp@-                                  
   43776:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
   4377c:	2a2e 000c      	movel %fp@(12),%d5                          
   43780:	2e2e 0010      	movel %fp@(16),%d7                          
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                
   43784:	4eb9 0004 5788 	jsr 45788 <rtems_semaphore_obtain>          
             RTEMS_WAIT, RTEMS_NO_TIMEOUT);                           
  if (sc != RTEMS_SUCCESSFUL)                                         
   4378a:	4fef 000c      	lea %sp@(12),%sp                            
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                
   4378e:	2400           	movel %d0,%d2                               
             RTEMS_WAIT, RTEMS_NO_TIMEOUT);                           
  if (sc != RTEMS_SUCCESSFUL)                                         
   43790:	6600 038c      	bnew 43b1e <rtems_termios_open+0x3b8>       
    return sc;                                                        
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
   43794:	2879 0005 d800 	moveal 5d800 <rtems_termios_ttyHead>,%a4    
   4379a:	264c           	moveal %a4,%a3                              
   4379c:	6010           	bras 437ae <rtems_termios_open+0x48>        
    if ((tty->major == major) && (tty->minor == minor))               
   4379e:	b8ab 000c      	cmpl %a3@(12),%d4                           
   437a2:	6608           	bnes 437ac <rtems_termios_open+0x46>        
   437a4:	baab 0010      	cmpl %a3@(16),%d5                           
   437a8:	6700 02fc      	beqw 43aa6 <rtems_termios_open+0x340>       
   */                                                                 
  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) { 
   437ac:	2653           	moveal %a3@,%a3                             
   437ae:	4a8b           	tstl %a3                                    
   437b0:	66ec           	bnes 4379e <rtems_termios_open+0x38>        
   437b2:	6000 0376      	braw 43b2a <rtems_termios_open+0x3c4>       
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
    if (tty == NULL) {                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   437b6:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   437bc:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
   437c2:	588f           	addql #4,%sp                                <== NOT EXECUTED
   437c4:	6038           	bras 437fe <rtems_termios_open+0x98>        <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
   437c6:	41f9 0005 c1b4 	lea 5c1b4 <rtems_termios_raw_input_size>,%a0
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
   437cc:	4bf9 0004 2b3c 	lea 42b3c <malloc>,%a5                      
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
   437d2:	2750 0064      	movel %a0@,%a3@(100)                        
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
   437d6:	202b 0064      	movel %a3@(100),%d0                         
   437da:	2f00           	movel %d0,%sp@-                             
   437dc:	4e95           	jsr %a5@                                    
    if (tty->rawInBuf.theBuf == NULL) {                               
   437de:	588f           	addql #4,%sp                                
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
   437e0:	2600           	movel %d0,%d3                               
   437e2:	2740 0058      	movel %d0,%a3@(88)                          
    if (tty->rawInBuf.theBuf == NULL) {                               
   437e6:	661c           	bnes 43804 <rtems_termios_open+0x9e>        <== ALWAYS TAKEN
            free(tty);                                                
   437e8:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   437ea:	4eb9 0004 2854 	jsr 42854 <free>                            <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   437f0:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   437f6:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
   437fc:	508f           	addql #8,%sp                                <== NOT EXECUTED
   437fe:	741a           	moveq #26,%d2                               <== NOT EXECUTED
   43800:	6000 031c      	braw 43b1e <rtems_termios_open+0x3b8>       <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
   43804:	43f9 0005 c1b8 	lea 5c1b8 <rtems_termios_raw_output_size>,%a1
   4380a:	2751 0088      	movel %a1@,%a3@(136)                        
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
   4380e:	202b 0088      	movel %a3@(136),%d0                         
   43812:	2f00           	movel %d0,%sp@-                             
   43814:	4e95           	jsr %a5@                                    
    if (tty->rawOutBuf.theBuf == NULL) {                              
   43816:	588f           	addql #4,%sp                                
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
   43818:	2c00           	movel %d0,%d6                               
   4381a:	2740 007c      	movel %d0,%a3@(124)                         
    if (tty->rawOutBuf.theBuf == NULL) {                              
   4381e:	6620           	bnes 43840 <rtems_termios_open+0xda>        <== ALWAYS TAKEN
            free((void *)(tty->rawInBuf.theBuf));                     
   43820:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   43822:	45f9 0004 2854 	lea 42854 <free>,%a2                        <== NOT EXECUTED
   43828:	4e92           	jsr %a2@                                    <== NOT EXECUTED
            free(tty);                                                
   4382a:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4382c:	4e92           	jsr %a2@                                    <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   4382e:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   43834:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
   4383a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4383e:	60be           	bras 437fe <rtems_termios_open+0x98>        <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
   43840:	2f39 0005 c1b0 	movel 5c1b0 <rtems_termios_cbufsize>,%sp@-  
   43846:	4e95           	jsr %a5@                                    
    if (tty->cbuf == NULL) {                                          
   43848:	588f           	addql #4,%sp                                
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
   4384a:	2740 001c      	movel %d0,%a3@(28)                          
    if (tty->cbuf == NULL) {                                          
   4384e:	6624           	bnes 43874 <rtems_termios_open+0x10e>       <== ALWAYS TAKEN
            free((void *)(tty->rawOutBuf.theBuf));                    
   43850:	2f06           	movel %d6,%sp@-                             <== NOT EXECUTED
   43852:	45f9 0004 2854 	lea 42854 <free>,%a2                        <== NOT EXECUTED
   43858:	4e92           	jsr %a2@                                    <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
   4385a:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4385c:	4e92           	jsr %a2@                                    <== NOT EXECUTED
            free(tty);                                                
   4385e:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   43860:	4e92           	jsr %a2@                                    <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   43862:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   43868:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
   4386e:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   43872:	608a           	bras 437fe <rtems_termios_open+0x98>        <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
   43874:	42ab 00d4      	clrl %a3@(212)                              
    tty->tty_snd.sw_arg = NULL;                                       
   43878:	42ab 00d8      	clrl %a3@(216)                              
    tty->tty_rcv.sw_pfn = NULL;                                       
   4387c:	42ab 00dc      	clrl %a3@(220)                              
    tty->tty_rcv.sw_arg = NULL;                                       
   43880:	42ab 00e0      	clrl %a3@(224)                              
    tty->tty_rcvwakeup  = 0;                                          
   43884:	42ab 00e4      	clrl %a3@(228)                              
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
   43888:	268c           	movel %a4,%a3@                              
    tty->back = NULL;                                                 
   4388a:	42ab 0004      	clrl %a3@(4)                                
    if (rtems_termios_ttyHead != NULL)                                
   4388e:	4a8c           	tstl %a4                                    
   43890:	6704           	beqs 43896 <rtems_termios_open+0x130>       
      rtems_termios_ttyHead->back = tty;                              
   43892:	294b 0004      	movel %a3,%a4@(4)                           
    rtems_termios_ttyHead = tty;                                      
   43896:	23ca 0005 d800 	movel %a2,5d800 <rtems_termios_ttyHead>     
    if (rtems_termios_ttyTail == NULL)                                
   4389c:	4ab9 0005 d7fc 	tstl 5d7fc <rtems_termios_ttyTail>          
   438a2:	6606           	bnes 438aa <rtems_termios_open+0x144>       
      rtems_termios_ttyTail = tty;                                    
   438a4:	23ca 0005 d7fc 	movel %a2,5d7fc <rtems_termios_ttyTail>     
                                                                      
    tty->minor = minor;                                               
   438aa:	2545 0010      	movel %d5,%a2@(16)                          
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   438ae:	49f9 0004 5550 	lea 45550 <rtems_semaphore_create>,%a4      
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
    tty->major = major;                                               
   438b4:	2544 000c      	movel %d4,%a2@(12)                          
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   438b8:	486a 0014      	pea %a2@(20)                                
      rtems_build_name ('T', 'R', 'i', c),                            
   438bc:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%d0                    
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   438c2:	42a7           	clrl %sp@-                                  
   438c4:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
      rtems_build_name ('T', 'R', 'i', c),                            
   438c8:	49c0           	extbl %d0                                   
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   438ca:	4878 0001      	pea 1 <ADD>                                 
   438ce:	0080 5452 6900 	oril #1414686976,%d0                        
   438d4:	2f00           	movel %d0,%sp@-                             
   438d6:	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)                                       
   438d8:	4fef 0014      	lea %sp@(20),%sp                            
   438dc:	4a80           	tstl %d0                                    
   438de:	6600 0228      	bnew 43b08 <rtems_termios_open+0x3a2>       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   438e2:	486a 0018      	pea %a2@(24)                                
      rtems_build_name ('T', 'R', 'o', c),                            
   438e6:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%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 (                                     
   438ec:	42a7           	clrl %sp@-                                  
   438ee:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
      rtems_build_name ('T', 'R', 'o', c),                            
   438f2:	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 (                                     
   438f4:	4878 0001      	pea 1 <ADD>                                 
   438f8:	0080 5452 6f00 	oril #1414688512,%d0                        
   438fe:	2f00           	movel %d0,%sp@-                             
   43900:	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)                                       
   43902:	4fef 0014      	lea %sp@(20),%sp                            
   43906:	4a80           	tstl %d0                                    
   43908:	6600 01fe      	bnew 43b08 <rtems_termios_open+0x3a2>       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   4390c:	486a 008c      	pea %a2@(140)                               
      rtems_build_name ('T', 'R', 'x', c),                            
   43910:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%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 (                                     
   43916:	42a7           	clrl %sp@-                                  
   43918:	4878 0020      	pea 20 <OPER2+0xc>                          
      rtems_build_name ('T', 'R', 'x', c),                            
   4391c:	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 (                                     
   4391e:	0080 5452 7800 	oril #1414690816,%d0                        
   43924:	42a7           	clrl %sp@-                                  
   43926:	2f00           	movel %d0,%sp@-                             
   43928:	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)                                       
   4392a:	4fef 0014      	lea %sp@(20),%sp                            
   4392e:	4a80           	tstl %d0                                    
   43930:	6600 01d6      	bnew 43b08 <rtems_termios_open+0x3a2>       
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
   43934:	42aa 0094      	clrl %a2@(148)                              
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
   43938:	4878 0020      	pea 20 <OPER2+0xc>                          
   4393c:	2f2e 0014      	movel %fp@(20),%sp@-                        
   43940:	486a 0098      	pea %a2@(152)                               
   43944:	4eb9 0004 d2dc 	jsr 4d2dc <memcpy>                          
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   4394a:	4fef 000c      	lea %sp@(12),%sp                            
   4394e:	7002           	moveq #2,%d0                                
   43950:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   43954:	6662           	bnes 439b8 <rtems_termios_open+0x252>       
      sc = rtems_task_create (                                        
   43956:	486a 00c8      	pea %a2@(200)                               
   4395a:	49f9 0004 5940 	lea 45940 <rtems_task_create>,%a4           
                                   rtems_build_name ('T', 'x', 'T', c),
   43960:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%d0                    
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
   43966:	42a7           	clrl %sp@-                                  
   43968:	4878 0500      	pea 500 <DBL_MAX_EXP+0xff>                  
                                   rtems_build_name ('T', 'x', 'T', c),
   4396c:	49c0           	extbl %d0                                   
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
   4396e:	4878 0400      	pea 400 <D_BIAS+0x2>                        
   43972:	4878 000a      	pea a <LASTO>                               
   43976:	0080 5478 5400 	oril #1417171968,%d0                        
   4397c:	2f00           	movel %d0,%sp@-                             
   4397e:	4e94           	jsr %a4@                                    
           TERMIOS_TXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
   43980:	4fef 0018      	lea %sp@(24),%sp                            
   43984:	4a80           	tstl %d0                                    
   43986:	6600 0180      	bnew 43b08 <rtems_termios_open+0x3a2>       
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
   4398a:	486a 00c4      	pea %a2@(196)                               
                                   rtems_build_name ('R', 'x', 'T', c),
   4398e:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%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 (                                        
   43994:	42a7           	clrl %sp@-                                  
   43996:	4878 0500      	pea 500 <DBL_MAX_EXP+0xff>                  
                                   rtems_build_name ('R', 'x', 'T', c),
   4399a:	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 (                                        
   4399c:	4878 0400      	pea 400 <D_BIAS+0x2>                        
   439a0:	4878 0009      	pea 9 <DIVIDE_BY_ZERO+0x1>                  
   439a4:	0080 5278 5400 	oril #1383617536,%d0                        
   439aa:	2f00           	movel %d0,%sp@-                             
   439ac:	4e94           	jsr %a4@                                    
           TERMIOS_RXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
   439ae:	4fef 0018      	lea %sp@(24),%sp                            
   439b2:	4a80           	tstl %d0                                    
   439b4:	6600 0152      	bnew 43b08 <rtems_termios_open+0x3a2>       
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
   439b8:	4aaa 00a0      	tstl %a2@(160)                              
   439bc:	6708           	beqs 439c6 <rtems_termios_open+0x260>       
   439be:	7202           	moveq #2,%d1                                
   439c0:	b2aa 00b4      	cmpl %a2@(180),%d1                          
   439c4:	662c           	bnes 439f2 <rtems_termios_open+0x28c>       
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
   439c6:	486a 0068      	pea %a2@(104)                               
        rtems_build_name ('T', 'R', 'r', c),                          
   439ca:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%d0                    
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
   439d0:	42a7           	clrl %sp@-                                  
   439d2:	4878 0024      	pea 24 <OPER2+0x10>                         
        rtems_build_name ('T', 'R', 'r', c),                          
   439d6:	49c0           	extbl %d0                                   
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
   439d8:	0080 5452 7200 	oril #1414689280,%d0                        
   439de:	42a7           	clrl %sp@-                                  
   439e0:	2f00           	movel %d0,%sp@-                             
   439e2:	4eb9 0004 5550 	jsr 45550 <rtems_semaphore_create>          
        rtems_build_name ('T', 'R', 'r', c),                          
        0,                                                            
        RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,               
        RTEMS_NO_PRIORITY,                                            
        &tty->rawInBuf.Semaphore);                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
   439e8:	4fef 0014      	lea %sp@(20),%sp                            
   439ec:	4a80           	tstl %d0                                    
   439ee:	6600 0118      	bnew 43b08 <rtems_termios_open+0x3a2>       
    /*                                                                
     * 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;              
   439f2:	203c 0000 08bd 	movel #2237,%d0                             
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
   439f8:	307c 2502      	moveaw #9474,%a0                            
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
   439fc:	327c 1805      	moveaw #6149,%a1                            
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
   43a00:	2540 0038      	movel %d0,%a2@(56)                          
    tty->termios.c_lflag =                                            
   43a04:	223c 0000 823b 	movel #33339,%d1                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
   43a0a:	7003           	moveq #3,%d0                                
     * 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 =                                            
   43a0c:	2541 003c      	movel %d1,%a2@(60)                          
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
   43a10:	1540 0041      	moveb %d0,%a2@(65)                          
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
   43a14:	707f           	moveq #127,%d0                              
    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;                                               
   43a16:	42aa 00b8      	clrl %a2@(184)                              
    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';                               
   43a1a:	1540 0043      	moveb %d0,%a2@(67)                          
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
   43a1e:	7004           	moveq #4,%d0                                
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
   43a20:	2548 0030      	movel %a0,%a2@(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';                                 
   43a24:	1540 0045      	moveb %d0,%a2@(69)                          
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
   43a28:	7011           	moveq #17,%d0                               
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
   43a2a:	2549 0034      	movel %a1,%a2@(52)                          
    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';                                
   43a2e:	721c           	moveq #28,%d1                               
    tty->termios.c_cc[VERASE] = '\177';                               
    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';                               
   43a30:	1540 0049      	moveb %d0,%a2@(73)                          
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
   43a34:	701a           	moveq #26,%d0                               
    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';                                
   43a36:	1541 0042      	moveb %d1,%a2@(66)                          
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
   43a3a:	7215           	moveq #21,%d1                               
    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';                                
   43a3c:	1540 004b      	moveb %d0,%a2@(75)                          
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
   43a40:	700f           	moveq #15,%d0                               
       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';                                
   43a42:	1541 0044      	moveb %d1,%a2@(68)                          
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
   43a46:	4201           	clrb %d1                                    
    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';                             
   43a48:	1540 004e      	moveb %d0,%a2@(78)                          
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
   43a4c:	7016           	moveq #22,%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';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
   43a4e:	1541 004c      	moveb %d1,%a2@(76)                          
    tty->termios.c_cc[VEOL2] = '\000';                                
   43a52:	1541 0051      	moveb %d1,%a2@(81)                          
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
   43a56:	7213           	moveq #19,%d1                               
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
   43a58:	1540 0050      	moveb %d0,%a2@(80)                          
    /* 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;                        
   43a5c:	202a 0064      	movel %a2@(100),%d0                         
   43a60:	e288           	lsrl #1,%d0                                 
    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';                                
   43a62:	1541 004a      	moveb %d1,%a2@(74)                          
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
   43a66:	7212           	moveq #18,%d1                               
    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;                        
   43a68:	206a 0064      	moveal %a2@(100),%a0                        
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
   43a6c:	1541 004d      	moveb %d1,%a2@(77)                          
    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;                        
   43a70:	41f0 8a00      	lea %a0@(00000000,%a0:l:2),%a0              
    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';                              
   43a74:	7217           	moveq #23,%d1                               
    /* 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;                        
   43a76:	2540 00bc      	movel %d0,%a2@(188)                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
   43a7a:	2008           	movel %a0,%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';                              
   43a7c:	1541 004f      	moveb %d1,%a2@(79)                          
    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;                        
   43a80:	e488           	lsrl #2,%d0                                 
   43a82:	2540 00c0      	movel %d0,%a2@(192)                         
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
   43a86:	1039 0005 c1bc 	moveb 5c1bc <c.6207>,%d0                    
   43a8c:	49c0           	extbl %d0                                   
   43a8e:	2200           	movel %d0,%d1                               
   43a90:	5281           	addql #1,%d1                                
   43a92:	13c1 0005 c1bc 	moveb %d1,5c1bc <c.6207>                    
   43a98:	727a           	moveq #122,%d1                              
   43a9a:	b280           	cmpl %d0,%d1                                
   43a9c:	6608           	bnes 43aa6 <rtems_termios_open+0x340>       <== ALWAYS TAKEN
      c = 'a';                                                        
   43a9e:	7061           	moveq #97,%d0                               <== NOT EXECUTED
   43aa0:	13c0 0005 c1bc 	moveb %d0,5c1bc <c.6207>                    <== NOT EXECUTED
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
   43aa6:	2247           	moveal %d7,%a1                              
   43aa8:	2051           	moveal %a1@,%a0                             
  if (!tty->refcount++) {                                             
   43aaa:	202b 0008      	movel %a3@(8),%d0                           
   43aae:	2200           	movel %d0,%d1                               
   43ab0:	5281           	addql #1,%d1                                
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
   43ab2:	214b 0034      	movel %a3,%a0@(52)                          
  if (!tty->refcount++) {                                             
   43ab6:	2741 0008      	movel %d1,%a3@(8)                           
   43aba:	4a80           	tstl %d0                                    
   43abc:	6652           	bnes 43b10 <rtems_termios_open+0x3aa>       
    if (tty->device.firstOpen)                                        
   43abe:	206b 0098      	moveal %a3@(152),%a0                        
   43ac2:	4a88           	tstl %a0                                    
   43ac4:	670c           	beqs 43ad2 <rtems_termios_open+0x36c>       
    (*tty->device.firstOpen)(major, minor, arg);                      
   43ac6:	2f07           	movel %d7,%sp@-                             
   43ac8:	2f05           	movel %d5,%sp@-                             
   43aca:	2f04           	movel %d4,%sp@-                             
   43acc:	4e90           	jsr %a0@                                    
   43ace:	4fef 000c      	lea %sp@(12),%sp                            
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   43ad2:	7002           	moveq #2,%d0                                
   43ad4:	b0ab 00b4      	cmpl %a3@(180),%d0                          
   43ad8:	6636           	bnes 43b10 <rtems_termios_open+0x3aa>       
      sc = rtems_task_start(tty->rxTaskId,                            
   43ada:	2f0b           	movel %a3,%sp@-                             
   43adc:	487a 112a      	pea %pc@(44c08 <rtems_termios_rxdaemon>)    
   43ae0:	45f9 0004 5bbc 	lea 45bbc <rtems_task_start>,%a2            
   43ae6:	2f2b 00c4      	movel %a3@(196),%sp@-                       
   43aea:	4e92           	jsr %a2@                                    
          rtems_termios_rxdaemon,                                     
          (rtems_task_argument)tty);                                  
      if (sc != RTEMS_SUCCESSFUL)                                     
   43aec:	4fef 000c      	lea %sp@(12),%sp                            
   43af0:	4a80           	tstl %d0                                    
   43af2:	6614           	bnes 43b08 <rtems_termios_open+0x3a2>       <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(tty->txTaskId,                            
   43af4:	2f0b           	movel %a3,%sp@-                             
   43af6:	487a 1336      	pea %pc@(44e2e <rtems_termios_txdaemon>)    
   43afa:	2f2b 00c8      	movel %a3@(200),%sp@-                       
   43afe:	4e92           	jsr %a2@                                    
          rtems_termios_txdaemon,                                     
          (rtems_task_argument)tty);                                  
      if (sc != RTEMS_SUCCESSFUL)                                     
   43b00:	4fef 000c      	lea %sp@(12),%sp                            
   43b04:	4a80           	tstl %d0                                    
   43b06:	6708           	beqs 43b10 <rtems_termios_open+0x3aa>       <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
   43b08:	2f00           	movel %d0,%sp@-                             
   43b0a:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
   43b10:	2f39 0005 d7f8 	movel 5d7f8 <rtems_termios_ttyMutex>,%sp@-  
   43b16:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  return RTEMS_SUCCESSFUL;                                            
   43b1c:	588f           	addql #4,%sp                                
}                                                                     
   43b1e:	2002           	movel %d2,%d0                               
   43b20:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            
   43b26:	4e5e           	unlk %fp                                    
   43b28:	4e75           	rts                                         
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
   43b2a:	4878 00e8      	pea e8 <DBL_MANT_DIG+0xb3>                  
   43b2e:	4878 0001      	pea 1 <ADD>                                 
   43b32:	4eb9 0004 2468 	jsr 42468 <calloc>                          
    if (tty == NULL) {                                                
   43b38:	508f           	addql #8,%sp                                
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
   43b3a:	2640           	moveal %d0,%a3                              
   43b3c:	2440           	moveal %d0,%a2                              
    if (tty == NULL) {                                                
   43b3e:	4a80           	tstl %d0                                    
   43b40:	6600 fc84      	bnew 437c6 <rtems_termios_open+0x60>        
   43b44:	6000 fc70      	braw 437b6 <rtems_termios_open+0x50>        <== NOT EXECUTED
                                                                      

00043fe2 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
   43fe2:	4e56 ffe0      	linkw %fp,#-32                              
   43fe6:	202e 0008      	movel %fp@(8),%d0                           
   43fea:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   43fee:	242e 000c      	movel %fp@(12),%d2                          
  const unsigned char *buf = _buf;                                    
   43ff2:	2640           	moveal %d0,%a3                              
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
   43ff4:	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) {           
   43ff8:	4aaa 00b4      	tstl %a2@(180)                              
   43ffc:	661c           	bnes 4401a <rtems_termios_puts+0x38>        
    (*tty->device.write)(tty->minor, (void *)buf, len);               
   43ffe:	2d42 0010      	movel %d2,%fp@(16)                          
   44002:	2d40 000c      	movel %d0,%fp@(12)                          
   44006:	2d6a 0010 0008 	movel %a2@(16),%fp@(8)                      
   4400c:	226a 00a4      	moveal %a2@(164),%a1                        
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
   44010:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   44016:	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);               
   44018:	4ed1           	jmp %a1@                                    
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
   4401a:	2c2a 0080      	movel %a2@(128),%d6                         
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
   4401e:	2a3c 0000 0700 	movel #1792,%d5                             
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,          
   44024:	49f9 0004 5788 	lea 45788 <rtems_semaphore_obtain>,%a4      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
   4402a:	6000 009e      	braw 440ca <rtems_termios_puts+0xe8>        
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
   4402e:	202a 0088      	movel %a2@(136),%d0                         
   44032:	5286           	addql #1,%d6                                
   44034:	4c40 6004      	remul %d0,%d4,%d6                           
    rtems_interrupt_disable (level);                                  
   44038:	2005           	movel %d5,%d0                               
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
   4403a:	2c04           	movel %d4,%d6                               
    rtems_interrupt_disable (level);                                  
   4403c:	40c3           	movew %sr,%d3                               
   4403e:	8083           	orl %d3,%d0                                 
   44040:	46c0           	movew %d0,%sr                               
    while (newHead == tty->rawOutBuf.Tail) {                          
   44042:	602a           	bras 4406e <rtems_termios_puts+0x8c>        
      tty->rawOutBufState = rob_wait;                                 
   44044:	7002           	moveq #2,%d0                                
   44046:	2540 0094      	movel %d0,%a2@(148)                         
      rtems_interrupt_enable (level);                                 
   4404a:	46c3           	movew %d3,%sr                               
      sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,          
   4404c:	42a7           	clrl %sp@-                                  
   4404e:	42a7           	clrl %sp@-                                  
   44050:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44054:	4e94           	jsr %a4@                                    
              RTEMS_WAIT,                                             
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
   44056:	4fef 000c      	lea %sp@(12),%sp                            
   4405a:	4a80           	tstl %d0                                    
   4405c:	6708           	beqs 44066 <rtems_termios_puts+0x84>        <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
   4405e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44060:	4eb9 0004 5e18 	jsr 45e18 <rtems_fatal_error_occurred>      <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
   44066:	2005           	movel %d5,%d0                               
   44068:	40c3           	movew %sr,%d3                               
   4406a:	8083           	orl %d3,%d0                                 
   4406c:	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) {                          
   4406e:	202a 0084      	movel %a2@(132),%d0                         
   44072:	b084           	cmpl %d4,%d0                                
   44074:	67ce           	beqs 44044 <rtems_termios_puts+0x62>        
              RTEMS_NO_TIMEOUT);                                      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
   44076:	202a 0080      	movel %a2@(128),%d0                         
   4407a:	206a 007c      	moveal %a2@(124),%a0                        
   4407e:	119b 0800      	moveb %a3@+,%a0@(00000000,%d0:l)            
    tty->rawOutBuf.Head = newHead;                                    
   44082:	2544 0080      	movel %d4,%a2@(128)                         
    if (tty->rawOutBufState == rob_idle) {                            
   44086:	4aaa 0094      	tstl %a2@(148)                              
   4408a:	663a           	bnes 440c6 <rtems_termios_puts+0xe4>        
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
   4408c:	202a 00b8      	movel %a2@(184),%d0                         
   44090:	0800 0004      	btst #4,%d0                                 
   44094:	661e           	bnes 440b4 <rtems_termios_puts+0xd2>        <== NEVER TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
   44096:	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,                              
   4409a:	4878 0001      	pea 1 <ADD>                                 
   4409e:	d0aa 007c      	addl %a2@(124),%d0                          
   440a2:	2f00           	movel %d0,%sp@-                             
   440a4:	2f2a 0010      	movel %a2@(16),%sp@-                        
   440a8:	206a 00a4      	moveal %a2@(164),%a0                        
   440ac:	4e90           	jsr %a0@                                    
   440ae:	4fef 000c      	lea %sp@(12),%sp                            
   440b2:	600c           	bras 440c0 <rtems_termios_puts+0xde>        
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      }                                                               
      else {                                                          
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
   440b4:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   440b8:	7220           	moveq #32,%d1                               <== NOT EXECUTED
   440ba:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   440bc:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
   440c0:	7001           	moveq #1,%d0                                
   440c2:	2540 0094      	movel %d0,%a2@(148)                         
    }                                                                 
    rtems_interrupt_enable (level);                                   
   440c6:	46c3           	movew %d3,%sr                               
    len--;                                                            
   440c8:	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) {                                                       
   440ca:	4a82           	tstl %d2                                    
   440cc:	6600 ff60      	bnew 4402e <rtems_termios_puts+0x4c>        
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
   440d0:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   440d6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000446c6 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
   446c6:	4e56 ffd4      	linkw %fp,#-44                              
   446ca:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   446ce:	266e 0008      	moveal %fp@(8),%a3                          
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
   446d2:	2053           	moveal %a3@,%a0                             
  uint32_t   count = args->count;                                     
   446d4:	262b 0010      	movel %a3@(16),%d3                          
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
   446d8:	2468 0034      	moveal %a0@(52),%a2                         
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
   446dc:	2a6b 000c      	moveal %a3@(12),%a5                         
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   446e0:	42a7           	clrl %sp@-                                  
   446e2:	42a7           	clrl %sp@-                                  
   446e4:	2f2a 0014      	movel %a2@(20),%sp@-                        
   446e8:	4eb9 0004 5788 	jsr 45788 <rtems_semaphore_obtain>          
  if (sc != RTEMS_SUCCESSFUL)                                         
   446ee:	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);
   446f2:	2800           	movel %d0,%d4                               
  if (sc != RTEMS_SUCCESSFUL)                                         
   446f4:	6600 029a      	bnew 44990 <rtems_termios_read+0x2ca>       
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
   446f8:	202a 00cc      	movel %a2@(204),%d0                         
   446fc:	eb88           	lsll #5,%d0                                 
   446fe:	0680 0005 cfc4 	addil #380868,%d0                           
   44704:	2240           	moveal %d0,%a1                              
   44706:	2051           	moveal %a1@,%a0                             
   44708:	4a88           	tstl %a0                                    
   4470a:	671e           	beqs 4472a <rtems_termios_read+0x64>        <== ALWAYS TAKEN
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
   4470c:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4470e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44710:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44712:	2800           	movel %d0,%d4                               <== NOT EXECUTED
    tty->tty_rcvwakeup = 0;                                           
   44714:	42aa 00e4      	clrl %a2@(228)                              <== NOT EXECUTED
    rtems_semaphore_release (tty->isem);                              
   44718:	2f2a 0014      	movel %a2@(20),%sp@-                        <== NOT EXECUTED
   4471c:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
    return sc;                                                        
   44722:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44726:	6000 0268      	braw 44990 <rtems_termios_read+0x2ca>       <== NOT EXECUTED
  }                                                                   
  if (tty->cindex == tty->ccount) {                                   
   4472a:	202a 0020      	movel %a2@(32),%d0                          
   4472e:	b0aa 0024      	cmpl %a2@(36),%d0                           
   44732:	6600 0234      	bnew 44968 <rtems_termios_read+0x2a2>       
    tty->cindex = tty->ccount = 0;                                    
   44736:	42aa 0020      	clrl %a2@(32)                               
    tty->read_start_column = tty->column;                             
   4473a:	256a 0028 002c 	movel %a2@(40),%a2@(44)                     
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
   44740:	42aa 0024      	clrl %a2@(36)                               
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL                                  
   44744:	4aaa 00a0      	tstl %a2@(160)                              
   44748:	6700 00da      	beqw 44824 <rtems_termios_read+0x15e>       
        && tty->device.outputUsesInterrupts == TERMIOS_POLLED)        
   4474c:	4aaa 00b4      	tstl %a2@(180)                              
   44750:	6600 00d2      	bnew 44824 <rtems_termios_read+0x15e>       
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
   44754:	7002           	moveq #2,%d0                                
   44756:	c0aa 003c      	andl %a2@(60),%d0                           
   4475a:	673e           	beqs 4479a <rtems_termios_read+0xd4>        <== NEVER TAKEN
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
   4475c:	49f9 0004 5c64 	lea 45c64 <rtems_task_wake_after>,%a4       
      }                                                               
      else {                                                          
        if  (siproc (n, tty))                                         
   44762:	243c 0004 45a6 	movel #279974,%d2                           
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
   44768:	2f2a 0010      	movel %a2@(16),%sp@-                        
   4476c:	206a 00a0      	moveal %a2@(160),%a0                        
   44770:	4e90           	jsr %a0@                                    
      if (n < 0) {                                                    
   44772:	588f           	addql #4,%sp                                
   44774:	4a80           	tstl %d0                                    
   44776:	6c0a           	bges 44782 <rtems_termios_read+0xbc>        
        rtems_task_wake_after (1);                                    
   44778:	4878 0001      	pea 1 <ADD>                                 
   4477c:	4e94           	jsr %a4@                                    
   4477e:	588f           	addql #4,%sp                                
   44780:	60e6           	bras 44768 <rtems_termios_read+0xa2>        
      }                                                               
      else {                                                          
        if  (siproc (n, tty))                                         
   44782:	2f0a           	movel %a2,%sp@-                             
   44784:	2042           	moveal %d2,%a0                              
   44786:	0280 0000 00ff 	andil #255,%d0                              
   4478c:	2f00           	movel %d0,%sp@-                             
   4478e:	4e90           	jsr %a0@                                    
   44790:	508f           	addql #8,%sp                                
   44792:	4a80           	tstl %d0                                    
   44794:	67d2           	beqs 44768 <rtems_termios_read+0xa2>        
   44796:	6000 01d0      	braw 44968 <rtems_termios_read+0x2a2>       
      }                                                               
    }                                                                 
  }                                                                   
  else {                                                              
    rtems_interval then, now;                                         
    then = rtems_clock_get_ticks_since_boot();                        
   4479a:	49f9 0004 516c 	lea 4516c <rtems_clock_get_ticks_since_boot>,%a4<== NOT EXECUTED
   447a0:	4e94           	jsr %a4@                                    <== NOT EXECUTED
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
   447a2:	2c3c 0004 5c64 	movel #285796,%d6                           <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
  else {                                                              
    rtems_interval then, now;                                         
    then = rtems_clock_get_ticks_since_boot();                        
   447a8:	2400           	movel %d0,%d2                               <== NOT EXECUTED
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      }                                                               
      else {                                                          
        siproc (n, tty);                                              
   447aa:	2a3c 0004 45a6 	movel #279974,%d5                           <== NOT EXECUTED
  }                                                                   
  else {                                                              
    rtems_interval then, now;                                         
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
   447b0:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   447b4:	206a 00a0      	moveal %a2@(160),%a0                        <== NOT EXECUTED
   447b8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      if (n < 0) {                                                    
   447ba:	588f           	addql #4,%sp                                <== NOT EXECUTED
   447bc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   447be:	6c34           	bges 447f4 <rtems_termios_read+0x12e>       <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN]) {                                
   447c0:	4a2a 0047      	tstb %a2@(71)                               <== NOT EXECUTED
   447c4:	670e           	beqs 447d4 <rtems_termios_read+0x10e>       <== NOT EXECUTED
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
   447c6:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   447ca:	671c           	beqs 447e8 <rtems_termios_read+0x122>       <== NOT EXECUTED
   447cc:	4aaa 0020      	tstl %a2@(32)                               <== NOT EXECUTED
   447d0:	6716           	beqs 447e8 <rtems_termios_read+0x122>       <== NOT EXECUTED
   447d2:	6008           	bras 447dc <rtems_termios_read+0x116>       <== NOT EXECUTED
              break;                                                  
            }                                                         
          }                                                           
        }                                                             
        else {                                                        
          if (!tty->termios.c_cc[VTIME])                              
   447d4:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   447d8:	6700 018e      	beqw 44968 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
   447dc:	4e94           	jsr %a4@                                    <== NOT EXECUTED
          if ((now - then) > tty->vtimeTicks) {                       
   447de:	9082           	subl %d2,%d0                                <== NOT EXECUTED
   447e0:	b0aa 0054      	cmpl %a2@(84),%d0                           <== NOT EXECUTED
   447e4:	6200 0182      	bhiw 44968 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
   447e8:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   447ec:	2246           	moveal %d6,%a1                              <== NOT EXECUTED
   447ee:	4e91           	jsr %a1@                                    <== NOT EXECUTED
   447f0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   447f2:	60bc           	bras 447b0 <rtems_termios_read+0xea>        <== NOT EXECUTED
      }                                                               
      else {                                                          
        siproc (n, tty);                                              
   447f4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   447f6:	2045           	moveal %d5,%a0                              <== NOT EXECUTED
   447f8:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   447fe:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44800:	4e90           	jsr %a0@                                    <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
   44802:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44804:	4281           	clrl %d1                                    <== NOT EXECUTED
   44806:	102a 0047      	moveb %a2@(71),%d0                          <== NOT EXECUTED
   4480a:	1200           	moveb %d0,%d1                               <== NOT EXECUTED
   4480c:	b2aa 0020      	cmpl %a2@(32),%d1                           <== NOT EXECUTED
   44810:	6f00 0156      	blew 44968 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
   44814:	4a00           	tstb %d0                                    <== NOT EXECUTED
   44816:	6798           	beqs 447b0 <rtems_termios_read+0xea>        <== NOT EXECUTED
   44818:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   4481c:	6792           	beqs 447b0 <rtems_termios_read+0xea>        <== NOT EXECUTED
          then = rtems_clock_get_ticks_since_boot();                  
   4481e:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   44820:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   44822:	608c           	bras 447b0 <rtems_termios_read+0xea>        <== NOT EXECUTED
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(tty->minor,                            
   44824:	2e0a           	movel %a2,%d7                               
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
   44826:	7401           	moveq #1,%d2                                
   44828:	49fa fd7c      	lea %pc@(445a6 <siproc>),%a4                
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(tty->minor,                            
   4482c:	0687 0000 0049 	addil #73,%d7                               
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
      sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,           
   44832:	2c3c 0004 5788 	movel #284552,%d6                           
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
   44838:	2a2a 0074      	movel %a2@(116),%d5                         
   4483c:	6000 00e2      	braw 44920 <rtems_termios_read+0x25a>       
    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;        
   44840:	2a2a 005c      	movel %a2@(92),%d5                          
   44844:	5285           	addql #1,%d5                                
   44846:	202a 0064      	movel %a2@(100),%d0                         
      c = tty->rawInBuf.theBuf[newHead];                              
   4484a:	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;        
   4484e:	4c40 5001      	remul %d0,%d1,%d5                           
      c = tty->rawInBuf.theBuf[newHead];                              
   44852:	1030 1800      	moveb %a0@(00000000,%d1:l),%d0              
      tty->rawInBuf.Head = newHead;                                   
   44856:	2541 005c      	movel %d1,%a2@(92)                          
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
   4485a:	1d40 ffff      	moveb %d0,%fp@(-1)                          
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
   4485e:	202a 0060      	movel %a2@(96),%d0                          
   44862:	226a 0064      	moveal %a2@(100),%a1                        
   44866:	43f1 0800      	lea %a1@(00000000,%d0:l),%a1                
   4486a:	93c1           	subal %d1,%a1                               
          % tty->rawInBuf.Size)                                       
   4486c:	2a09           	movel %a1,%d5                               
   4486e:	206a 0064      	moveal %a2@(100),%a0                        
   44872:	2008           	movel %a0,%d0                               
   44874:	4c40 5001      	remul %d0,%d1,%d5                           
      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)             
   44878:	b2aa 00bc      	cmpl %a2@(188),%d1                          
   4487c:	646a           	bccs 448e8 <rtems_termios_read+0x222>       <== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
   4487e:	202a 00b8      	movel %a2@(184),%d0                         
   44882:	72fe           	moveq #-2,%d1                               
   44884:	c081           	andl %d1,%d0                                
   44886:	2540 00b8      	movel %d0,%a2@(184)                         
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
   4488a:	202a 00b8      	movel %a2@(184),%d0                         
   4488e:	0280 0000 0202 	andil #514,%d0                              
   44894:	0c80 0000 0202 	cmpil #514,%d0                              
   4489a:	6626           	bnes 448c2 <rtems_termios_read+0x1fc>       <== ALWAYS TAKEN
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
   4489c:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   448a0:	670a           	beqs 448ac <rtems_termios_read+0x1e6>       <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
   448a2:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   448a6:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   448aa:	6716           	beqs 448c2 <rtems_termios_read+0x1fc>       <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(tty->minor,                            
   448ac:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   448b0:	2f07           	movel %d7,%sp@-                             <== NOT EXECUTED
   448b2:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   448b6:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   448ba:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   448bc:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   448c0:	6026           	bras 448e8 <rtems_termios_read+0x222>       <== NOT EXECUTED
        (void *)&(tty->termios.c_cc[VSTART]),                         
        1);                                                           
        }                                                             
        else if (tty->flow_ctrl & FL_MDRTS) {                         
   448c2:	202a 00b8      	movel %a2@(184),%d0                         
   448c6:	0800 0008      	btst #8,%d0                                 
   448ca:	671c           	beqs 448e8 <rtems_termios_read+0x222>       <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
   448cc:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   448d0:	7afb           	moveq #-5,%d5                               <== NOT EXECUTED
   448d2:	c085           	andl %d5,%d0                                <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
   448d4:	206a 00b0      	moveal %a2@(176),%a0                        <== NOT EXECUTED
          (*tty->device.write)(tty->minor,                            
        (void *)&(tty->termios.c_cc[VSTART]),                         
        1);                                                           
        }                                                             
        else if (tty->flow_ctrl & FL_MDRTS) {                         
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
   448d8:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
   448dc:	4a88           	tstl %a0                                    <== NOT EXECUTED
   448de:	6708           	beqs 448e8 <rtems_termios_read+0x222>       <== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
   448e0:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   448e4:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   448e6:	588f           	addql #4,%sp                                <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
   448e8:	7002           	moveq #2,%d0                                
   448ea:	4285           	clrl %d5                                    
   448ec:	1a2e ffff      	moveb %fp@(-1),%d5                          
   448f0:	c0aa 003c      	andl %a2@(60),%d0                           
   448f4:	670e           	beqs 44904 <rtems_termios_read+0x23e>       <== NEVER TAKEN
        if  (siproc (c, tty))                                         
   448f6:	2f0a           	movel %a2,%sp@-                             
   448f8:	2f05           	movel %d5,%sp@-                             
   448fa:	4e94           	jsr %a4@                                    
   448fc:	508f           	addql #8,%sp                                
          wait = 0;                                                   
   448fe:	4a80           	tstl %d0                                    
   44900:	57c0           	seq %d0                                     
   44902:	6014           	bras 44918 <rtems_termios_read+0x252>       
      }                                                               
      else {                                                          
        siproc (c, tty);                                              
   44904:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44906:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   44908:	4e94           	jsr %a4@                                    <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
   4490a:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4490c:	4280           	clrl %d0                                    <== NOT EXECUTED
   4490e:	102a 0047      	moveb %a2@(71),%d0                          <== NOT EXECUTED
          wait = 0;                                                   
   44912:	b0aa 0020      	cmpl %a2@(32),%d0                           <== NOT EXECUTED
   44916:	5ec0           	sgt %d0                                     <== NOT EXECUTED
   44918:	49c0           	extbl %d0                                   
   4491a:	c480           	andl %d0,%d2                                
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
   4491c:	2a2a 0070      	movel %a2@(112),%d5                         
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   44920:	222a 005c      	movel %a2@(92),%d1                          
   44924:	202a 0060      	movel %a2@(96),%d0                          
   44928:	b081           	cmpl %d1,%d0                                
   4492a:	6710           	beqs 4493c <rtems_termios_read+0x276>       
                       (tty->ccount < (CBUFSIZE-1))) {                
   4492c:	2039 0005 c1b0 	movel 5c1b0 <rtems_termios_cbufsize>,%d0    
   44932:	5380           	subql #1,%d0                                
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   44934:	b0aa 0020      	cmpl %a2@(32),%d0                           
   44938:	6e00 ff06      	bgtw 44840 <rtems_termios_read+0x17a>       
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
   4493c:	4a82           	tstl %d2                                    
   4493e:	6728           	beqs 44968 <rtems_termios_read+0x2a2>       
      sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,           
   44940:	2f05           	movel %d5,%sp@-                             
   44942:	2f2a 006c      	movel %a2@(108),%sp@-                       
   44946:	2046           	moveal %d6,%a0                              
   44948:	2f2a 0068      	movel %a2@(104),%sp@-                       
   4494c:	4e90           	jsr %a0@                                    
        tty->rawInBufSemaphoreOptions,                                
        timeout);                                                     
      if (sc != RTEMS_SUCCESSFUL)                                     
   4494e:	4fef 000c      	lea %sp@(12),%sp                            
   44952:	4a80           	tstl %d0                                    
   44954:	67ca           	beqs 44920 <rtems_termios_read+0x25a>       <== ALWAYS TAKEN
   44956:	6010           	bras 44968 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
      sc = fillBufferQueue (tty);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
   44958:	206a 001c      	moveal %a2@(28),%a0                         
    count--;                                                          
   4495c:	5383           	subql #1,%d3                                
      sc = fillBufferQueue (tty);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
   4495e:	1af0 0800      	moveb %a0@(00000000,%d0:l),%a5@+            
   44962:	5280           	addql #1,%d0                                
   44964:	2540 0024      	movel %d0,%a2@(36)                          
    else                                                              
      sc = fillBufferQueue (tty);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
   44968:	4a83           	tstl %d3                                    
   4496a:	670a           	beqs 44976 <rtems_termios_read+0x2b0>       <== NEVER TAKEN
   4496c:	202a 0024      	movel %a2@(36),%d0                          
   44970:	b0aa 0020      	cmpl %a2@(32),%d0                           
   44974:	6de2           	blts 44958 <rtems_termios_read+0x292>       
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
   44976:	202b 0010      	movel %a3@(16),%d0                          
   4497a:	9083           	subl %d3,%d0                                
   4497c:	2740 0018      	movel %d0,%a3@(24)                          
  tty->tty_rcvwakeup = 0;                                             
   44980:	42aa 00e4      	clrl %a2@(228)                              
  rtems_semaphore_release (tty->isem);                                
   44984:	2f2a 0014      	movel %a2@(20),%sp@-                        
   44988:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  return sc;                                                          
   4498e:	588f           	addql #4,%sp                                
}                                                                     
   44990:	2004           	movel %d4,%d0                               
   44992:	4cee 3cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a5            
   44998:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044c7a <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) {
   44c7a:	4e56 fff4      	linkw %fp,#-12                              
   44c7e:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   44c82:	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))         
   44c86:	202a 00b8      	movel %a2@(184),%d0                         
   44c8a:	0280 0000 0403 	andil #1027,%d0                             
   44c90:	0c80 0000 0401 	cmpil #1025,%d0                             
   44c96:	663c           	bnes 44cd4 <rtems_termios_refill_transmitter+0x5a><== ALWAYS TAKEN
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor,                                  
   44c98:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44c9c:	486a 004a      	pea %a2@(74)                                <== NOT EXECUTED
   44ca0:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44ca4:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   44ca8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
        (void *)&(tty->termios.c_cc[VSTOP]), 1);                      
                                                                      
    rtems_interrupt_disable(level);                                   
   44caa:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   44cb0:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   44cb2:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   44cb4:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
    tty->t_dqlen--;                                                   
    tty->flow_ctrl |= FL_ISNTXOF;                                     
   44cb6:	7402           	moveq #2,%d2                                <== NOT EXECUTED
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor,                                  
        (void *)&(tty->termios.c_cc[VSTOP]), 1);                      
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
   44cb8:	53aa 0090      	subql #1,%a2@(144)                          <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
   44cbc:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44cc0:	8082           	orl %d2,%d0                                 <== NOT EXECUTED
   44cc2:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
   44cc6:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   44cc8:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
   44ccc:	143c 0001      	moveb #1,%d2                                <== NOT EXECUTED
   44cd0:	6000 0150      	braw 44e22 <rtems_termios_refill_transmitter+0x1a8><== NOT EXECUTED
  }                                                                   
  else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
   44cd4:	202a 00b8      	movel %a2@(184),%d0                         
   44cd8:	7203           	moveq #3,%d1                                
   44cda:	7402           	moveq #2,%d2                                
   44cdc:	c081           	andl %d1,%d0                                
   44cde:	b480           	cmpl %d0,%d2                                
   44ce0:	663a           	bnes 44d1c <rtems_termios_refill_transmitter+0xa2><== ALWAYS TAKEN
     * 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,                                  
   44ce2:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44ce6:	486a 0049      	pea %a2@(73)                                <== NOT EXECUTED
   44cea:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44cee:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   44cf2:	4e90           	jsr %a0@                                    <== NOT EXECUTED
             (void *)&(tty->termios.c_cc[VSTART]), 1);                
                                                                      
    rtems_interrupt_disable(level);                                   
   44cf4:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   44cfa:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   44cfc:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   44cfe:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
    tty->t_dqlen--;                                                   
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
   44d00:	74fd           	moveq #-3,%d2                               <== NOT EXECUTED
     */                                                               
    (*tty->device.write)(tty->minor,                                  
             (void *)&(tty->termios.c_cc[VSTART]), 1);                
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
   44d02:	53aa 0090      	subql #1,%a2@(144)                          <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
   44d06:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44d0a:	c082           	andl %d2,%d0                                <== NOT EXECUTED
   44d0c:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
   44d10:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
   44d12:	7401           	moveq #1,%d2                                <== NOT EXECUTED
             (void *)&(tty->termios.c_cc[VSTART]), 1);                
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
   44d14:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44d18:	6000 0108      	braw 44e22 <rtems_termios_refill_transmitter+0x1a8><== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
  }                                                                   
  else {                                                              
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
   44d1c:	222a 0080      	movel %a2@(128),%d1                         
   44d20:	202a 0084      	movel %a2@(132),%d0                         
   44d24:	b081           	cmpl %d1,%d0                                
   44d26:	661a           	bnes 44d42 <rtems_termios_refill_transmitter+0xc8>
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
   44d28:	7002           	moveq #2,%d0                                
   44d2a:	b0aa 0094      	cmpl %a2@(148),%d0                          
   44d2e:	6600 00f0      	bnew 44e20 <rtems_termios_refill_transmitter+0x1a6>
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
   44d32:	2f2a 008c      	movel %a2@(140),%sp@-                       <== NOT EXECUTED
   44d36:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
   44d3c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44d3e:	6000 00e0      	braw 44e20 <rtems_termios_refill_transmitter+0x1a6><== NOT EXECUTED
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
   44d42:	203c 0000 0700 	movel #1792,%d0                             
   44d48:	40c1           	movew %sr,%d1                               
   44d4a:	8081           	orl %d1,%d0                                 
   44d4c:	46c0           	movew %d0,%sr                               
    len = tty->t_dqlen;                                               
   44d4e:	206a 0090      	moveal %a2@(144),%a0                        
    tty->t_dqlen = 0;                                                 
   44d52:	42aa 0090      	clrl %a2@(144)                              
    rtems_interrupt_enable(level);                                    
   44d56:	46c1           	movew %d1,%sr                               
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
   44d58:	222a 0084      	movel %a2@(132),%d1                         
   44d5c:	d288           	addl %a0,%d1                                
   44d5e:	202a 0088      	movel %a2@(136),%d0                         
   44d62:	4c40 1003      	remul %d0,%d3,%d1                           
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
   44d66:	7202           	moveq #2,%d1                                
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
    tty->rawOutBuf.Tail = newTail;                                    
   44d68:	2543 0084      	movel %d3,%a2@(132)                         
    if (tty->rawOutBufState == rob_wait) {                            
   44d6c:	b2aa 0094      	cmpl %a2@(148),%d1                          
   44d70:	660c           	bnes 44d7e <rtems_termios_refill_transmitter+0x104>
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
   44d72:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44d76:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
   44d7c:	588f           	addql #4,%sp                                
    }                                                                 
    if (newTail == tty->rawOutBuf.Head) {                             
   44d7e:	202a 0080      	movel %a2@(128),%d0                         
   44d82:	b083           	cmpl %d3,%d0                                
   44d84:	661c           	bnes 44da2 <rtems_termios_refill_transmitter+0x128>
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
   44d86:	206a 00d4      	moveal %a2@(212),%a0                        
    }                                                                 
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
   44d8a:	42aa 0094      	clrl %a2@(148)                              
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
   44d8e:	4a88           	tstl %a0                                    
   44d90:	6700 0086      	beqw 44e18 <rtems_termios_refill_transmitter+0x19e>
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
   44d94:	2f2a 00d8      	movel %a2@(216),%sp@-                       <== NOT EXECUTED
   44d98:	486a 0030      	pea %a2@(48)                                <== NOT EXECUTED
   44d9c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44d9e:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44da0:	6076           	bras 44e18 <rtems_termios_refill_transmitter+0x19e><== NOT EXECUTED
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
   44da2:	202a 00b8      	movel %a2@(184),%d0                         
   44da6:	0280 0000 0210 	andil #528,%d0                              
   44dac:	0c80 0000 0210 	cmpil #528,%d0                              
   44db2:	6622           	bnes 44dd6 <rtems_termios_refill_transmitter+0x15c><== ALWAYS TAKEN
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
   44db4:	303c 0700      	movew #1792,%d0                             <== NOT EXECUTED
   44db8:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   44dba:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   44dbc:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
   44dbe:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44dc2:	7420           	moveq #32,%d2                               <== NOT EXECUTED
   44dc4:	8082           	orl %d2,%d0                                 <== NOT EXECUTED
   44dc6:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
   44dca:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   44dcc:	2540 0094      	movel %d0,%a2@(148)                         <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
   44dd0:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
      nToSend = 0;                                                    
   44dd2:	4202           	clrb %d2                                    <== NOT EXECUTED
   44dd4:	6044           	bras 44e1a <rtems_termios_refill_transmitter+0x1a0><== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
   44dd6:	202a 0080      	movel %a2@(128),%d0                         
   44dda:	b083           	cmpl %d3,%d0                                
   44ddc:	6406           	bccs 44de4 <rtems_termios_refill_transmitter+0x16a>
        nToSend = tty->rawOutBuf.Size - newTail;                      
   44dde:	242a 0088      	movel %a2@(136),%d2                         
   44de2:	6004           	bras 44de8 <rtems_termios_refill_transmitter+0x16e>
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
   44de4:	242a 0080      	movel %a2@(128),%d2                         
      /* 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)) {                   
   44de8:	202a 00b8      	movel %a2@(184),%d0                         
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
   44dec:	9483           	subl %d3,%d2                                
      /* 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)) {                   
   44dee:	0280 0000 0600 	andil #1536,%d0                             
   44df4:	6702           	beqs 44df8 <rtems_termios_refill_transmitter+0x17e>
        nToSend = 1;                                                  
   44df6:	7401           	moveq #1,%d2                                
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
   44df8:	7201           	moveq #1,%d1                                
   44dfa:	2541 0094      	movel %d1,%a2@(148)                         
      (*tty->device.write)(tty->minor,                                
   44dfe:	2f02           	movel %d2,%sp@-                             
   44e00:	202a 007c      	movel %a2@(124),%d0                         
   44e04:	d083           	addl %d3,%d0                                
   44e06:	2f00           	movel %d0,%sp@-                             
   44e08:	2f2a 0010      	movel %a2@(16),%sp@-                        
   44e0c:	206a 00a4      	moveal %a2@(164),%a0                        
   44e10:	4e90           	jsr %a0@                                    
   44e12:	4fef 000c      	lea %sp@(12),%sp                            
   44e16:	6002           	bras 44e1a <rtems_termios_refill_transmitter+0x1a0>
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
   44e18:	4282           	clrl %d2                                    
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(tty->minor,                                
         &tty->rawOutBuf.theBuf[newTail],                             
         nToSend);                                                    
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
   44e1a:	2543 0084      	movel %d3,%a2@(132)                         
   44e1e:	6002           	bras 44e22 <rtems_termios_refill_transmitter+0x1a8>
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
   44e20:	4282           	clrl %d2                                    
         nToSend);                                                    
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   44e22:	2002           	movel %d2,%d0                               
   44e24:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   44e2a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044c08 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
   44c08:	4e56 ffe0      	linkw %fp,#-32                              
   44c0c:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
  char c_buf;                                                         
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_RX_PROC_EVENT |                      
   44c10:	260e           	movel %fp,%d3                               
      if (c != EOF) {                                                 
        /*                                                            
         * pollRead did call enqueue on its own                       
         */                                                           
        c_buf = c;                                                    
        rtems_termios_enqueue_raw_characters (                        
   44c12:	240e           	movel %fp,%d2                               
  char c_buf;                                                         
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_RX_PROC_EVENT |                      
   44c14:	5d83           	subql #6,%d3                                
   44c16:	4bf9 0004 51d4 	lea 451d4 <rtems_event_receive>,%a5         
            RTEMS_EVENT_ANY | RTEMS_WAIT,                             
            RTEMS_NO_TIMEOUT,                                         
            &the_event);                                              
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
      tty->rxTaskId = 0;                                              
      rtems_task_delete(RTEMS_SELF);                                  
   44c1c:	49f9 0004 5a64 	lea 45a64 <rtems_task_delete>,%a4           
      if (c != EOF) {                                                 
        /*                                                            
         * pollRead did call enqueue on its own                       
         */                                                           
        c_buf = c;                                                    
        rtems_termios_enqueue_raw_characters (                        
   44c22:	5382           	subql #1,%d2                                
   44c24:	47f9 0004 49b8 	lea 449b8 <rtems_termios_enqueue_raw_characters>,%a3
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
   44c2a:	246e 0008      	moveal %fp@(8),%a2                          
  char c_buf;                                                         
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_RX_PROC_EVENT |                      
   44c2e:	2f03           	movel %d3,%sp@-                             
   44c30:	42a7           	clrl %sp@-                                  
   44c32:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   44c36:	4878 0003      	pea 3 <DIVIDE>                              
   44c3a:	4e95           	jsr %a5@                                    
             TERMIOS_RX_TERMINATE_EVENT),                             
            RTEMS_EVENT_ANY | RTEMS_WAIT,                             
            RTEMS_NO_TIMEOUT,                                         
            &the_event);                                              
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
   44c3c:	4fef 0010      	lea %sp@(16),%sp                            
   44c40:	7001           	moveq #1,%d0                                
   44c42:	c0ae fffa      	andl %fp@(-6),%d0                           
   44c46:	670c           	beqs 44c54 <rtems_termios_rxdaemon+0x4c>    <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
   44c48:	42aa 00c4      	clrl %a2@(196)                              <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
   44c4c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44c4e:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   44c50:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44c52:	60da           	bras 44c2e <rtems_termios_rxdaemon+0x26>    <== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * do something                                                 
       */                                                             
      c = tty->device.pollRead(tty->minor);                           
   44c54:	2f2a 0010      	movel %a2@(16),%sp@-                        
   44c58:	206a 00a0      	moveal %a2@(160),%a0                        
   44c5c:	4e90           	jsr %a0@                                    
      if (c != EOF) {                                                 
   44c5e:	588f           	addql #4,%sp                                
   44c60:	72ff           	moveq #-1,%d1                               
   44c62:	b280           	cmpl %d0,%d1                                
   44c64:	67c8           	beqs 44c2e <rtems_termios_rxdaemon+0x26>    <== NEVER TAKEN
        /*                                                            
         * pollRead did call enqueue on its own                       
         */                                                           
        c_buf = c;                                                    
        rtems_termios_enqueue_raw_characters (                        
   44c66:	4878 0001      	pea 1 <ADD>                                 
      c = tty->device.pollRead(tty->minor);                           
      if (c != EOF) {                                                 
        /*                                                            
         * pollRead did call enqueue on its own                       
         */                                                           
        c_buf = c;                                                    
   44c6a:	1d40 ffff      	moveb %d0,%fp@(-1)                          
        rtems_termios_enqueue_raw_characters (                        
   44c6e:	2f02           	movel %d2,%sp@-                             
   44c70:	2f0a           	movel %a2,%sp@-                             
   44c72:	4e93           	jsr %a3@                                    
   44c74:	4fef 000c      	lea %sp@(12),%sp                            
   44c78:	60b4           	bras 44c2e <rtems_termios_rxdaemon+0x26>    
                                                                      

00044e2e <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
   44e2e:	4e56 ffe8      	linkw %fp,#-24                              
   44e32:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_TX_START_EVENT |                     
   44e36:	240e           	movel %fp,%d2                               
   44e38:	5982           	subql #4,%d2                                
   44e3a:	4bf9 0004 51d4 	lea 451d4 <rtems_event_receive>,%a5         
            RTEMS_EVENT_ANY | RTEMS_WAIT,                             
            RTEMS_NO_TIMEOUT,                                         
            &the_event);                                              
    if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {              
      tty->txTaskId = 0;                                              
      rtems_task_delete(RTEMS_SELF);                                  
   44e40:	49f9 0004 5a64 	lea 45a64 <rtems_task_delete>,%a4           
        rtems_termios_linesw[tty->t_line].l_start(tty);               
      }                                                               
      /*                                                              
       * try to push further characters to device                     
       */                                                             
      rtems_termios_refill_transmitter(tty);                          
   44e46:	47f9 0004 4c7a 	lea 44c7a <rtems_termios_refill_transmitter>,%a3
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
   44e4c:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive((TERMIOS_TX_START_EVENT |                     
   44e50:	2f02           	movel %d2,%sp@-                             
   44e52:	42a7           	clrl %sp@-                                  
   44e54:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   44e58:	4878 0003      	pea 3 <DIVIDE>                              
   44e5c:	4e95           	jsr %a5@                                    
             TERMIOS_TX_TERMINATE_EVENT),                             
            RTEMS_EVENT_ANY | RTEMS_WAIT,                             
            RTEMS_NO_TIMEOUT,                                         
            &the_event);                                              
    if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {              
   44e5e:	4fef 0010      	lea %sp@(16),%sp                            
   44e62:	7001           	moveq #1,%d0                                
   44e64:	c0ae fffc      	andl %fp@(-4),%d0                           
   44e68:	670a           	beqs 44e74 <rtems_termios_txdaemon+0x46>    <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
   44e6a:	42aa 00c8      	clrl %a2@(200)                              <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
   44e6e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44e70:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   44e72:	601e           	bras 44e92 <rtems_termios_txdaemon+0x64>    <== NOT EXECUTED
    }                                                                 
    else {                                                            
      /*                                                              
       * call any line discipline start function                      
       */                                                             
      if (rtems_termios_linesw[tty->t_line].l_start != NULL) {        
   44e74:	202a 00cc      	movel %a2@(204),%d0                         
   44e78:	eb88           	lsll #5,%d0                                 
   44e7a:	0680 0005 cfd0 	addil #380880,%d0                           
   44e80:	2240           	moveal %d0,%a1                              
   44e82:	2051           	moveal %a1@,%a0                             
   44e84:	4a88           	tstl %a0                                    
   44e86:	6706           	beqs 44e8e <rtems_termios_txdaemon+0x60>    <== ALWAYS TAKEN
        rtems_termios_linesw[tty->t_line].l_start(tty);               
   44e88:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44e8a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44e8c:	588f           	addql #4,%sp                                <== NOT EXECUTED
      }                                                               
      /*                                                              
       * try to push further characters to device                     
       */                                                             
      rtems_termios_refill_transmitter(tty);                          
   44e8e:	2f0a           	movel %a2,%sp@-                             
   44e90:	4e93           	jsr %a3@                                    
   44e92:	588f           	addql #4,%sp                                
   44e94:	60ba           	bras 44e50 <rtems_termios_txdaemon+0x22>    
                                                                      

0004460e <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
   4460e:	4e56 ffe8      	linkw %fp,#-24                              
   44612:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   44616:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
   4461a:	2052           	moveal %a2@,%a0                             
   4461c:	2668 0034      	moveal %a0@(52),%a3                         
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44620:	42a7           	clrl %sp@-                                  
   44622:	42a7           	clrl %sp@-                                  
   44624:	2f2b 0018      	movel %a3@(24),%sp@-                        
   44628:	4eb9 0004 5788 	jsr 45788 <rtems_semaphore_obtain>          
  if (sc != RTEMS_SUCCESSFUL)                                         
   4462e:	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);
   44632:	2400           	movel %d0,%d2                               
  if (sc != RTEMS_SUCCESSFUL)                                         
   44634:	6600 0084      	bnew 446ba <rtems_termios_write+0xac>       
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
   44638:	202b 00cc      	movel %a3@(204),%d0                         
   4463c:	eb88           	lsll #5,%d0                                 
   4463e:	0680 0005 cfc8 	addil #380872,%d0                           
   44644:	2240           	moveal %d0,%a1                              
   44646:	2051           	moveal %a1@,%a0                             
   44648:	4a88           	tstl %a0                                    
   4464a:	6718           	beqs 44664 <rtems_termios_write+0x56>       <== ALWAYS TAKEN
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
   4464c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4464e:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   44650:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    rtems_semaphore_release (tty->osem);                              
   44652:	2f2b 0018      	movel %a3@(24),%sp@-                        <== NOT EXECUTED
                                                                      
  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);         
   44656:	2400           	movel %d0,%d2                               <== NOT EXECUTED
    rtems_semaphore_release (tty->osem);                              
   44658:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         <== NOT EXECUTED
    return sc;                                                        
   4465e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44662:	6056           	bras 446ba <rtems_termios_write+0xac>       <== NOT EXECUTED
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
   44664:	7001           	moveq #1,%d0                                
   44666:	c0ab 0034      	andl %a3@(52),%d0                           
   4466a:	6728           	beqs 44694 <rtems_termios_write+0x86>       <== NEVER TAKEN
    uint32_t   count = args->count;                                   
   4466c:	262a 0010      	movel %a2@(16),%d3                          
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
   44670:	4bfa fa68      	lea %pc@(440da <oproc>),%a5                 
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
   44674:	286a 000c      	moveal %a2@(12),%a4                         
    while (count--)                                                   
   44678:	600e           	bras 44688 <rtems_termios_write+0x7a>       
      oproc (*buffer++, tty);                                         
   4467a:	4280           	clrl %d0                                    
   4467c:	101c           	moveb %a4@+,%d0                             
   4467e:	5383           	subql #1,%d3                                
   44680:	2f0b           	movel %a3,%sp@-                             
   44682:	2f00           	movel %d0,%sp@-                             
   44684:	4e95           	jsr %a5@                                    
   44686:	508f           	addql #8,%sp                                
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
   44688:	4a83           	tstl %d3                                    
   4468a:	66ee           	bnes 4467a <rtems_termios_write+0x6c>       
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
   4468c:	256a 0010 0018 	movel %a2@(16),%a2@(24)                     
   44692:	601a           	bras 446ae <rtems_termios_write+0xa0>       
  }                                                                   
  else {                                                              
    rtems_termios_puts (args->buffer, args->count, tty);              
   44694:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   44696:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   4469a:	2f2a 000c      	movel %a2@(12),%sp@-                        <== NOT EXECUTED
   4469e:	4eb9 0004 3fe2 	jsr 43fe2 <rtems_termios_puts>              <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
   446a4:	256a 0010 0018 	movel %a2@(16),%a2@(24)                     <== NOT EXECUTED
   446aa:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
   446ae:	2f2b 0018      	movel %a3@(24),%sp@-                        
   446b2:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  return sc;                                                          
   446b8:	588f           	addql #4,%sp                                
}                                                                     
   446ba:	2002           	movel %d2,%d0                               
   446bc:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   446c2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00051bb4 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
   51bb4:	4e56 fffc      	linkw %fp,#-4                               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
   51bb8:	486e fffc      	pea %fp@(-4)                                
   51bbc:	2f2e 0008      	movel %fp@(8),%sp@-                         
   51bc0:	4879 0007 6d54 	pea 76d54 <_Timer_Information>              
   51bc6:	4eb9 0005 462c 	jsr 5462c <_Objects_Get>                    
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   51bcc:	4fef 000c      	lea %sp@(12),%sp                            
   51bd0:	4aae fffc      	tstl %fp@(-4)                               
   51bd4:	6620           	bnes 51bf6 <rtems_timer_cancel+0x42>        
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
   51bd6:	7204           	moveq #4,%d1                                
   51bd8:	2040           	moveal %d0,%a0                              
   51bda:	b2a8 0038      	cmpl %a0@(56),%d1                           
   51bde:	670c           	beqs 51bec <rtems_timer_cancel+0x38>        <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
   51be0:	4868 0010      	pea %a0@(16)                                
   51be4:	4eb9 0005 6204 	jsr 56204 <_Watchdog_Remove>                
   51bea:	588f           	addql #4,%sp                                
      _Thread_Enable_dispatch();                                      
   51bec:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   51bf2:	4280           	clrl %d0                                    
   51bf4:	6002           	bras 51bf8 <rtems_timer_cancel+0x44>        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   51bf6:	7004           	moveq #4,%d0                                
}                                                                     
   51bf8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00051f80 <rtems_timer_server_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
   51f80:	4e56 ffe4      	linkw %fp,#-28                              
   51f84:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   51f88:	262e 0008      	movel %fp@(8),%d3                           
   51f8c:	242e 000c      	movel %fp@(12),%d2                          
   51f90:	282e 0010      	movel %fp@(16),%d4                          
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
   51f94:	2679 0007 6d8e 	moveal 76d8e <_Timer_server>,%a3            
                                                                      
  if ( !timer_server )                                                
   51f9a:	4a8b           	tstl %a3                                    
   51f9c:	6700 0086      	beqw 52024 <rtems_timer_server_fire_after+0xa4>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
   51fa0:	4a84           	tstl %d4                                    
   51fa2:	6700 0084      	beqw 52028 <rtems_timer_server_fire_after+0xa8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
   51fa6:	4a82           	tstl %d2                                    
   51fa8:	6700 0082      	beqw 5202c <rtems_timer_server_fire_after+0xac>
   51fac:	486e fffc      	pea %fp@(-4)                                
   51fb0:	2f03           	movel %d3,%sp@-                             
   51fb2:	4879 0007 6d54 	pea 76d54 <_Timer_Information>              
   51fb8:	4eb9 0005 462c 	jsr 5462c <_Objects_Get>                    
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   51fbe:	4fef 000c      	lea %sp@(12),%sp                            
   51fc2:	2440           	moveal %d0,%a2                              
   51fc4:	4aae fffc      	tstl %fp@(-4)                               
   51fc8:	6666           	bnes 52030 <rtems_timer_server_fire_after+0xb0><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   51fca:	486a 0010      	pea %a2@(16)                                
   51fce:	4eb9 0005 6204 	jsr 56204 <_Watchdog_Remove>                
                                                                      
      _ISR_Disable( level );                                          
   51fd4:	203c 0000 0700 	movel #1792,%d0                             
   51fda:	40c1           	movew %sr,%d1                               
   51fdc:	8081           	orl %d1,%d0                                 
   51fde:	46c0           	movew %d0,%sr                               
   51fe0:	49f9 0005 4e8e 	lea 54e8e <_Thread_Enable_dispatch>,%a4     
        /*                                                            
         *  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 ) {         
   51fe6:	588f           	addql #4,%sp                                
   51fe8:	4aaa 0018      	tstl %a2@(24)                               
   51fec:	6706           	beqs 51ff4 <rtems_timer_server_fire_after+0x74>
          _ISR_Enable( level );                                       
   51fee:	46c1           	movew %d1,%sr                               
          _Thread_Enable_dispatch();                                  
   51ff0:	4e94           	jsr %a4@                                    
   51ff2:	602c           	bras 52020 <rtems_timer_server_fire_after+0xa0>
        /*                                                            
         *  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;                
   51ff4:	7001           	moveq #1,%d0                                
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   51ff6:	256e 0014 0034 	movel %fp@(20),%a2@(52)                     
   51ffc:	2540 0038      	movel %d0,%a2@(56)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   52000:	42aa 0018      	clrl %a2@(24)                               
  the_watchdog->routine   = routine;                                  
   52004:	2544 002c      	movel %d4,%a2@(44)                          
  the_watchdog->id        = id;                                       
   52008:	2543 0030      	movel %d3,%a2@(48)                          
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
   5200c:	2542 001c      	movel %d2,%a2@(28)                          
      _ISR_Enable( level );                                           
   52010:	46c1           	movew %d1,%sr                               
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
   52012:	2f0a           	movel %a2,%sp@-                             
   52014:	2f0b           	movel %a3,%sp@-                             
   52016:	206b 0004      	moveal %a3@(4),%a0                          
   5201a:	4e90           	jsr %a0@                                    
                                                                      
      _Thread_Enable_dispatch();                                      
   5201c:	4e94           	jsr %a4@                                    
      return RTEMS_SUCCESSFUL;                                        
   5201e:	508f           	addql #8,%sp                                
   52020:	4280           	clrl %d0                                    
   52022:	600e           	bras 52032 <rtems_timer_server_fire_after+0xb2>
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
   52024:	700e           	moveq #14,%d0                               
   52026:	600a           	bras 52032 <rtems_timer_server_fire_after+0xb2>
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
   52028:	7009           	moveq #9,%d0                                
   5202a:	6006           	bras 52032 <rtems_timer_server_fire_after+0xb2>
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
   5202c:	700a           	moveq #10,%d0                               
   5202e:	6002           	bras 52032 <rtems_timer_server_fire_after+0xb2>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   52030:	7004           	moveq #4,%d0                                
}                                                                     
   52032:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            
   52038:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005203c <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
   5203c:	4e56 ffe8      	linkw %fp,#-24                              
   52040:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   52044:	262e 0008      	movel %fp@(8),%d3                           
   52048:	242e 000c      	movel %fp@(12),%d2                          
   5204c:	282e 0010      	movel %fp@(16),%d4                          
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
   52050:	2679 0007 6d8e 	moveal 76d8e <_Timer_server>,%a3            
                                                                      
  if ( !timer_server )                                                
   52056:	4a8b           	tstl %a3                                    
   52058:	6700 0098      	beqw 520f2 <rtems_timer_server_fire_when+0xb6>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
   5205c:	4a39 0007 64e0 	tstb 764e0 <_TOD_Is_set>                    
   52062:	6700 0092      	beqw 520f6 <rtems_timer_server_fire_when+0xba>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
   52066:	4a84           	tstl %d4                                    
   52068:	6700 0090      	beqw 520fa <rtems_timer_server_fire_when+0xbe>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
   5206c:	2f02           	movel %d2,%sp@-                             
   5206e:	4eb9 0004 f4ec 	jsr 4f4ec <_TOD_Validate>                   
   52074:	588f           	addql #4,%sp                                
   52076:	4a00           	tstb %d0                                    
   52078:	6700 0084      	beqw 520fe <rtems_timer_server_fire_when+0xc2>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   5207c:	2f02           	movel %d2,%sp@-                             
   5207e:	4eb9 0004 f450 	jsr 4f450 <_TOD_To_seconds>                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   52084:	588f           	addql #4,%sp                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   52086:	2400           	movel %d0,%d2                               
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   52088:	b0b9 0007 655a 	cmpl 7655a <_TOD_Now>,%d0                   
   5208e:	636e           	blss 520fe <rtems_timer_server_fire_when+0xc2>
   52090:	486e fffc      	pea %fp@(-4)                                
   52094:	2f03           	movel %d3,%sp@-                             
   52096:	4879 0007 6d54 	pea 76d54 <_Timer_Information>              
   5209c:	4eb9 0005 462c 	jsr 5462c <_Objects_Get>                    
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   520a2:	4fef 000c      	lea %sp@(12),%sp                            
   520a6:	2440           	moveal %d0,%a2                              
   520a8:	4aae fffc      	tstl %fp@(-4)                               
   520ac:	6654           	bnes 52102 <rtems_timer_server_fire_when+0xc6>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   520ae:	486a 0010      	pea %a2@(16)                                
   520b2:	4eb9 0005 6204 	jsr 56204 <_Watchdog_Remove>                
  the_watchdog->user_data = user_data;                                
   520b8:	256e 0014 0034 	movel %fp@(20),%a2@(52)                     
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
   520be:	94b9 0007 655a 	subl 7655a <_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;               
   520c4:	7003           	moveq #3,%d0                                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   520c6:	42aa 0018      	clrl %a2@(24)                               
   520ca:	2540 0038      	movel %d0,%a2@(56)                          
  the_watchdog->routine   = routine;                                  
   520ce:	2544 002c      	movel %d4,%a2@(44)                          
  the_watchdog->id        = id;                                       
   520d2:	2543 0030      	movel %d3,%a2@(48)                          
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
   520d6:	2542 001c      	movel %d2,%a2@(28)                          
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
   520da:	2f0a           	movel %a2,%sp@-                             
   520dc:	2f0b           	movel %a3,%sp@-                             
   520de:	206b 0004      	moveal %a3@(4),%a0                          
   520e2:	4e90           	jsr %a0@                                    
                                                                      
      _Thread_Enable_dispatch();                                      
   520e4:	4eb9 0005 4e8e 	jsr 54e8e <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   520ea:	4fef 000c      	lea %sp@(12),%sp                            
   520ee:	4280           	clrl %d0                                    
   520f0:	6012           	bras 52104 <rtems_timer_server_fire_when+0xc8>
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
   520f2:	700e           	moveq #14,%d0                               
   520f4:	600e           	bras 52104 <rtems_timer_server_fire_when+0xc8>
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
   520f6:	700b           	moveq #11,%d0                               <== NOT EXECUTED
   520f8:	600a           	bras 52104 <rtems_timer_server_fire_when+0xc8><== NOT EXECUTED
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
   520fa:	7009           	moveq #9,%d0                                
   520fc:	6006           	bras 52104 <rtems_timer_server_fire_when+0xc8>
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
   520fe:	7014           	moveq #20,%d0                               
   52100:	6002           	bras 52104 <rtems_timer_server_fire_when+0xc8>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   52102:	7004           	moveq #4,%d0                                
}                                                                     
   52104:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   5210a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000424cc <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
   424cc:	4e56 fff0      	linkw %fp,#-16                              
   424d0:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   424d4:	242e 0008      	movel %fp@(8),%d2                           
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
   424d8:	0802 001d      	btst #29,%d2                                
   424dc:	672e           	beqs 4250c <rtems_verror+0x40>              
    if (rtems_panic_in_progress++)                                    
   424de:	2039 0005 d7b0 	movel 5d7b0 <rtems_panic_in_progress>,%d0   
   424e4:	2200           	movel %d0,%d1                               
   424e6:	5281           	addql #1,%d1                                
   424e8:	23c1 0005 d7b0 	movel %d1,5d7b0 <rtems_panic_in_progress>   
   424ee:	4a80           	tstl %d0                                    
   424f0:	670e           	beqs 42500 <rtems_verror+0x34>              <== ALWAYS TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   424f2:	2039 0005 d90c 	movel 5d90c <_Thread_Dispatch_disable_level>,%d0<== NOT EXECUTED
   424f8:	5280           	addql #1,%d0                                <== NOT EXECUTED
   424fa:	23c0 0005 d90c 	movel %d0,5d90c <_Thread_Dispatch_disable_level><== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
   42500:	7002           	moveq #2,%d0                                
   42502:	b0b9 0005 d7b0 	cmpl 5d7b0 <rtems_panic_in_progress>,%d0    
   42508:	6d00 0100      	bltw 4260a <rtems_verror+0x13e>             
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
   4250c:	2079 0005 c284 	moveal 5c284 <_impure_ptr>,%a0              
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
   42512:	2802           	movel %d2,%d4                               
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
   42514:	2f28 0008      	movel %a0@(8),%sp@-                         
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
   42518:	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 */  
   4251e:	4eb9 0004 cd9a 	jsr 4cd9a <fflush>                          
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
   42524:	588f           	addql #4,%sp                                
   42526:	0802 001e      	btst #30,%d2                                
   4252a:	670c           	beqs 42538 <rtems_verror+0x6c>              
    local_errno = errno;                                              
   4252c:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   42532:	2040           	moveal %d0,%a0                              
   42534:	2610           	movel %a0@,%d3                              
   42536:	6002           	bras 4253a <rtems_verror+0x6e>              
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
   42538:	4283           	clrl %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);          
   4253a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4253e:	2079 0005 c284 	moveal 5c284 <_impure_ptr>,%a0              
   42544:	2f2e 000c      	movel %fp@(12),%sp@-                        
   42548:	2f28 000c      	movel %a0@(12),%sp@-                        
   4254c:	4eb9 0005 3606 	jsr 53606 <vfprintf>                        
                                                                      
  if (status)                                                         
   42552:	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);          
   42556:	2400           	movel %d0,%d2                               
                                                                      
  if (status)                                                         
   42558:	4a84           	tstl %d4                                    
   4255a:	6726           	beqs 42582 <rtems_verror+0xb6>              
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
   4255c:	2f04           	movel %d4,%sp@-                             
   4255e:	4eb9 0004 24b4 	jsr 424b4 <rtems_status_text>               
   42564:	2079 0005 c284 	moveal 5c284 <_impure_ptr>,%a0              
   4256a:	2f00           	movel %d0,%sp@-                             
   4256c:	4879 0005 ace7 	pea 5ace7 <IMFS_ops+0x4f>                   
   42572:	2f28 000c      	movel %a0@(12),%sp@-                        
   42576:	4eb9 0004 d1c2 	jsr 4d1c2 <fprintf>                         
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
   4257c:	4fef 0010      	lea %sp@(16),%sp                            
   42580:	d480           	addl %d0,%d2                                
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
   42582:	4a83           	tstl %d3                                    
   42584:	6756           	beqs 425dc <rtems_verror+0x110>             
    if ((local_errno > 0) && *strerror(local_errno))                  
   42586:	6f36           	bles 425be <rtems_verror+0xf2>              
   42588:	2f03           	movel %d3,%sp@-                             
   4258a:	45f9 0004 da58 	lea 4da58 <strerror>,%a2                    
   42590:	4e92           	jsr %a2@                                    
   42592:	588f           	addql #4,%sp                                
   42594:	2040           	moveal %d0,%a0                              
   42596:	4a10           	tstb %a0@                                   
   42598:	6724           	beqs 425be <rtems_verror+0xf2>              <== NEVER TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
   4259a:	2f03           	movel %d3,%sp@-                             
   4259c:	4e92           	jsr %a2@                                    
   4259e:	2079 0005 c284 	moveal 5c284 <_impure_ptr>,%a0              
   425a4:	2f00           	movel %d0,%sp@-                             
   425a6:	4879 0005 acf5 	pea 5acf5 <IMFS_ops+0x5d>                   
   425ac:	2f28 000c      	movel %a0@(12),%sp@-                        
   425b0:	4eb9 0004 d1c2 	jsr 4d1c2 <fprintf>                         
   425b6:	4fef 0010      	lea %sp@(16),%sp                            
   425ba:	d480           	addl %d0,%d2                                
   425bc:	601e           	bras 425dc <rtems_verror+0x110>             
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
   425be:	2f03           	movel %d3,%sp@-                             
   425c0:	4879 0005 ad02 	pea 5ad02 <IMFS_ops+0x6a>                   
   425c6:	2079 0005 c284 	moveal 5c284 <_impure_ptr>,%a0              
   425cc:	2f28 000c      	movel %a0@(12),%sp@-                        
   425d0:	4eb9 0004 d1c2 	jsr 4d1c2 <fprintf>                         
   425d6:	4fef 000c      	lea %sp@(12),%sp                            
   425da:	d480           	addl %d0,%d2                                
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
   425dc:	4879 0005 b192 	pea 5b192 <rtems_status_assoc+0x19e>        
   425e2:	2079 0005 c284 	moveal 5c284 <_impure_ptr>,%a0              
   425e8:	2f28 000c      	movel %a0@(12),%sp@-                        
   425ec:	4eb9 0004 d1c2 	jsr 4d1c2 <fprintf>                         
                                                                      
  (void) fflush(stderr);                                              
   425f2:	2079 0005 c284 	moveal 5c284 <_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");                             
   425f8:	d480           	addl %d0,%d2                                
                                                                      
  (void) fflush(stderr);                                              
   425fa:	2f28 000c      	movel %a0@(12),%sp@-                        
   425fe:	4eb9 0004 cd9a 	jsr 4cd9a <fflush>                          
                                                                      
  return chars_written;                                               
   42604:	4fef 000c      	lea %sp@(12),%sp                            
   42608:	6002           	bras 4260c <rtems_verror+0x140>             
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
   4260a:	4282           	clrl %d2                                    <== NOT EXECUTED
  chars_written += fprintf(stderr, "\n");                             
                                                                      
  (void) fflush(stderr);                                              
                                                                      
  return chars_written;                                               
}                                                                     
   4260c:	2002           	movel %d2,%d0                               
   4260e:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   42614:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042e64 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
   42e64:	4e56 ffe4      	linkw %fp,#-28                              
   42e68:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   42e6c:	246e 0008      	moveal %fp@(8),%a2                          
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
   42e70:	4283           	clrl %d3                                    
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
   42e72:	283c 7fff ffff 	movel #2147483647,%d4                       
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
   42e78:	4282           	clrl %d2                                    
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   42e7a:	47f9 0004 f304 	lea 4f304 <__srget_r>,%a3                   
   42e80:	202a 0004      	movel %a2@(4),%d0                           
   42e84:	5380           	subql #1,%d0                                
   42e86:	2540 0004      	movel %d0,%a2@(4)                           
   42e8a:	6c0e           	bges 42e9a <scanInt+0x36>                   <== ALWAYS TAKEN
   42e8c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42e8e:	2f39 0005 dd84 	movel 5dd84 <_impure_ptr>,%sp@-             <== NOT EXECUTED
   42e94:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   42e96:	508f           	addql #8,%sp                                <== NOT EXECUTED
   42e98:	600a           	bras 42ea4 <scanInt+0x40>                   <== NOT EXECUTED
   42e9a:	2052           	moveal %a2@,%a0                             
   42e9c:	4280           	clrl %d0                                    
   42e9e:	1010           	moveb %a0@,%d0                              
   42ea0:	5288           	addql #1,%a0                                
   42ea2:	2488           	movel %a0,%a2@                              
    if (c == ':')                                                     
   42ea4:	723a           	moveq #58,%d1                               
   42ea6:	b280           	cmpl %d0,%d1                                
   42ea8:	6750           	beqs 42efa <scanInt+0x96>                   
      break;                                                          
    if (sign == 0) {                                                  
   42eaa:	4a83           	tstl %d3                                    
   42eac:	660e           	bnes 42ebc <scanInt+0x58>                   
      if (c == '-') {                                                 
   42eae:	7c2d           	moveq #45,%d6                               
   42eb0:	bc80           	cmpl %d0,%d6                                
   42eb2:	6606           	bnes 42eba <scanInt+0x56>                   
        sign = -1;                                                    
        limit++;                                                      
   42eb4:	5284           	addql #1,%d4                                
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
   42eb6:	76ff           	moveq #-1,%d3                               
        limit++;                                                      
        continue;                                                     
   42eb8:	60c6           	bras 42e80 <scanInt+0x1c>                   
      }                                                               
      sign = 1;                                                       
   42eba:	7601           	moveq #1,%d3                                
    }                                                                 
    if (!isdigit(c))                                                  
   42ebc:	2079 0005 dd80 	moveal 5dd80 <__ctype_ptr__>,%a0            
   42ec2:	1230 0801      	moveb %a0@(00000001,%d0:l),%d1              
   42ec6:	49c1           	extbl %d1                                   
   42ec8:	44c1           	movew %d1,%ccr                              
   42eca:	6640           	bnes 42f0c <scanInt+0xa8>                   
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
   42ecc:	2204           	movel %d4,%d1                               
   42ece:	7c0a           	moveq #10,%d6                               
   42ed0:	4c46 1005      	remul %d6,%d5,%d1                           
   42ed4:	4c46 1001      	remul %d6,%d1,%d1                           
   42ed8:	b282           	cmpl %d2,%d1                                
   42eda:	6530           	bcss 42f0c <scanInt+0xa8>                   <== NEVER TAKEN
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
   42edc:	0680 ffff ffd0 	addil #-48,%d0                              
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
   42ee2:	b282           	cmpl %d2,%d1                                
   42ee4:	6604           	bnes 42eea <scanInt+0x86>                   <== ALWAYS TAKEN
   42ee6:	ba80           	cmpl %d0,%d5                                <== NOT EXECUTED
   42ee8:	6522           	bcss 42f0c <scanInt+0xa8>                   <== NOT EXECUTED
      return 0;                                                       
    i = i * 10 + d;                                                   
   42eea:	2202           	movel %d2,%d1                               
   42eec:	e789           	lsll #3,%d1                                 
   42eee:	2241           	moveal %d1,%a1                              
   42ef0:	41f1 2a00      	lea %a1@(00000000,%d2:l:2),%a0              
   42ef4:	2400           	movel %d0,%d2                               
   42ef6:	d488           	addl %a0,%d2                                
   42ef8:	6086           	bras 42e80 <scanInt+0x1c>                   
  }                                                                   
  if (sign == 0)                                                      
   42efa:	4a83           	tstl %d3                                    
   42efc:	670e           	beqs 42f0c <scanInt+0xa8>                   <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
   42efe:	4c02 3800      	mulsl %d2,%d3                               
  return 1;                                                           
   42f02:	7001           	moveq #1,%d0                                
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
   42f04:	206e 000c      	moveal %fp@(12),%a0                         
   42f08:	2083           	movel %d3,%a0@                              
  return 1;                                                           
   42f0a:	6002           	bras 42f0e <scanInt+0xaa>                   
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
   42f0c:	4280           	clrl %d0                                    
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
   42f0e:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   42f14:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042f18 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
   42f18:	4e56 ffec      	linkw %fp,#-20                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   42f1c:	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)
{                                                                     
   42f20:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   42f24:	286e 0008      	moveal %fp@(8),%a4                          
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   42f28:	4bf9 0004 f304 	lea 4f304 <__srget_r>,%a5                   
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
   42f2e:	246e 0010      	moveal %fp@(16),%a2                         
   42f32:	266e 0014      	moveal %fp@(20),%a3                         
   42f36:	242e 0018      	movel %fp@(24),%d2                          
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   42f3a:	2092           	movel %a2@,%a0@                             
  for (;;) {                                                          
    c = getc(fp);                                                     
   42f3c:	202c 0004      	movel %a4@(4),%d0                           
   42f40:	5380           	subql #1,%d0                                
   42f42:	2940 0004      	movel %d0,%a4@(4)                           
   42f46:	6c0e           	bges 42f56 <scanString+0x3e>                
   42f48:	2f0c           	movel %a4,%sp@-                             
   42f4a:	2f39 0005 dd84 	movel 5dd84 <_impure_ptr>,%sp@-             
   42f50:	4e95           	jsr %a5@                                    
   42f52:	508f           	addql #8,%sp                                
   42f54:	600a           	bras 42f60 <scanString+0x48>                
   42f56:	2054           	moveal %a4@,%a0                             
   42f58:	4280           	clrl %d0                                    
   42f5a:	1010           	moveb %a0@,%d0                              
   42f5c:	5288           	addql #1,%a0                                
   42f5e:	2888           	movel %a0,%a4@                              
    if (c == ':') {                                                   
   42f60:	723a           	moveq #58,%d1                               
   42f62:	b280           	cmpl %d0,%d1                                
   42f64:	6606           	bnes 42f6c <scanString+0x54>                
        if (nlFlag)                                                   
   42f66:	4a82           	tstl %d2                                    
   42f68:	6724           	beqs 42f8e <scanString+0x76>                
   42f6a:	602e           	bras 42f9a <scanString+0x82>                
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
   42f6c:	720a           	moveq #10,%d1                               
   42f6e:	b280           	cmpl %d0,%d1                                
   42f70:	6606           	bnes 42f78 <scanString+0x60>                
        if (!nlFlag)                                                  
   42f72:	4a82           	tstl %d2                                    
   42f74:	6618           	bnes 42f8e <scanString+0x76>                
   42f76:	6022           	bras 42f9a <scanString+0x82>                
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
   42f78:	72ff           	moveq #-1,%d1                               
   42f7a:	b280           	cmpl %d0,%d1                                
   42f7c:	671c           	beqs 42f9a <scanString+0x82>                
      return 0;                                                       
    if (*nleft < 2)                                                   
   42f7e:	7201           	moveq #1,%d1                                
   42f80:	b293           	cmpl %a3@,%d1                               
   42f82:	6416           	bccs 42f9a <scanString+0x82>                <== NEVER TAKEN
      return 0;                                                       
    **bufp = c;                                                       
   42f84:	2052           	moveal %a2@,%a0                             
   42f86:	1080           	moveb %d0,%a0@                              
    ++(*bufp);                                                        
   42f88:	5292           	addql #1,%a2@                               
    --(*nleft);                                                       
   42f8a:	5393           	subql #1,%a3@                               
  }                                                                   
   42f8c:	60ae           	bras 42f3c <scanString+0x24>                
  **bufp = '\0';                                                      
   42f8e:	2052           	moveal %a2@,%a0                             
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
   42f90:	7001           	moveq #1,%d0                                
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
   42f92:	4210           	clrb %a0@                                   
  ++(*bufp);                                                          
   42f94:	5292           	addql #1,%a2@                               
  --(*nleft);                                                         
   42f96:	5393           	subql #1,%a3@                               
  return 1;                                                           
   42f98:	6002           	bras 42f9c <scanString+0x84>                
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
   42f9a:	4280           	clrl %d0                                    
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
   42f9c:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   42fa2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042fa6 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
   42fa6:	4e56 ffe4      	linkw %fp,#-28                              
   42faa:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42fae:	42a7           	clrl %sp@-                                  
   42fb0:	280e           	movel %fp,%d4                               
   42fb2:	0684 0000 0014 	addil #20,%d4                               
   42fb8:	260e           	movel %fp,%d3                               
   42fba:	0683 0000 0010 	addil #16,%d3                               
   42fc0:	47fa ff56      	lea %pc@(42f18 <scanString>),%a3            
   42fc4:	2f04           	movel %d4,%sp@-                             
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   42fc6:	246e 000c      	moveal %fp@(12),%a2                         
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42fca:	2f03           	movel %d3,%sp@-                             
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   42fcc:	242e 0008      	movel %fp@(8),%d2                           
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42fd0:	2f0a           	movel %a2,%sp@-                             
   42fd2:	2f02           	movel %d2,%sp@-                             
   42fd4:	4e93           	jsr %a3@                                    
   42fd6:	4fef 0014      	lea %sp@(20),%sp                            
   42fda:	4a80           	tstl %d0                                    
   42fdc:	6700 00b6      	beqw 43094 <scangr+0xee>                    
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   42fe0:	42a7           	clrl %sp@-                                  
   42fe2:	2f04           	movel %d4,%sp@-                             
   42fe4:	2f03           	movel %d3,%sp@-                             
   42fe6:	486a 0004      	pea %a2@(4)                                 
   42fea:	2f02           	movel %d2,%sp@-                             
   42fec:	4e93           	jsr %a3@                                    
   42fee:	4fef 0014      	lea %sp@(20),%sp                            
   42ff2:	4a80           	tstl %d0                                    
   42ff4:	6700 009e      	beqw 43094 <scangr+0xee>                    
   || !scanInt(fp, &grgid)                                            
   42ff8:	486e fffc      	pea %fp@(-4)                                
   42ffc:	2f02           	movel %d2,%sp@-                             
   42ffe:	4eba fe64      	jsr %pc@(42e64 <scanInt>)                   
   43002:	508f           	addql #8,%sp                                
   43004:	4a80           	tstl %d0                                    
   43006:	6700 008c      	beqw 43094 <scangr+0xee>                    
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
   4300a:	4878 0001      	pea 1 <ADD>                                 
   4300e:	2f04           	movel %d4,%sp@-                             
   43010:	2f03           	movel %d3,%sp@-                             
   43012:	486e fff8      	pea %fp@(-8)                                
   43016:	2f02           	movel %d2,%sp@-                             
   43018:	4e93           	jsr %a3@                                    
   4301a:	4fef 0014      	lea %sp@(20),%sp                            
   4301e:	4a80           	tstl %d0                                    
   43020:	6772           	beqs 43094 <scangr+0xee>                    <== NEVER TAKEN
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43022:	222e fff8      	movel %fp@(-8),%d1                          
   43026:	7001           	moveq #1,%d0                                
   43028:	2041           	moveal %d1,%a0                              
  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;                                                
   4302a:	356e fffe 0008 	movew %fp@(-2),%a2@(8)                      
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43030:	600a           	bras 4303c <scangr+0x96>                    
    if(*cp == ',')                                                    
   43032:	49c2           	extbl %d2                                   
   43034:	762c           	moveq #44,%d3                               
   43036:	b682           	cmpl %d2,%d3                                
   43038:	6602           	bnes 4303c <scangr+0x96>                    
      memcount++;                                                     
   4303a:	5280           	addql #1,%d0                                
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   4303c:	1418           	moveb %a0@+,%d2                             
   4303e:	66f2           	bnes 43032 <scangr+0x8c>                    
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
   43040:	e588           	lsll #2,%d0                                 
   43042:	0680 0000 0013 	addil #19,%d0                               
   43048:	b0ae 0014      	cmpl %fp@(20),%d0                           
   4304c:	6246           	bhis 43094 <scangr+0xee>                    <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
   4304e:	202e 0010      	movel %fp@(16),%d0                          
   43052:	74f0           	moveq #-16,%d2                              
   43054:	0680 0000 000f 	addil #15,%d0                               
   4305a:	c082           	andl %d2,%d0                                
   4305c:	2540 000a      	movel %d0,%a2@(10)                          
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   43060:	2040           	moveal %d0,%a0                              
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43062:	7001           	moveq #1,%d0                                
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   43064:	2081           	movel %d1,%a0@                              
   43066:	206e fff8      	moveal %fp@(-8),%a0                         
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   4306a:	6018           	bras 43084 <scangr+0xde>                    
    if(*cp == ',') {                                                  
   4306c:	49c1           	extbl %d1                                   
   4306e:	742c           	moveq #44,%d2                               
   43070:	b481           	cmpl %d1,%d2                                
   43072:	6610           	bnes 43084 <scangr+0xde>                    
      *cp = '\0';                                                     
   43074:	4203           	clrb %d3                                    
   43076:	1143 ffff      	moveb %d3,%a0@(-1)                          
      grp->gr_mem[memcount++] = cp + 1;                               
   4307a:	226a 000a      	moveal %a2@(10),%a1                         
   4307e:	2388 0c00      	movel %a0,%a1@(00000000,%d0:l:4)            
   43082:	5280           	addql #1,%d0                                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43084:	1218           	moveb %a0@+,%d1                             
   43086:	66e4           	bnes 4306c <scangr+0xc6>                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
   43088:	206a 000a      	moveal %a2@(10),%a0                         
   4308c:	42b0 0c00      	clrl %a0@(00000000,%d0:l:4)                 
  return 1;                                                           
   43090:	7001           	moveq #1,%d0                                
   43092:	6002           	bras 43096 <scangr+0xf0>                    
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
   43094:	4280           	clrl %d0                                    
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
   43096:	4cee 0c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a3            
   4309c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000430a0 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
   430a0:	4e56 ffe0      	linkw %fp,#-32                              
   430a4:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   430a8:	42a7           	clrl %sp@-                                  
   430aa:	280e           	movel %fp,%d4                               
   430ac:	0684 0000 0014 	addil #20,%d4                               
   430b2:	260e           	movel %fp,%d3                               
   430b4:	0683 0000 0010 	addil #16,%d3                               
   430ba:	47fa fe5c      	lea %pc@(42f18 <scanString>),%a3            
   430be:	2f04           	movel %d4,%sp@-                             
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   430c0:	246e 000c      	moveal %fp@(12),%a2                         
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   430c4:	2f03           	movel %d3,%sp@-                             
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   430c6:	242e 0008      	movel %fp@(8),%d2                           
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   430ca:	2f0a           	movel %a2,%sp@-                             
   430cc:	2f02           	movel %d2,%sp@-                             
   430ce:	4e93           	jsr %a3@                                    
   430d0:	4fef 0014      	lea %sp@(20),%sp                            
   430d4:	4a80           	tstl %d0                                    
   430d6:	6700 00a4      	beqw 4317c <scanpw+0xdc>                    
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   430da:	42a7           	clrl %sp@-                                  
   430dc:	2f04           	movel %d4,%sp@-                             
   430de:	2f03           	movel %d3,%sp@-                             
   430e0:	486a 0004      	pea %a2@(4)                                 
   430e4:	2f02           	movel %d2,%sp@-                             
   430e6:	4e93           	jsr %a3@                                    
   430e8:	4fef 0014      	lea %sp@(20),%sp                            
   430ec:	4a80           	tstl %d0                                    
   430ee:	6700 008c      	beqw 4317c <scanpw+0xdc>                    
   || !scanInt(fp, &pwuid)                                            
   430f2:	486e fffc      	pea %fp@(-4)                                
   430f6:	49fa fd6c      	lea %pc@(42e64 <scanInt>),%a4               
   430fa:	2f02           	movel %d2,%sp@-                             
   430fc:	4e94           	jsr %a4@                                    
   430fe:	508f           	addql #8,%sp                                
   43100:	4a80           	tstl %d0                                    
   43102:	6778           	beqs 4317c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanInt(fp, &pwgid)                                            
   43104:	486e fff8      	pea %fp@(-8)                                
   43108:	2f02           	movel %d2,%sp@-                             
   4310a:	4e94           	jsr %a4@                                    
   4310c:	508f           	addql #8,%sp                                
   4310e:	4a80           	tstl %d0                                    
   43110:	676a           	beqs 4317c <scanpw+0xdc>                    
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   43112:	42a7           	clrl %sp@-                                  
   43114:	2f04           	movel %d4,%sp@-                             
   43116:	2f03           	movel %d3,%sp@-                             
   43118:	486a 000c      	pea %a2@(12)                                
   4311c:	2f02           	movel %d2,%sp@-                             
   4311e:	4e93           	jsr %a3@                                    
   43120:	4fef 0014      	lea %sp@(20),%sp                            
   43124:	4a80           	tstl %d0                                    
   43126:	6754           	beqs 4317c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   43128:	42a7           	clrl %sp@-                                  
   4312a:	2f04           	movel %d4,%sp@-                             
   4312c:	2f03           	movel %d3,%sp@-                             
   4312e:	486a 0010      	pea %a2@(16)                                
   43132:	2f02           	movel %d2,%sp@-                             
   43134:	4e93           	jsr %a3@                                    
   43136:	4fef 0014      	lea %sp@(20),%sp                            
   4313a:	4a80           	tstl %d0                                    
   4313c:	673e           	beqs 4317c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   4313e:	42a7           	clrl %sp@-                                  
   43140:	2f04           	movel %d4,%sp@-                             
   43142:	2f03           	movel %d3,%sp@-                             
   43144:	486a 0014      	pea %a2@(20)                                
   43148:	2f02           	movel %d2,%sp@-                             
   4314a:	4e93           	jsr %a3@                                    
   4314c:	4fef 0014      	lea %sp@(20),%sp                            
   43150:	4a80           	tstl %d0                                    
   43152:	6728           	beqs 4317c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
   43154:	4878 0001      	pea 1 <ADD>                                 
   43158:	2f04           	movel %d4,%sp@-                             
   4315a:	2f03           	movel %d3,%sp@-                             
   4315c:	486a 0018      	pea %a2@(24)                                
   43160:	2f02           	movel %d2,%sp@-                             
   43162:	4e93           	jsr %a3@                                    
   43164:	4fef 0014      	lea %sp@(20),%sp                            
   43168:	4a80           	tstl %d0                                    
   4316a:	6710           	beqs 4317c <scanpw+0xdc>                    
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
   4316c:	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;                                                
   4316e:	356e fffe 0008 	movew %fp@(-2),%a2@(8)                      
  pwd->pw_gid = pwgid;                                                
   43174:	356e fffa 000a 	movew %fp@(-6),%a2@(10)                     
  return 1;                                                           
   4317a:	6002           	bras 4317e <scanpw+0xde>                    
   || !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;                                                         
   4317c:	4280           	clrl %d0                                    
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
   4317e:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            
   43184:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045f10 <sched_get_priority_max>: int sched_get_priority_max( int policy ) { switch ( policy ) {
   45f10:	7004           	moveq #4,%d0                                
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
   45f12:	4e56 0000      	linkw %fp,#0                                
   45f16:	222e 0008      	movel %fp@(8),%d1                           
  switch ( policy ) {                                                 
   45f1a:	b081           	cmpl %d1,%d0                                
   45f1c:	650c           	bcss 45f2a <sched_get_priority_max+0x1a>    
   45f1e:	103c 0001      	moveb #1,%d0                                
   45f22:	e3a8           	lsll %d1,%d0                                
   45f24:	7217           	moveq #23,%d1                               
   45f26:	c081           	andl %d1,%d0                                
   45f28:	6610           	bnes 45f3a <sched_get_priority_max+0x2a>    <== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   45f2a:	4eb9 0004 d5d8 	jsr 4d5d8 <__errno>                         
   45f30:	2040           	moveal %d0,%a0                              
   45f32:	7016           	moveq #22,%d0                               
   45f34:	2080           	movel %d0,%a0@                              
   45f36:	70ff           	moveq #-1,%d0                               
   45f38:	600a           	bras 45f44 <sched_get_priority_max+0x34>    
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
   45f3a:	4280           	clrl %d0                                    
   45f3c:	1039 0005 d226 	moveb 5d226 <rtems_maximum_priority>,%d0    
   45f42:	5380           	subql #1,%d0                                
}                                                                     
   45f44:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045f48 <sched_get_priority_min>: int sched_get_priority_min( int policy ) { switch ( policy ) {
   45f48:	7004           	moveq #4,%d0                                
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
   45f4a:	4e56 0000      	linkw %fp,#0                                
   45f4e:	222e 0008      	movel %fp@(8),%d1                           
  switch ( policy ) {                                                 
   45f52:	b081           	cmpl %d1,%d0                                
   45f54:	650c           	bcss 45f62 <sched_get_priority_min+0x1a>    
   45f56:	103c 0001      	moveb #1,%d0                                
   45f5a:	e3a8           	lsll %d1,%d0                                
   45f5c:	7217           	moveq #23,%d1                               
   45f5e:	c081           	andl %d1,%d0                                
   45f60:	6610           	bnes 45f72 <sched_get_priority_min+0x2a>    <== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   45f62:	4eb9 0004 d5d8 	jsr 4d5d8 <__errno>                         
   45f68:	2040           	moveal %d0,%a0                              
   45f6a:	7016           	moveq #22,%d0                               
   45f6c:	2080           	movel %d0,%a0@                              
   45f6e:	70ff           	moveq #-1,%d0                               
   45f70:	6002           	bras 45f74 <sched_get_priority_min+0x2c>    
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
   45f72:	7001           	moveq #1,%d0                                
}                                                                     
   45f74:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045f78 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
   45f78:	4e56 0000      	linkw %fp,#0                                
   45f7c:	2f03           	movel %d3,%sp@-                             
   45f7e:	262e 0008      	movel %fp@(8),%d3                           
   45f82:	2f02           	movel %d2,%sp@-                             
   45f84:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
   45f88:	4a83           	tstl %d3                                    
   45f8a:	6718           	beqs 45fa4 <sched_rr_get_interval+0x2c>     <== NEVER TAKEN
   45f8c:	4eb9 0004 2f68 	jsr 42f68 <getpid>                          
   45f92:	b083           	cmpl %d3,%d0                                
   45f94:	670e           	beqs 45fa4 <sched_rr_get_interval+0x2c>     
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   45f96:	4eb9 0004 d5d8 	jsr 4d5d8 <__errno>                         
   45f9c:	7203           	moveq #3,%d1                                
   45f9e:	2040           	moveal %d0,%a0                              
   45fa0:	2081           	movel %d1,%a0@                              
   45fa2:	6010           	bras 45fb4 <sched_rr_get_interval+0x3c>     
                                                                      
  if ( !interval )                                                    
   45fa4:	4a82           	tstl %d2                                    
   45fa6:	6610           	bnes 45fb8 <sched_rr_get_interval+0x40>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45fa8:	4eb9 0004 d5d8 	jsr 4d5d8 <__errno>                         
   45fae:	2040           	moveal %d0,%a0                              
   45fb0:	7016           	moveq #22,%d0                               
   45fb2:	2080           	movel %d0,%a0@                              
   45fb4:	70ff           	moveq #-1,%d0                               
   45fb6:	6012           	bras 45fca <sched_rr_get_interval+0x52>     
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
   45fb8:	2f02           	movel %d2,%sp@-                             
   45fba:	2f39 0005 e964 	movel 5e964 <_Thread_Ticks_per_timeslice>,%sp@-
   45fc0:	4eb9 0004 921c 	jsr 4921c <_Timespec_From_ticks>            
  return 0;                                                           
   45fc6:	508f           	addql #8,%sp                                
   45fc8:	4280           	clrl %d0                                    
}                                                                     
   45fca:	242e fff8      	movel %fp@(-8),%d2                          
   45fce:	262e fffc      	movel %fp@(-4),%d3                          
   45fd2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048544 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
   48544:	4e56 ffe0      	linkw %fp,#-32                              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   48548:	2039 0006 2768 	movel 62768 <_Thread_Dispatch_disable_level>,%d0
   4854e:	5280           	addql #1,%d0                                
   48550:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   48554:	242e 0008      	movel %fp@(8),%d2                           
   48558:	282e 000c      	movel %fp@(12),%d4                          
   4855c:	23c0 0006 2768 	movel %d0,62768 <_Thread_Dispatch_disable_level>
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
   48562:	2a04           	movel %d4,%d5                               
   48564:	0285 0000 0200 	andil #512,%d5                              
   4856a:	6706           	beqs 48572 <sem_open+0x2e>                  
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
   4856c:	262e 0014      	movel %fp@(20),%d3                          
   48570:	6002           	bras 48574 <sem_open+0x30>                  
  /* unsigned int value */                                            
)                                                                     
{                                                                     
  va_list                    arg;                                     
  mode_t                     mode;                                    
  unsigned int               value = 0;                               
   48572:	4283           	clrl %d3                                    
    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 );    
   48574:	486e fffc      	pea %fp@(-4)                                
   48578:	2f02           	movel %d2,%sp@-                             
   4857a:	4eb9 0004 df00 	jsr 4df00 <_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 ) {                                                     
   48580:	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 );    
   48582:	2440           	moveal %d0,%a2                              
   *  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 ) {                                                     
   48584:	4a80           	tstl %d0                                    
   48586:	671c           	beqs 485a4 <sem_open+0x60>                  
    /*                                                                
     * 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) ) ) {               
   48588:	7002           	moveq #2,%d0                                
   4858a:	b08a           	cmpl %a2,%d0                                
   4858c:	6604           	bnes 48592 <sem_open+0x4e>                  <== NEVER TAKEN
   4858e:	4a85           	tstl %d5                                    
   48590:	665e           	bnes 485f0 <sem_open+0xac>                  
      _Thread_Enable_dispatch();                                      
   48592:	4eb9 0004 ac4e 	jsr 4ac4e <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
   48598:	4eb9 0005 07a4 	jsr 507a4 <__errno>                         
   4859e:	2040           	moveal %d0,%a0                              
   485a0:	208a           	movel %a2,%a0@                              
   485a2:	6076           	bras 4861a <sem_open+0xd6>                  
   485a4:	45f9 0004 ac4e 	lea 4ac4e <_Thread_Enable_dispatch>,%a2     
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
   485aa:	0284 0000 0a00 	andil #2560,%d4                             
   485b0:	0c84 0000 0a00 	cmpil #2560,%d4                             
   485b6:	6610           	bnes 485c8 <sem_open+0x84>                  
      _Thread_Enable_dispatch();                                      
   485b8:	4e92           	jsr %a2@                                    
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
   485ba:	4eb9 0005 07a4 	jsr 507a4 <__errno>                         
   485c0:	2040           	moveal %d0,%a0                              
   485c2:	7011           	moveq #17,%d0                               
   485c4:	2080           	movel %d0,%a0@                              
   485c6:	6052           	bras 4861a <sem_open+0xd6>                  
   485c8:	486e fff4      	pea %fp@(-12)                               
   485cc:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   485d0:	4879 0006 29a4 	pea 629a4 <_POSIX_Semaphore_Information>    
   485d6:	4eb9 0004 a410 	jsr 4a410 <_Objects_Get>                    
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
   485dc:	2040           	moveal %d0,%a0                              
   485de:	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 );
   485e2:	2d40 fff8      	movel %d0,%fp@(-8)                          
    the_semaphore->open_count += 1;                                   
    _Thread_Enable_dispatch();                                        
   485e6:	4e92           	jsr %a2@                                    
    _Thread_Enable_dispatch();                                        
   485e8:	4e92           	jsr %a2@                                    
    goto return_id;                                                   
   485ea:	4fef 000c      	lea %sp@(12),%sp                            
   485ee:	6022           	bras 48612 <sem_open+0xce>                  
  /*                                                                  
   *  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(                            
   485f0:	486e fff8      	pea %fp@(-8)                                
   485f4:	2f03           	movel %d3,%sp@-                             
   485f6:	42a7           	clrl %sp@-                                  
   485f8:	2f02           	movel %d2,%sp@-                             
   485fa:	4eb9 0004 ddbc 	jsr 4ddbc <_POSIX_Semaphore_Create_support> 
   48600:	2400           	movel %d0,%d2                               
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
   48602:	4eb9 0004 ac4e 	jsr 4ac4e <_Thread_Enable_dispatch>         
                                                                      
  if ( status == -1 )                                                 
   48608:	4fef 0010      	lea %sp@(16),%sp                            
   4860c:	70ff           	moveq #-1,%d0                               
   4860e:	b082           	cmpl %d2,%d0                                
   48610:	6708           	beqs 4861a <sem_open+0xd6>                  
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;                          
   48612:	202e fff8      	movel %fp@(-8),%d0                          
   48616:	5080           	addql #8,%d0                                
  #endif                                                              
  return id;                                                          
   48618:	6002           	bras 4861c <sem_open+0xd8>                  
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( status == -1 )                                                 
    return SEM_FAILED;                                                
   4861a:	70ff           	moveq #-1,%d0                               
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
   4861c:	4cee 043c ffe0 	moveml %fp@(-32),%d2-%d5/%a2                
   48622:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045e20 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
   45e20:	4e56 ffec      	linkw %fp,#-20                              
   45e24:	222e 0010      	movel %fp@(16),%d1                          
   45e28:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   45e2c:	242e 0008      	movel %fp@(8),%d2                           
   45e30:	246e 000c      	moveal %fp@(12),%a2                         
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
   45e34:	4a81           	tstl %d1                                    
   45e36:	6722           	beqs 45e5a <sigaction+0x3a>                 
    *oact = _POSIX_signals_Vectors[ sig ];                            
   45e38:	2602           	movel %d2,%d3                               
   45e3a:	2002           	movel %d2,%d0                               
   45e3c:	4878 000c      	pea c <OPER1>                               
   45e40:	e58b           	lsll #2,%d3                                 
   45e42:	e988           	lsll #4,%d0                                 
   45e44:	9083           	subl %d3,%d0                                
   45e46:	0680 0005 fa6a 	addil #391786,%d0                           
   45e4c:	2f00           	movel %d0,%sp@-                             
   45e4e:	2f01           	movel %d1,%sp@-                             
   45e50:	4eb9 0004 e16c 	jsr 4e16c <memcpy>                          
   45e56:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  if ( !sig )                                                         
   45e5a:	4a82           	tstl %d2                                    
   45e5c:	6710           	beqs 45e6e <sigaction+0x4e>                 
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   45e5e:	2002           	movel %d2,%d0                               
   45e60:	5380           	subql #1,%d0                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   45e62:	721f           	moveq #31,%d1                               
   45e64:	b280           	cmpl %d0,%d1                                
   45e66:	6506           	bcss 45e6e <sigaction+0x4e>                 
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
   45e68:	7009           	moveq #9,%d0                                
   45e6a:	b082           	cmpl %d2,%d0                                
   45e6c:	6610           	bnes 45e7e <sigaction+0x5e>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45e6e:	4eb9 0004 d8a8 	jsr 4d8a8 <__errno>                         
   45e74:	2040           	moveal %d0,%a0                              
   45e76:	7016           	moveq #22,%d0                               
   45e78:	2080           	movel %d0,%a0@                              
   45e7a:	70ff           	moveq #-1,%d0                               
   45e7c:	6060           	bras 45ede <sigaction+0xbe>                 
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
   45e7e:	4a8a           	tstl %a2                                    
   45e80:	675a           	beqs 45edc <sigaction+0xbc>                 <== 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 );                                            
   45e82:	203c 0000 0700 	movel #1792,%d0                             
   45e88:	40c3           	movew %sr,%d3                               
   45e8a:	8083           	orl %d3,%d0                                 
   45e8c:	46c0           	movew %d0,%sr                               
   45e8e:	780c           	moveq #12,%d4                               
   45e90:	4c02 4800      	mulsl %d2,%d4                               
   45e94:	47f9 0004 e16c 	lea 4e16c <memcpy>,%a3                      
      if ( act->sa_handler == SIG_DFL ) {                             
   45e9a:	4aaa 0008      	tstl %a2@(8)                                
   45e9e:	661e           	bnes 45ebe <sigaction+0x9e>                 
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
   45ea0:	4878 000c      	pea c <OPER1>                               
   45ea4:	2004           	movel %d4,%d0                               
   45ea6:	0680 0005 d0f0 	addil #381168,%d0                           
   45eac:	2f00           	movel %d0,%sp@-                             
   45eae:	0684 0005 fa6a 	addil #391786,%d4                           
   45eb4:	2f04           	movel %d4,%sp@-                             
   45eb6:	4e93           	jsr %a3@                                    
   45eb8:	4fef 000c      	lea %sp@(12),%sp                            
   45ebc:	601c           	bras 45eda <sigaction+0xba>                 
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
   45ebe:	2f02           	movel %d2,%sp@-                             
         _POSIX_signals_Vectors[ sig ] = *act;                        
   45ec0:	0684 0005 fa6a 	addil #391786,%d4                           
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
   45ec6:	4eb9 0004 ae8c 	jsr 4ae8c <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
   45ecc:	4878 000c      	pea c <OPER1>                               
   45ed0:	2f0a           	movel %a2,%sp@-                             
   45ed2:	2f04           	movel %d4,%sp@-                             
   45ed4:	4e93           	jsr %a3@                                    
   45ed6:	4fef 0010      	lea %sp@(16),%sp                            
      }                                                               
    _ISR_Enable( level );                                             
   45eda:	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;                                                           
   45edc:	4280           	clrl %d0                                    
}                                                                     
   45ede:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   45ee4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047d30 <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
   47d30:	4e56 ffec      	linkw %fp,#-20                              
   47d34:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
   47d38:	240e           	movel %fp,%d2                               
   47d3a:	5982           	subql #4,%d2                                
   47d3c:	45f9 0004 7d08 	lea 47d08 <sigprocmask>,%a2                 
                                                                      
  (void) sigfillset( &all_signals );                                  
   47d42:	260e           	movel %fp,%d3                               
   47d44:	5183           	subql #8,%d3                                
  int                 status;                                         
  POSIX_API_Control  *api;                                            
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  status = sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 
   47d46:	2f02           	movel %d2,%sp@-                             
   47d48:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47d4c:	4878 0001      	pea 1 <ADD>                                 
   47d50:	4e92           	jsr %a2@                                    
                                                                      
  (void) sigfillset( &all_signals );                                  
   47d52:	2f03           	movel %d3,%sp@-                             
   47d54:	4eb9 0004 7c68 	jsr 47c68 <sigfillset>                      
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
   47d5a:	42a7           	clrl %sp@-                                  
   47d5c:	42a7           	clrl %sp@-                                  
   47d5e:	2f03           	movel %d3,%sp@-                             
   47d60:	4eb9 0004 7de0 	jsr 47de0 <sigtimedwait>                    
   47d66:	2600           	movel %d0,%d3                               
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
   47d68:	42a7           	clrl %sp@-                                  
   47d6a:	2f02           	movel %d2,%sp@-                             
   47d6c:	42a7           	clrl %sp@-                                  
   47d6e:	4e92           	jsr %a2@                                    
                                                                      
  /*                                                                  
   * sigtimedwait() returns the signal number while sigsuspend()      
   * is supposed to return -1 and EINTR when a signal is caught.      
   */                                                                 
  if ( status != -1 )                                                 
   47d70:	4fef 0028      	lea %sp@(40),%sp                            
   47d74:	70ff           	moveq #-1,%d0                               
   47d76:	b083           	cmpl %d3,%d0                                
   47d78:	670c           	beqs 47d86 <sigsuspend+0x56>                <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINTR );                    
   47d7a:	4eb9 0004 f628 	jsr 4f628 <__errno>                         
   47d80:	2040           	moveal %d0,%a0                              
   47d82:	7004           	moveq #4,%d0                                
   47d84:	2080           	movel %d0,%a0@                              
                                                                      
  return status;                                                      
}                                                                     
   47d86:	70ff           	moveq #-1,%d0                               
   47d88:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   47d8e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046210 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
   46210:	4e56 ffd8      	linkw %fp,#-40                              
   46214:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   46218:	286e 0008      	moveal %fp@(8),%a4                          
   4621c:	246e 000c      	moveal %fp@(12),%a2                         
   46220:	242e 0010      	movel %fp@(16),%d2                          
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
   46224:	4a8c           	tstl %a4                                    
   46226:	6732           	beqs 4625a <sigtimedwait+0x4a>              
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
   46228:	4a82           	tstl %d2                                    
   4622a:	673c           	beqs 46268 <sigtimedwait+0x58>              
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
   4622c:	2f02           	movel %d2,%sp@-                             
   4622e:	4eb9 0004 94f8 	jsr 494f8 <_Timespec_Is_valid>              
   46234:	588f           	addql #4,%sp                                
   46236:	4a00           	tstb %d0                                    
   46238:	6612           	bnes 4624c <sigtimedwait+0x3c>              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4623a:	4eb9 0004 de04 	jsr 4de04 <__errno>                         
   46240:	7616           	moveq #22,%d3                               
   46242:	2240           	moveal %d0,%a1                              
   46244:	2283           	movel %d3,%a1@                              
   46246:	74ff           	moveq #-1,%d2                               
   46248:	6000 0124      	braw 4636e <sigtimedwait+0x15e>             
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
   4624c:	2f02           	movel %d2,%sp@-                             
   4624e:	4eb9 0004 9564 	jsr 49564 <_Timespec_To_ticks>              
                                                                      
    if ( !interval )                                                  
   46254:	588f           	addql #4,%sp                                
   46256:	4a80           	tstl %d0                                    
   46258:	6610           	bnes 4626a <sigtimedwait+0x5a>              <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4625a:	4eb9 0004 de04 	jsr 4de04 <__errno>                         
   46260:	7416           	moveq #22,%d2                               
   46262:	2040           	moveal %d0,%a0                              
   46264:	2082           	movel %d2,%a0@                              
   46266:	60de           	bras 46246 <sigtimedwait+0x36>              
                                                                      
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
   46268:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
   4626a:	4a8a           	tstl %a2                                    
   4626c:	6604           	bnes 46272 <sigtimedwait+0x62>              
   4626e:	45ee fff4      	lea %fp@(-12),%a2                           
                                                                      
  the_thread = _Thread_Executing;                                     
   46272:	2079 0005 fe0c 	moveal 5fe0c <_Per_CPU_Information+0xc>,%a0 
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
   46278:	223c 0000 0700 	movel #1792,%d1                             
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
                                                                      
  the_thread = _Thread_Executing;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4627e:	2668 010e      	moveal %a0@(270),%a3                        
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
   46282:	40c3           	movew %sr,%d3                               
   46284:	8283           	orl %d3,%d1                                 
   46286:	46c1           	movew %d1,%sr                               
  if ( *set & api->signals_pending ) {                                
   46288:	2414           	movel %a4@,%d2                              
   4628a:	2802           	movel %d2,%d4                               
   4628c:	222b 00d0      	movel %a3@(208),%d1                         
   46290:	c881           	andl %d1,%d4                                
   46292:	672a           	beqs 462be <sigtimedwait+0xae>              
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
   46294:	2f01           	movel %d1,%sp@-                             
   46296:	4eb9 0004 61c4 	jsr 461c4 <_POSIX_signals_Get_highest>      
   4629c:	2480           	movel %d0,%a2@                              
    _POSIX_signals_Clear_signals(                                     
   4629e:	4297           	clrl %sp@                                   
   462a0:	42a7           	clrl %sp@-                                  
   462a2:	2f0a           	movel %a2,%sp@-                             
   462a4:	2f00           	movel %d0,%sp@-                             
   462a6:	2f0b           	movel %a3,%sp@-                             
   462a8:	4eb9 0004 b4b0 	jsr 4b4b0 <_POSIX_signals_Clear_signals>    
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
   462ae:	46c3           	movew %d3,%sr                               
                                                                      
    the_info->si_code = SI_USER;                                      
   462b0:	7001           	moveq #1,%d0                                
    the_info->si_value.sival_int = 0;                                 
   462b2:	42aa 0008      	clrl %a2@(8)                                
    return the_info->si_signo;                                        
   462b6:	2412           	movel %a2@,%d2                              
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
   462b8:	2540 0004      	movel %d0,%a2@(4)                           
   462bc:	6036           	bras 462f4 <sigtimedwait+0xe4>              
    return the_info->si_signo;                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
   462be:	2239 0006 000e 	movel 6000e <_POSIX_signals_Pending>,%d1    
   462c4:	4bf9 0004 b4b0 	lea 4b4b0 <_POSIX_signals_Clear_signals>,%a5
   462ca:	c481           	andl %d1,%d2                                
   462cc:	672c           	beqs 462fa <sigtimedwait+0xea>              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
   462ce:	2f01           	movel %d1,%sp@-                             
   462d0:	4eb9 0004 61c4 	jsr 461c4 <_POSIX_signals_Get_highest>      
   462d6:	2400           	movel %d0,%d2                               
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
   462d8:	4297           	clrl %sp@                                   
   462da:	4878 0001      	pea 1 <ADD>                                 
   462de:	2f0a           	movel %a2,%sp@-                             
   462e0:	2f00           	movel %d0,%sp@-                             
   462e2:	2f0b           	movel %a3,%sp@-                             
   462e4:	4e95           	jsr %a5@                                    
    _ISR_Enable( level );                                             
   462e6:	46c3           	movew %d3,%sr                               
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
   462e8:	7201           	moveq #1,%d1                                
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
   462ea:	2482           	movel %d2,%a2@                              
    the_info->si_code = SI_USER;                                      
   462ec:	2541 0004      	movel %d1,%a2@(4)                           
    the_info->si_value.sival_int = 0;                                 
   462f0:	42aa 0008      	clrl %a2@(8)                                
    return signo;                                                     
   462f4:	4fef 0014      	lea %sp@(20),%sp                            
   462f8:	6074           	bras 4636e <sigtimedwait+0x15e>             
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
   462fa:	72ff           	moveq #-1,%d1                               
   462fc:	2481           	movel %d1,%a2@                              
   462fe:	2239 0005 f97c 	movel 5f97c <_Thread_Dispatch_disable_level>,%d1
   46304:	5281           	addql #1,%d1                                
   46306:	23c1 0005 f97c 	movel %d1,5f97c <_Thread_Dispatch_disable_level>
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
   4630c:	7204           	moveq #4,%d1                                
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
   4630e:	43f9 0005 ffa6 	lea 5ffa6 <_POSIX_signals_Wait_queue>,%a1   
    the_thread->Wait.return_code     = EINTR;                         
   46314:	2141 0034      	movel %d1,%a0@(52)                          
    the_thread->Wait.option          = *set;                          
   46318:	2154 0030      	movel %a4@,%a0@(48)                         
                                                                      
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;
   4631c:	123c 0001      	moveb #1,%d1                                
    the_thread->Wait.return_argument = the_info;                      
   46320:	214a 0028      	movel %a2,%a0@(40)                          
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
   46324:	2149 0044      	movel %a1,%a0@(68)                          
   46328:	23c1 0005 ffd6 	movel %d1,5ffd6 <_POSIX_signals_Wait_queue+0x30>
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
    the_thread->Wait.return_argument = the_info;                      
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
   4632e:	46c3           	movew %d3,%sr                               
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
   46330:	4879 0004 8fc4 	pea 48fc4 <_Thread_queue_Timeout>           
   46336:	2f00           	movel %d0,%sp@-                             
   46338:	4879 0005 ffa6 	pea 5ffa6 <_POSIX_signals_Wait_queue>       
   4633e:	4eb9 0004 8cb4 	jsr 48cb4 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
   46344:	4eb9 0004 882e 	jsr 4882e <_Thread_Enable_dispatch>         
  /*                                                                  
   * When the thread is set free by a signal, it is need to eliminate 
   * the signal.                                                      
   */                                                                 
                                                                      
  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info, false, false );
   4634a:	42a7           	clrl %sp@-                                  
   4634c:	42a7           	clrl %sp@-                                  
   4634e:	2f0a           	movel %a2,%sp@-                             
   46350:	2f12           	movel %a2@,%sp@-                            
   46352:	2f0b           	movel %a3,%sp@-                             
   46354:	4e95           	jsr %a5@                                    
  errno = _Thread_Executing->Wait.return_code;                        
   46356:	4fef 0020      	lea %sp@(32),%sp                            
   4635a:	4eb9 0004 de04 	jsr 4de04 <__errno>                         
   46360:	2079 0005 fe0c 	moveal 5fe0c <_Per_CPU_Information+0xc>,%a0 
   46366:	2240           	moveal %d0,%a1                              
   46368:	22a8 0034      	movel %a0@(52),%a1@                         
  return the_info->si_signo;                                          
   4636c:	2412           	movel %a2@,%d2                              
}                                                                     
   4636e:	2002           	movel %d2,%d0                               
   46370:	4cee 3c1c ffd8 	moveml %fp@(-40),%d2-%d4/%a2-%a5            
   46376:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047f64 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
   47f64:	4e56 0000      	linkw %fp,#0                                
   47f68:	2f0a           	movel %a2,%sp@-                             
   47f6a:	246e 000c      	moveal %fp@(12),%a2                         
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
   47f6e:	42a7           	clrl %sp@-                                  
   47f70:	42a7           	clrl %sp@-                                  
   47f72:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47f76:	4eb9 0004 7de0 	jsr 47de0 <sigtimedwait>                    
                                                                      
  if ( status != -1 ) {                                               
   47f7c:	4fef 000c      	lea %sp@(12),%sp                            
   47f80:	72ff           	moveq #-1,%d1                               
   47f82:	b280           	cmpl %d0,%d1                                
   47f84:	6708           	beqs 47f8e <sigwait+0x2a>                   
    if ( sig )                                                        
   47f86:	4a8a           	tstl %a2                                    
   47f88:	6710           	beqs 47f9a <sigwait+0x36>                   <== NEVER TAKEN
      *sig = status;                                                  
   47f8a:	2480           	movel %d0,%a2@                              
   47f8c:	600c           	bras 47f9a <sigwait+0x36>                   
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
   47f8e:	4eb9 0004 f628 	jsr 4f628 <__errno>                         
   47f94:	2040           	moveal %d0,%a0                              
   47f96:	2010           	movel %a0@,%d0                              
   47f98:	6002           	bras 47f9c <sigwait+0x38>                   
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
   47f9a:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
   47f9c:	246e fffc      	moveal %fp@(-4),%a2                         
   47fa0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000445a6 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
   445a6:	4e56 0000      	linkw %fp,#0                                
   445aa:	2f0a           	movel %a2,%sp@-                             
   445ac:	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)) {
   445b0:	202a 003c      	movel %a2@(60),%d0                          
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
   445b4:	2f02           	movel %d2,%sp@-                             
   445b6:	4282           	clrl %d2                                    
   445b8:	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)) {
   445bc:	0280 0000 0e78 	andil #3704,%d0                             
   445c2:	6734           	beqs 445f8 <siproc+0x52>                    <== NEVER TAKEN
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
   445c4:	42a7           	clrl %sp@-                                  
   445c6:	42a7           	clrl %sp@-                                  
   445c8:	2f2a 0018      	movel %a2@(24),%sp@-                        
   445cc:	4eb9 0004 5788 	jsr 45788 <rtems_semaphore_obtain>          
    i = iproc (c, tty);                                               
   445d2:	2f0a           	movel %a2,%sp@-                             
   445d4:	2f02           	movel %d2,%sp@-                             
   445d6:	4eba fe66      	jsr %pc@(4443e <iproc>)                     
    rtems_semaphore_release (tty->osem);                              
   445da:	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);                                               
   445de:	2400           	movel %d0,%d2                               
    rtems_semaphore_release (tty->osem);                              
   445e0:	4eb9 0004 5890 	jsr 45890 <rtems_semaphore_release>         
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
   445e6:	246e fffc      	moveal %fp@(-4),%a2                         
   445ea:	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);                              
   445ec:	4fef 0018      	lea %sp@(24),%sp                            
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
   445f0:	242e fff8      	movel %fp@(-8),%d2                          
   445f4:	4e5e           	unlk %fp                                    
   445f6:	4e75           	rts                                         
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
   445f8:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
  }                                                                   
  return i;                                                           
}                                                                     
   445fc:	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);                                               
   44600:	2d42 0008      	movel %d2,%fp@(8)                           <== NOT EXECUTED
  }                                                                   
  return i;                                                           
}                                                                     
   44604:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   44608:	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);                                               
   4460a:	6000 fe32      	braw 4443e <iproc>                          <== NOT EXECUTED
                                                                      

00044734 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
   44734:	4e56 0000      	linkw %fp,#0                                
   44738:	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;                                        
   4473c:	2028 0106      	movel %a0@(262),%d0                         
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
   44740:	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 ) {                                                
   44742:	4a80           	tstl %d0                                    
   44744:	6728           	beqs 4476e <sync_per_thread+0x3a>           <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
   44746:	2279 0005 fd30 	moveal 5fd30 <_Per_CPU_Information+0xc>,%a1 
   4474c:	2429 0106      	movel %a1@(262),%d2                         
     _Thread_Executing->libc_reent = this_reent;                      
   44750:	2340 0106      	movel %d0,%a1@(262)                         
     _fwalk (t->libc_reent, sync_wrapper);                            
   44754:	487a 0020      	pea %pc@(44776 <sync_wrapper>)              
   44758:	2f28 0106      	movel %a0@(262),%sp@-                       
   4475c:	4eb9 0004 ece8 	jsr 4ece8 <_fwalk>                          
     _Thread_Executing->libc_reent = current_reent;                   
   44762:	2079 0005 fd30 	moveal 5fd30 <_Per_CPU_Information+0xc>,%a0 
   44768:	508f           	addql #8,%sp                                
   4476a:	2142 0106      	movel %d2,%a0@(262)                         
   }                                                                  
}                                                                     
   4476e:	242e fffc      	movel %fp@(-4),%d2                          
   44772:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000449e0 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
   449e0:	4e56 0000      	linkw %fp,#0                                
   449e4:	202e 000c      	movel %fp@(12),%d0                          
   449e8:	2f03           	movel %d3,%sp@-                             
   449ea:	262e 0010      	movel %fp@(16),%d3                          
   449ee:	2f02           	movel %d2,%sp@-                             
   449f0:	242e 0008      	movel %fp@(8),%d2                           
  switch (opt) {                                                      
   449f4:	4a80           	tstl %d0                                    
   449f6:	672c           	beqs 44a24 <tcsetattr+0x44>                 <== ALWAYS TAKEN
   449f8:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   449fa:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   449fc:	6710           	beqs 44a0e <tcsetattr+0x2e>                 <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   449fe:	4eb9 0004 df6c 	jsr 4df6c <__errno>                         <== NOT EXECUTED
   44a04:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   44a06:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   44a0c:	6034           	bras 44a42 <tcsetattr+0x62>                 <== NOT EXECUTED
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
   44a0e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44a10:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   44a14:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   44a16:	4eb9 0004 b04c 	jsr 4b04c <ioctl>                           <== NOT EXECUTED
   44a1c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44a20:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44a22:	6d1e           	blts 44a42 <tcsetattr+0x62>                 <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   44a24:	2d43 0010      	movel %d3,%fp@(16)                          
   44a28:	7002           	moveq #2,%d0                                
   44a2a:	2d42 0008      	movel %d2,%fp@(8)                           
  }                                                                   
}                                                                     
   44a2e:	242e fff8      	movel %fp@(-8),%d2                          
   44a32:	262e fffc      	movel %fp@(-4),%d3                          
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   44a36:	2d40 000c      	movel %d0,%fp@(12)                          
  }                                                                   
}                                                                     
   44a3a:	4e5e           	unlk %fp                                    
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   44a3c:	4ef9 0004 b04c 	jmp 4b04c <ioctl>                           
  }                                                                   
}                                                                     
   44a42:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   44a46:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   44a48:	262e fffc      	movel %fp@(-4),%d3                          <== NOT EXECUTED
   44a4c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045428 <timer_create>: timer_t *timerid ) { POSIX_Timer_Control *ptimer; if ( clock_id != CLOCK_REALTIME )
   45428:	7001           	moveq #1,%d0                                
int timer_create(                                                     
  clockid_t        clock_id,                                          
  struct sigevent *evp,                                               
  timer_t         *timerid                                            
)                                                                     
{                                                                     
   4542a:	4e56 0000      	linkw %fp,#0                                
   4542e:	2f0b           	movel %a3,%sp@-                             
   45430:	266e 0010      	moveal %fp@(16),%a3                         
   45434:	2f0a           	movel %a2,%sp@-                             
   45436:	246e 000c      	moveal %fp@(12),%a2                         
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
   4543a:	b0ae 0008      	cmpl %fp@(8),%d0                            
   4543e:	6620           	bnes 45460 <timer_create+0x38>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
   45440:	4a8b           	tstl %a3                                    
   45442:	671c           	beqs 45460 <timer_create+0x38>              
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
   45444:	4a8a           	tstl %a2                                    
   45446:	6726           	beqs 4546e <timer_create+0x46>              
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
   45448:	2012           	movel %a2@,%d0                              
   4544a:	7201           	moveq #1,%d1                                
   4544c:	5380           	subql #1,%d0                                
   4544e:	b280           	cmpl %d0,%d1                                
   45450:	650e           	bcss 45460 <timer_create+0x38>              <== NEVER TAKEN
         ( evp->sigev_notify != SIGEV_SIGNAL ) ) {                    
       /* The value of the field sigev_notify is not valid */         
       rtems_set_errno_and_return_minus_one( EINVAL );                
     }                                                                
                                                                      
     if ( !evp->sigev_signo )                                         
   45452:	202a 0004      	movel %a2@(4),%d0                           
   45456:	6708           	beqs 45460 <timer_create+0x38>              <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   45458:	5380           	subql #1,%d0                                
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
   4545a:	721f           	moveq #31,%d1                               
   4545c:	b280           	cmpl %d0,%d1                                
   4545e:	640e           	bccs 4546e <timer_create+0x46>              <== ALWAYS TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
   45460:	4eb9 0004 d314 	jsr 4d314 <__errno>                         
   45466:	7216           	moveq #22,%d1                               
   45468:	2040           	moveal %d0,%a0                              
   4546a:	2081           	movel %d1,%a0@                              
   4546c:	6034           	bras 454a2 <timer_create+0x7a>              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   4546e:	2039 0005 e48c 	movel 5e48c <_Thread_Dispatch_disable_level>,%d0
   45474:	5280           	addql #1,%d0                                
   45476:	23c0 0005 e48c 	movel %d0,5e48c <_Thread_Dispatch_disable_level>
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Allocate( void )
{                                                                     
  return (POSIX_Timer_Control *) _Objects_Allocate( &_POSIX_Timer_Information );
   4547c:	4879 0005 e702 	pea 5e702 <_POSIX_Timer_Information>        
   45482:	4eb9 0004 70f4 	jsr 470f4 <_Objects_Allocate>               
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
   45488:	588f           	addql #4,%sp                                
   4548a:	2040           	moveal %d0,%a0                              
   4548c:	4a80           	tstl %d0                                    
   4548e:	6616           	bnes 454a6 <timer_create+0x7e>              
    _Thread_Enable_dispatch();                                        
   45490:	4eb9 0004 7d32 	jsr 47d32 <_Thread_Enable_dispatch>         
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
   45496:	4eb9 0004 d314 	jsr 4d314 <__errno>                         
   4549c:	2040           	moveal %d0,%a0                              
   4549e:	700b           	moveq #11,%d0                               
   454a0:	2080           	movel %d0,%a0@                              
   454a2:	70ff           	moveq #-1,%d0                               
   454a4:	606a           	bras 45510 <timer_create+0xe8>              
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
   454a6:	7002           	moveq #2,%d0                                
   454a8:	1140 003c      	moveb %d0,%a0@(60)                          
  ptimer->thread_id = _Thread_Executing->Object.id;                   
   454ac:	2279 0005 e91c 	moveal 5e91c <_Per_CPU_Information+0xc>,%a1 
   454b2:	2169 0008 0038 	movel %a1@(8),%a0@(56)                      
                                                                      
  if ( evp != NULL ) {                                                
   454b8:	4a8a           	tstl %a2                                    
   454ba:	6710           	beqs 454cc <timer_create+0xa4>              
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
   454bc:	2152 003e      	movel %a2@,%a0@(62)                         
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
   454c0:	216a 0004 0042 	movel %a2@(4),%a0@(66)                      
    ptimer->inf.sigev_value  = evp->sigev_value;                      
   454c6:	216a 0008 0046 	movel %a2@(8),%a0@(70)                      
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   454cc:	2028 0008      	movel %a0@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   454d0:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   454d2:	2279 0005 e71a 	moveal 5e71a <_POSIX_Timer_Information+0x18>,%a1
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   454d8:	3200           	movew %d0,%d1                               
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
   454da:	42a8 0066      	clrl %a0@(102)                              
  ptimer->timer_data.it_value.tv_sec     = 0;                         
   454de:	42a8 005a      	clrl %a0@(90)                               
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
   454e2:	42a8 005e      	clrl %a0@(94)                               
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
   454e6:	42a8 0052      	clrl %a0@(82)                               
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
   454ea:	42a8 0056      	clrl %a0@(86)                               
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   454ee:	42a8 0018      	clrl %a0@(24)                               
  the_watchdog->routine   = routine;                                  
   454f2:	42a8 002c      	clrl %a0@(44)                               
  the_watchdog->id        = id;                                       
   454f6:	42a8 0030      	clrl %a0@(48)                               
  the_watchdog->user_data = user_data;                                
   454fa:	42a8 0034      	clrl %a0@(52)                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   454fe:	2388 1c00      	movel %a0,%a1@(00000000,%d1:l:4)            
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   45502:	42a8 000c      	clrl %a0@(12)                               
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
   45506:	2680           	movel %d0,%a3@                              
  _Thread_Enable_dispatch();                                          
   45508:	4eb9 0004 7d32 	jsr 47d32 <_Thread_Enable_dispatch>         
  return 0;                                                           
   4550e:	4280           	clrl %d0                                    
}                                                                     
   45510:	246e fff8      	moveal %fp@(-8),%a2                         
   45514:	266e fffc      	moveal %fp@(-4),%a3                         
   45518:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000455ee <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
   455ee:	4e56 ffe8      	linkw %fp,#-24                              
   455f2:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   455f6:	262e 0008      	movel %fp@(8),%d3                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
   455fa:	4ab9 0005 f91e 	tstl 5f91e <_POSIX_signals_Ualarm_timer+0x1c>
   45600:	6620           	bnes 45622 <ualarm+0x34>                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   45602:	42b9 0005 f90a 	clrl 5f90a <_POSIX_signals_Ualarm_timer+0x8>
  the_watchdog->routine   = routine;                                  
   45608:	203c 0004 55ac 	movel #284076,%d0                           
  the_watchdog->id        = id;                                       
   4560e:	42b9 0005 f922 	clrl 5f922 <_POSIX_signals_Ualarm_timer+0x20>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   45614:	23c0 0005 f91e 	movel %d0,5f91e <_POSIX_signals_Ualarm_timer+0x1c>
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   4561a:	42b9 0005 f926 	clrl 5f926 <_POSIX_signals_Ualarm_timer+0x24>
   45620:	6056           	bras 45678 <ualarm+0x8a>                    
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
   45622:	4879 0005 f902 	pea 5f902 <_POSIX_signals_Ualarm_timer>     
   45628:	4eb9 0004 8d08 	jsr 48d08 <_Watchdog_Remove>                
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
   4562e:	588f           	addql #4,%sp                                
   45630:	7201           	moveq #1,%d1                                
   45632:	5580           	subql #2,%d0                                
   45634:	b280           	cmpl %d0,%d1                                
   45636:	6540           	bcss 45678 <ualarm+0x8a>                    <== NEVER TAKEN
       *  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);        
   45638:	2039 0005 f916 	movel 5f916 <_POSIX_signals_Ualarm_timer+0x14>,%d0
   4563e:	d0b9 0005 f90e 	addl 5f90e <_POSIX_signals_Ualarm_timer+0xc>,%d0
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
   45644:	486e fff8      	pea %fp@(-8)                                
   45648:	90b9 0005 f91a 	subl 5f91a <_POSIX_signals_Ualarm_timer+0x18>,%d0
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
   4564e:	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 );                             
   45654:	2f00           	movel %d0,%sp@-                             
   45656:	4eb9 0004 882c 	jsr 4882c <_Timespec_From_ticks>            
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
   4565c:	202e fff8      	movel %fp@(-8),%d0                          
   45660:	4c04 0800      	mulsl %d4,%d0                               
      remaining += tp.tv_nsec / 1000;                                 
   45664:	283c 0000 03e8 	movel #1000,%d4                             
   4566a:	508f           	addql #8,%sp                                
   4566c:	242e fffc      	movel %fp@(-4),%d2                          
   45670:	4c44 2802      	remsl %d4,%d2,%d2                           
   45674:	d480           	addl %d0,%d2                                
   45676:	6002           	bras 4567a <ualarm+0x8c>                    
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
   45678:	4282           	clrl %d2                                    
  /*                                                                  
   *  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 ) {                                                   
   4567a:	4a83           	tstl %d3                                    
   4567c:	674e           	beqs 456cc <ualarm+0xde>                    
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   4567e:	283c 0000 03e8 	movel #1000,%d4                             
    ticks = _Timespec_To_ticks( &tp );                                
   45684:	45f9 0004 88ac 	lea 488ac <_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;               
   4568a:	223c 000f 4240 	movel #1000000,%d1                          
   45690:	4c41 3000      	remul %d1,%d0,%d3                           
   45694:	4c41 3003      	remul %d1,%d3,%d3                           
   45698:	2d43 fff8      	movel %d3,%fp@(-8)                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   4569c:	4c00 4800      	mulsl %d0,%d4                               
    ticks = _Timespec_To_ticks( &tp );                                
   456a0:	260e           	movel %fp,%d3                               
   456a2:	5183           	subql #8,%d3                                
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   456a4:	2d44 fffc      	movel %d4,%fp@(-4)                          
    ticks = _Timespec_To_ticks( &tp );                                
   456a8:	2f03           	movel %d3,%sp@-                             
   456aa:	4e92           	jsr %a2@                                    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
   456ac:	2f03           	movel %d3,%sp@-                             
   456ae:	4e92           	jsr %a2@                                    
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   456b0:	4879 0005 f902 	pea 5f902 <_POSIX_signals_Ualarm_timer>     
   456b6:	4879 0005 f1ae 	pea 5f1ae <_Watchdog_Ticks_chain>           
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   456bc:	23c0 0005 f90e 	movel %d0,5f90e <_POSIX_signals_Ualarm_timer+0xc>
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   456c2:	4eb9 0004 8bec 	jsr 48bec <_Watchdog_Insert>                
   456c8:	4fef 0010      	lea %sp@(16),%sp                            
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
   456cc:	2002           	movel %d2,%d0                               
   456ce:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   456d4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045c8c <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
   45c8c:	4e56 ffbc      	linkw %fp,#-68                              
   45c90:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   45c94:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
   45c98:	2f0a           	movel %a2,%sp@-                             
   45c9a:	4eb9 0004 3476 	jsr 43476 <rtems_filesystem_dirname>        
                                                                      
  if ( parentpathlen == 0 )                                           
   45ca0:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
   45ca2:	2a00           	movel %d0,%d5                               
   45ca4:	200e           	movel %fp,%d0                               
   45ca6:	0680 ffff ffe8 	addil #-24,%d0                              
                                                                      
  if ( parentpathlen == 0 )                                           
   45cac:	4a85           	tstl %d5                                    
   45cae:	6616           	bnes 45cc6 <unlink+0x3a>                    
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
   45cb0:	2f00           	movel %d0,%sp@-                             
   45cb2:	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;           
   45cb6:	4204           	clrb %d4                                    
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
   45cb8:	2f0a           	movel %a2,%sp@-                             
   45cba:	4eb9 0004 429c 	jsr 4429c <rtems_filesystem_get_start_loc>  
   45cc0:	4fef 000c      	lea %sp@(12),%sp                            
   45cc4:	601e           	bras 45ce4 <unlink+0x58>                    
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
   45cc6:	42a7           	clrl %sp@-                                  
   45cc8:	2f00           	movel %d0,%sp@-                             
   45cca:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45cce:	2f05           	movel %d5,%sp@-                             
   45cd0:	2f0a           	movel %a2,%sp@-                             
   45cd2:	4eb9 0004 33fe 	jsr 433fe <rtems_filesystem_evaluate_path>  
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
   45cd8:	4fef 0014      	lea %sp@(20),%sp                            
   45cdc:	4a80           	tstl %d0                                    
   45cde:	6600 00c2      	bnew 45da2 <unlink+0x116>                   
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
   45ce2:	7801           	moveq #1,%d4                                
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   45ce4:	4878 0014      	pea 14 <OPER2>                              
   45ce8:	260e           	movel %fp,%d3                               
   45cea:	0683 ffff ffe8 	addil #-24,%d3                              
   45cf0:	240e           	movel %fp,%d2                               
   45cf2:	0682 ffff ffd4 	addil #-44,%d2                              
  name = path + parentpathlen;                                        
   45cf8:	d5c5           	addal %d5,%a2                               
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   45cfa:	47f9 0005 15a8 	lea 515a8 <strlen>,%a3                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   45d00:	2f03           	movel %d3,%sp@-                             
   45d02:	2f02           	movel %d2,%sp@-                             
   45d04:	4eb9 0005 0ab0 	jsr 50ab0 <memcpy>                          
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   45d0a:	2f0a           	movel %a2,%sp@-                             
   45d0c:	4e93           	jsr %a3@                                    
   45d0e:	2e80           	movel %d0,%sp@                              
   45d10:	2f0a           	movel %a2,%sp@-                             
   45d12:	4eb9 0004 34b8 	jsr 434b8 <rtems_filesystem_prefix_separators>
   45d18:	d5c0           	addal %d0,%a2                               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   45d1a:	2f0a           	movel %a2,%sp@-                             
   45d1c:	4e93           	jsr %a3@                                    
   45d1e:	4297           	clrl %sp@                                   
   45d20:	2f02           	movel %d2,%sp@-                             
   45d22:	42a7           	clrl %sp@-                                  
   45d24:	2f00           	movel %d0,%sp@-                             
   45d26:	2f0a           	movel %a2,%sp@-                             
   45d28:	4eb9 0004 3364 	jsr 43364 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   45d2e:	4fef 0028      	lea %sp@(40),%sp                            
   45d32:	4a80           	tstl %d0                                    
   45d34:	6710           	beqs 45d46 <unlink+0xba>                    
    if ( free_parentloc )                                             
   45d36:	4a04           	tstb %d4                                    
   45d38:	6768           	beqs 45da2 <unlink+0x116>                   <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
   45d3a:	2f03           	movel %d3,%sp@-                             
   45d3c:	4eb9 0004 34f4 	jsr 434f4 <rtems_filesystem_freenode>       
   45d42:	588f           	addql #4,%sp                                
   45d44:	605c           	bras 45da2 <unlink+0x116>                   
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
   45d46:	206e ffe0      	moveal %fp@(-32),%a0                        
   45d4a:	45f9 0004 34f4 	lea 434f4 <rtems_filesystem_freenode>,%a2   
   45d50:	2f02           	movel %d2,%sp@-                             
   45d52:	2068 0010      	moveal %a0@(16),%a0                         
   45d56:	4e90           	jsr %a0@                                    
   45d58:	588f           	addql #4,%sp                                
   45d5a:	7201           	moveq #1,%d1                                
   45d5c:	b280           	cmpl %d0,%d1                                
   45d5e:	661e           	bnes 45d7e <unlink+0xf2>                    
    rtems_filesystem_freenode( &loc );                                
   45d60:	2f02           	movel %d2,%sp@-                             
   45d62:	4e92           	jsr %a2@                                    
    if ( free_parentloc )                                             
   45d64:	588f           	addql #4,%sp                                
   45d66:	4a04           	tstb %d4                                    
   45d68:	6706           	beqs 45d70 <unlink+0xe4>                    <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
   45d6a:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   45d6c:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   45d6e:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   45d70:	4eb9 0005 0204 	jsr 50204 <__errno>                         
   45d76:	2040           	moveal %d0,%a0                              
   45d78:	7015           	moveq #21,%d0                               
   45d7a:	2080           	movel %d0,%a0@                              
   45d7c:	6024           	bras 45da2 <unlink+0x116>                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
   45d7e:	2f02           	movel %d2,%sp@-                             
   45d80:	206e ffe0      	moveal %fp@(-32),%a0                        
   45d84:	2f03           	movel %d3,%sp@-                             
   45d86:	2068 000c      	moveal %a0@(12),%a0                         
   45d8a:	4e90           	jsr %a0@                                    
   45d8c:	2a00           	movel %d0,%d5                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   45d8e:	2f02           	movel %d2,%sp@-                             
   45d90:	4e92           	jsr %a2@                                    
  if ( free_parentloc )                                               
   45d92:	4fef 000c      	lea %sp@(12),%sp                            
   45d96:	4a04           	tstb %d4                                    
   45d98:	670a           	beqs 45da4 <unlink+0x118>                   
    rtems_filesystem_freenode( &parentloc );                          
   45d9a:	2f03           	movel %d3,%sp@-                             
   45d9c:	4e92           	jsr %a2@                                    
   45d9e:	588f           	addql #4,%sp                                
   45da0:	6002           	bras 45da4 <unlink+0x118>                   
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
   45da2:	7aff           	moveq #-1,%d5                               
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   45da4:	2005           	movel %d5,%d0                               
   45da6:	4cee 0c3c ffbc 	moveml %fp@(-68),%d2-%d5/%a2-%a3            
   45dac:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045ff8 <unmount>: */ int unmount( const char *path ) {
   45ff8:	4e56 ffe0      	linkw %fp,#-32                              
   45ffc:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   46000:	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 ) )
   46004:	7401           	moveq #1,%d2                                
   46006:	2f0a           	movel %a2,%sp@-                             
   46008:	4eb9 0004 ee18 	jsr 4ee18 <strlen>                          
   4600e:	2e82           	movel %d2,%sp@                              
   46010:	240e           	movel %fp,%d2                               
   46012:	0682 ffff ffec 	addil #-20,%d2                              
   46018:	2f02           	movel %d2,%sp@-                             
   4601a:	42a7           	clrl %sp@-                                  
   4601c:	2f00           	movel %d0,%sp@-                             
   4601e:	2f0a           	movel %a2,%sp@-                             
   46020:	4eb9 0004 33de 	jsr 433de <rtems_filesystem_evaluate_path>  
   46026:	4fef 0014      	lea %sp@(20),%sp                            
   4602a:	4a80           	tstl %d0                                    
   4602c:	6600 00e8      	bnew 46116 <unmount+0x11e>                  
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
   46030:	246e fffc      	moveal %fp@(-4),%a2                         
   46034:	47f9 0004 34d4 	lea 434d4 <rtems_filesystem_freenode>,%a3   
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
   4603a:	202e ffec      	movel %fp@(-20),%d0                         
   4603e:	b0aa 001c      	cmpl %a2@(28),%d0                           
   46042:	6716           	beqs 4605a <unmount+0x62>                   
    rtems_filesystem_freenode( &loc );                                
   46044:	2f02           	movel %d2,%sp@-                             
   46046:	4e93           	jsr %a3@                                    
    rtems_set_errno_and_return_minus_one( EACCES );                   
   46048:	4eb9 0004 d944 	jsr 4d944 <__errno>                         
   4604e:	588f           	addql #4,%sp                                
   46050:	720d           	moveq #13,%d1                               
   46052:	2040           	moveal %d0,%a0                              
   46054:	2081           	movel %d1,%a0@                              
   46056:	6000 00be      	braw 46116 <unmount+0x11e>                  
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4605a:	2f02           	movel %d2,%sp@-                             
   4605c:	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 )                
   4605e:	2079 0005 e1b4 	moveal 5e1b4 <rtems_current_user_env>,%a0   
   46064:	588f           	addql #4,%sp                                
   46066:	b5e8 0014      	cmpal %a0@(20),%a2                          
   4606a:	6724           	beqs 46090 <unmount+0x98>                   
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
   4606c:	2f2a 002c      	movel %a2@(44),%sp@-                        
   46070:	487a ff6e      	pea %pc@(45fe0 <is_fs_below_mount_point>)   
   46074:	4eb9 0004 3cba 	jsr 43cba <rtems_filesystem_mount_iterate>  
   4607a:	508f           	addql #8,%sp                                
   4607c:	4a00           	tstb %d0                                    
   4607e:	6610           	bnes 46090 <unmount+0x98>                   
   *  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 )             
   46080:	2f0a           	movel %a2,%sp@-                             
   46082:	4eb9 0004 3812 	jsr 43812 <rtems_libio_is_open_files_in_fs> 
   46088:	588f           	addql #4,%sp                                
   4608a:	7201           	moveq #1,%d1                                
   4608c:	b280           	cmpl %d0,%d1                                
   4608e:	660e           	bnes 4609e <unmount+0xa6>                   
    rtems_set_errno_and_return_minus_one( EBUSY );                    
   46090:	4eb9 0004 d944 	jsr 4d944 <__errno>                         
   46096:	2040           	moveal %d0,%a0                              
   46098:	7010           	moveq #16,%d0                               
   4609a:	2080           	movel %d0,%a0@                              
   4609c:	6078           	bras 46116 <unmount+0x11e>                  
   * 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 )             
   4609e:	206a 0014      	moveal %a2@(20),%a0                         
   460a2:	2f0a           	movel %a2,%sp@-                             
   460a4:	2068 0028      	moveal %a0@(40),%a0                         
   460a8:	4e90           	jsr %a0@                                    
   460aa:	588f           	addql #4,%sp                                
   460ac:	4a80           	tstl %d0                                    
   460ae:	6666           	bnes 46116 <unmount+0x11e>                  <== NEVER TAKEN
   *  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){          
   460b0:	206a 0028      	moveal %a2@(40),%a0                         
   460b4:	2f0a           	movel %a2,%sp@-                             
   460b6:	2068 002c      	moveal %a0@(44),%a0                         
   460ba:	4e90           	jsr %a0@                                    
   460bc:	588f           	addql #4,%sp                                
   460be:	4a80           	tstl %d0                                    
   460c0:	671a           	beqs 460dc <unmount+0xe4>                   <== ALWAYS TAKEN
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
   460c2:	206a 0014      	moveal %a2@(20),%a0                         <== NOT EXECUTED
   460c6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   460c8:	2068 0020      	moveal %a0@(32),%a0                         <== NOT EXECUTED
   460cc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   460ce:	588f           	addql #4,%sp                                <== NOT EXECUTED
   460d0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   460d2:	6742           	beqs 46116 <unmount+0x11e>                  <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
   460d4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   460d6:	4eb9 0004 6ff8 	jsr 46ff8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
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 );
   460dc:	42a7           	clrl %sp@-                                  
   460de:	42a7           	clrl %sp@-                                  
   460e0:	2f39 0005 f83c 	movel 5f83c <rtems_libio_semaphore>,%sp@-   
   460e6:	4eb9 0004 69b4 	jsr 469b4 <rtems_semaphore_obtain>          
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   460ec:	2f0a           	movel %a2,%sp@-                             
   460ee:	4eb9 0004 7344 	jsr 47344 <_Chain_Extract>                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   460f4:	2f39 0005 f83c 	movel 5f83c <rtems_libio_semaphore>,%sp@-   
   460fa:	4eb9 0004 6abc 	jsr 46abc <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 );                          
   46100:	486a 0008      	pea %a2@(8)                                 
   46104:	4e93           	jsr %a3@                                    
  free( mt_entry );                                                   
   46106:	2f0a           	movel %a2,%sp@-                             
   46108:	4eb9 0004 34e8 	jsr 434e8 <free>                            
                                                                      
  return 0;                                                           
   4610e:	4fef 001c      	lea %sp@(28),%sp                            
   46112:	4280           	clrl %d0                                    
   46114:	6002           	bras 46118 <unmount+0x120>                  
   */                                                                 
                                                                      
  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;                                                        
   46116:	70ff           	moveq #-1,%d0                               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
   46118:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   4611e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004613c <utime>: int utime( const char *path, const struct utimbuf *times ) {
   4613c:	4e56 ffe0      	linkw %fp,#-32                              
   46140:	2f0a           	movel %a2,%sp@-                             
   46142:	246e 000c      	moveal %fp@(12),%a2                         
   46146:	2f02           	movel %d2,%sp@-                             
   46148:	242e 0008      	movel %fp@(8),%d2                           
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
   4614c:	2f02           	movel %d2,%sp@-                             
   4614e:	4eb9 0004 ff0c 	jsr 4ff0c <strlen>                          
   46154:	7201           	moveq #1,%d1                                
   46156:	2e81           	movel %d1,%sp@                              
   46158:	486e ffe4      	pea %fp@(-28)                               
   4615c:	42a7           	clrl %sp@-                                  
   4615e:	2f00           	movel %d0,%sp@-                             
   46160:	2f02           	movel %d2,%sp@-                             
   46162:	4eb9 0004 30ee 	jsr 430ee <rtems_filesystem_evaluate_path>  
   46168:	4fef 0014      	lea %sp@(20),%sp                            
   4616c:	4a80           	tstl %d0                                    
   4616e:	6646           	bnes 461b6 <utime+0x7a>                     
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
   46170:	4a8a           	tstl %a2                                    
   46172:	6616           	bnes 4618a <utime+0x4e>                     <== ALWAYS TAKEN
    now.actime = now.modtime = time( NULL );                          
   46174:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
    times = &now;                                                     
   46176:	45ee fff8      	lea %fp@(-8),%a2                            <== NOT EXECUTED
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
                                                                      
  if ( times == NULL ) {                                              
    now.actime = now.modtime = time( NULL );                          
   4617a:	4eb9 0005 21ec 	jsr 521ec <time>                            <== NOT EXECUTED
   46180:	588f           	addql #4,%sp                                <== NOT EXECUTED
   46182:	2d40 fffc      	movel %d0,%fp@(-4)                          <== NOT EXECUTED
   46186:	2d40 fff8      	movel %d0,%fp@(-8)                          <== NOT EXECUTED
    times = &now;                                                     
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
   4618a:	2f2a 0004      	movel %a2@(4),%sp@-                         
   4618e:	2f12           	movel %a2@,%sp@-                            
   46190:	45ee ffe4      	lea %fp@(-28),%a2                           
   46194:	206e fff0      	moveal %fp@(-16),%a0                        
   46198:	2f0a           	movel %a2,%sp@-                             
   4619a:	2068 0030      	moveal %a0@(48),%a0                         
   4619e:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   461a0:	2f0a           	movel %a2,%sp@-                             
   461a2:	2d40 ffe0      	movel %d0,%fp@(-32)                         
   461a6:	4eb9 0004 3488 	jsr 43488 <rtems_filesystem_freenode>       
                                                                      
  return result;                                                      
   461ac:	202e ffe0      	movel %fp@(-32),%d0                         
   461b0:	4fef 0010      	lea %sp@(16),%sp                            
   461b4:	6002           	bras 461b8 <utime+0x7c>                     
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
  struct utimbuf                     now;                             
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
    return -1;                                                        
   461b6:	70ff           	moveq #-1,%d0                               
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
   461b8:	242e ffd8      	movel %fp@(-40),%d2                         
   461bc:	246e ffdc      	moveal %fp@(-36),%a2                        
   461c0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044ef8 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
   44ef8:	4e56 ffc4      	linkw %fp,#-60                              
   44efc:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
   44f00:	2c0e           	movel %fp,%d6                               
   44f02:	0686 ffff ffec 	addil #-20,%d6                              
                                                                      
  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)])]); 
   44f08:	49f9 0005 b20d 	lea 5b20d <rtems_filesystem_default_pathconf+0x41>,%a4
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
   44f0e:	266e 0008      	moveal %fp@(8),%a3                          
   44f12:	246e 000c      	moveal %fp@(12),%a2                         
  for (; *fmt != '\0'; fmt++) {                                       
   44f16:	6000 022c      	braw 45144 <vprintk+0x24c>                  
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
   44f1a:	49c0           	extbl %d0                                   
   44f1c:	7225           	moveq #37,%d1                               
   44f1e:	b280           	cmpl %d0,%d1                                
   44f20:	6706           	beqs 44f28 <vprintk+0x30>                   
      BSP_output_char(*fmt);                                          
   44f22:	2f00           	movel %d0,%sp@-                             
   44f24:	6000 0168      	braw 4508e <vprintk+0x196>                  
      continue;                                                       
    }                                                                 
    fmt++;                                                            
   44f28:	528b           	addql #1,%a3                                
    if (*fmt == '0' ) {                                               
   44f2a:	7430           	moveq #48,%d2                               
   44f2c:	1013           	moveb %a3@,%d0                              
   44f2e:	49c0           	extbl %d0                                   
   44f30:	b480           	cmpl %d0,%d2                                
   44f32:	6606           	bnes 44f3a <vprintk+0x42>                   
      lead = '0';                                                     
      fmt++;                                                          
   44f34:	528b           	addql #1,%a3                                
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
   44f36:	7830           	moveq #48,%d4                               
   44f38:	6002           	bras 44f3c <vprintk+0x44>                   
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
   44f3a:	7820           	moveq #32,%d4                               
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
   44f3c:	7e2d           	moveq #45,%d7                               
   44f3e:	1013           	moveb %a3@,%d0                              
   44f40:	49c0           	extbl %d0                                   
   44f42:	be80           	cmpl %d0,%d7                                
   44f44:	6608           	bnes 44f4e <vprintk+0x56>                   
      minus = true;                                                   
      fmt++;                                                          
   44f46:	528b           	addql #1,%a3                                
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
   44f48:	3a7c 0001      	moveaw #1,%a5                               
   44f4c:	6002           	bras 44f50 <vprintk+0x58>                   
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
   44f4e:	9bcd           	subal %a5,%a5                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
   44f50:	200b           	movel %a3,%d0                               
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
   44f52:	4283           	clrl %d3                                    
   44f54:	6010           	bras 44f66 <vprintk+0x6e>                   
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
   44f56:	2203           	movel %d3,%d1                               
   44f58:	e789           	lsll #3,%d1                                 
   44f5a:	2241           	moveal %d1,%a1                              
   44f5c:	41f1 3a00      	lea %a1@(00000000,%d3:l:2),%a0              
      width += ((unsigned) *fmt - '0');                               
   44f60:	41f0 28d0      	lea %a0@(ffffffd0,%d2:l),%a0                
   44f64:	2608           	movel %a0,%d3                               
   44f66:	2640           	moveal %d0,%a3                              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   44f68:	5280           	addql #1,%d0                                
   44f6a:	7e09           	moveq #9,%d7                                
   44f6c:	1213           	moveb %a3@,%d1                              
   44f6e:	2a01           	movel %d1,%d5                               
   44f70:	0685 ffff ffd0 	addil #-48,%d5                              
   44f76:	1401           	moveb %d1,%d2                               
   44f78:	0285 0000 00ff 	andil #255,%d5                              
   44f7e:	49c2           	extbl %d2                                   
   44f80:	be85           	cmpl %d5,%d7                                
   44f82:	64d2           	bccs 44f56 <vprintk+0x5e>                   
   44f84:	2a03           	movel %d3,%d5                               
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
   44f86:	1e3c 006c      	moveb #108,%d7                              
   44f8a:	be82           	cmpl %d2,%d7                                
   44f8c:	6604           	bnes 44f92 <vprintk+0x9a>                   
      lflag = true;                                                   
      c = *++fmt;                                                     
   44f8e:	2640           	moveal %d0,%a3                              
   44f90:	1213           	moveb %a3@,%d1                              
    }                                                                 
    if ( c == 'c' ) {                                                 
   44f92:	7463           	moveq #99,%d2                               
   44f94:	1001           	moveb %d1,%d0                               
   44f96:	49c0           	extbl %d0                                   
   44f98:	b480           	cmpl %d0,%d2                                
   44f9a:	6618           	bnes 44fb4 <vprintk+0xbc>                   
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
   44f9c:	2012           	movel %a2@,%d0                              
      BSP_output_char(chr);                                           
   44f9e:	49c0           	extbl %d0                                   
      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);                              
   44fa0:	280a           	movel %a2,%d4                               
   44fa2:	5884           	addql #4,%d4                                
      BSP_output_char(chr);                                           
   44fa4:	2f00           	movel %d0,%sp@-                             
   44fa6:	2079 0005 c19c 	moveal 5c19c <BSP_output_char>,%a0          
   44fac:	4e90           	jsr %a0@                                    
      continue;                                                       
   44fae:	588f           	addql #4,%sp                                
   44fb0:	6000 018e      	braw 45140 <vprintk+0x248>                  
    }                                                                 
    if ( c == 's' ) {                                                 
   44fb4:	7473           	moveq #115,%d2                              
   44fb6:	b480           	cmpl %d0,%d2                                
   44fb8:	667e           	bnes 45038 <vprintk+0x140>                  
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
   44fba:	280a           	movel %a2,%d4                               
   44fbc:	5884           	addql #4,%d4                                
   44fbe:	2452           	moveal %a2@,%a2                             
                                                                      
      if ( str == NULL ) {                                            
   44fc0:	4a8a           	tstl %a2                                    
   44fc2:	6606           	bnes 44fca <vprintk+0xd2>                   
        str = "";                                                     
   44fc4:	45f9 0005 b20c 	lea 5b20c <rtems_filesystem_default_pathconf+0x40>,%a2
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
   44fca:	204a           	moveal %a2,%a0                              
   44fcc:	4282           	clrl %d2                                    
   44fce:	6002           	bras 44fd2 <vprintk+0xda>                   
   44fd0:	5282           	addql #1,%d2                                
   44fd2:	4a18           	tstb %a0@+                                  
   44fd4:	66fa           	bnes 44fd0 <vprintk+0xd8>                   
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
   44fd6:	3e0d           	movew %a5,%d7                               
   44fd8:	4a07           	tstb %d7                                    
   44fda:	6618           	bnes 44ff4 <vprintk+0xfc>                   
   44fdc:	2a02           	movel %d2,%d5                               
   44fde:	6010           	bras 44ff0 <vprintk+0xf8>                   
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
   44fe0:	4878 0020      	pea 20 <OPER2+0xc>                          <== NOT EXECUTED
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
   44fe4:	5285           	addql #1,%d5                                <== NOT EXECUTED
          BSP_output_char(' ');                                       
   44fe6:	2079 0005 c19c 	moveal 5c19c <BSP_output_char>,%a0          <== NOT EXECUTED
   44fec:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
   44fee:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44ff0:	b685           	cmpl %d5,%d3                                
   44ff2:	62ec           	bhis 44fe0 <vprintk+0xe8>                   <== NEVER TAKEN
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
   44ff4:	4a83           	tstl %d3                                    
   44ff6:	6616           	bnes 4500e <vprintk+0x116>                  
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   44ff8:	4a82           	tstl %d2                                    
   44ffa:	6718           	beqs 45014 <vprintk+0x11c>                  
   44ffc:	2602           	movel %d2,%d3                               
   44ffe:	600e           	bras 4500e <vprintk+0x116>                  
        BSP_output_char(*str);                                        
   45000:	49c0           	extbl %d0                                   
   45002:	2079 0005 c19c 	moveal 5c19c <BSP_output_char>,%a0          
   45008:	2f00           	movel %d0,%sp@-                             
   4500a:	4e90           	jsr %a0@                                    
   4500c:	588f           	addql #4,%sp                                
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   4500e:	101a           	moveb %a2@+,%d0                             
   45010:	66ee           	bnes 45000 <vprintk+0x108>                  
   45012:	6002           	bras 45016 <vprintk+0x11e>                  
   45014:	2602           	movel %d2,%d3                               
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
   45016:	300d           	movew %a5,%d0                               
   45018:	4a00           	tstb %d0                                    
   4501a:	6700 0124      	beqw 45140 <vprintk+0x248>                  
   4501e:	6010           	bras 45030 <vprintk+0x138>                  
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
   45020:	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++ )                                 
   45024:	5282           	addql #1,%d2                                
          BSP_output_char(' ');                                       
   45026:	2079 0005 c19c 	moveal 5c19c <BSP_output_char>,%a0          
   4502c:	4e90           	jsr %a0@                                    
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
   4502e:	588f           	addql #4,%sp                                
   45030:	b682           	cmpl %d2,%d3                                
   45032:	62ec           	bhis 45020 <vprintk+0x128>                  
   45034:	6000 010a      	braw 45140 <vprintk+0x248>                  
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
   45038:	746f           	moveq #111,%d2                              
   4503a:	b480           	cmpl %d0,%d2                                
   4503c:	6760           	beqs 4509e <vprintk+0x1a6>                  <== NEVER TAKEN
   4503e:	143c 004f      	moveb #79,%d2                               
   45042:	b480           	cmpl %d0,%d2                                
   45044:	6758           	beqs 4509e <vprintk+0x1a6>                  <== NEVER TAKEN
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
   45046:	143c 0069      	moveb #105,%d2                              
   4504a:	b480           	cmpl %d0,%d2                                
   4504c:	6756           	beqs 450a4 <vprintk+0x1ac>                  <== NEVER TAKEN
   4504e:	143c 0049      	moveb #73,%d2                               
   45052:	b480           	cmpl %d0,%d2                                
   45054:	674e           	beqs 450a4 <vprintk+0x1ac>                  <== NEVER TAKEN
   45056:	143c 0064      	moveb #100,%d2                              
   4505a:	b480           	cmpl %d0,%d2                                
   4505c:	6746           	beqs 450a4 <vprintk+0x1ac>                  
                c == 'd' || c == 'D' ) {                              
   4505e:	143c 0044      	moveb #68,%d2                               
   45062:	b480           	cmpl %d0,%d2                                
   45064:	673e           	beqs 450a4 <vprintk+0x1ac>                  <== NEVER TAKEN
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
   45066:	143c 0075      	moveb #117,%d2                              
   4506a:	b480           	cmpl %d0,%d2                                
   4506c:	673a           	beqs 450a8 <vprintk+0x1b0>                  
   4506e:	143c 0055      	moveb #85,%d2                               
   45072:	b480           	cmpl %d0,%d2                                
   45074:	6732           	beqs 450a8 <vprintk+0x1b0>                  <== NEVER TAKEN
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
   45076:	49c1           	extbl %d1                                   
   45078:	7078           	moveq #120,%d0                              
   4507a:	b081           	cmpl %d1,%d0                                
   4507c:	6730           	beqs 450ae <vprintk+0x1b6>                  
   4507e:	143c 0058      	moveb #88,%d2                               
   45082:	b481           	cmpl %d1,%d2                                
   45084:	6728           	beqs 450ae <vprintk+0x1b6>                  <== NEVER TAKEN
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
   45086:	7e70           	moveq #112,%d7                              
   45088:	be81           	cmpl %d1,%d7                                
   4508a:	6722           	beqs 450ae <vprintk+0x1b6>                  
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
   4508c:	2f01           	movel %d1,%sp@-                             
   4508e:	2079 0005 c19c 	moveal 5c19c <BSP_output_char>,%a0          
      continue;                                                       
   45094:	280a           	movel %a2,%d4                               
    } 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);                                             
   45096:	4e90           	jsr %a0@                                    
      continue;                                                       
   45098:	588f           	addql #4,%sp                                
   4509a:	6000 00a4      	braw 45140 <vprintk+0x248>                  
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
   4509e:	7408           	moveq #8,%d2                                <== NOT EXECUTED
   450a0:	4200           	clrb %d0                                    <== NOT EXECUTED
   450a2:	600e           	bras 450b2 <vprintk+0x1ba>                  <== NOT EXECUTED
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
   450a4:	7001           	moveq #1,%d0                                
   450a6:	6002           	bras 450aa <vprintk+0x1b2>                  
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
   450a8:	4200           	clrb %d0                                    
   450aa:	740a           	moveq #10,%d2                               
   450ac:	6004           	bras 450b2 <vprintk+0x1ba>                  
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
   450ae:	7410           	moveq #16,%d2                               
   450b0:	4200           	clrb %d0                                    
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   450b2:	49c4           	extbl %d4                                   
   450b4:	2a44           	moveal %d4,%a5                              
   450b6:	280a           	movel %a2,%d4                               
   450b8:	5884           	addql #4,%d4                                
   450ba:	2e12           	movel %a2@,%d7                              
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
   450bc:	4a00           	tstb %d0                                    
   450be:	6720           	beqs 450e0 <vprintk+0x1e8>                  
   450c0:	4a87           	tstl %d7                                    
   450c2:	6c1c           	bges 450e0 <vprintk+0x1e8>                  <== ALWAYS TAKEN
    BSP_output_char('-');                                             
   450c4:	4878 002d      	pea 2d <OPER2+0x19>                         <== NOT EXECUTED
   450c8:	2079 0005 c19c 	moveal 5c19c <BSP_output_char>,%a0          <== NOT EXECUTED
   450ce:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
   450d0:	588f           	addql #4,%sp                                <== NOT EXECUTED
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
   450d2:	2007           	movel %d7,%d0                               <== NOT EXECUTED
   450d4:	4480           	negl %d0                                    <== NOT EXECUTED
    if (maxwidth) maxwidth--;                                         
   450d6:	4a83           	tstl %d3                                    <== NOT EXECUTED
   450d8:	670a           	beqs 450e4 <vprintk+0x1ec>                  <== NOT EXECUTED
   450da:	2a03           	movel %d3,%d5                               <== NOT EXECUTED
   450dc:	5385           	subql #1,%d5                                <== NOT EXECUTED
   450de:	6004           	bras 450e4 <vprintk+0x1ec>                  <== NOT EXECUTED
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
   450e0:	2007           	movel %d7,%d0                               
   450e2:	2a03           	movel %d3,%d5                               
   450e4:	2046           	moveal %d6,%a0                              
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   450e6:	1602           	moveb %d2,%d3                               
   450e8:	600a           	bras 450f4 <vprintk+0x1fc>                  
   450ea:	3e01           	movew %d1,%d7                               
   450ec:	cfc3           	mulsw %d3,%d7                               
   450ee:	9087           	subl %d7,%d0                                
   450f0:	10c0           	moveb %d0,%a0@+                             
   450f2:	2001           	movel %d1,%d0                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   450f4:	2200           	movel %d0,%d1                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   450f6:	2248           	moveal %a0,%a1                              
   450f8:	93c6           	subal %d6,%a1                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   450fa:	4c42 1001      	remul %d2,%d1,%d1                           
   450fe:	66ea           	bnes 450ea <vprintk+0x1f2>                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
   45100:	2609           	movel %a1,%d3                               
   45102:	5283           	addql #1,%d3                                
   45104:	1d80 98ec      	moveb %d0,%fp@(ffffffec,%a1:l)              
   45108:	600e           	bras 45118 <vprintk+0x220>                  
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
   4510a:	2f0d           	movel %a5,%sp@-                             
   4510c:	2079 0005 c19c 	moveal 5c19c <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-- )                                  
   45112:	5385           	subql #1,%d5                                
    BSP_output_char(lead);                                            
   45114:	4e90           	jsr %a0@                                    
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
   45116:	588f           	addql #4,%sp                                
   45118:	b685           	cmpl %d5,%d3                                
   4511a:	65ee           	bcss 4510a <vprintk+0x212>                  
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
   4511c:	2446           	moveal %d6,%a2                              
   4511e:	d5c3           	addal %d3,%a2                               
   45120:	4282           	clrl %d2                                    
   45122:	6018           	bras 4513c <vprintk+0x244>                  
                                                                      
  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)])]); 
   45124:	2079 0005 c19c 	moveal 5c19c <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++) {                                       
   4512a:	5282           	addql #1,%d2                                
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
   4512c:	1022           	moveb %a2@-,%d0                             
   4512e:	49c0           	extbl %d0                                   
   45130:	1034 0800      	moveb %a4@(00000000,%d0:l),%d0              
   45134:	49c0           	extbl %d0                                   
   45136:	2f00           	movel %d0,%sp@-                             
   45138:	4e90           	jsr %a0@                                    
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   4513a:	588f           	addql #4,%sp                                
   4513c:	b682           	cmpl %d2,%d3                                
   4513e:	62e4           	bhis 45124 <vprintk+0x22c>                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45140:	528b           	addql #1,%a3                                
   45142:	2444           	moveal %d4,%a2                              
   45144:	1013           	moveb %a3@,%d0                              
   45146:	6600 fdd2      	bnew 44f1a <vprintk+0x22>                   
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
   4514a:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   45150:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00059f84 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
   59f84:	4e56 fff4      	linkw %fp,#-12                              
   59f88:	202e 000c      	movel %fp@(12),%d0                          
   59f8c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   59f90:	242e 0008      	movel %fp@(8),%d2                           
   59f94:	222e 0010      	movel %fp@(16),%d1                          
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   59f98:	b4b9 0005 c0a4 	cmpl 5c0a4 <rtems_libio_number_iops>,%d2    
   59f9e:	6414           	bccs 59fb4 <write+0x30>                     
  iop = rtems_libio_iop( fd );                                        
   59fa0:	2479 0005 d7b4 	moveal 5d7b4 <rtems_libio_iops>,%a2         
   59fa6:	ed8a           	lsll #6,%d2                                 
   59fa8:	d5c2           	addal %d2,%a2                               
  rtems_libio_check_is_open( iop );                                   
   59faa:	242a 0014      	movel %a2@(20),%d2                          
   59fae:	0802 0008      	btst #8,%d2                                 
   59fb2:	660e           	bnes 59fc2 <write+0x3e>                     
   59fb4:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         
   59fba:	7209           	moveq #9,%d1                                
   59fbc:	2040           	moveal %d0,%a0                              
   59fbe:	2081           	movel %d1,%a0@                              
   59fc0:	6018           	bras 59fda <write+0x56>                     
  rtems_libio_check_buffer( buffer );                                 
   59fc2:	4a80           	tstl %d0                                    
   59fc4:	6708           	beqs 59fce <write+0x4a>                     <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
   59fc6:	4a81           	tstl %d1                                    
   59fc8:	6742           	beqs 5a00c <write+0x88>                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   59fca:	44c2           	movew %d2,%ccr                              
   59fcc:	6710           	beqs 59fde <write+0x5a>                     <== ALWAYS TAKEN
   59fce:	4eb9 0004 ca30 	jsr 4ca30 <__errno>                         <== NOT EXECUTED
   59fd4:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   59fd6:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   59fd8:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   59fda:	70ff           	moveq #-1,%d0                               
   59fdc:	6030           	bras 5a00e <write+0x8a>                     
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
   59fde:	206a 003c      	moveal %a2@(60),%a0                         
   59fe2:	2f01           	movel %d1,%sp@-                             
   59fe4:	2f00           	movel %d0,%sp@-                             
   59fe6:	2f0a           	movel %a2,%sp@-                             
   59fe8:	2068 000c      	moveal %a0@(12),%a0                         
   59fec:	4e90           	jsr %a0@                                    
                                                                      
  if ( rc > 0 )                                                       
   59fee:	4fef 000c      	lea %sp@(12),%sp                            
   59ff2:	4a80           	tstl %d0                                    
   59ff4:	6f18           	bles 5a00e <write+0x8a>                     
    iop->offset += rc;                                                
   59ff6:	2400           	movel %d0,%d2                               
   59ff8:	5bc1           	smi %d1                                     
   59ffa:	49c1           	extbl %d1                                   
   59ffc:	d5aa 0010      	addl %d2,%a2@(16)                           
   5a000:	262a 000c      	movel %a2@(12),%d3                          
   5a004:	d781           	addxl %d1,%d3                               
   5a006:	2543 000c      	movel %d3,%a2@(12)                          
   5a00a:	6002           	bras 5a00e <write+0x8a>                     
                                                                      
  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 );                                   
   5a00c:	4280           	clrl %d0                                    
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5a00e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5a014:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000460d4 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
   460d4:	4e56 ffe4      	linkw %fp,#-28                              
   460d8:	202e 0008      	movel %fp@(8),%d0                           
   460dc:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   460e0:	246e 000c      	moveal %fp@(12),%a2                         
   460e4:	262e 0010      	movel %fp@(16),%d3                          
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
   460e8:	b0b9 0005 caf4 	cmpl 5caf4 <rtems_libio_number_iops>,%d0    
   460ee:	6414           	bccs 46104 <writev+0x30>                    
  iop = rtems_libio_iop( fd );                                        
   460f0:	2679 0005 e204 	moveal 5e204 <rtems_libio_iops>,%a3         
   460f6:	ed88           	lsll #6,%d0                                 
   460f8:	d7c0           	addal %d0,%a3                               
  rtems_libio_check_is_open( iop );                                   
   460fa:	202b 0014      	movel %a3@(20),%d0                          
   460fe:	0800 0008      	btst #8,%d0                                 
   46102:	6610           	bnes 46114 <writev+0x40>                    
   46104:	4eb9 0004 d67c 	jsr 4d67c <__errno>                         
   4610a:	7209           	moveq #9,%d1                                
   4610c:	2040           	moveal %d0,%a0                              
   4610e:	2081           	movel %d1,%a0@                              
   46110:	6000 00a4      	braw 461b6 <writev+0xe2>                    
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   46114:	44c0           	movew %d0,%ccr                              
   46116:	6636           	bnes 4614e <writev+0x7a>                    <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
   46118:	4a8a           	tstl %a2                                    
   4611a:	6732           	beqs 4614e <writev+0x7a>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
   4611c:	4a83           	tstl %d3                                    
   4611e:	6f2e           	bles 4614e <writev+0x7a>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   46120:	0c83 0000 0400 	cmpil #1024,%d3                             
   46126:	6e26           	bgts 4614e <writev+0x7a>                    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   46128:	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 )                                             
   4612a:	93c9           	subal %a1,%a1                               
   4612c:	4281           	clrl %d1                                    
   4612e:	7001           	moveq #1,%d0                                
   46130:	6002           	bras 46134 <writev+0x60>                    
   *  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++ ) {                    
   46132:	2202           	movel %d2,%d1                               
                                                                      
    if ( !iov[v].iov_base )                                           
   46134:	4a90           	tstl %a0@                                   
   46136:	6716           	beqs 4614e <writev+0x7a>                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
   46138:	2428 0004      	movel %a0@(4),%d2                           
      all_zeros = false;                                              
   4613c:	57c4           	seq %d4                                     
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   4613e:	d481           	addl %d1,%d2                                
                                                                      
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
   46140:	c084           	andl %d4,%d0                                
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
   46142:	b282           	cmpl %d2,%d1                                
   46144:	6e08           	bgts 4614e <writev+0x7a>                    
   46146:	0c82 0000 7fff 	cmpil #32767,%d2                            
   4614c:	6f0e           	bles 4615c <writev+0x88>                    <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4614e:	4eb9 0004 d67c 	jsr 4d67c <__errno>                         
   46154:	2040           	moveal %d0,%a0                              
   46156:	7016           	moveq #22,%d0                               
   46158:	2080           	movel %d0,%a0@                              
   4615a:	605a           	bras 461b6 <writev+0xe2>                    
   *  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++ ) {                    
   4615c:	5289           	addql #1,%a1                                
   4615e:	5088           	addql #8,%a0                                
   46160:	b689           	cmpl %a1,%d3                                
   46162:	6ece           	bgts 46132 <writev+0x5e>                    
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
   46164:	4a00           	tstb %d0                                    
   46166:	664a           	bnes 461b2 <writev+0xde>                    
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
   46168:	588a           	addql #4,%a2                                
   4616a:	4284           	clrl %d4                                    
   4616c:	4282           	clrl %d2                                    
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
   4616e:	2012           	movel %a2@,%d0                              
   46170:	6736           	beqs 461a8 <writev+0xd4>                    <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
   46172:	206b 003c      	moveal %a3@(60),%a0                         
   46176:	2f00           	movel %d0,%sp@-                             
   46178:	2f2a fffc      	movel %a2@(-4),%sp@-                        
   4617c:	2f0b           	movel %a3,%sp@-                             
   4617e:	2068 000c      	moveal %a0@(12),%a0                         
   46182:	4e90           	jsr %a0@                                    
                                                                      
    if ( bytes < 0 )                                                  
   46184:	4fef 000c      	lea %sp@(12),%sp                            
   46188:	4a80           	tstl %d0                                    
   4618a:	6d2a           	blts 461b6 <writev+0xe2>                    <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
   4618c:	6716           	beqs 461a4 <writev+0xd0>                    <== NEVER TAKEN
      iop->offset += bytes;                                           
      total       += bytes;                                           
   4618e:	d480           	addl %d0,%d2                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
   46190:	2c00           	movel %d0,%d6                               
   46192:	5bc5           	smi %d5                                     
   46194:	49c5           	extbl %d5                                   
   46196:	ddab 0010      	addl %d6,%a3@(16)                           
   4619a:	222b 000c      	movel %a3@(12),%d1                          
   4619e:	d385           	addxl %d5,%d1                               
   461a0:	2741 000c      	movel %d1,%a3@(12)                          
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
   461a4:	b092           	cmpl %a2@,%d0                               
   461a6:	6610           	bnes 461b8 <writev+0xe4>                    <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   461a8:	5284           	addql #1,%d4                                
   461aa:	508a           	addql #8,%a2                                
   461ac:	b684           	cmpl %d4,%d3                                
   461ae:	6ebe           	bgts 4616e <writev+0x9a>                    
   461b0:	6006           	bras 461b8 <writev+0xe4>                    
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
    return 0;                                                         
   461b2:	4282           	clrl %d2                                    
   461b4:	6002           	bras 461b8 <writev+0xe4>                    
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
   461b6:	74ff           	moveq #-1,%d2                               
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   461b8:	2002           	movel %d2,%d0                               
   461ba:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   461c0:	4e5e           	unlk %fp                                    <== NOT EXECUTED