RTEMS 4.10
Annotated Report
Tue Feb 8 23:32:16 2011

000494f8 <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 ) {
   494f8:	7206           	moveq #6,%d1                                
#define MAXSYMLINK 5                                                  
                                                                      
int IMFS_Set_handlers(                                                
  rtems_filesystem_location_info_t   *loc                             
)                                                                     
{                                                                     
   494fa:	4e56 0000      	linkw %fp,#0                                
   494fe:	206e 0008      	moveal %fp@(8),%a0                          
   49502:	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 ) {                                              
   49504:	2450           	moveal %a0@,%a2                             
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
   49506:	2268 0010      	moveal %a0@(16),%a1                         
  switch( node->type ) {                                              
   4950a:	202a 0048      	movel %a2@(72),%d0                          
   4950e:	5380           	subql #1,%d0                                
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
   49510:	2269 0034      	moveal %a1@(52),%a1                         
  switch( node->type ) {                                              
   49514:	b280           	cmpl %d0,%d1                                
   49516:	6546           	bcss 4955e <IMFS_Set_handlers+0x66>         <== NEVER TAKEN
   49518:	303b 0a08      	movew %pc@(49522 <IMFS_Set_handlers+0x2a>,%d0:l:2),%d0
   4951c:	48c0           	extl %d0                                    
   4951e:	4efb 0802      	jmp %pc@(49522 <IMFS_Set_handlers+0x2a>,%d0:l)
   49522:	000e           	016                                         <== NOT EXECUTED
   49524:	0016           	026                                         <== NOT EXECUTED
   49526:	001e           	036                                         <== NOT EXECUTED
   49528:	001e           	036                                         <== NOT EXECUTED
   4952a:	002a           	052                                         <== NOT EXECUTED
   4952c:	002a           	052                                         <== NOT EXECUTED
   4952e:	0032           	062                                         <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
   49530:	2169 000c 0008 	movel %a1@(12),%a0@(8)                      
      break;                                                          
   49536:	6026           	bras 4955e <IMFS_Set_handlers+0x66>         
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
   49538:	203c 0005 c768 	movel #378728,%d0                           
   4953e:	601a           	bras 4955a <IMFS_Set_handlers+0x62>         
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
   49540:	223c 0005 c7d8 	movel #378840,%d1                           
   49546:	2141 0008      	movel %d1,%a0@(8)                           
      break;                                                          
   4954a:	6012           	bras 4955e <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;                      
   4954c:	2169 0008 0008 	movel %a1@(8),%a0@(8)                       
      break;                                                          
   49552:	600a           	bras 4955e <IMFS_Set_handlers+0x66>         
    case IMFS_FIFO:                                                   
      loc->handlers = &IMFS_fifo_handlers;                            
   49554:	203c 0005 c6c0 	movel #378560,%d0                           
   4955a:	2140 0008      	movel %d0,%a0@(8)                           
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4955e:	245f           	moveal %sp@+,%a2                            
   49560:	4280           	clrl %d0                                    
   49562:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004932c <IMFS_allocate_node>: IMFS_jnode_t *IMFS_allocate_node( IMFS_jnode_types_t type, const char *name, mode_t mode ) {
   4932c:	4e56 fff8      	linkw %fp,#-8                               
   49330:	2f0a           	movel %a2,%sp@-                             
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
   49332:	4878 0060      	pea 60 <DBL_MANT_DIG+0x2b>                  
   49336:	4878 0001      	pea 1 <ADD>                                 
   4933a:	4eb9 0004 2438 	jsr 42438 <calloc>                          
  if ( !node )                                                        
   49340:	508f           	addql #8,%sp                                
  struct timeval       tv;                                            
                                                                      
  /*                                                                  
   *  Allocate an IMFS jnode                                          
   */                                                                 
  node = calloc( 1, sizeof( IMFS_jnode_t ) );                         
   49342:	2440           	moveal %d0,%a2                              
  if ( !node )                                                        
   49344:	4a80           	tstl %d0                                    
   49346:	6758           	beqs 493a0 <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 );                         
   49348:	4878 0020      	pea 20 <OPER2+0xc>                          
   4934c:	2f2e 000c      	movel %fp@(12),%sp@-                        
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
  node->type     = type;                                              
   49350:	256e 0008 0048 	movel %fp@(8),%a2@(72)                      
  strncpy( node->name, name, IMFS_NAME_MAX );                         
   49356:	486a 000c      	pea %a2@(12)                                
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Fill in the basic information                                   
   */                                                                 
  node->st_nlink = 1;                                                 
   4935a:	7001           	moveq #1,%d0                                
   4935c:	3540 0032      	movew %d0,%a2@(50)                          
  node->type     = type;                                              
  strncpy( node->name, name, IMFS_NAME_MAX );                         
   49360:	4eb9 0004 f5e8 	jsr 4f5e8 <strncpy>                         
                                                                      
  /*                                                                  
   *  Fill in the mode and permission information for the jnode structure.
   */                                                                 
  node->st_mode = mode;                                               
   49366:	256e 0010 002e 	movel %fp@(16),%a2@(46)                     
  #if defined(RTEMS_POSIX_API)                                        
    node->st_uid = geteuid();                                         
   4936c:	4eb9 0004 a348 	jsr 4a348 <geteuid>                         
   49372:	3540 0038      	movew %d0,%a2@(56)                          
    node->st_gid = getegid();                                         
   49376:	4eb9 0004 a334 	jsr 4a334 <getegid>                         
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
   4937c:	42a7           	clrl %sp@-                                  
   4937e:	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();                                         
   49382:	3540 003a      	movew %d0,%a2@(58)                          
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
   49386:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
   4938c:	202e fff8      	movel %fp@(-8),%d0                          
  node->stat_mtime  = (time_t) tv.tv_sec;                             
  node->stat_ctime  = (time_t) tv.tv_sec;                             
                                                                      
  return node;                                                        
   49390:	4fef 0014      	lea %sp@(20),%sp                            
   */                                                                 
  gettimeofday( &tv, 0 );                                             
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
  node->stat_mtime  = (time_t) tv.tv_sec;                             
  node->stat_ctime  = (time_t) tv.tv_sec;                             
   49394:	2540 0044      	movel %d0,%a2@(68)                          
  /*                                                                  
   *  Now set all the times.                                          
   */                                                                 
  gettimeofday( &tv, 0 );                                             
                                                                      
  node->stat_atime  = (time_t) tv.tv_sec;                             
   49398:	2540 003c      	movel %d0,%a2@(60)                          
  node->stat_mtime  = (time_t) tv.tv_sec;                             
   4939c:	2540 0040      	movel %d0,%a2@(64)                          
  node->stat_ctime  = (time_t) tv.tv_sec;                             
                                                                      
  return node;                                                        
}                                                                     
   493a0:	200a           	movel %a2,%d0                               
   493a2:	246e fff4      	moveal %fp@(-12),%a2                        
   493a6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000492c4 <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
   492c4:	4e56 ffe8      	linkw %fp,#-24                              
   492c8:	206e 0008      	moveal %fp@(8),%a0                          
   492cc:	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;                      
   492d0:	2450           	moveal %a0@,%a2                             
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   492d2:	4284           	clrl %d4                                    
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
   492d4:	362e 000e      	movew %fp@(14),%d3                          
   492d8:	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();                                                 
   492dc:	4eb9 0004 a348 	jsr 4a348 <geteuid>                         
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   492e2:	4281           	clrl %d1                                    
   492e4:	3800           	movew %d0,%d4                               
   492e6:	322a 0038      	movew %a2@(56),%d1                          
   492ea:	b284           	cmpl %d4,%d1                                
   492ec:	6714           	beqs 49302 <IMFS_chown+0x3e>                <== ALWAYS TAKEN
   492ee:	4a40           	tstw %d0                                    <== NOT EXECUTED
   492f0:	6710           	beqs 49302 <IMFS_chown+0x3e>                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
   492f2:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   492f8:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   492fa:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   492fc:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   492fe:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   49300:	601e           	bras 49320 <IMFS_chown+0x5c>                <== NOT EXECUTED
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
   49302:	3543 0038      	movew %d3,%a2@(56)                          
  jnode->st_gid = group;                                              
   49306:	3542 003a      	movew %d2,%a2@(58)                          
                                                                      
  IMFS_update_ctime( jnode );                                         
   4930a:	42a7           	clrl %sp@-                                  
   4930c:	486e fff8      	pea %fp@(-8)                                
   49310:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   49316:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
   4931c:	508f           	addql #8,%sp                                
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
   4931e:	4280           	clrl %d0                                    
                                                                      
  return 0;                                                           
}                                                                     
   49320:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   49326:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000493e4 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
   493e4:	4e56 fff0      	linkw %fp,#-16                              
   493e8:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   493ec:	266e 0008      	moveal %fp@(8),%a3                          
   493f0:	242e 000c      	movel %fp@(12),%d2                          
   493f4:	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 )                                           
   493f8:	4a8b           	tstl %a3                                    
   493fa:	6606           	bnes 49402 <IMFS_create_node+0x1e>          <== ALWAYS TAKEN
   493fc:	99cc           	subal %a4,%a4                               <== NOT EXECUTED
   493fe:	6000 00ea      	braw 494ea <IMFS_create_node+0x106>         <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
   49402:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   49408:	2028 002c      	movel %a0@(44),%d0                          
   4940c:	4680           	notl %d0                                    
   4940e:	c0ae 0014      	andl %fp@(20),%d0                           
   49412:	2f00           	movel %d0,%sp@-                             
   49414:	2f2e 0010      	movel %fp@(16),%sp@-                        
   49418:	2f02           	movel %d2,%sp@-                             
   4941a:	4eb9 0004 932c 	jsr 4932c <IMFS_allocate_node>              
  if ( !node )                                                        
   49420:	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 );
   49424:	2840           	moveal %d0,%a4                              
  if ( !node )                                                        
   49426:	4a80           	tstl %d0                                    
   49428:	6700 00c0      	beqw 494ea <IMFS_create_node+0x106>         
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  switch (type) {                                                     
   4942c:	5382           	subql #1,%d2                                
   4942e:	7006           	moveq #6,%d0                                
   49430:	b082           	cmpl %d2,%d0                                
   49432:	6570           	bcss 494a4 <IMFS_create_node+0xc0>          <== NEVER TAKEN
   49434:	303b 2a08      	movew %pc@(4943e <IMFS_create_node+0x5a>,%d2:l:2),%d0
   49438:	48c0           	extl %d0                                    
   4943a:	4efb 0802      	jmp %pc@(4943e <IMFS_create_node+0x5a>,%d0:l)
   4943e:	000e           	016                                         <== NOT EXECUTED
   49440:	002a           	052                                         <== NOT EXECUTED
   49442:	0024           	044                                         <== NOT EXECUTED
   49444:	0024           	044                                         <== NOT EXECUTED
   49446:	0046           	0106                                        <== NOT EXECUTED
   49448:	0036           	066                                         <== NOT EXECUTED
   4944a:	0060           	0140                                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   4944c:	41ec 0050      	lea %a4@(80),%a0                            
   49450:	2948 004c      	movel %a0,%a4@(76)                          
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
   49454:	41ec 004c      	lea %a4@(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;                                   
   49458:	42ac 0050      	clrl %a4@(80)                               
  the_chain->last           = _Chain_Head(the_chain);                 
   4945c:	2948 0054      	movel %a0,%a4@(84)                          
   49460:	605e           	bras 494c0 <IMFS_create_node+0xdc>          
    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;                 
   49462:	2952 004c      	movel %a2@,%a4@(76)                         
      break;                                                          
   49466:	6058           	bras 494c0 <IMFS_create_node+0xdc>          
                                                                      
    case IMFS_DEVICE:                                                 
      node->info.device.major = info->device.major;                   
   49468:	2952 004c      	movel %a2@,%a4@(76)                         
      node->info.device.minor = info->device.minor;                   
   4946c:	296a 0004 0050 	movel %a2@(4),%a4@(80)                      
      break;                                                          
   49472:	604c           	bras 494c0 <IMFS_create_node+0xdc>          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
   49474:	42ac 0054      	clrl %a4@(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;                            
   49478:	4280           	clrl %d0                                    <== NOT EXECUTED
   4947a:	4281           	clrl %d1                                    <== NOT EXECUTED
   4947c:	2940 004c      	movel %d0,%a4@(76)                          <== NOT EXECUTED
   49480:	2941 0050      	movel %d1,%a4@(80)                          <== NOT EXECUTED
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
   49484:	42ac 0054      	clrl %a4@(84)                               
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
   49488:	4280           	clrl %d0                                    
   4948a:	4281           	clrl %d1                                    
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
   4948c:	42ac 0058      	clrl %a4@(88)                               
    case IMFS_LINEAR_FILE:                                            
      node->info.linearfile.size      = 0;                            
      node->info.linearfile.direct    = 0;                            
                                                                      
    case IMFS_MEMORY_FILE:                                            
      node->info.file.size            = 0;                            
   49490:	2940 004c      	movel %d0,%a4@(76)                          
   49494:	2941 0050      	movel %d1,%a4@(80)                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
   49498:	42ac 005c      	clrl %a4@(92)                               
      break;                                                          
   4949c:	6022           	bras 494c0 <IMFS_create_node+0xdc>          
                                                                      
    case IMFS_FIFO:                                                   
      node->info.fifo.pipe = NULL;                                    
   4949e:	42ac 004c      	clrl %a4@(76)                               
      break;                                                          
   494a2:	601c           	bras 494c0 <IMFS_create_node+0xdc>          
                                                                      
    default:                                                          
      assert(0);                                                      
   494a4:	4879 0005 c604 	pea 5c604 <IMFS_LIMITS_AND_OPTIONS+0x30>    <== NOT EXECUTED
   494aa:	4879 0005 c653 	pea 5c653 <__FUNCTION__.5908>               <== NOT EXECUTED
   494b0:	4878 005c      	pea 5c <DBL_MANT_DIG+0x27>                  <== NOT EXECUTED
   494b4:	4879 0005 c606 	pea 5c606 <IMFS_LIMITS_AND_OPTIONS+0x32>    <== NOT EXECUTED
   494ba:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
  fs_info      = parent_loc->mt_entry->fs_info;                       
   494c0:	206b 0010      	moveal %a3@(16),%a0                         
   494c4:	2068 0034      	moveal %a0@(52),%a0                         
                                                                      
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   494c8:	2028 0004      	movel %a0@(4),%d0                           
   494cc:	5280           	addql #1,%d0                                
   494ce:	2140 0004      	movel %d0,%a0@(4)                           
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
   494d2:	2053           	moveal %a3@,%a0                             
  fs_info      = parent_loc->mt_entry->fs_info;                       
                                                                      
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   494d4:	2940 0034      	movel %d0,%a4@(52)                          
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  parent       = parent_loc->node_access;                             
  fs_info      = parent_loc->mt_entry->fs_info;                       
                                                                      
  node->Parent = parent;                                              
   494d8:	2948 0008      	movel %a0,%a4@(8)                           
   494dc:	2f0c           	movel %a4,%sp@-                             
   494de:	4868 004c      	pea %a0@(76)                                
   494e2:	4eb9 0004 6160 	jsr 46160 <_Chain_Append>                   
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   494e8:	508f           	addql #8,%sp                                
}                                                                     
   494ea:	200c           	movel %a4,%d0                               
   494ec:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   494f2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000493aa <IMFS_create_root_node>: IMFS_jnode_t *IMFS_create_root_node(void) {
   493aa:	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) );  
   493ae:	4878 41ed      	pea 41ed <D_MAX_EXP+0x39ee>                 
   493b2:	4879 0005 c424 	pea 5c424 <rtems_filesystem_default_pathconf+0x40>
   493b8:	4878 0001      	pea 1 <ADD>                                 
   493bc:	4eb9 0004 932c 	jsr 4932c <IMFS_allocate_node>              
  if ( !node )                                                        
   493c2:	4fef 000c      	lea %sp@(12),%sp                            
   493c6:	4a80           	tstl %d0                                    
   493c8:	6716           	beqs 493e0 <IMFS_create_root_node+0x36>     <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   493ca:	2240           	moveal %d0,%a1                              
  the_chain->permanent_null = NULL;                                   
   493cc:	2040           	moveal %d0,%a0                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   493ce:	43e9 0050      	lea %a1@(80),%a1                            
   493d2:	2149 004c      	movel %a1,%a0@(76)                          
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
   493d6:	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;                                   
   493d8:	42a8 0050      	clrl %a0@(80)                               
  the_chain->last           = _Chain_Head(the_chain);                 
   493dc:	2149 0054      	movel %a1,%a0@(84)                          
   *  NOTE: Root node is always a directory.                          
   */                                                                 
  rtems_chain_initialize_empty(&node->info.directory.Entries);        
                                                                      
  return node;                                                        
}                                                                     
   493e0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043dca <IMFS_dump_directory>: void IMFS_dump_directory( IMFS_jnode_t *the_directory, int level ) {
   43dca:	4e56 ffe0      	linkw %fp,#-32                              
   43dce:	206e 0008      	moveal %fp@(8),%a0                          
   43dd2:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   43dd6:	242e 000c      	movel %fp@(12),%d2                          
  rtems_chain_node     *the_node;                                     
  rtems_chain_control  *the_chain;                                    
  IMFS_jnode_t         *the_jnode;                                    
  int                   i;                                            
                                                                      
  assert( the_directory );                                            
   43dda:	4a88           	tstl %a0                                    
   43ddc:	6612           	bnes 43df0 <IMFS_dump_directory+0x26>       <== ALWAYS TAKEN
   43dde:	4879 0006 0ed0 	pea 60ed0 <IntUartPollCallbacks.6645+0xda>  <== NOT EXECUTED
   43de4:	4879 0006 0f9e 	pea 60f9e <__FUNCTION__.6659>               <== NOT EXECUTED
   43dea:	4878 0084      	pea 84 <DBL_MANT_DIG+0x4f>                  <== NOT EXECUTED
   43dee:	6014           	bras 43e04 <IMFS_dump_directory+0x3a>       <== NOT EXECUTED
                                                                      
  assert( level >= 0 );                                               
   43df0:	4a82           	tstl %d2                                    
   43df2:	6c1c           	bges 43e10 <IMFS_dump_directory+0x46>       <== ALWAYS TAKEN
   43df4:	4879 0006 0ede 	pea 60ede <IntUartPollCallbacks.6645+0xe8>  <== NOT EXECUTED
   43dfa:	4879 0006 0f9e 	pea 60f9e <__FUNCTION__.6659>               <== NOT EXECUTED
   43e00:	4878 0086      	pea 86 <DBL_MANT_DIG+0x51>                  <== NOT EXECUTED
   43e04:	4879 0006 0e20 	pea 60e20 <IntUartPollCallbacks.6645+0x2a>  <== NOT EXECUTED
   43e0a:	4eb9 0004 45e4 	jsr 445e4 <__assert_func>                   <== NOT EXECUTED
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
   43e10:	7001           	moveq #1,%d0                                
   43e12:	b0a8 0048      	cmpl %a0@(72),%d0                           
   43e16:	6712           	beqs 43e2a <IMFS_dump_directory+0x60>       <== ALWAYS TAKEN
   43e18:	4879 0006 0ee9 	pea 60ee9 <IntUartPollCallbacks.6645+0xf3>  <== NOT EXECUTED
   43e1e:	4879 0006 0f9e 	pea 60f9e <__FUNCTION__.6659>               <== NOT EXECUTED
   43e24:	4878 0088      	pea 88 <DBL_MANT_DIG+0x53>                  <== NOT EXECUTED
   43e28:	60da           	bras 43e04 <IMFS_dump_directory+0x3a>       <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   43e2a:	2a08           	movel %a0,%d5                               
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
   43e2c:	2802           	movel %d2,%d4                               
   43e2e:	0685 0000 0050 	addil #80,%d5                               
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
   43e34:	4bf9 0005 1b70 	lea 51b70 <fputs>,%a5                       
    IMFS_print_jnode( the_jnode );                                    
   43e3a:	49f9 0004 3c4e 	lea 43c4e <IMFS_print_jnode>,%a4            
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
   43e40:	5284           	addql #1,%d4                                
   43e42:	47f9 0004 3dca 	lea 43dca <IMFS_dump_directory>,%a3         
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
   43e48:	2468 004c      	moveal %a0@(76),%a2                         
   43e4c:	6034           	bras 43e82 <IMFS_dump_directory+0xb8>       
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
   43e4e:	4283           	clrl %d3                                    
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
   43e50:	2079 0006 2ae8 	moveal 62ae8 <_impure_ptr>,%a0              
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
   43e56:	5283           	addql #1,%d3                                
      fprintf(stdout, "...." );                                       
   43e58:	2f28 0008      	movel %a0@(8),%sp@-                         
   43e5c:	4879 0006 0f0f 	pea 60f0f <IntUartPollCallbacks.6645+0x119> 
   43e62:	4e95           	jsr %a5@                                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
   43e64:	508f           	addql #8,%sp                                
   43e66:	b483           	cmpl %d3,%d2                                
   43e68:	6ce6           	bges 43e50 <IMFS_dump_directory+0x86>       
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
   43e6a:	2f0a           	movel %a2,%sp@-                             
   43e6c:	4e94           	jsr %a4@                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
   43e6e:	588f           	addql #4,%sp                                
   43e70:	7001           	moveq #1,%d0                                
   43e72:	b0aa 0048      	cmpl %a2@(72),%d0                           
   43e76:	6608           	bnes 43e80 <IMFS_dump_directory+0xb6>       
      IMFS_dump_directory( the_jnode, level + 1 );                    
   43e78:	2f04           	movel %d4,%sp@-                             
   43e7a:	2f0a           	movel %a2,%sp@-                             
   43e7c:	4e93           	jsr %a3@                                    
   43e7e:	508f           	addql #8,%sp                                
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
   43e80:	2452           	moveal %a2@,%a2                             
                                                                      
  assert( the_directory->type == IMFS_DIRECTORY );                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = the_chain->first;                                  
   43e82:	ba8a           	cmpl %a2,%d5                                
   43e84:	66c8           	bnes 43e4e <IMFS_dump_directory+0x84>       
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
   43e86:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   43e8c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000496d0 <IMFS_eval_path>: char token[ IMFS_NAME_MAX + 1 ]; rtems_filesystem_location_info_t newloc; IMFS_jnode_t *node; int result; if ( !rtems_libio_is_valid_perms( flags ) ) {
   496d0:	70f8           	moveq #-8,%d0                               
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
   496d2:	4e56 ff9c      	linkw %fp,#-100                             
   496d6:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   496da:	282e 0010      	movel %fp@(16),%d4                          
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
   496de:	c084           	andl %d4,%d0                                
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
   496e0:	2a6e 0008      	moveal %fp@(8),%a5                          
   496e4:	286e 000c      	moveal %fp@(12),%a4                         
   496e8:	246e 0014      	moveal %fp@(20),%a2                         
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
   496ec:	671c           	beqs 4970a <IMFS_eval_path+0x3a>            <== ALWAYS TAKEN
    assert( 0 );                                                      
   496ee:	4879 0005 c604 	pea 5c604 <IMFS_LIMITS_AND_OPTIONS+0x30>    <== NOT EXECUTED
   496f4:	4879 0005 c6b0 	pea 5c6b0 <__FUNCTION__.6151>               <== NOT EXECUTED
   496fa:	4878 01f6      	pea 1f6 <DBL_MANT_DIG+0x1c1>                <== NOT EXECUTED
   496fe:	4879 0005 c664 	pea 5c664 <__FUNCTION__.5908+0x11>          <== NOT EXECUTED
   49704:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
   *  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 );  
   4970a:	2a0e           	movel %fp,%d5                               
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
   4970c:	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 );  
   4970e:	0685 ffff ffc7 	addil #-57,%d5                              
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49714:	2e3c 0004 9e6c 	movel #302700,%d7                           
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
   4971a:	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 );  
   4971c:	486e fffc      	pea %fp@(-4)                                
   49720:	2f05           	movel %d5,%sp@-                             
   49722:	2f0c           	movel %a4,%sp@-                             
   49724:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   49728:	4eb9 0004 9efc 	jsr 49efc <IMFS_get_token>                  
    pathnamelen -= len;                                               
   4972e:	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 );  
   49732:	2600           	movel %d0,%d3                               
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
   49734:	4fef 0010      	lea %sp@(16),%sp                            
   49738:	4a92           	tstl %a2@                                   
   4973a:	6700 00dc      	beqw 49818 <IMFS_eval_path+0x148>           
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
   4973e:	4a80           	tstl %d0                                    
   49740:	671c           	beqs 4975e <IMFS_eval_path+0x8e>            
      if ( node->type == IMFS_DIRECTORY )                             
   49742:	7001           	moveq #1,%d0                                
   49744:	b0ab 0048      	cmpl %a3@(72),%d0                           
   49748:	6614           	bnes 4975e <IMFS_eval_path+0x8e>            
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
   4974a:	4878 0001      	pea 1 <ADD>                                 
   4974e:	2f0a           	movel %a2,%sp@-                             
   49750:	4eb9 0004 9566 	jsr 49566 <IMFS_evaluate_permission>        
   49756:	508f           	addql #8,%sp                                
   49758:	4a80           	tstl %d0                                    
   4975a:	6700 0162      	beqw 498be <IMFS_eval_path+0x1ee>           
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
   4975e:	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;                                               
    i += len;                                                         
   49760:	d486           	addl %d6,%d2                                
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
   49762:	99c6           	subal %d6,%a4                               
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
   49764:	7003           	moveq #3,%d0                                
   49766:	b083           	cmpl %d3,%d0                                
   49768:	6742           	beqs 497ac <IMFS_eval_path+0xdc>            
   4976a:	7204           	moveq #4,%d1                                
   4976c:	b283           	cmpl %d3,%d1                                
   4976e:	6700 00c0      	beqw 49830 <IMFS_eval_path+0x160>           
   49772:	103c 0002      	moveb #2,%d0                                
   49776:	b083           	cmpl %d3,%d0                                
   49778:	6600 00c8      	bnew 49842 <IMFS_eval_path+0x172>           
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
   4977c:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   49782:	b7e8 0018      	cmpal %a0@(24),%a3                          
   49786:	6794           	beqs 4971c <IMFS_eval_path+0x4c>            
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
   49788:	206a 0010      	moveal %a2@(16),%a0                         
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
   4978c:	b7e8 001c      	cmpal %a0@(28),%a3                          
   49790:	6614           	bnes 497a6 <IMFS_eval_path+0xd6>            
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
   49792:	4878 0014      	pea 14 <OPER2>                              
   49796:	260e           	movel %fp,%d3                               
   49798:	4868 0008      	pea %a0@(8)                                 
   4979c:	0683 ffff ffe8 	addil #-24,%d3                              
   497a2:	6000 00ca      	braw 4986e <IMFS_eval_path+0x19e>           
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
   497a6:	266b 0008      	moveal %a3@(8),%a3                          
   497aa:	6068           	bras 49814 <IMFS_eval_path+0x144>           
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
   497ac:	202b 0048      	movel %a3@(72),%d0                          
   497b0:	7203           	moveq #3,%d1                                
   497b2:	b280           	cmpl %d0,%d1                                
   497b4:	6614           	bnes 497ca <IMFS_eval_path+0xfa>            
                                                                      
          IMFS_evaluate_hard_link( pathloc, 0 );                      
   497b6:	42a7           	clrl %sp@-                                  
   497b8:	2f0a           	movel %a2,%sp@-                             
   497ba:	4eb9 0004 95da 	jsr 495da <IMFS_evaluate_hard_link>         
                                                                      
          node = pathloc->node_access;                                
   497c0:	2652           	moveal %a2@,%a3                             
          if ( !node )                                                
   497c2:	508f           	addql #8,%sp                                
   497c4:	4a8b           	tstl %a3                                    
   497c6:	661e           	bnes 497e6 <IMFS_eval_path+0x116>           <== ALWAYS TAKEN
   497c8:	6024           	bras 497ee <IMFS_eval_path+0x11e>           <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( ENOTDIR );          
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
   497ca:	7204           	moveq #4,%d1                                
   497cc:	b280           	cmpl %d0,%d1                                
   497ce:	6616           	bnes 497e6 <IMFS_eval_path+0x116>           
                                                                      
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
   497d0:	42a7           	clrl %sp@-                                  
   497d2:	2f0a           	movel %a2,%sp@-                             
   497d4:	4eb9 0004 9634 	jsr 49634 <IMFS_evaluate_sym_link>          
                                                                      
          node = pathloc->node_access;                                
   497da:	2652           	moveal %a2@,%a3                             
          if ( result == -1 )                                         
   497dc:	508f           	addql #8,%sp                                
   497de:	72ff           	moveq #-1,%d1                               
   497e0:	b280           	cmpl %d0,%d1                                
   497e2:	6700 00ea      	beqw 498ce <IMFS_eval_path+0x1fe>           
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
   497e6:	7001           	moveq #1,%d0                                
   497e8:	b0ab 0048      	cmpl %a3@(72),%d0                           
   497ec:	6712           	beqs 49800 <IMFS_eval_path+0x130>           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
   497ee:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   497f4:	7e14           	moveq #20,%d7                               
   497f6:	76ff           	moveq #-1,%d3                               
   497f8:	2040           	moveal %d0,%a0                              
   497fa:	2087           	movel %d7,%a0@                              
   497fc:	6000 00d2      	braw 498d0 <IMFS_eval_path+0x200>           
        /*                                                            
         *  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 ) {                   
   49800:	206b 0058      	moveal %a3@(88),%a0                         
   49804:	4a88           	tstl %a0                                    
   49806:	6656           	bnes 4985e <IMFS_eval_path+0x18e>           
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49808:	2f05           	movel %d5,%sp@-                             
   4980a:	2047           	moveal %d7,%a0                              
   4980c:	2f0b           	movel %a3,%sp@-                             
   4980e:	4e90           	jsr %a0@                                    
        if ( !node )                                                  
   49810:	508f           	addql #8,%sp                                
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49812:	2640           	moveal %d0,%a3                              
        if ( !node )                                                  
   49814:	4a8b           	tstl %a3                                    
   49816:	6612           	bnes 4982a <IMFS_eval_path+0x15a>           
          rtems_set_errno_and_return_minus_one( ENOENT );             
   49818:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4981e:	7c02           	moveq #2,%d6                                
   49820:	76ff           	moveq #-1,%d3                               
   49822:	2040           	moveal %d0,%a0                              
   49824:	2086           	movel %d6,%a0@                              
   49826:	6000 00a8      	braw 498d0 <IMFS_eval_path+0x200>           
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
   4982a:	248b           	movel %a3,%a2@                              
        break;                                                        
   4982c:	6000 feee      	braw 4971c <IMFS_eval_path+0x4c>            
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   49830:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49836:	7a5b           	moveq #91,%d5                               
   49838:	76ff           	moveq #-1,%d3                               
   4983a:	2040           	moveal %d0,%a0                              
   4983c:	2085           	movel %d5,%a0@                              
   4983e:	6000 0090      	braw 498d0 <IMFS_eval_path+0x200>           
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
   49842:	4a83           	tstl %d3                                    
   49844:	6708           	beqs 4984e <IMFS_eval_path+0x17e>           
   49846:	7004           	moveq #4,%d0                                
   49848:	b083           	cmpl %d3,%d0                                
   4984a:	6600 fed0      	bnew 4971c <IMFS_eval_path+0x4c>            
   *  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 ) {                               
   4984e:	7201           	moveq #1,%d1                                
   49850:	b2ab 0048      	cmpl %a3@(72),%d1                           
   49854:	664e           	bnes 498a4 <IMFS_eval_path+0x1d4>           
    if ( node->info.directory.mt_fs != NULL ) {                       
   49856:	206b 0058      	moveal %a3@(88),%a0                         
   4985a:	4a88           	tstl %a0                                    
   4985c:	6746           	beqs 498a4 <IMFS_eval_path+0x1d4>           
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
   4985e:	4878 0014      	pea 14 <OPER2>                              
   49862:	260e           	movel %fp,%d3                               
   49864:	0683 ffff ffe8 	addil #-24,%d3                              
   4986a:	4868 001c      	pea %a0@(28)                                
   4986e:	2f03           	movel %d3,%sp@-                             
   49870:	47f9 0004 e9c4 	lea 4e9c4 <memcpy>,%a3                      
   49876:	4e93           	jsr %a3@                                    
      *pathloc = newloc;                                              
   49878:	4878 0014      	pea 14 <OPER2>                              
   4987c:	2f03           	movel %d3,%sp@-                             
   4987e:	2f0a           	movel %a2,%sp@-                             
   49880:	4e93           	jsr %a3@                                    
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
   49882:	206e fffc      	moveal %fp@(-4),%a0                         
   49886:	9488           	subl %a0,%d2                                
   49888:	2f0a           	movel %a2,%sp@-                             
   4988a:	226a 000c      	moveal %a2@(12),%a1                         
   4988e:	2f04           	movel %d4,%sp@-                             
   49890:	4874 8800      	pea %a4@(00000000,%a0:l)                    
   49894:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   49898:	2051           	moveal %a1@,%a0                             
   4989a:	4e90           	jsr %a0@                                    
   4989c:	4fef 0028      	lea %sp@(40),%sp                            
   498a0:	2600           	movel %d0,%d3                               
   498a2:	602c           	bras 498d0 <IMFS_eval_path+0x200>           
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
   498a4:	2f0a           	movel %a2,%sp@-                             
   498a6:	4eb9 0004 94f8 	jsr 494f8 <IMFS_Set_handlers>               
   498ac:	2600           	movel %d0,%d3                               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
   498ae:	2e84           	movel %d4,%sp@                              
   498b0:	2f0a           	movel %a2,%sp@-                             
   498b2:	4eb9 0004 9566 	jsr 49566 <IMFS_evaluate_permission>        
   498b8:	508f           	addql #8,%sp                                
   498ba:	4a80           	tstl %d0                                    
   498bc:	6612           	bnes 498d0 <IMFS_eval_path+0x200>           
    rtems_set_errno_and_return_minus_one( EACCES );                   
   498be:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   498c4:	780d           	moveq #13,%d4                               
   498c6:	76ff           	moveq #-1,%d3                               
   498c8:	2040           	moveal %d0,%a0                              
   498ca:	2084           	movel %d4,%a0@                              
   498cc:	6002           	bras 498d0 <IMFS_eval_path+0x200>           
   498ce:	2600           	movel %d0,%d3                               <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   498d0:	2003           	movel %d3,%d0                               
   498d2:	4cee 3cfc ff9c 	moveml %fp@(-100),%d2-%d7/%a2-%a5           
   498d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049972 <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 */ ) {
   49972:	4e56 ff9c      	linkw %fp,#-100                             
   49976:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4997a:	286e 0008      	moveal %fp@(8),%a4                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   4997e:	2c0e           	movel %fp,%d6                               
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   49980:	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 );          
   49982:	0686 ffff ffc7 	addil #-57,%d6                              
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   49988:	2a3c 0004 98dc 	movel #301276,%d5                           
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   4998e:	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    */       
)                                                                     
{                                                                     
   49990:	246e 000c      	moveal %fp@(12),%a2                         
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   49994:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
   4999a:	2a6e 0010      	moveal %fp@(16),%a5                         
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   4999e:	588f           	addql #4,%sp                                
   499a0:	2800           	movel %d0,%d4                               
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
   499a2:	2652           	moveal %a2@,%a3                             
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   499a4:	486e fffc      	pea %fp@(-4)                                
   499a8:	2f06           	movel %d6,%sp@-                             
   499aa:	2f04           	movel %d4,%sp@-                             
   499ac:	4874 2800      	pea %a4@(00000000,%d2:l)                    
   499b0:	4eb9 0004 9efc 	jsr 49efc <IMFS_get_token>                  
    pathlen -= len;                                                   
   499b6:	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 );          
   499ba:	2600           	movel %d0,%d3                               
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
   499bc:	4fef 0010      	lea %sp@(16),%sp                            
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
   499c0:	9887           	subl %d7,%d4                                
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
   499c2:	4a92           	tstl %a2@                                   
   499c4:	6700 0158      	beqw 49b1e <IMFS_evaluate_for_make+0x1ac>   
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
   499c8:	4a80           	tstl %d0                                    
   499ca:	671c           	beqs 499e8 <IMFS_evaluate_for_make+0x76>    
      if ( node->type == IMFS_DIRECTORY )                             
   499cc:	7001           	moveq #1,%d0                                
   499ce:	b0ab 0048      	cmpl %a3@(72),%d0                           
   499d2:	6614           	bnes 499e8 <IMFS_evaluate_for_make+0x76>    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
   499d4:	4878 0001      	pea 1 <ADD>                                 
   499d8:	2f0a           	movel %a2,%sp@-                             
   499da:	4eb9 0004 9566 	jsr 49566 <IMFS_evaluate_permission>        
   499e0:	508f           	addql #8,%sp                                
   499e2:	4a80           	tstl %d0                                    
   499e4:	6700 0186      	beqw 49b6c <IMFS_evaluate_for_make+0x1fa>   
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
   499e8:	2652           	moveal %a2@,%a3                             
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
   499ea:	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 ) {                                                  
   499ec:	7002           	moveq #2,%d0                                
   499ee:	b083           	cmpl %d3,%d0                                
   499f0:	671a           	beqs 49a0c <IMFS_evaluate_for_make+0x9a>    
   499f2:	6508           	bcss 499fc <IMFS_evaluate_for_make+0x8a>    
   499f4:	4a83           	tstl %d3                                    
   499f6:	6700 00e4      	beqw 49adc <IMFS_evaluate_for_make+0x16a>   
   499fa:	60a8           	bras 499a4 <IMFS_evaluate_for_make+0x32>    
   499fc:	7203           	moveq #3,%d1                                
   499fe:	b283           	cmpl %d3,%d1                                
   49a00:	6740           	beqs 49a42 <IMFS_evaluate_for_make+0xd0>    
   49a02:	7004           	moveq #4,%d0                                
   49a04:	b083           	cmpl %d3,%d0                                
   49a06:	669c           	bnes 499a4 <IMFS_evaluate_for_make+0x32>    <== NEVER TAKEN
   49a08:	6000 00e4      	braw 49aee <IMFS_evaluate_for_make+0x17c>   
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
   49a0c:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   49a12:	b7e8 0018      	cmpal %a0@(24),%a3                          
   49a16:	678c           	beqs 499a4 <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){
   49a18:	206a 0010      	moveal %a2@(16),%a0                         
   49a1c:	b7e8 001c      	cmpal %a0@(28),%a3                          
   49a20:	6612           	bnes 49a34 <IMFS_evaluate_for_make+0xc2>    
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
   49a22:	4878 0014      	pea 14 <OPER2>                              
   49a26:	260e           	movel %fp,%d3                               
   49a28:	4868 0008      	pea %a0@(8)                                 
   49a2c:	0683 ffff ffe8 	addil #-24,%d3                              
   49a32:	605c           	bras 49a90 <IMFS_evaluate_for_make+0x11e>   
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
   49a34:	266b 0008      	moveal %a3@(8),%a3                          
   49a38:	4a8b           	tstl %a3                                    
   49a3a:	6600 009a      	bnew 49ad6 <IMFS_evaluate_for_make+0x164>   
   49a3e:	6000 00de      	braw 49b1e <IMFS_evaluate_for_make+0x1ac>   
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
   49a42:	202b 0048      	movel %a3@(72),%d0                          
   49a46:	7203           	moveq #3,%d1                                
   49a48:	b280           	cmpl %d0,%d1                                
   49a4a:	6706           	beqs 49a52 <IMFS_evaluate_for_make+0xe0>    
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
   49a4c:	7204           	moveq #4,%d1                                
   49a4e:	b280           	cmpl %d0,%d1                                
   49a50:	6614           	bnes 49a66 <IMFS_evaluate_for_make+0xf4>    
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   49a52:	42a7           	clrl %sp@-                                  
   49a54:	2045           	moveal %d5,%a0                              
   49a56:	2f0a           	movel %a2,%sp@-                             
   49a58:	4e90           	jsr %a0@                                    
                                                                      
          if ( result == -1 )                                         
   49a5a:	508f           	addql #8,%sp                                
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   49a5c:	2600           	movel %d0,%d3                               
                                                                      
          if ( result == -1 )                                         
   49a5e:	70ff           	moveq #-1,%d0                               
   49a60:	b083           	cmpl %d3,%d0                                
   49a62:	6700 0116      	beqw 49b7a <IMFS_evaluate_for_make+0x208>   
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
   49a66:	2052           	moveal %a2@,%a0                             
        if ( !node )                                                  
   49a68:	4a88           	tstl %a0                                    
   49a6a:	6700 00de      	beqw 49b4a <IMFS_evaluate_for_make+0x1d8>   
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
   49a6e:	7001           	moveq #1,%d0                                
   49a70:	b0a8 0048      	cmpl %a0@(72),%d0                           
   49a74:	6600 00d4      	bnew 49b4a <IMFS_evaluate_for_make+0x1d8>   
	/*                                                                   
	 * 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 ) {                   
   49a78:	2268 0058      	moveal %a0@(88),%a1                         
   49a7c:	4a89           	tstl %a1                                    
   49a7e:	6744           	beqs 49ac4 <IMFS_evaluate_for_make+0x152>   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
   49a80:	4878 0014      	pea 14 <OPER2>                              
   49a84:	260e           	movel %fp,%d3                               
   49a86:	0683 ffff ffe8 	addil #-24,%d3                              
   49a8c:	4869 001c      	pea %a1@(28)                                
   49a90:	2f03           	movel %d3,%sp@-                             
   49a92:	47f9 0004 e9c4 	lea 4e9c4 <memcpy>,%a3                      
   49a98:	4e93           	jsr %a3@                                    
          *pathloc = newloc;                                          
   49a9a:	4878 0014      	pea 14 <OPER2>                              
   49a9e:	2f03           	movel %d3,%sp@-                             
   49aa0:	2f0a           	movel %a2,%sp@-                             
   49aa2:	4e93           	jsr %a3@                                    
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   49aa4:	206a 000c      	moveal %a2@(12),%a0                         
   49aa8:	94ae fffc      	subl %fp@(-4),%d2                           
   49aac:	2f0d           	movel %a5,%sp@-                             
   49aae:	2f0a           	movel %a2,%sp@-                             
   49ab0:	4874 2800      	pea %a4@(00000000,%d2:l)                    
   49ab4:	2068 0004      	moveal %a0@(4),%a0                          
   49ab8:	4e90           	jsr %a0@                                    
   49aba:	4fef 0024      	lea %sp@(36),%sp                            
   49abe:	2600           	movel %d0,%d3                               
   49ac0:	6000 00b8      	braw 49b7a <IMFS_evaluate_for_make+0x208>   
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49ac4:	2f06           	movel %d6,%sp@-                             
   49ac6:	2f08           	movel %a0,%sp@-                             
   49ac8:	4eb9 0004 9e6c 	jsr 49e6c <IMFS_find_match_in_dir>          
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
   49ace:	508f           	addql #8,%sp                                
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   49ad0:	2640           	moveal %d0,%a3                              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
   49ad2:	4a80           	tstl %d0                                    
   49ad4:	6728           	beqs 49afe <IMFS_evaluate_for_make+0x18c>   
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
   49ad6:	248b           	movel %a3,%a2@                              
   49ad8:	6000 feca      	braw 499a4 <IMFS_evaluate_for_make+0x32>    
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
   49adc:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49ae2:	7e11           	moveq #17,%d7                               
   49ae4:	76ff           	moveq #-1,%d3                               
   49ae6:	2040           	moveal %d0,%a0                              
   49ae8:	2087           	movel %d7,%a0@                              
   49aea:	6000 008e      	braw 49b7a <IMFS_evaluate_for_make+0x208>   
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   49aee:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49af4:	7c5b           	moveq #91,%d6                               
   49af6:	76ff           	moveq #-1,%d3                               
   49af8:	2040           	moveal %d0,%a0                              
   49afa:	2086           	movel %d6,%a0@                              
   49afc:	607c           	bras 49b7a <IMFS_evaluate_for_make+0x208>   
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
   49afe:	2002           	movel %d2,%d0                               
   49b00:	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 ] ) )                            
   49b04:	47f9 0004 35a8 	lea 435a8 <rtems_filesystem_is_separator>,%a3
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
   49b0a:	d08c           	addl %a4,%d0                                
   49b0c:	d9c2           	addal %d2,%a4                               
   49b0e:	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++) {                                      
   49b10:	601c           	bras 49b2e <IMFS_evaluate_for_make+0x1bc>   
    if ( !IMFS_is_separator( path[ i ] ) )                            
   49b12:	49c0           	extbl %d0                                   
   49b14:	2f00           	movel %d0,%sp@-                             
   49b16:	4e93           	jsr %a3@                                    
   49b18:	588f           	addql #4,%sp                                
   49b1a:	4a80           	tstl %d0                                    
   49b1c:	6610           	bnes 49b2e <IMFS_evaluate_for_make+0x1bc>   
      rtems_set_errno_and_return_minus_one( ENOENT );                 
   49b1e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49b24:	7a02           	moveq #2,%d5                                
   49b26:	76ff           	moveq #-1,%d3                               
   49b28:	2040           	moveal %d0,%a0                              
   49b2a:	2085           	movel %d5,%a0@                              
   49b2c:	604c           	bras 49b7a <IMFS_evaluate_for_make+0x208>   
  /*                                                                  
   * 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++) {                                      
   49b2e:	1014           	moveb %a4@,%d0                              
    if ( !IMFS_is_separator( path[ i ] ) )                            
   49b30:	528c           	addql #1,%a4                                
  /*                                                                  
   * 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++) {                                      
   49b32:	66de           	bnes 49b12 <IMFS_evaluate_for_make+0x1a0>   
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
   49b34:	2f0a           	movel %a2,%sp@-                             
   49b36:	4eb9 0004 94f8 	jsr 494f8 <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
   49b3c:	2052           	moveal %a2@,%a0                             
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
   49b3e:	2600           	movel %d0,%d3                               
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
   49b40:	588f           	addql #4,%sp                                
   49b42:	7001           	moveq #1,%d0                                
   49b44:	b0a8 0048      	cmpl %a0@(72),%d0                           
   49b48:	6710           	beqs 49b5a <IMFS_evaluate_for_make+0x1e8>   <== ALWAYS TAKEN
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   49b4a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49b50:	7814           	moveq #20,%d4                               
   49b52:	76ff           	moveq #-1,%d3                               
   49b54:	2040           	moveal %d0,%a0                              
   49b56:	2084           	movel %d4,%a0@                              
   49b58:	6020           	bras 49b7a <IMFS_evaluate_for_make+0x208>   
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
   49b5a:	4878 0003      	pea 3 <DIVIDE>                              
   49b5e:	2f0a           	movel %a2,%sp@-                             
   49b60:	4eb9 0004 9566 	jsr 49566 <IMFS_evaluate_permission>        
   49b66:	508f           	addql #8,%sp                                
   49b68:	4a80           	tstl %d0                                    
   49b6a:	660e           	bnes 49b7a <IMFS_evaluate_for_make+0x208>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
   49b6c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49b72:	740d           	moveq #13,%d2                               
   49b74:	76ff           	moveq #-1,%d3                               
   49b76:	2040           	moveal %d0,%a0                              
   49b78:	2082           	movel %d2,%a0@                              
                                                                      
  return result;                                                      
}                                                                     
   49b7a:	2003           	movel %d3,%d0                               
   49b7c:	4cee 3cfc ff9c 	moveml %fp@(-100),%d2-%d7/%a2-%a5           
   49b82:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000495da <IMFS_evaluate_hard_link>: /* * Check for things that should never happen. */ if ( jnode->type != IMFS_HARD_LINK )
   495da:	7003           	moveq #3,%d0                                
                                                                      
int IMFS_evaluate_hard_link(                                          
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
   495dc:	4e56 0000      	linkw %fp,#0                                
   495e0:	2f0a           	movel %a2,%sp@-                             
   495e2:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_jnode_t                     *jnode  = node->node_access;       
   495e6:	2052           	moveal %a2@,%a0                             
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_HARD_LINK )                                
   495e8:	b0a8 0048      	cmpl %a0@(72),%d0                           
   495ec:	670c           	beqs 495fa <IMFS_evaluate_hard_link+0x20>   <== ALWAYS TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
   495ee:	2f3c abcd 0000 	movel #-1412628480,%sp@-                    <== NOT EXECUTED
   495f4:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Set the hard link value and the handlers.                        
   */                                                                 
                                                                      
  node->node_access = jnode->info.hard_link.link_node;                
   495fa:	24a8 004c      	movel %a0@(76),%a2@                         
                                                                      
  IMFS_Set_handlers( node );                                          
   495fe:	2f0a           	movel %a2,%sp@-                             
   49600:	4eb9 0004 94f8 	jsr 494f8 <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
   49606:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4960a:	2f0a           	movel %a2,%sp@-                             
   4960c:	4eb9 0004 9566 	jsr 49566 <IMFS_evaluate_permission>        
   49612:	4fef 000c      	lea %sp@(12),%sp                            
   49616:	4a80           	tstl %d0                                    
   49618:	6704           	beqs 4961e <IMFS_evaluate_hard_link+0x44>   <== NEVER TAKEN
   4961a:	4280           	clrl %d0                                    
   4961c:	600e           	bras 4962c <IMFS_evaluate_hard_link+0x52>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
   4961e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   49624:	720d           	moveq #13,%d1                               <== NOT EXECUTED
   49626:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49628:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4962a:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   4962c:	246e fffc      	moveal %fp@(-4),%a2                         
   49630:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049566 <IMFS_evaluate_permission>: uid_t st_uid; gid_t st_gid; IMFS_jnode_t *jnode; int flags_to_test; if ( !rtems_libio_is_valid_perms( flags ) )
   49566:	70f8           	moveq #-8,%d0                               
                                                                      
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
   49568:	4e56 fff4      	linkw %fp,#-12                              
   4956c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   49570:	242e 000c      	movel %fp@(12),%d2                          
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
   49574:	c082           	andl %d2,%d0                                
   49576:	6710           	beqs 49588 <IMFS_evaluate_permission+0x22>  <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
   49578:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4957e:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   49580:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49582:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   49584:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   49586:	6048           	bras 495d0 <IMFS_evaluate_permission+0x6a>  <== NOT EXECUTED
                                                                      
  jnode = node->node_access;                                          
   49588:	206e 0008      	moveal %fp@(8),%a0                          
   4958c:	2450           	moveal %a0@,%a2                             
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   4958e:	4eb9 0004 a348 	jsr 4a348 <geteuid>                         
   49594:	3600           	movew %d0,%d3                               
  st_gid = getegid();                                                 
   49596:	4eb9 0004 a334 	jsr 4a334 <getegid>                         
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
   4959c:	4281           	clrl %d1                                    
   4959e:	0283 0000 ffff 	andil #65535,%d3                            
   495a4:	322a 0038      	movew %a2@(56),%d1                          
   495a8:	b283           	cmpl %d3,%d1                                
   495aa:	6604           	bnes 495b0 <IMFS_evaluate_permission+0x4a>  
    flags_to_test <<= 6;                                              
   495ac:	ed8a           	lsll #6,%d2                                 
   495ae:	6012           	bras 495c2 <IMFS_evaluate_permission+0x5c>  
  else if ( st_gid == jnode->st_gid )                                 
   495b0:	4281           	clrl %d1                                    
   495b2:	0280 0000 ffff 	andil #65535,%d0                            
   495b8:	322a 003a      	movew %a2@(58),%d1                          
   495bc:	b280           	cmpl %d0,%d1                                
   495be:	6602           	bnes 495c2 <IMFS_evaluate_permission+0x5c>  <== NEVER TAKEN
    flags_to_test <<= 3;                                              
   495c0:	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 )           
   495c2:	2002           	movel %d2,%d0                               
   495c4:	c0aa 002e      	andl %a2@(46),%d0                           
   495c8:	b480           	cmpl %d0,%d2                                
   495ca:	57c0           	seq %d0                                     
   495cc:	49c0           	extbl %d0                                   
   495ce:	4480           	negl %d0                                    
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
   495d0:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   495d6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049634 <IMFS_evaluate_sym_link>: /* * Check for things that should never happen. */ if ( jnode->type != IMFS_SYM_LINK )
   49634:	7004           	moveq #4,%d0                                
                                                                      
int IMFS_evaluate_sym_link(                                           
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
   49636:	4e56 ffec      	linkw %fp,#-20                              
   4963a:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4963e:	246e 0008      	moveal %fp@(8),%a2                          
   49642:	262e 000c      	movel %fp@(12),%d3                          
  IMFS_jnode_t                     *jnode  = node->node_access;       
   49646:	2652           	moveal %a2@,%a3                             
                                                                      
  /*                                                                  
   * Check for things that should never happen.                       
   */                                                                 
                                                                      
  if ( jnode->type != IMFS_SYM_LINK )                                 
   49648:	b0ab 0048      	cmpl %a3@(72),%d0                           
   4964c:	6708           	beqs 49656 <IMFS_evaluate_sym_link+0x22>    <== ALWAYS TAKEN
    rtems_fatal_error_occurred (0xABCD0000);                          
   4964e:	2f3c abcd 0000 	movel #-1412628480,%sp@-                    <== NOT EXECUTED
   49654:	600c           	bras 49662 <IMFS_evaluate_sym_link+0x2e>    <== NOT EXECUTED
                                                                      
  if ( !jnode->Parent )                                               
   49656:	202b 0008      	movel %a3@(8),%d0                           
   4965a:	660c           	bnes 49668 <IMFS_evaluate_sym_link+0x34>    <== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xBAD00000 );                         
   4965c:	2f3c bad0 0000 	movel #-1160773632,%sp@-                    <== NOT EXECUTED
   49662:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
   49668:	2f0a           	movel %a2,%sp@-                             
   4966a:	486e fffc      	pea %fp@(-4)                                
  /*                                                                  
   * Move the node_access to either the symbolic links parent or      
   * root depending on the symbolic links path.                       
   */                                                                 
                                                                      
  node->node_access = jnode->Parent;                                  
   4966e:	2480           	movel %d0,%a2@                              
                                                                      
  rtems_filesystem_get_sym_start_loc(                                 
   49670:	2f2b 004c      	movel %a3@(76),%sp@-                        
   49674:	4eb9 0004 a828 	jsr 4a828 <rtems_filesystem_get_sym_start_loc>
                                                                      
  /*                                                                  
   * Use eval path to evaluate the path of the symbolic link.         
   */                                                                 
                                                                      
  result = IMFS_eval_path(                                            
   4967a:	242b 004c      	movel %a3@(76),%d2                          
   4967e:	d4ae fffc      	addl %fp@(-4),%d2                           
   49682:	2f02           	movel %d2,%sp@-                             
   49684:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
   4968a:	2e8a           	movel %a2,%sp@                              
   4968c:	2f03           	movel %d3,%sp@-                             
   4968e:	2f00           	movel %d0,%sp@-                             
   49690:	2f02           	movel %d2,%sp@-                             
   49692:	4eb9 0004 96d0 	jsr 496d0 <IMFS_eval_path>                  
   49698:	2400           	movel %d0,%d2                               
    strlen( &jnode->info.sym_link.name[i] ),                          
    flags,                                                            
    node                                                              
  );                                                                  
                                                                      
  IMFS_Set_handlers( node );                                          
   4969a:	2f0a           	movel %a2,%sp@-                             
   4969c:	4eb9 0004 94f8 	jsr 494f8 <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( node, flags ) )                     
   496a2:	4fef 001c      	lea %sp@(28),%sp                            
   496a6:	2e83           	movel %d3,%sp@                              
   496a8:	2f0a           	movel %a2,%sp@-                             
   496aa:	4eb9 0004 9566 	jsr 49566 <IMFS_evaluate_permission>        
   496b0:	508f           	addql #8,%sp                                
   496b2:	4a80           	tstl %d0                                    
   496b4:	660e           	bnes 496c4 <IMFS_evaluate_sym_link+0x90>    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EACCES );                   
   496b6:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   496bc:	760d           	moveq #13,%d3                               <== NOT EXECUTED
   496be:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   496c0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   496c2:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   496c4:	2002           	movel %d2,%d0                               
   496c6:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   496cc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d200 <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
   4d200:	4e56 fff8      	linkw %fp,#-8                               
   4d204:	206e 0008      	moveal %fp@(8),%a0                          
   4d208:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
   4d20a:	2450           	moveal %a0@,%a2                             
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
   4d20c:	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 ) )               
   4d20e:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   4d210:	4eb9 0004 a348 	jsr 4a348 <geteuid>                         
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   4d216:	4281           	clrl %d1                                    
   4d218:	3400           	movew %d0,%d2                               
   4d21a:	322a 0038      	movew %a2@(56),%d1                          
   4d21e:	b282           	cmpl %d2,%d1                                
   4d220:	6714           	beqs 4d236 <IMFS_fchmod+0x36>               <== ALWAYS TAKEN
   4d222:	4a40           	tstw %d0                                    <== NOT EXECUTED
   4d224:	6710           	beqs 4d236 <IMFS_fchmod+0x36>               <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4d226:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4d22c:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   4d22e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4d230:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4d232:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   4d234:	6030           	bras 4d266 <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);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4d236:	202a 002e      	movel %a2@(46),%d0                          
   4d23a:	222e 000c      	movel %fp@(12),%d1                          
   4d23e:	0280 ffff f000 	andil #-4096,%d0                            
   4d244:	0281 0000 0fff 	andil #4095,%d1                             
   4d24a:	8280           	orl %d0,%d1                                 
   4d24c:	2541 002e      	movel %d1,%a2@(46)                          
                                                                      
  IMFS_update_ctime( jnode );                                         
   4d250:	42a7           	clrl %sp@-                                  
   4d252:	486e fff8      	pea %fp@(-8)                                
   4d256:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4d25c:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
   4d262:	508f           	addql #8,%sp                                
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
   4d264:	4280           	clrl %d0                                    
                                                                      
  return 0;                                                           
}                                                                     
   4d266:	242e fff0      	movel %fp@(-16),%d2                         
   4d26a:	246e fff4      	moveal %fp@(-12),%a2                        
   4d26e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049d16 <IMFS_fifo_close>: } int IMFS_fifo_close( rtems_libio_t *iop ) {
   49d16:	4e56 fff4      	linkw %fp,#-12                              <== NOT EXECUTED
   49d1a:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     <== NOT EXECUTED
   49d1e:	266e 0008      	moveal %fp@(8),%a3                          <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
   49d22:	246b 0038      	moveal %a3@(56),%a2                         <== NOT EXECUTED
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
   49d26:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   49d28:	486a 004c      	pea %a2@(76)                                <== NOT EXECUTED
   49d2c:	4eb9 0004 8e74 	jsr 48e74 <pipe_release>                    <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
   49d32:	508f           	addql #8,%sp                                <== NOT EXECUTED
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
   49d34:	2400           	movel %d0,%d2                               <== NOT EXECUTED
                                                                      
  if (! err) {                                                        
   49d36:	662a           	bnes 49d62 <IMFS_fifo_close+0x4c>           <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   49d38:	203c ffff feff 	movel #-257,%d0                             <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
   49d3e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_release(&JNODE2PIPE(jnode), iop);                    
                                                                      
  if (! err) {                                                        
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   49d40:	c1ab 0014      	andl %d0,%a3@(20)                           <== NOT EXECUTED
    /* Free jnode if file is already unlinked and no one opens it */  
    if (! rtems_libio_is_file_open(jnode) && jnode->st_nlink < 1)     
   49d44:	4eb9 0004 a3be 	jsr 4a3be <rtems_libio_is_file_open>        <== NOT EXECUTED
   49d4a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49d4c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49d4e:	6624           	bnes 49d74 <IMFS_fifo_close+0x5e>           <== NOT EXECUTED
   49d50:	4a6a 0032      	tstw %a2@(50)                               <== NOT EXECUTED
   49d54:	661e           	bnes 49d74 <IMFS_fifo_close+0x5e>           <== NOT EXECUTED
      free(jnode);                                                    
   49d56:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49d58:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
   49d5e:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49d60:	6012           	bras 49d74 <IMFS_fifo_close+0x5e>           <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   49d62:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49d64:	6c0e           	bges 49d74 <IMFS_fifo_close+0x5e>           <== NOT EXECUTED
   49d66:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   49d6c:	4482           	negl %d2                                    <== NOT EXECUTED
   49d6e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49d70:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   49d72:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   49d74:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   49d76:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                <== NOT EXECUTED
   49d7c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049bde <IMFS_fifo_ioctl>: int IMFS_fifo_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
   49bde:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   49be2:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   49be6:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
   49bea:	226e 0010      	moveal %fp@(16),%a1                         <== NOT EXECUTED
   49bee:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  int err;                                                            
                                                                      
  if (command == FIONBIO) {                                           
   49bf0:	0c80 8004 667e 	cmpil #-2147195266,%d0                      <== NOT EXECUTED
   49bf6:	6620           	bnes 49c18 <IMFS_fifo_ioctl+0x3a>           <== NOT EXECUTED
    if (buffer == NULL)                                               
   49bf8:	4a89           	tstl %a1                                    <== NOT EXECUTED
   49bfa:	6604           	bnes 49c00 <IMFS_fifo_ioctl+0x22>           <== NOT EXECUTED
   49bfc:	74f2           	moveq #-14,%d2                              <== NOT EXECUTED
   49bfe:	6034           	bras 49c34 <IMFS_fifo_ioctl+0x56>           <== NOT EXECUTED
      err = -EFAULT;                                                  
    else {                                                            
      if (*(int *)buffer)                                             
   49c00:	4a91           	tstl %a1@                                   <== NOT EXECUTED
   49c02:	670a           	beqs 49c0e <IMFS_fifo_ioctl+0x30>           <== NOT EXECUTED
        iop->flags |= LIBIO_FLAGS_NO_DELAY;                           
   49c04:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   49c06:	4282           	clrl %d2                                    <== NOT EXECUTED
   49c08:	81a8 0014      	orl %d0,%a0@(20)                            <== NOT EXECUTED
   49c0c:	6034           	bras 49c42 <IMFS_fifo_ioctl+0x64>           <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                          
   49c0e:	70fe           	moveq #-2,%d0                               <== NOT EXECUTED
   49c10:	4282           	clrl %d2                                    <== NOT EXECUTED
   49c12:	c1a8 0014      	andl %d0,%a0@(20)                           <== NOT EXECUTED
   49c16:	602a           	bras 49c42 <IMFS_fifo_ioctl+0x64>           <== NOT EXECUTED
      return 0;                                                       
    }                                                                 
  }                                                                   
  else                                                                
    err = pipe_ioctl(LIBIO2PIPE(iop), command, buffer, iop);          
   49c18:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   49c1a:	2068 0038      	moveal %a0@(56),%a0                         <== NOT EXECUTED
   49c1e:	2f09           	movel %a1,%sp@-                             <== NOT EXECUTED
   49c20:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   49c22:	2f28 004c      	movel %a0@(76),%sp@-                        <== NOT EXECUTED
   49c26:	4eb9 0004 8ad6 	jsr 48ad6 <pipe_ioctl>                      <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   49c2c:	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);          
   49c30:	2400           	movel %d0,%d2                               <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   49c32:	6c0e           	bges 49c42 <IMFS_fifo_ioctl+0x64>           <== NOT EXECUTED
   49c34:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   49c3a:	4482           	negl %d2                                    <== NOT EXECUTED
   49c3c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49c3e:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   49c40:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   49c42:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   49c44:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   49c48:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049b88 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
   49b88:	4e56 fff4      	linkw %fp,#-12                              <== NOT EXECUTED
   49b8c:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   49b90:	48d7 001c      	moveml %d2-%d4,%sp@                         <== NOT EXECUTED
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
   49b94:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   49b96:	2f2e 0014      	movel %fp@(20),%sp@-                        <== NOT EXECUTED
   49b9a:	2068 0038      	moveal %a0@(56),%a0                         <== NOT EXECUTED
   49b9e:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   49ba2:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   49ba6:	2f28 004c      	movel %a0@(76),%sp@-                        <== NOT EXECUTED
   49baa:	4eb9 0004 8a7c 	jsr 48a7c <pipe_lseek>                      <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
   49bb0:	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);       
   49bb4:	2800           	movel %d0,%d4                               <== NOT EXECUTED
   49bb6:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   49bb8:	5bc2           	smi %d2                                     <== NOT EXECUTED
   49bba:	49c2           	extbl %d2                                   <== NOT EXECUTED
  IMFS_FIFO_RETURN(err);                                              
   49bbc:	4a82           	tstl %d2                                    <== NOT EXECUTED
   49bbe:	6a10           	bpls 49bd0 <IMFS_fifo_lseek+0x48>           <== NOT EXECUTED
   49bc0:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   49bc6:	4484           	negl %d4                                    <== NOT EXECUTED
   49bc8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49bca:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   49bcc:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   49bce:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
}                                                                     
   49bd0:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   49bd2:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   49bd4:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    <== NOT EXECUTED
   49bda:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049d80 <IMFS_fifo_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
   49d80:	4e56 0000      	linkw %fp,#0                                
   49d84:	206e 0008      	moveal %fp@(8),%a0                          
   49d88:	2f02           	movel %d2,%sp@-                             
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = fifo_open(&JNODE2PIPE(jnode), iop);                       
   49d8a:	2f08           	movel %a0,%sp@-                             
   49d8c:	2068 0038      	moveal %a0@(56),%a0                         
   49d90:	41e8 004c      	lea %a0@(76),%a0                            
   49d94:	2f08           	movel %a0,%sp@-                             
   49d96:	4eb9 0004 8f3c 	jsr 48f3c <fifo_open>                       
  IMFS_FIFO_RETURN(err);                                              
   49d9c:	508f           	addql #8,%sp                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = fifo_open(&JNODE2PIPE(jnode), iop);                       
   49d9e:	2400           	movel %d0,%d2                               
  IMFS_FIFO_RETURN(err);                                              
   49da0:	6c0e           	bges 49db0 <IMFS_fifo_open+0x30>            <== NEVER TAKEN
   49da2:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   49da8:	4482           	negl %d2                                    
   49daa:	2040           	moveal %d0,%a0                              
   49dac:	2082           	movel %d2,%a0@                              
   49dae:	74ff           	moveq #-1,%d2                               
}                                                                     
   49db0:	2002           	movel %d2,%d0                               
   49db2:	242e fffc      	movel %fp@(-4),%d2                          
   49db6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049cb4 <IMFS_fifo_read>: ssize_t IMFS_fifo_read( rtems_libio_t *iop, void *buffer, size_t count ) {
   49cb4:	4e56 fff8      	linkw %fp,#-8                               <== NOT EXECUTED
   49cb8:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   49cbc:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49cbe:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
   49cc0:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   49cc2:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   49cc6:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
  rtems_libio_t *iop,                                                 
  void          *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
   49cca:	2468 0038      	moveal %a0@(56),%a2                         <== NOT EXECUTED
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
   49cce:	2f2a 004c      	movel %a2@(76),%sp@-                        <== NOT EXECUTED
   49cd2:	4eb9 0004 8b36 	jsr 48b36 <pipe_read>                       <== NOT EXECUTED
  if (err > 0)                                                        
   49cd8:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_read(JNODE2PIPE(jnode), buffer, count, iop);         
   49cdc:	2400           	movel %d0,%d2                               <== NOT EXECUTED
  if (err > 0)                                                        
   49cde:	6f16           	bles 49cf6 <IMFS_fifo_read+0x42>            <== NOT EXECUTED
    IMFS_update_atime(jnode);                                         
   49ce0:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   49ce2:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   49ce6:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    <== NOT EXECUTED
   49cec:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     <== NOT EXECUTED
   49cf2:	508f           	addql #8,%sp                                <== NOT EXECUTED
   49cf4:	6012           	bras 49d08 <IMFS_fifo_read+0x54>            <== NOT EXECUTED
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   49cf6:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49cf8:	670e           	beqs 49d08 <IMFS_fifo_read+0x54>            <== NOT EXECUTED
   49cfa:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   49d00:	4482           	negl %d2                                    <== NOT EXECUTED
   49d02:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49d04:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   49d06:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   49d08:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   49d0a:	242e fff0      	movel %fp@(-16),%d2                         <== NOT EXECUTED
   49d0e:	246e fff4      	moveal %fp@(-12),%a2                        <== NOT EXECUTED
   49d12:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049c4c <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   49c4c:	4e56 fff8      	linkw %fp,#-8                               <== NOT EXECUTED
   49c50:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   49c54:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   49c56:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   49c58:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   49c5a:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   49c5e:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
   49c62:	2468 0038      	moveal %a0@(56),%a2                         <== NOT EXECUTED
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   49c66:	2f2a 004c      	movel %a2@(76),%sp@-                        <== NOT EXECUTED
   49c6a:	4eb9 0004 8c9e 	jsr 48c9e <pipe_write>                      <== NOT EXECUTED
  if (err > 0) {                                                      
   49c70:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->file_info;                               
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   49c74:	2400           	movel %d0,%d2                               <== NOT EXECUTED
  if (err > 0) {                                                      
   49c76:	6f1c           	bles 49c94 <IMFS_fifo_write+0x48>           <== NOT EXECUTED
    IMFS_mtime_ctime_update(jnode);                                   
   49c78:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   49c7a:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   49c7e:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    <== NOT EXECUTED
   49c84:	202e fff8      	movel %fp@(-8),%d0                          <== NOT EXECUTED
   49c88:	508f           	addql #8,%sp                                <== NOT EXECUTED
   49c8a:	2540 0044      	movel %d0,%a2@(68)                          <== NOT EXECUTED
   49c8e:	2540 0040      	movel %d0,%a2@(64)                          <== NOT EXECUTED
   49c92:	6012           	bras 49ca6 <IMFS_fifo_write+0x5a>           <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   49c94:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49c96:	670e           	beqs 49ca6 <IMFS_fifo_write+0x5a>           <== NOT EXECUTED
   49c98:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   49c9e:	4482           	negl %d2                                    <== NOT EXECUTED
   49ca0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49ca2:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   49ca4:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
}                                                                     
   49ca6:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   49ca8:	242e fff0      	movel %fp@(-16),%d2                         <== NOT EXECUTED
   49cac:	246e fff4      	moveal %fp@(-12),%a2                        <== NOT EXECUTED
   49cb0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049e6c <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
   49e6c:	4e56 fff0      	linkw %fp,#-16                              
   49e70:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   49e74:	246e 0008      	moveal %fp@(8),%a2                          
   49e78:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   *  Check for fatal errors.  A NULL directory show a problem in the 
   *  the IMFS code.                                                  
   */                                                                 
                                                                      
  assert( directory );                                                
   49e7c:	4a8a           	tstl %a2                                    
   49e7e:	661c           	bnes 49e9c <IMFS_find_match_in_dir+0x30>    <== ALWAYS TAKEN
   49e80:	4879 0005 d05b 	pea 5d05b <_global_impure_ptr+0x1b1>        <== NOT EXECUTED
   49e86:	4879 0005 c74d 	pea 5c74d <__FUNCTION__.5435>               <== NOT EXECUTED
   49e8c:	4878 002a      	pea 2a <OPER2+0x16>                         <== NOT EXECUTED
   49e90:	4879 0005 c6f8 	pea 5c6f8 <IMFS_fifo_handlers+0x38>         <== NOT EXECUTED
   49e96:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
  if ( !name )                                                        
   49e9c:	4a82           	tstl %d2                                    
   49e9e:	674e           	beqs 49eee <IMFS_find_match_in_dir+0x82>    <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
   49ea0:	4879 0005 c748 	pea 5c748 <dotname>                         
   49ea6:	49f9 0004 f0ac 	lea 4f0ac <strcmp>,%a4                      
   49eac:	2f02           	movel %d2,%sp@-                             
   49eae:	4e94           	jsr %a4@                                    
   49eb0:	508f           	addql #8,%sp                                
   49eb2:	4a80           	tstl %d0                                    
   49eb4:	673a           	beqs 49ef0 <IMFS_find_match_in_dir+0x84>    <== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
   49eb6:	4879 0005 c74a 	pea 5c74a <dotdotname>                      
   49ebc:	2f02           	movel %d2,%sp@-                             
   49ebe:	4e94           	jsr %a4@                                    
   49ec0:	508f           	addql #8,%sp                                
   49ec2:	4a80           	tstl %d0                                    
   49ec4:	6606           	bnes 49ecc <IMFS_find_match_in_dir+0x60>    <== ALWAYS TAKEN
    return directory->Parent;                                         
   49ec6:	246a 0008      	moveal %a2@(8),%a2                          <== NOT EXECUTED
   49eca:	6024           	bras 49ef0 <IMFS_find_match_in_dir+0x84>    <== NOT EXECUTED
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
   49ecc:	266a 004c      	moveal %a2@(76),%a3                         
   49ed0:	45ea 0050      	lea %a2@(80),%a2                            
   49ed4:	6014           	bras 49eea <IMFS_find_match_in_dir+0x7e>    
        !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 ) )                           
   49ed6:	486b 000c      	pea %a3@(12)                                
   49eda:	2f02           	movel %d2,%sp@-                             
   49edc:	4e94           	jsr %a4@                                    
   49ede:	508f           	addql #8,%sp                                
   49ee0:	4a80           	tstl %d0                                    
   49ee2:	6604           	bnes 49ee8 <IMFS_find_match_in_dir+0x7c>    
   49ee4:	244b           	moveal %a3,%a2                              
   49ee6:	6008           	bras 49ef0 <IMFS_find_match_in_dir+0x84>    
                                                                      
  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 ) {                                 
   49ee8:	2653           	moveal %a3@,%a3                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = the_chain->first;                                  
   49eea:	b5cb           	cmpal %a3,%a2                               
   49eec:	66e8           	bnes 49ed6 <IMFS_find_match_in_dir+0x6a>    
   49eee:	95ca           	subal %a2,%a2                               
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   49ef0:	200a           	movel %a2,%d0                               
   49ef2:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   49ef8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049dc8 <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 ) {
   49dc8:	4e56 ffd8      	linkw %fp,#-40                              
    * 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;                                   
   49dcc:	200e           	movel %fp,%d0                               
   49dce:	0680 ffff ffec 	addil #-20,%d0                              
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
   49dd4:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
   49dd8:	4878 0014      	pea 14 <OPER2>                              
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
   49ddc:	2400           	movel %d0,%d2                               
   49dde:	4bf9 0004 94f8 	lea 494f8 <IMFS_Set_handlers>,%a5           
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
   49de4:	49f9 0004 2124 	lea 42124 <IMFS_unlink>,%a4                 
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
   49dea:	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;                                   
   49dee:	486b 001c      	pea %a3@(28)                                
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   49df2:	246b 001c      	moveal %a3@(28),%a2                         
   loc = temp_mt_entry->mt_fs_root;                                   
   49df6:	2f00           	movel %d0,%sp@-                             
   49df8:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
   49dfe:	4fef 000c      	lea %sp@(12),%sp                            
   49e02:	42ab 001c      	clrl %a3@(28)                               
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
   49e06:	266a 0008      	moveal %a2@(8),%a3                          
     loc.node_access = (void *)jnode;                                 
   49e0a:	2d4a ffec      	movel %a2,%fp@(-20)                         
     IMFS_Set_handlers( &loc );                                       
   49e0e:	2f02           	movel %d2,%sp@-                             
   49e10:	4e95           	jsr %a5@                                    
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
   49e12:	588f           	addql #4,%sp                                
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   49e14:	200a           	movel %a2,%d0                               
   49e16:	0680 0000 0050 	addil #80,%d0                               
   49e1c:	7201           	moveq #1,%d1                                
   49e1e:	b2aa 0048      	cmpl %a2@(72),%d1                           
   49e22:	6606           	bnes 49e2a <IMFS_fsunmount+0x62>            
   49e24:	b0aa 004c      	cmpl %a2@(76),%d0                           
   49e28:	660e           	bnes 49e38 <IMFS_fsunmount+0x70>            
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
   49e2a:	2f02           	movel %d2,%sp@-                             
   49e2c:	42a7           	clrl %sp@-                                  
   49e2e:	4e94           	jsr %a4@                                    
        if (result != 0)                                              
   49e30:	508f           	addql #8,%sp                                
   49e32:	4a80           	tstl %d0                                    
   49e34:	6626           	bnes 49e5c <IMFS_fsunmount+0x94>            <== NEVER TAKEN
   49e36:	244b           	moveal %a3,%a2                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
   49e38:	4a8a           	tstl %a2                                    
   49e3a:	6724           	beqs 49e60 <IMFS_fsunmount+0x98>            
       if ( jnode->type == IMFS_DIRECTORY ) {                         
   49e3c:	7001           	moveq #1,%d0                                
   49e3e:	b0aa 0048      	cmpl %a2@(72),%d0                           
   49e42:	66c2           	bnes 49e06 <IMFS_fsunmount+0x3e>            <== NEVER TAKEN
   49e44:	200a           	movel %a2,%d0                               
   49e46:	0680 0000 0050 	addil #80,%d0                               
   49e4c:	b0aa 004c      	cmpl %a2@(76),%d0                           
   49e50:	67b4           	beqs 49e06 <IMFS_fsunmount+0x3e>            
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
   49e52:	246a 004c      	moveal %a2@(76),%a2                         
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
   49e56:	4a8a           	tstl %a2                                    
   49e58:	66ac           	bnes 49e06 <IMFS_fsunmount+0x3e>            <== ALWAYS TAKEN
   49e5a:	6004           	bras 49e60 <IMFS_fsunmount+0x98>            <== NOT EXECUTED
   49e5c:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   49e5e:	6002           	bras 49e62 <IMFS_fsunmount+0x9a>            <== NOT EXECUTED
   49e60:	4280           	clrl %d0                                    
                                                                      
   return 0;                                                          
}                                                                     
   49e62:	4cee 3c04 ffd8 	moveml %fp@(-40),%d2/%a2-%a5                
   49e68:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049efc <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
   49efc:	4e56 ffe8      	linkw %fp,#-24                              
   49f00:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   49f04:	286e 0008      	moveal %fp@(8),%a4                          
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   49f08:	4282           	clrl %d2                                    
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   49f0a:	4bf9 0004 35a8 	lea 435a8 <rtems_filesystem_is_separator>,%a5
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
   49f10:	266e 000c      	moveal %fp@(12),%a3                         
   49f14:	246e 0010      	moveal %fp@(16),%a2                         
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   49f18:	1614           	moveb %a4@,%d3                              
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   49f1a:	6014           	bras 49f30 <IMFS_get_token+0x34>            
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
   49f1c:	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;                                                    
   49f1e:	1583 2800      	moveb %d3,%a2@(00000000,%d2:l)              
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
   49f22:	b082           	cmpl %d2,%d0                                
   49f24:	6604           	bnes 49f2a <IMFS_get_token+0x2e>            
   49f26:	7604           	moveq #4,%d3                                
   49f28:	607a           	bras 49fa4 <IMFS_get_token+0xa8>            
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
   49f2a:	5282           	addql #1,%d2                                
   49f2c:	1634 2800      	moveb %a4@(00000000,%d2:l),%d3              
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   49f30:	1003           	moveb %d3,%d0                               
   49f32:	49c0           	extbl %d0                                   
   49f34:	2f00           	movel %d0,%sp@-                             
   49f36:	4e95           	jsr %a5@                                    
   49f38:	588f           	addql #4,%sp                                
   49f3a:	4a80           	tstl %d0                                    
   49f3c:	6604           	bnes 49f42 <IMFS_get_token+0x46>            
   49f3e:	b7c2           	cmpal %d2,%a3                               
   49f40:	6eda           	bgts 49f1c <IMFS_get_token+0x20>            
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
   49f42:	4a82           	tstl %d2                                    
   49f44:	6610           	bnes 49f56 <IMFS_get_token+0x5a>            
    token[i] = c;                                                     
   49f46:	1483           	moveb %d3,%a2@                              
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
   49f48:	6720           	beqs 49f6a <IMFS_get_token+0x6e>            
   49f4a:	4a8b           	tstl %a3                                    
   49f4c:	671c           	beqs 49f6a <IMFS_get_token+0x6e>            
   49f4e:	7601           	moveq #1,%d3                                
   49f50:	143c 0001      	moveb #1,%d2                                
   49f54:	6016           	bras 49f6c <IMFS_get_token+0x70>            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
   49f56:	4a32 28ff      	tstb %a2@(ffffffff,%d2:l)                   
   49f5a:	6604           	bnes 49f60 <IMFS_get_token+0x64>            <== ALWAYS TAKEN
   49f5c:	7603           	moveq #3,%d3                                <== NOT EXECUTED
   49f5e:	600c           	bras 49f6c <IMFS_get_token+0x70>            <== NOT EXECUTED
    token[i] = '\0';                                                  
   49f60:	7603           	moveq #3,%d3                                
   49f62:	4200           	clrb %d0                                    
   49f64:	1580 2800      	moveb %d0,%a2@(00000000,%d2:l)              
   49f68:	6002           	bras 49f6c <IMFS_get_token+0x70>            
   49f6a:	4283           	clrl %d3                                    
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   49f6c:	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 ) {                                          
   49f70:	7003           	moveq #3,%d0                                
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   49f72:	2082           	movel %d2,%a0@                              
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
   49f74:	b083           	cmpl %d3,%d0                                
   49f76:	662c           	bnes 49fa4 <IMFS_get_token+0xa8>            
    if ( strcmp( token, "..") == 0 )                                  
   49f78:	4879 0005 c764 	pea 5c764 <__FUNCTION__.5435+0x17>          
   49f7e:	47f9 0004 f0ac 	lea 4f0ac <strcmp>,%a3                      
   49f84:	2f0a           	movel %a2,%sp@-                             
   49f86:	4e93           	jsr %a3@                                    
   49f88:	508f           	addql #8,%sp                                
   49f8a:	4a80           	tstl %d0                                    
   49f8c:	6604           	bnes 49f92 <IMFS_get_token+0x96>            
   49f8e:	7602           	moveq #2,%d3                                
   49f90:	6012           	bras 49fa4 <IMFS_get_token+0xa8>            
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
   49f92:	4879 0005 c765 	pea 5c765 <__FUNCTION__.5435+0x18>          
   49f98:	2f0a           	movel %a2,%sp@-                             
   49f9a:	4e93           	jsr %a3@                                    
   49f9c:	508f           	addql #8,%sp                                
   49f9e:	4a80           	tstl %d0                                    
   49fa0:	6602           	bnes 49fa4 <IMFS_get_token+0xa8>            
   49fa2:	7601           	moveq #1,%d3                                
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   49fa4:	2003           	movel %d3,%d0                               
   49fa6:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   49fac:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041d30 <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,
   41d30:	4281           	clrl %d1                                    
   41d32:	7010           	moveq #16,%d0                               
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
   41d34:	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,       
   41d38:	2079 0005 d6b8 	moveal 5d6b8 <imfs_rq_memfile_bytes_per_block>,%a0
  rtems_filesystem_mount_table_entry_t        *temp_mt_entry,         
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers     
)                                                                     
{                                                                     
   41d3e:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   41d42:	246e 0008      	moveal %fp@(8),%a2                          
   41d46:	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) {
   41d4a:	5281           	addql #1,%d1                                
   41d4c:	b1c0           	cmpal %d0,%a0                               
   41d4e:	670e           	beqs 41d5e <IMFS_initialize_support+0x2e>   
   41d50:	7606           	moveq #6,%d3                                
   41d52:	d080           	addl %d0,%d0                                
   41d54:	b681           	cmpl %d1,%d3                                
   41d56:	66f2           	bnes 41d4a <IMFS_initialize_support+0x1a>   <== ALWAYS TAKEN
   41d58:	203c 0000 0080 	movel #128,%d0                              <== NOT EXECUTED
    if (bit_mask == requested_bytes_per_block) {                      
      is_valid = true;                                                
    }                                                                 
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
   41d5e:	23c0 0005 e5d4 	movel %d0,5e5d4 <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();
   41d64:	4eb9 0004 93aa 	jsr 493aa <IMFS_create_root_node>           
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
   41d6a:	4878 0030      	pea 30 <OPER2+0x1c>                         
   41d6e:	4879 0005 c5d4 	pea 5c5d4 <IMFS_LIMITS_AND_OPTIONS>         
   41d74:	486a 0038      	pea %a2@(56)                                
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
   41d78:	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();
   41d7e:	2540 001c      	movel %d0,%a2@(28)                          
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
   41d82:	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;
   41d86:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
   41d8c:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   41d90:	4878 0001      	pea 1 <ADD>                                 
   41d94:	4eb9 0004 2438 	jsr 42438 <calloc>                          
  if ( !fs_info ) {                                                   
   41d9a:	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 ) );                    
   41d9e:	2040           	moveal %d0,%a0                              
  if ( !fs_info ) {                                                   
   41da0:	4a80           	tstl %d0                                    
   41da2:	661c           	bnes 41dc0 <IMFS_initialize_support+0x90>   <== ALWAYS TAKEN
    free(temp_mt_entry->mt_fs_root.node_access);                      
   41da4:	2f2a 001c      	movel %a2@(28),%sp@-                        <== NOT EXECUTED
   41da8:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   41dae:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   41db4:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41db6:	720c           	moveq #12,%d1                               <== NOT EXECUTED
   41db8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41dba:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41dbc:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   41dbe:	6038           	bras 41df8 <IMFS_initialize_support+0xc8>   <== NOT EXECUTED
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
   41dc0:	7001           	moveq #1,%d0                                
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
   41dc2:	7601           	moveq #1,%d3                                
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
   41dc4:	2140 0004      	movel %d0,%a0@(4)                           
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   41dc8:	2039 0005 e5d8 	movel 5e5d8 <imfs_instance.5940>,%d0        
   41dce:	2200           	movel %d0,%d1                               
   41dd0:	5281           	addql #1,%d1                                
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
   41dd2:	226a 001c      	moveal %a2@(28),%a1                         
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   41dd6:	23c1 0005 e5d8 	movel %d1,5e5d8 <imfs_instance.5940>        
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
   41ddc:	216e 0010 0008 	movel %fp@(16),%a0@(8)                      
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   41de2:	2080           	movel %d0,%a0@                              
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
   41de4:	2142 000c      	movel %d2,%a0@(12)                          
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
   41de8:	2343 0034      	movel %d3,%a1@(52)                          
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
   41dec:	2548 0034      	movel %a0,%a2@(52)                          
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  /* Initialize POSIX FIFO/pipe module */                             
  rtems_pipe_initialize();                                            
   41df0:	4eb9 0004 8a86 	jsr 48a86 <rtems_pipe_initialize>           
   41df6:	4280           	clrl %d0                                    
                                                                      
  return 0;                                                           
}                                                                     
   41df8:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   41dfe:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041e04 <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 )
   41e04:	4280           	clrl %d0                                    
   41e06:	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 */            
)                                                                     
{                                                                     
   41e08:	4e56 ffbc      	linkw %fp,#-68                              
   41e0c:	206e 0008      	moveal %fp@(8),%a0                          
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
   41e10:	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 */            
)                                                                     
{                                                                     
   41e12:	2f03           	movel %d3,%sp@-                             
   41e14:	262e 0010      	movel %fp@(16),%d3                          
  int                i;                                               
                                                                      
  /*                                                                  
   *  Verify this node can be linked to.                              
   */                                                                 
  info.hard_link.link_node = to_loc->node_access;                     
   41e18:	2d48 ffe0      	movel %a0,%fp@(-32)                         
  if ( info.hard_link.link_node->st_nlink >= LINK_MAX )               
   41e1c:	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 */            
)                                                                     
{                                                                     
   41e20:	2f02           	movel %d2,%sp@-                             
                                                                      
  /*                                                                  
   *  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 )               
   41e22:	b280           	cmpl %d0,%d1                                
   41e24:	6410           	bccs 41e36 <IMFS_link+0x32>                 
    rtems_set_errno_and_return_minus_one( EMLINK );                   
   41e26:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   41e2c:	741f           	moveq #31,%d2                               
   41e2e:	72ff           	moveq #-1,%d1                               
   41e30:	2040           	moveal %d0,%a0                              
   41e32:	2082           	movel %d2,%a0@                              
   41e34:	607c           	bras 41eb2 <IMFS_link+0xae>                 
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( token, strlen( token ), new_name, &i );             
   41e36:	2f03           	movel %d3,%sp@-                             
   41e38:	240e           	movel %fp,%d2                               
   41e3a:	0682 ffff ffbf 	addil #-65,%d2                              
   41e40:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
   41e46:	588f           	addql #4,%sp                                
   41e48:	486e fffc      	pea %fp@(-4)                                
   41e4c:	2f02           	movel %d2,%sp@-                             
   41e4e:	2f00           	movel %d0,%sp@-                             
   41e50:	2f03           	movel %d3,%sp@-                             
   41e52:	4eb9 0004 9efc 	jsr 49efc <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(                                        
   41e58:	486e ffe0      	pea %fp@(-32)                               
   41e5c:	2f3c 0000 a1ff 	movel #41471,%sp@-                          
   41e62:	2f02           	movel %d2,%sp@-                             
   41e64:	4878 0003      	pea 3 <DIVIDE>                              
   41e68:	2f2e 000c      	movel %fp@(12),%sp@-                        
   41e6c:	4eb9 0004 93e4 	jsr 493e4 <IMFS_create_node>                
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
   41e72:	4fef 0024      	lea %sp@(36),%sp                            
   41e76:	4a80           	tstl %d0                                    
   41e78:	6610           	bnes 41e8a <IMFS_link+0x86>                 <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   41e7a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   41e80:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41e82:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41e84:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41e86:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41e88:	6028           	bras 41eb2 <IMFS_link+0xae>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Increment the link count of the node being pointed to.           
   */                                                                 
  info.hard_link.link_node->st_nlink++;                               
   41e8a:	206e ffe0      	moveal %fp@(-32),%a0                        
   41e8e:	3028 0032      	movew %a0@(50),%d0                          
   41e92:	5280           	addql #1,%d0                                
   41e94:	3140 0032      	movew %d0,%a0@(50)                          
  IMFS_update_ctime( info.hard_link.link_node );                      
   41e98:	42a7           	clrl %sp@-                                  
   41e9a:	486e fff4      	pea %fp@(-12)                               
   41e9e:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   41ea4:	206e ffe0      	moveal %fp@(-32),%a0                        
                                                                      
  return 0;                                                           
   41ea8:	508f           	addql #8,%sp                                
                                                                      
  /*                                                                  
   * 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 );                      
   41eaa:	4281           	clrl %d1                                    
   41eac:	216e fff4 0044 	movel %fp@(-12),%a0@(68)                    
                                                                      
  return 0;                                                           
}                                                                     
   41eb2:	242e ffb4      	movel %fp@(-76),%d2                         
   41eb6:	2001           	movel %d1,%d0                               
   41eb8:	262e ffb8      	movel %fp@(-72),%d3                         
   41ebc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c3ec <IMFS_memfile_addblock>: MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
   4c3ec:	4e56 0000      	linkw %fp,#0                                
   4c3f0:	206e 0008      	moveal %fp@(8),%a0                          
   4c3f4:	2f0a           	movel %a2,%sp@-                             
  block_p  memory;                                                    
  block_p *block_entry_ptr;                                           
                                                                      
  assert( the_jnode );                                                
   4c3f6:	4a88           	tstl %a0                                    
   4c3f8:	6612           	bnes 4c40c <IMFS_memfile_addblock+0x20>     <== ALWAYS TAKEN
   4c3fa:	4879 0005 cae2 	pea 5cae2 <CSWTCH.8+0x10>                   <== NOT EXECUTED
   4c400:	4879 0005 cc78 	pea 5cc78 <__FUNCTION__.6079>               <== NOT EXECUTED
   4c406:	4878 0169      	pea 169 <DBL_MANT_DIG+0x134>                <== NOT EXECUTED
   4c40a:	6018           	bras 4c424 <IMFS_memfile_addblock+0x38>     <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   4c40c:	7005           	moveq #5,%d0                                
   4c40e:	b0a8 0048      	cmpl %a0@(72),%d0                           
   4c412:	671c           	beqs 4c430 <IMFS_memfile_addblock+0x44>     <== ALWAYS TAKEN
   4c414:	4879 0005 cb36 	pea 5cb36 <CSWTCH.8+0x64>                   <== NOT EXECUTED
   4c41a:	4879 0005 cc78 	pea 5cc78 <__FUNCTION__.6079>               <== NOT EXECUTED
   4c420:	4878 016d      	pea 16d <DBL_MANT_DIG+0x138>                <== NOT EXECUTED
   4c424:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c42a:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
   4c430:	4878 0001      	pea 1 <ADD>                                 
   4c434:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4c438:	2f08           	movel %a0,%sp@-                             
   4c43a:	4eb9 0004 bfd0 	jsr 4bfd0 <IMFS_memfile_get_block_pointer>  
  if ( *block_entry_ptr )                                             
   4c440:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
   4c444:	2440           	moveal %d0,%a2                              
  if ( *block_entry_ptr )                                             
   4c446:	4a92           	tstl %a2@                                   
   4c448:	6612           	bnes 4c45c <IMFS_memfile_addblock+0x70>     
#if 0                                                                 
  fprintf(stdout, "%d %p", block, block_entry_ptr );                  
    fflush(stdout);                                                   
#endif                                                                
                                                                      
  memory = memfile_alloc_block();                                     
   4c44a:	4eb9 0004 bfac 	jsr 4bfac <memfile_alloc_block>             
  if ( !memory )                                                      
   4c450:	4a80           	tstl %d0                                    
   4c452:	6606           	bnes 4c45a <IMFS_memfile_addblock+0x6e>     <== ALWAYS TAKEN
   4c454:	103c 0001      	moveb #1,%d0                                <== NOT EXECUTED
   4c458:	6004           	bras 4c45e <IMFS_memfile_addblock+0x72>     <== NOT EXECUTED
    return 1;                                                         
  *block_entry_ptr = memory;                                          
   4c45a:	2480           	movel %d0,%a2@                              
   4c45c:	4280           	clrl %d0                                    
                                                                      
  return 0;                                                           
}                                                                     
   4c45e:	246e fffc      	moveal %fp@(-4),%a2                         
   4c462:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c466 <IMFS_memfile_extend>: MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
   4c466:	4e56 ffd8      	linkw %fp,#-40                              
   4c46a:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4c46e:	246e 0008      	moveal %fp@(8),%a2                          
   4c472:	242e 000c      	movel %fp@(12),%d2                          
   4c476:	262e 0010      	movel %fp@(16),%d3                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   4c47a:	4a8a           	tstl %a2                                    
   4c47c:	6612           	bnes 4c490 <IMFS_memfile_extend+0x2a>       <== ALWAYS TAKEN
   4c47e:	4879 0005 cae2 	pea 5cae2 <CSWTCH.8+0x10>                   <== NOT EXECUTED
   4c484:	4879 0005 cc8e 	pea 5cc8e <__FUNCTION__.6030>               <== NOT EXECUTED
   4c48a:	4878 0131      	pea 131 <DBL_MANT_DIG+0xfc>                 <== NOT EXECUTED
   4c48e:	6018           	bras 4c4a8 <IMFS_memfile_extend+0x42>       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   4c490:	7005           	moveq #5,%d0                                
   4c492:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4c496:	671c           	beqs 4c4b4 <IMFS_memfile_extend+0x4e>       <== ALWAYS TAKEN
   4c498:	4879 0005 cb36 	pea 5cb36 <CSWTCH.8+0x64>                   <== NOT EXECUTED
   4c49e:	4879 0005 cc8e 	pea 5cc8e <__FUNCTION__.6030>               <== NOT EXECUTED
   4c4a4:	4878 0135      	pea 135 <DBL_MANT_DIG+0x100>                <== NOT EXECUTED
   4c4a8:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c4ae:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
  if ( the_jnode->type != IMFS_MEMORY_FILE )                          
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   4c4b4:	2c39 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d6
   4c4ba:	2206           	movel %d6,%d1                               
   4c4bc:	e489           	lsrl #2,%d1                                 
   4c4be:	2001           	movel %d1,%d0                               
   4c4c0:	5280           	addql #1,%d0                                
   4c4c2:	4c01 0800      	mulsl %d1,%d0                               
   4c4c6:	4284           	clrl %d4                                    
   4c4c8:	5280           	addql #1,%d0                                
   4c4ca:	4c01 0800      	mulsl %d1,%d0                               
   4c4ce:	5380           	subql #1,%d0                                
   4c4d0:	4c06 0800      	mulsl %d6,%d0                               
   4c4d4:	2a00           	movel %d0,%d5                               
   4c4d6:	2002           	movel %d2,%d0                               
   4c4d8:	2203           	movel %d3,%d1                               
   4c4da:	9285           	subl %d5,%d1                                
   4c4dc:	9184           	subxl %d4,%d0                               
   4c4de:	6d12           	blts 4c4f2 <IMFS_memfile_extend+0x8c>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c4e0:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4c4e6:	7416           	moveq #22,%d2                               <== NOT EXECUTED
   4c4e8:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4c4ea:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c4ec:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   4c4ee:	6000 0092      	braw 4c582 <IMFS_memfile_extend+0x11c>      <== NOT EXECUTED
                                                                      
  if ( new_length <= the_jnode->info.file.size )                      
   4c4f2:	282a 004c      	movel %a2@(76),%d4                          
   4c4f6:	2a2a 0050      	movel %a2@(80),%d5                          
   4c4fa:	2002           	movel %d2,%d0                               
   4c4fc:	2203           	movel %d3,%d1                               
   4c4fe:	9285           	subl %d5,%d1                                
   4c500:	9184           	subxl %d4,%d0                               
   4c502:	6e04           	bgts 4c508 <IMFS_memfile_extend+0xa2>       
   4c504:	4281           	clrl %d1                                    
   4c506:	607a           	bras 4c582 <IMFS_memfile_extend+0x11c>      
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
   4c508:	47f9 0005 9d74 	lea 59d74 <__divdi3>,%a3                    
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
   4c50e:	4bf9 0004 c3ec 	lea 4c3ec <IMFS_memfile_addblock>,%a5       
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
                                                                      
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
   4c514:	2e06           	movel %d6,%d7                               
   4c516:	5bc6           	smi %d6                                     
   4c518:	49c6           	extbl %d6                                   
   4c51a:	2f07           	movel %d7,%sp@-                             
   4c51c:	2f06           	movel %d6,%sp@-                             
   4c51e:	2f03           	movel %d3,%sp@-                             
   4c520:	2f02           	movel %d2,%sp@-                             
   4c522:	4e93           	jsr %a3@                                    
   4c524:	4fef 0010      	lea %sp@(16),%sp                            
   4c528:	2841           	moveal %d1,%a4                              
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
   4c52a:	2f07           	movel %d7,%sp@-                             
   4c52c:	2f06           	movel %d6,%sp@-                             
   4c52e:	2f05           	movel %d5,%sp@-                             
   4c530:	2f04           	movel %d4,%sp@-                             
   4c532:	4e93           	jsr %a3@                                    
   4c534:	4fef 0010      	lea %sp@(16),%sp                            
   4c538:	2c01           	movel %d1,%d6                               
   4c53a:	2801           	movel %d1,%d4                               
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   4c53c:	6036           	bras 4c574 <IMFS_memfile_extend+0x10e>      
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
   4c53e:	2f04           	movel %d4,%sp@-                             
   4c540:	2f0a           	movel %a2,%sp@-                             
   4c542:	4e95           	jsr %a5@                                    
   4c544:	508f           	addql #8,%sp                                
   4c546:	4a80           	tstl %d0                                    
   4c548:	6728           	beqs 4c572 <IMFS_memfile_extend+0x10c>      <== ALWAYS TAKEN
   4c54a:	600c           	bras 4c558 <IMFS_memfile_extend+0xf2>       <== NOT EXECUTED
       for ( ; block>=old_blocks ; block-- ) {                        
          IMFS_memfile_remove_block( the_jnode, block );              
   4c54c:	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-- ) {                        
   4c54e:	5384           	subql #1,%d4                                <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
   4c550:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4c552:	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-- ) {                        
   4c554:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4c556:	6006           	bras 4c55e <IMFS_memfile_extend+0xf8>       <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
   4c558:	47f9 0004 c1b0 	lea 4c1b0 <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-- ) {                        
   4c55e:	bc84           	cmpl %d4,%d6                                <== NOT EXECUTED
   4c560:	63ea           	blss 4c54c <IMFS_memfile_extend+0xe6>       <== NOT EXECUTED
          IMFS_memfile_remove_block( the_jnode, block );              
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
   4c562:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4c568:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4c56a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c56c:	701c           	moveq #28,%d0                               <== NOT EXECUTED
   4c56e:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4c570:	6010           	bras 4c582 <IMFS_memfile_extend+0x11c>      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
                                                                      
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   4c572:	5284           	addql #1,%d4                                
   4c574:	b9c4           	cmpal %d4,%a4                               
   4c576:	64c6           	bccs 4c53e <IMFS_memfile_extend+0xd8>       
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
                                                                      
  the_jnode->info.file.size = new_length;                             
   4c578:	4281           	clrl %d1                                    
   4c57a:	2542 004c      	movel %d2,%a2@(76)                          
   4c57e:	2543 0050      	movel %d3,%a2@(80)                          
  return 0;                                                           
}                                                                     
   4c582:	2001           	movel %d1,%d0                               
   4c584:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            
   4c58a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bfd0 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
   4bfd0:	4e56 fff0      	linkw %fp,#-16                              
   4bfd4:	206e 0010      	moveal %fp@(16),%a0                         
   4bfd8:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   4bfdc:	246e 0008      	moveal %fp@(8),%a2                          
   4bfe0:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   4bfe4:	4a8a           	tstl %a2                                    
   4bfe6:	6612           	bnes 4bffa <IMFS_memfile_get_block_pointer+0x2a><== ALWAYS TAKEN
   4bfe8:	4879 0005 cae2 	pea 5cae2 <CSWTCH.8+0x10>                   <== NOT EXECUTED
   4bfee:	4879 0005 cbe9 	pea 5cbe9 <__FUNCTION__.6389>               <== NOT EXECUTED
   4bff4:	4878 0388      	pea 388 <DBL_MANT_DIG+0x353>                <== NOT EXECUTED
   4bff8:	6018           	bras 4c012 <IMFS_memfile_get_block_pointer+0x42><== NOT EXECUTED
  if ( !the_jnode )                                                   
    return NULL;                                                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   4bffa:	7005           	moveq #5,%d0                                
   4bffc:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4c000:	671c           	beqs 4c01e <IMFS_memfile_get_block_pointer+0x4e><== ALWAYS TAKEN
   4c002:	4879 0005 cb36 	pea 5cb36 <CSWTCH.8+0x64>                   <== NOT EXECUTED
   4c008:	4879 0005 cbe9 	pea 5cbe9 <__FUNCTION__.6389>               <== NOT EXECUTED
   4c00e:	4878 038c      	pea 38c <DBL_MANT_DIG+0x357>                <== NOT EXECUTED
   4c012:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c018:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_INDIRECT ) {                                  
   4c01e:	2239 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d1
   4c024:	e489           	lsrl #2,%d1                                 
   4c026:	2001           	movel %d1,%d0                               
   4c028:	5380           	subql #1,%d0                                
   4c02a:	b082           	cmpl %d2,%d0                                
   4c02c:	6536           	bcss 4c064 <IMFS_memfile_get_block_pointer+0x94><== NEVER TAKEN
#if 0                                                                 
fprintf(stdout, "(s %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
    p = info->indirect;                                               
   4c02e:	226a 0054      	moveal %a2@(84),%a1                         
                                                                      
    if ( malloc_it ) {                                                
   4c032:	4a88           	tstl %a0                                    
   4c034:	6720           	beqs 4c056 <IMFS_memfile_get_block_pointer+0x86>
                                                                      
      if ( !p ) {                                                     
   4c036:	4a89           	tstl %a1                                    
   4c038:	6610           	bnes 4c04a <IMFS_memfile_get_block_pointer+0x7a>
        p = memfile_alloc_block();                                    
   4c03a:	4eb9 0004 bfac 	jsr 4bfac <memfile_alloc_block>             
        if ( !p )                                                     
   4c040:	4a80           	tstl %d0                                    
   4c042:	6700 00f8      	beqw 4c13c <IMFS_memfile_get_block_pointer+0x16c>
           return 0;                                                  
        info->indirect = p;                                           
   4c046:	2540 0054      	movel %d0,%a2@(84)                          
      }                                                               
      return &info->indirect[ my_block ];                             
   4c04a:	206a 0054      	moveal %a2@(84),%a0                         
   4c04e:	e58a           	lsll #2,%d2                                 
   4c050:	d1c2           	addal %d2,%a0                               
   4c052:	6000 00ea      	braw 4c13e <IMFS_memfile_get_block_pointer+0x16e>
    }                                                                 
                                                                      
    if ( !p )                                                         
   4c056:	4a89           	tstl %a1                                    
   4c058:	6700 00e2      	beqw 4c13c <IMFS_memfile_get_block_pointer+0x16c>
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
   4c05c:	41f1 2c00      	lea %a1@(00000000,%d2:l:4),%a0              
   4c060:	6000 00dc      	braw 4c13e <IMFS_memfile_get_block_pointer+0x16e>
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
   4c064:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   4c066:	5280           	addql #1,%d0                                <== NOT EXECUTED
   4c068:	4c01 0800      	mulsl %d1,%d0                               <== NOT EXECUTED
   4c06c:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   4c06e:	5389           	subql #1,%a1                                <== NOT EXECUTED
   4c070:	b3c2           	cmpal %d2,%a1                               <== NOT EXECUTED
   4c072:	653e           	bcss 4c0b2 <IMFS_memfile_get_block_pointer+0xe2><== NOT EXECUTED
#if 0                                                                 
fprintf(stdout, "(d %d) ", block );                                   
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
   4c074:	9481           	subl %d1,%d2                                <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
   4c076:	202a 0058      	movel %a2@(88),%d0                          <== NOT EXECUTED
fflush(stdout);                                                       
#endif                                                                
                                                                      
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
   4c07a:	4c41 2003      	remul %d1,%d3,%d2                           <== NOT EXECUTED
   4c07e:	4c41 2002      	remul %d1,%d2,%d2                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
   4c082:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4c084:	671c           	beqs 4c0a2 <IMFS_memfile_get_block_pointer+0xd2><== NOT EXECUTED
                                                                      
      if ( !p ) {                                                     
   4c086:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c088:	6610           	bnes 4c09a <IMFS_memfile_get_block_pointer+0xca><== NOT EXECUTED
        p = memfile_alloc_block();                                    
   4c08a:	4eb9 0004 bfac 	jsr 4bfac <memfile_alloc_block>             <== NOT EXECUTED
        if ( !p )                                                     
   4c090:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c092:	6700 00a8      	beqw 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
           return 0;                                                  
        info->doubly_indirect = p;                                    
   4c096:	2540 0058      	movel %d0,%a2@(88)                          <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
   4c09a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c09c:	45f0 2c00      	lea %a0@(00000000,%d2:l:4),%a2              <== NOT EXECUTED
   4c0a0:	6066           	bras 4c108 <IMFS_memfile_get_block_pointer+0x138><== NOT EXECUTED
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
   4c0a2:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c0a4:	6700 0096      	beqw 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
   4c0a8:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   4c0aa:	2071 2c00      	moveal %a1@(00000000,%d2:l:4),%a0           <== NOT EXECUTED
   4c0ae:	6000 0082      	braw 4c132 <IMFS_memfile_get_block_pointer+0x162><== NOT EXECUTED
#endif                                                                
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
   4c0b2:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   4c0b4:	5283           	addql #1,%d3                                <== NOT EXECUTED
   4c0b6:	4c01 3800      	mulsl %d1,%d3                               <== NOT EXECUTED
   4c0ba:	5383           	subql #1,%d3                                <== NOT EXECUTED
   4c0bc:	b682           	cmpl %d2,%d3                                <== NOT EXECUTED
   4c0be:	657c           	bcss 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
    my_block -= FIRST_TRIPLY_INDIRECT;                                
   4c0c0:	9480           	subl %d0,%d2                                <== NOT EXECUTED
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
   4c0c2:	4c41 2003      	remul %d1,%d3,%d2                           <== NOT EXECUTED
   4c0c6:	4c41 2002      	remul %d1,%d2,%d2                           <== NOT EXECUTED
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
   4c0ca:	202a 005c      	movel %a2@(92),%d0                          <== NOT EXECUTED
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
   4c0ce:	4c41 2004      	remul %d1,%d4,%d2                           <== NOT EXECUTED
   4c0d2:	4c41 2002      	remul %d1,%d2,%d2                           <== NOT EXECUTED
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
   4c0d6:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4c0d8:	6746           	beqs 4c120 <IMFS_memfile_get_block_pointer+0x150><== NOT EXECUTED
      if ( !p ) {                                                     
   4c0da:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c0dc:	660e           	bnes 4c0ec <IMFS_memfile_get_block_pointer+0x11c><== NOT EXECUTED
        p = memfile_alloc_block();                                    
   4c0de:	4eb9 0004 bfac 	jsr 4bfac <memfile_alloc_block>             <== NOT EXECUTED
        if ( !p )                                                     
   4c0e4:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c0e6:	6754           	beqs 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
           return 0;                                                  
        info->triply_indirect = p;                                    
   4c0e8:	2540 005c      	movel %d0,%a2@(92)                          <== NOT EXECUTED
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
   4c0ec:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c0ee:	45f0 2c00      	lea %a0@(00000000,%d2:l:4),%a2              <== NOT EXECUTED
   4c0f2:	2012           	movel %a2@,%d0                              <== NOT EXECUTED
      if ( !p1 ) {                                                    
   4c0f4:	660c           	bnes 4c102 <IMFS_memfile_get_block_pointer+0x132><== NOT EXECUTED
        p1 = memfile_alloc_block();                                   
   4c0f6:	4eb9 0004 bfac 	jsr 4bfac <memfile_alloc_block>             <== NOT EXECUTED
        if ( !p1 )                                                    
   4c0fc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c0fe:	673c           	beqs 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
   4c100:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
   4c102:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   4c104:	45f1 4c00      	lea %a1@(00000000,%d4:l:4),%a2              <== NOT EXECUTED
   4c108:	2012           	movel %a2@,%d0                              <== NOT EXECUTED
      if ( !p2 ) {                                                    
   4c10a:	660c           	bnes 4c118 <IMFS_memfile_get_block_pointer+0x148><== NOT EXECUTED
        p2 = memfile_alloc_block();                                   
   4c10c:	4eb9 0004 bfac 	jsr 4bfac <memfile_alloc_block>             <== NOT EXECUTED
        if ( !p2 )                                                    
   4c112:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c114:	6726           	beqs 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
   4c116:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
      }                                                               
      return (block_p *)&p2[ singly ];                                
   4c118:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   4c11a:	41f1 3c00      	lea %a1@(00000000,%d3:l:4),%a0              <== NOT EXECUTED
   4c11e:	601e           	bras 4c13e <IMFS_memfile_get_block_pointer+0x16e><== NOT EXECUTED
    }                                                                 
                                                                      
    if ( !p )                                                         
   4c120:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c122:	6718           	beqs 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
                                                                      
#if 0                                                                 
fprintf(stdout, "(t %d %d %d %d %d) ", block, my_block, triply, doubly, singly );
fflush(stdout);                                                       
#endif                                                                
    p1 = (block_p *) p[ triply ];                                     
   4c124:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   4c126:	2071 2c00      	moveal %a1@(00000000,%d2:l:4),%a0           <== NOT EXECUTED
    if ( !p1 )                                                        
   4c12a:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4c12c:	670e           	beqs 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
   4c12e:	2070 4c00      	moveal %a0@(00000000,%d4:l:4),%a0           <== NOT EXECUTED
    if ( !p2 )                                                        
   4c132:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4c134:	6706           	beqs 4c13c <IMFS_memfile_get_block_pointer+0x16c><== NOT EXECUTED
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
   4c136:	41f0 3c00      	lea %a0@(00000000,%d3:l:4),%a0              <== NOT EXECUTED
   4c13a:	6002           	bras 4c13e <IMFS_memfile_get_block_pointer+0x16e><== NOT EXECUTED
   4c13c:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
   4c13e:	2008           	movel %a0,%d0                               
   4c140:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4c146:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c972 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
   4c972:	4e56 ffc0      	linkw %fp,#-64                              
   4c976:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4c97a:	246e 0008      	moveal %fp@(8),%a2                          
   4c97e:	2a2e 0014      	movel %fp@(20),%d5                          
   4c982:	2a6e 0018      	moveal %fp@(24),%a5                         
   4c986:	262e 000c      	movel %fp@(12),%d3                          
   4c98a:	282e 0010      	movel %fp@(16),%d4                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   4c98e:	4a8a           	tstl %a2                                    
   4c990:	6612           	bnes 4c9a4 <IMFS_memfile_read+0x32>         <== ALWAYS TAKEN
   4c992:	4879 0005 cae2 	pea 5cae2 <CSWTCH.8+0x10>                   <== NOT EXECUTED
   4c998:	4879 0005 cc1b 	pea 5cc1b <__FUNCTION__.6216>               <== NOT EXECUTED
   4c99e:	4878 024c      	pea 24c <DBL_MANT_DIG+0x217>                <== NOT EXECUTED
   4c9a2:	601e           	bras 4c9c2 <IMFS_memfile_read+0x50>         <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE ||                      
   4c9a4:	202a 0048      	movel %a2@(72),%d0                          
   4c9a8:	2200           	movel %d0,%d1                               
   4c9aa:	5b81           	subql #5,%d1                                
   4c9ac:	7401           	moveq #1,%d2                                
   4c9ae:	b481           	cmpl %d1,%d2                                
   4c9b0:	641c           	bccs 4c9ce <IMFS_memfile_read+0x5c>         <== ALWAYS TAKEN
   4c9b2:	4879 0005 cb99 	pea 5cb99 <CSWTCH.8+0xc7>                   <== NOT EXECUTED
   4c9b8:	4879 0005 cc1b 	pea 5cc1b <__FUNCTION__.6216>               <== NOT EXECUTED
   4c9be:	4878 0251      	pea 251 <DBL_MANT_DIG+0x21c>                <== NOT EXECUTED
   4c9c2:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c9c8:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error checks on arguments                                       
   */                                                                 
                                                                      
  assert( dest );                                                     
   4c9ce:	4a85           	tstl %d5                                    
   4c9d0:	6612           	bnes 4c9e4 <IMFS_memfile_read+0x72>         <== ALWAYS TAKEN
   4c9d2:	4879 0005 cbe4 	pea 5cbe4 <CSWTCH.8+0x112>                  <== NOT EXECUTED
   4c9d8:	4879 0005 cc1b 	pea 5cc1b <__FUNCTION__.6216>               <== NOT EXECUTED
   4c9de:	4878 025a      	pea 25a <DBL_MANT_DIG+0x225>                <== NOT EXECUTED
   4c9e2:	60de           	bras 4c9c2 <IMFS_memfile_read+0x50>         <== NOT EXECUTED
  /*                                                                  
   *  If there is nothing to read, then quick exit.                   
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
   4c9e4:	4a8d           	tstl %a5                                    
   4c9e6:	6612           	bnes 4c9fa <IMFS_memfile_read+0x88>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c9e8:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4c9ee:	7e16           	moveq #22,%d7                               <== NOT EXECUTED
   4c9f0:	7cff           	moveq #-1,%d6                               <== NOT EXECUTED
   4c9f2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c9f4:	2087           	movel %d7,%a0@                              <== NOT EXECUTED
   4c9f6:	6000 01be      	braw 4cbb6 <IMFS_memfile_read+0x244>        <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4c9fa:	7206           	moveq #6,%d1                                
   4c9fc:	b280           	cmpl %d0,%d1                                
   4c9fe:	6658           	bnes 4ca58 <IMFS_memfile_read+0xe6>         <== ALWAYS TAKEN
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   4ca00:	284d           	moveal %a5,%a4                              <== NOT EXECUTED
   4ca02:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
   4ca04:	2c2a 004c      	movel %a2@(76),%d6                          <== NOT EXECUTED
   4ca08:	2e2a 0050      	movel %a2@(80),%d7                          <== NOT EXECUTED
   4ca0c:	200b           	movel %a3,%d0                               <== NOT EXECUTED
   4ca0e:	220c           	movel %a4,%d1                               <== NOT EXECUTED
   4ca10:	2d46 ffe8      	movel %d6,%fp@(-24)                         <== NOT EXECUTED
   4ca14:	2d47 ffec      	movel %d7,%fp@(-20)                         <== NOT EXECUTED
   4ca18:	9e84           	subl %d4,%d7                                <== NOT EXECUTED
   4ca1a:	9d83           	subxl %d3,%d6                               <== 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;    
   4ca1c:	206a 0054      	moveal %a2@(84),%a0                         <== NOT EXECUTED
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   4ca20:	9287           	subl %d7,%d1                                <== NOT EXECUTED
   4ca22:	9186           	subxl %d6,%d0                               <== NOT EXECUTED
   4ca24:	6e04           	bgts 4ca2a <IMFS_memfile_read+0xb8>         <== NOT EXECUTED
   4ca26:	2c0d           	movel %a5,%d6                               <== NOT EXECUTED
   4ca28:	6006           	bras 4ca30 <IMFS_memfile_read+0xbe>         <== NOT EXECUTED
      my_length = the_jnode->info.linearfile.size - start;            
   4ca2a:	2c2e ffec      	movel %fp@(-20),%d6                         <== NOT EXECUTED
   4ca2e:	9c84           	subl %d4,%d6                                <== NOT EXECUTED
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
   4ca30:	2f06           	movel %d6,%sp@-                             <== NOT EXECUTED
   4ca32:	4870 4800      	pea %a0@(00000000,%d4:l)                    <== NOT EXECUTED
   4ca36:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   4ca38:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
   4ca3e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4ca40:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   4ca44:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    <== NOT EXECUTED
   4ca4a:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     <== NOT EXECUTED
                                                                      
    return my_length;                                                 
   4ca50:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   4ca54:	6000 0160      	braw 4cbb6 <IMFS_memfile_read+0x244>        <== NOT EXECUTED
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
   4ca58:	200d           	movel %a5,%d0                               
   4ca5a:	d084           	addl %d4,%d0                                
   4ca5c:	2240           	moveal %d0,%a1                              
   4ca5e:	91c8           	subal %a0,%a0                               
   4ca60:	202a 004c      	movel %a2@(76),%d0                          
   4ca64:	222a 0050      	movel %a2@(80),%d1                          
   4ca68:	2c08           	movel %a0,%d6                               
   4ca6a:	2e09           	movel %a1,%d7                               
   4ca6c:	9e81           	subl %d1,%d7                                
   4ca6e:	9d80           	subxl %d0,%d6                               
   4ca70:	6e04           	bgts 4ca76 <IMFS_memfile_read+0x104>        <== ALWAYS TAKEN
   4ca72:	240d           	movel %a5,%d2                               <== NOT EXECUTED
   4ca74:	6006           	bras 4ca7c <IMFS_memfile_read+0x10a>        <== NOT EXECUTED
    my_length = the_jnode->info.file.size - start;                    
   4ca76:	2e01           	movel %d1,%d7                               
   4ca78:	9e84           	subl %d4,%d7                                
   4ca7a:	2407           	movel %d7,%d2                               
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4ca7c:	2e39 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d7
   4ca82:	2207           	movel %d7,%d1                               
   4ca84:	5bc0           	smi %d0                                     
   4ca86:	49c0           	extbl %d0                                   
   4ca88:	2640           	moveal %d0,%a3                              
   4ca8a:	2841           	moveal %d1,%a4                              
   4ca8c:	2f0c           	movel %a4,%sp@-                             
   4ca8e:	2f00           	movel %d0,%sp@-                             
   4ca90:	2f04           	movel %d4,%sp@-                             
   4ca92:	2f03           	movel %d3,%sp@-                             
   4ca94:	4eb9 0005 a12c 	jsr 5a12c <__moddi3>                        
   4ca9a:	4fef 0010      	lea %sp@(16),%sp                            
   4ca9e:	2c01           	movel %d1,%d6                               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4caa0:	2f0c           	movel %a4,%sp@-                             
   4caa2:	2f0b           	movel %a3,%sp@-                             
   4caa4:	2f04           	movel %d4,%sp@-                             
   4caa6:	2f03           	movel %d3,%sp@-                             
   4caa8:	4eb9 0005 9d74 	jsr 59d74 <__divdi3>                        
   4caae:	4fef 0010      	lea %sp@(16),%sp                            
   4cab2:	2601           	movel %d1,%d3                               
  if ( start_offset )  {                                              
   4cab4:	4a86           	tstl %d6                                    
   4cab6:	6604           	bnes 4cabc <IMFS_memfile_read+0x14a>        
   4cab8:	2e05           	movel %d5,%d7                               
   4caba:	6050           	bras 4cb0c <IMFS_memfile_read+0x19a>        
    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 );
   4cabc:	42a7           	clrl %sp@-                                  
   4cabe:	2f01           	movel %d1,%sp@-                             
   4cac0:	2f0a           	movel %a2,%sp@-                             
   4cac2:	4eb9 0004 bfd0 	jsr 4bfd0 <IMFS_memfile_get_block_pointer>  
    assert( block_ptr );                                              
   4cac8:	4fef 000c      	lea %sp@(12),%sp                            
   4cacc:	4a80           	tstl %d0                                    
   4cace:	6614           	bnes 4cae4 <IMFS_memfile_read+0x172>        <== ALWAYS TAKEN
   4cad0:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4cad6:	4879 0005 cc1b 	pea 5cc1b <__FUNCTION__.6216>               <== NOT EXECUTED
   4cadc:	4878 0296      	pea 296 <DBL_MANT_DIG+0x261>                <== NOT EXECUTED
   4cae0:	6000 fee0      	braw 4c9c2 <IMFS_memfile_read+0x50>         <== NOT EXECUTED
   */                                                                 
                                                                      
  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;            
   4cae4:	9e86           	subl %d6,%d7                                
   4cae6:	2202           	movel %d2,%d1                               
   4cae8:	be82           	cmpl %d2,%d7                                
   4caea:	6402           	bccs 4caee <IMFS_memfile_read+0x17c>        
   4caec:	2207           	movel %d7,%d1                               
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4caee:	2f01           	movel %d1,%sp@-                             
   4caf0:	2040           	moveal %d0,%a0                              
   4caf2:	dc90           	addl %a0@,%d6                               
    dest += to_copy;                                                  
   4caf4:	2e05           	movel %d5,%d7                               
   4caf6:	de81           	addl %d1,%d7                                
    block++;                                                          
    my_length -= to_copy;                                             
   4caf8:	9481           	subl %d1,%d2                                
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
    block++;                                                          
   4cafa:	5283           	addql #1,%d3                                
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4cafc:	2f06           	movel %d6,%sp@-                             
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
   4cafe:	2c01           	movel %d1,%d6                               
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4cb00:	2f05           	movel %d5,%sp@-                             
   4cb02:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
   4cb08:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   4cb0c:	2a39 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d5
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4cb12:	49f9 0004 bfd0 	lea 4bfd0 <IMFS_memfile_get_block_pointer>,%a4
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4cb18:	47f9 0004 e9c4 	lea 4e9c4 <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 ) {               
   4cb1e:	603a           	bras 4cb5a <IMFS_memfile_read+0x1e8>        
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4cb20:	42a7           	clrl %sp@-                                  
   4cb22:	2f03           	movel %d3,%sp@-                             
   4cb24:	2f0a           	movel %a2,%sp@-                             
   4cb26:	4e94           	jsr %a4@                                    
    assert( block_ptr );                                              
   4cb28:	4fef 000c      	lea %sp@(12),%sp                            
   4cb2c:	4a80           	tstl %d0                                    
   4cb2e:	6614           	bnes 4cb44 <IMFS_memfile_read+0x1d2>        <== ALWAYS TAKEN
   4cb30:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4cb36:	4879 0005 cc1b 	pea 5cc1b <__FUNCTION__.6216>               <== NOT EXECUTED
   4cb3c:	4878 02a7      	pea 2a7 <DBL_MANT_DIG+0x272>                <== NOT EXECUTED
   4cb40:	6000 fe80      	braw 4c9c2 <IMFS_memfile_read+0x50>         <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4cb44:	2040           	moveal %d0,%a0                              
    dest += to_copy;                                                  
    block++;                                                          
   4cb46:	5283           	addql #1,%d3                                
    my_length -= to_copy;                                             
   4cb48:	9485           	subl %d5,%d2                                
    copied += to_copy;                                                
   4cb4a:	dc85           	addl %d5,%d6                                
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4cb4c:	2f05           	movel %d5,%sp@-                             
   4cb4e:	2f10           	movel %a0@,%sp@-                            
   4cb50:	2f07           	movel %d7,%sp@-                             
    dest += to_copy;                                                  
   4cb52:	de85           	addl %d5,%d7                                
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4cb54:	4e93           	jsr %a3@                                    
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4cb56:	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 ) {               
   4cb5a:	b4b9 0005 e5d4 	cmpl 5e5d4 <imfs_memfile_bytes_per_block>,%d2
   4cb60:	64be           	bccs 4cb20 <IMFS_memfile_read+0x1ae>        
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  if ( my_length ) {                                                  
   4cb62:	4a82           	tstl %d2                                    
   4cb64:	673c           	beqs 4cba2 <IMFS_memfile_read+0x230>        
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4cb66:	42a7           	clrl %sp@-                                  
   4cb68:	2f03           	movel %d3,%sp@-                             
   4cb6a:	2f0a           	movel %a2,%sp@-                             
   4cb6c:	4eb9 0004 bfd0 	jsr 4bfd0 <IMFS_memfile_get_block_pointer>  
    assert( block_ptr );                                              
   4cb72:	4fef 000c      	lea %sp@(12),%sp                            
   4cb76:	4a80           	tstl %d0                                    
   4cb78:	6614           	bnes 4cb8e <IMFS_memfile_read+0x21c>        <== ALWAYS TAKEN
   4cb7a:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4cb80:	4879 0005 cc1b 	pea 5cc1b <__FUNCTION__.6216>               <== NOT EXECUTED
   4cb86:	4878 02b9      	pea 2b9 <DBL_MANT_DIG+0x284>                <== NOT EXECUTED
   4cb8a:	6000 fe36      	braw 4c9c2 <IMFS_memfile_read+0x50>         <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
   4cb8e:	2040           	moveal %d0,%a0                              
    copied += my_length;                                              
   4cb90:	dc82           	addl %d2,%d6                                
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    assert( block_ptr );                                              
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
   4cb92:	2f02           	movel %d2,%sp@-                             
   4cb94:	2f10           	movel %a0@,%sp@-                            
   4cb96:	2f07           	movel %d7,%sp@-                             
   4cb98:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
    copied += my_length;                                              
   4cb9e:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
   4cba2:	42a7           	clrl %sp@-                                  
   4cba4:	486e fff8      	pea %fp@(-8)                                
   4cba8:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4cbae:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
                                                                      
  return copied;                                                      
   4cbb4:	508f           	addql #8,%sp                                
}                                                                     
   4cbb6:	2006           	movel %d6,%d0                               
   4cbb8:	4cee 3cfc ffc0 	moveml %fp@(-64),%d2-%d7/%a2-%a5            
   4cbbe:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c1fc <IMFS_memfile_remove>: */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
   4c1fc:	4e56 ffe4      	linkw %fp,#-28                              
   4c200:	48d7 1c3c      	moveml %d2-%d5/%a2-%a4,%sp@                 
   4c204:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   4c208:	4a8a           	tstl %a2                                    
   4c20a:	6612           	bnes 4c21e <IMFS_memfile_remove+0x22>       <== ALWAYS TAKEN
   4c20c:	4879 0005 cae2 	pea 5cae2 <CSWTCH.8+0x10>                   <== NOT EXECUTED
   4c212:	4879 0005 cc2d 	pea 5cc2d <__FUNCTION__.6141>               <== NOT EXECUTED
   4c218:	4878 01ee      	pea 1ee <DBL_MANT_DIG+0x1b9>                <== NOT EXECUTED
   4c21c:	6018           	bras 4c236 <IMFS_memfile_remove+0x3a>       <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   4c21e:	7005           	moveq #5,%d0                                
   4c220:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4c224:	671c           	beqs 4c242 <IMFS_memfile_remove+0x46>       <== ALWAYS TAKEN
   4c226:	4879 0005 cb36 	pea 5cb36 <CSWTCH.8+0x64>                   <== NOT EXECUTED
   4c22c:	4879 0005 cc2d 	pea 5cc2d <__FUNCTION__.6141>               <== NOT EXECUTED
   4c232:	4878 01f2      	pea 1f2 <DBL_MANT_DIG+0x1bd>                <== NOT EXECUTED
   4c236:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c23c:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
                                                                      
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
   4c242:	2439 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d2
   4c248:	e48a           	lsrl #2,%d2                                 
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
   4c24a:	4aaa 0054      	tstl %a2@(84)                               
   4c24e:	670e           	beqs 4c25e <IMFS_memfile_remove+0x62>       
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
   4c250:	2f02           	movel %d2,%sp@-                             
   4c252:	486a 0054      	pea %a2@(84)                                
   4c256:	4eb9 0004 c14a 	jsr 4c14a <memfile_free_blocks_in_table>    
   4c25c:	508f           	addql #8,%sp                                
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
   4c25e:	4aaa 0058      	tstl %a2@(88)                               
   4c262:	673e           	beqs 4c2a2 <IMFS_memfile_remove+0xa6>       <== ALWAYS TAKEN
   4c264:	4283           	clrl %d3                                    <== NOT EXECUTED
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
   4c266:	47f9 0004 c14a 	lea 4c14a <memfile_free_blocks_in_table>,%a3<== NOT EXECUTED
   4c26c:	601a           	bras 4c288 <IMFS_memfile_remove+0x8c>       <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
                                                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
   4c26e:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   4c270:	206a 0058      	moveal %a2@(88),%a0                         <== NOT EXECUTED
   4c274:	e588           	lsll #2,%d0                                 <== NOT EXECUTED
   4c276:	4ab0 0800      	tstl %a0@(00000000,%d0:l)                   <== NOT EXECUTED
   4c27a:	670a           	beqs 4c286 <IMFS_memfile_remove+0x8a>       <== NOT EXECUTED
        memfile_free_blocks_in_table(                                 
   4c27c:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4c27e:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   4c282:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4c284:	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++ ) {                  
   4c286:	5283           	addql #1,%d3                                <== NOT EXECUTED
   4c288:	2039 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d0<== NOT EXECUTED
   4c28e:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4c290:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   4c292:	62da           	bhis 4c26e <IMFS_memfile_remove+0x72>       <== 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 );  
   4c294:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4c296:	486a 0058      	pea %a2@(88)                                <== NOT EXECUTED
   4c29a:	4eb9 0004 c14a 	jsr 4c14a <memfile_free_blocks_in_table>    <== NOT EXECUTED
   4c2a0:	508f           	addql #8,%sp                                <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
   4c2a2:	4aaa 005c      	tstl %a2@(92)                               
   4c2a6:	6762           	beqs 4c30a <IMFS_memfile_remove+0x10e>      <== ALWAYS TAKEN
   4c2a8:	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);  
   4c2aa:	49f9 0004 c14a 	lea 4c14a <memfile_free_blocks_in_table>,%a4<== NOT EXECUTED
   4c2b0:	603e           	bras 4c2f0 <IMFS_memfile_remove+0xf4>       <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
   4c2b2:	2a03           	movel %d3,%d5                               <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4c2b4:	206a 005c      	moveal %a2@(92),%a0                         <== NOT EXECUTED
   *    + indirect                                                    
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
                                                                      
  info = &the_jnode->info.file;                                       
   4c2b8:	e58d           	lsll #2,%d5                                 <== NOT EXECUTED
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4c2ba:	2670 5800      	moveal %a0@(00000000,%d5:l),%a3             <== NOT EXECUTED
      if ( !p )  /* ensure we have a valid pointer */                 
   4c2be:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   4c2c0:	673a           	beqs 4c2fc <IMFS_memfile_remove+0x100>      <== NOT EXECUTED
   4c2c2:	4284           	clrl %d4                                    <== NOT EXECUTED
   4c2c4:	6010           	bras 4c2d6 <IMFS_memfile_remove+0xda>       <== NOT EXECUTED
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
   4c2c6:	4a93           	tstl %a3@                                   <== NOT EXECUTED
   4c2c8:	6708           	beqs 4c2d2 <IMFS_memfile_remove+0xd6>       <== NOT EXECUTED
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
   4c2ca:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4c2cc:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4c2ce:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4c2d0:	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++ ) {                
   4c2d2:	5284           	addql #1,%d4                                <== NOT EXECUTED
   4c2d4:	588b           	addql #4,%a3                                <== NOT EXECUTED
   4c2d6:	2039 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d0<== NOT EXECUTED
   4c2dc:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4c2de:	b084           	cmpl %d4,%d0                                <== NOT EXECUTED
   4c2e0:	62e4           	bhis 4c2c6 <IMFS_memfile_remove+0xca>       <== NOT EXECUTED
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
   4c2e2:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4c2e4:	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++ ) {                  
   4c2e8:	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(                                   
   4c2ea:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   4c2ec:	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++ ) {                  
   4c2ee:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4c2f0:	2039 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d0<== NOT EXECUTED
   4c2f6:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4c2f8:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   4c2fa:	62b6           	bhis 4c2b2 <IMFS_memfile_remove+0xb6>       <== NOT EXECUTED
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
   4c2fc:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4c2fe:	486a 005c      	pea %a2@(92)                                <== NOT EXECUTED
   4c302:	4eb9 0004 c14a 	jsr 4c14a <memfile_free_blocks_in_table>    <== NOT EXECUTED
   4c308:	508f           	addql #8,%sp                                <== NOT EXECUTED
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4c30a:	4280           	clrl %d0                                    
   4c30c:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4c312:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c1b0 <IMFS_memfile_remove_block>: MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
   4c1b0:	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 );  
   4c1b4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4c1b6:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4c1ba:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   4c1be:	4eb9 0004 bfd0 	jsr 4bfd0 <IMFS_memfile_get_block_pointer>  <== NOT EXECUTED
  assert( block_ptr );                                                
   4c1c4:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4c1c8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c1ca:	661c           	bnes 4c1e8 <IMFS_memfile_remove_block+0x38> <== NOT EXECUTED
   4c1cc:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4c1d2:	4879 0005 cc5e 	pea 5cc5e <__FUNCTION__.6105>               <== NOT EXECUTED
   4c1d8:	4878 0196      	pea 196 <DBL_MANT_DIG+0x161>                <== NOT EXECUTED
   4c1dc:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c1e2:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
  if ( block_ptr ) {                                                  
    ptr = *block_ptr;                                                 
   4c1e8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c1ea:	2210           	movel %a0@,%d1                              <== NOT EXECUTED
    *block_ptr = 0;                                                   
   4c1ec:	4290           	clrl %a0@                                   <== NOT EXECUTED
    memfile_free_block( ptr );                                        
   4c1ee:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4c1f0:	4eb9 0004 bf92 	jsr 4bf92 <memfile_free_block>              <== NOT EXECUTED
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
   4c1f6:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4c1f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c682 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
   4c682:	4e56 ffd0      	linkw %fp,#-48                              
   4c686:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4c68a:	246e 0008      	moveal %fp@(8),%a2                          
   4c68e:	262e 0014      	movel %fp@(20),%d3                          
   4c692:	242e 0018      	movel %fp@(24),%d2                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( the_jnode );                                                
   4c696:	4a8a           	tstl %a2                                    
   4c698:	6612           	bnes 4c6ac <IMFS_memfile_write+0x2a>        <== ALWAYS TAKEN
   4c69a:	4879 0005 cae2 	pea 5cae2 <CSWTCH.8+0x10>                   <== NOT EXECUTED
   4c6a0:	4879 0005 cc08 	pea 5cc08 <__FUNCTION__.6308>               <== NOT EXECUTED
   4c6a6:	4878 02e3      	pea 2e3 <DBL_MANT_DIG+0x2ae>                <== NOT EXECUTED
   4c6aa:	6018           	bras 4c6c4 <IMFS_memfile_write+0x42>        <== NOT EXECUTED
  if ( !the_jnode )                                                   
    rtems_set_errno_and_return_minus_one( EIO );                      
                                                                      
  assert( the_jnode->type == IMFS_MEMORY_FILE );                      
   4c6ac:	7805           	moveq #5,%d4                                
   4c6ae:	b8aa 0048      	cmpl %a2@(72),%d4                           
   4c6b2:	671c           	beqs 4c6d0 <IMFS_memfile_write+0x4e>        <== ALWAYS TAKEN
   4c6b4:	4879 0005 cb36 	pea 5cb36 <CSWTCH.8+0x64>                   <== NOT EXECUTED
   4c6ba:	4879 0005 cc08 	pea 5cc08 <__FUNCTION__.6308>               <== NOT EXECUTED
   4c6c0:	4878 02e7      	pea 2e7 <DBL_MANT_DIG+0x2b2>                <== NOT EXECUTED
   4c6c4:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c6ca:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Error check arguments                                           
   */                                                                 
                                                                      
  assert( source );                                                   
   4c6d0:	4a83           	tstl %d3                                    
   4c6d2:	6612           	bnes 4c6e6 <IMFS_memfile_write+0x64>        <== ALWAYS TAKEN
   4c6d4:	4879 0005 c1bb 	pea 5c1bb <IMFS_ops+0x2d3>                  <== NOT EXECUTED
   4c6da:	4879 0005 cc08 	pea 5cc08 <__FUNCTION__.6308>               <== NOT EXECUTED
   4c6e0:	4878 02ef      	pea 2ef <DBL_MANT_DIG+0x2ba>                <== NOT EXECUTED
   4c6e4:	60de           	bras 4c6c4 <IMFS_memfile_write+0x42>        <== NOT EXECUTED
  /*                                                                  
   *  If there is nothing to write, then quick exit.                  
   */                                                                 
                                                                      
  my_length = length;                                                 
  if ( !my_length )                                                   
   4c6e6:	4a82           	tstl %d2                                    
   4c6e8:	6612           	bnes 4c6fc <IMFS_memfile_write+0x7a>        <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c6ea:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4c6f0:	7a16           	moveq #22,%d5                               <== NOT EXECUTED
   4c6f2:	7eff           	moveq #-1,%d7                               <== NOT EXECUTED
   4c6f4:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c6f6:	2085           	movel %d5,%a0@                              <== NOT EXECUTED
   4c6f8:	6000 0186      	braw 4c880 <IMFS_memfile_write+0x1fe>       <== NOT EXECUTED
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size ) {                      
   4c6fc:	206e 0010      	moveal %fp@(16),%a0                         
   4c700:	d1c2           	addal %d2,%a0                               
   4c702:	2208           	movel %a0,%d1                               
   4c704:	4280           	clrl %d0                                    
   4c706:	282a 004c      	movel %a2@(76),%d4                          
   4c70a:	2a2a 0050      	movel %a2@(80),%d5                          
   4c70e:	9a81           	subl %d1,%d5                                
   4c710:	9980           	subxl %d0,%d4                               
   4c712:	6c26           	bges 4c73a <IMFS_memfile_write+0xb8>        <== NEVER TAKEN
    status = IMFS_memfile_extend( the_jnode, last_byte );             
   4c714:	2f08           	movel %a0,%sp@-                             
   4c716:	2f00           	movel %d0,%sp@-                             
   4c718:	2f0a           	movel %a2,%sp@-                             
   4c71a:	4eb9 0004 c466 	jsr 4c466 <IMFS_memfile_extend>             
    if ( status )                                                     
   4c720:	4fef 000c      	lea %sp@(12),%sp                            
   4c724:	4a80           	tstl %d0                                    
   4c726:	6712           	beqs 4c73a <IMFS_memfile_write+0xb8>        <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   4c728:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4c72e:	781c           	moveq #28,%d4                               <== NOT EXECUTED
   4c730:	7eff           	moveq #-1,%d7                               <== NOT EXECUTED
   4c732:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c734:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
   4c736:	6000 0148      	braw 4c880 <IMFS_memfile_write+0x1fe>       <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
                                                                      
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4c73a:	2e39 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d7
   4c740:	2207           	movel %d7,%d1                               
   4c742:	5bc0           	smi %d0                                     
   4c744:	49c0           	extbl %d0                                   
   4c746:	2640           	moveal %d0,%a3                              
   4c748:	2841           	moveal %d1,%a4                              
   4c74a:	2f0c           	movel %a4,%sp@-                             
   4c74c:	2f00           	movel %d0,%sp@-                             
   4c74e:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4c752:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4c756:	4eb9 0005 a12c 	jsr 5a12c <__moddi3>                        
   4c75c:	4fef 0010      	lea %sp@(16),%sp                            
   4c760:	2801           	movel %d1,%d4                               
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4c762:	2f0c           	movel %a4,%sp@-                             
   4c764:	2f0b           	movel %a3,%sp@-                             
   4c766:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4c76a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4c76e:	4eb9 0005 9d74 	jsr 59d74 <__divdi3>                        
   4c774:	4fef 0010      	lea %sp@(16),%sp                            
   4c778:	2a01           	movel %d1,%d5                               
  if ( start_offset )  {                                              
   4c77a:	4a84           	tstl %d4                                    
   4c77c:	6606           	bnes 4c784 <IMFS_memfile_write+0x102>       
   4c77e:	2643           	moveal %d3,%a3                              
   4c780:	4287           	clrl %d7                                    
   4c782:	604c           	bras 4c7d0 <IMFS_memfile_write+0x14e>       
    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 );
   4c784:	42a7           	clrl %sp@-                                  
   4c786:	2f01           	movel %d1,%sp@-                             
   4c788:	2f0a           	movel %a2,%sp@-                             
   4c78a:	4eb9 0004 bfd0 	jsr 4bfd0 <IMFS_memfile_get_block_pointer>  
    assert( block_ptr );                                              
   4c790:	4fef 000c      	lea %sp@(12),%sp                            
   4c794:	4a80           	tstl %d0                                    
   4c796:	6614           	bnes 4c7ac <IMFS_memfile_write+0x12a>       <== ALWAYS TAKEN
   4c798:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4c79e:	4879 0005 cc08 	pea 5cc08 <__FUNCTION__.6308>               <== NOT EXECUTED
   4c7a4:	4878 031c      	pea 31c <DBL_MANT_DIG+0x2e7>                <== NOT EXECUTED
   4c7a8:	6000 ff1a      	braw 4c6c4 <IMFS_memfile_write+0x42>        <== NOT EXECUTED
   */                                                                 
                                                                      
  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;            
   4c7ac:	9e84           	subl %d4,%d7                                
   4c7ae:	b487           	cmpl %d7,%d2                                
   4c7b0:	6402           	bccs 4c7b4 <IMFS_memfile_write+0x132>       <== NEVER TAKEN
   4c7b2:	2e02           	movel %d2,%d7                               
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4c7b4:	2f07           	movel %d7,%sp@-                             
   4c7b6:	2040           	moveal %d0,%a0                              
    src += to_copy;                                                   
   4c7b8:	2643           	moveal %d3,%a3                              
   4c7ba:	d7c7           	addal %d7,%a3                               
    block++;                                                          
   4c7bc:	5285           	addql #1,%d5                                
    my_length -= to_copy;                                             
   4c7be:	9487           	subl %d7,%d2                                
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d at %d in %d: %*s\n", to_copy, start_offset, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4c7c0:	2f03           	movel %d3,%sp@-                             
   4c7c2:	d890           	addl %a0@,%d4                               
   4c7c4:	2f04           	movel %d4,%sp@-                             
   4c7c6:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4c7cc:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
   4c7d0:	2639 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%d3
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4c7d6:	4bf9 0004 bfd0 	lea 4bfd0 <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 );                       
   4c7dc:	49f9 0004 e9c4 	lea 4e9c4 <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 ) {               
   4c7e2:	603a           	bras 4c81e <IMFS_memfile_write+0x19c>       
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4c7e4:	42a7           	clrl %sp@-                                  
   4c7e6:	2f05           	movel %d5,%sp@-                             
   4c7e8:	2f0a           	movel %a2,%sp@-                             
   4c7ea:	4e95           	jsr %a5@                                    
    assert( block_ptr );                                              
   4c7ec:	4fef 000c      	lea %sp@(12),%sp                            
   4c7f0:	4a80           	tstl %d0                                    
   4c7f2:	6614           	bnes 4c808 <IMFS_memfile_write+0x186>       <== ALWAYS TAKEN
   4c7f4:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4c7fa:	4879 0005 cc08 	pea 5cc08 <__FUNCTION__.6308>               <== NOT EXECUTED
   4c800:	4878 0330      	pea 330 <DBL_MANT_DIG+0x2fb>                <== NOT EXECUTED
   4c804:	6000 febe      	braw 4c6c4 <IMFS_memfile_write+0x42>        <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
   4c808:	2f03           	movel %d3,%sp@-                             
   4c80a:	2240           	moveal %d0,%a1                              
    src += to_copy;                                                   
    block++;                                                          
   4c80c:	5285           	addql #1,%d5                                
    my_length -= to_copy;                                             
   4c80e:	9483           	subl %d3,%d2                                
 *                                                                    
 *  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(                            
   4c810:	de83           	addl %d3,%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 );                       
   4c812:	2f0b           	movel %a3,%sp@-                             
   4c814:	2f11           	movel %a1@,%sp@-                            
    src += to_copy;                                                   
   4c816:	d7c3           	addal %d3,%a3                               
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
   4c818:	4e94           	jsr %a4@                                    
 *                                                                    
 *  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(                            
   4c81a:	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 ) {               
   4c81e:	b4b9 0005 e5d4 	cmpl 5e5d4 <imfs_memfile_bytes_per_block>,%d2
   4c824:	64be           	bccs 4c7e4 <IMFS_memfile_write+0x162>       
   */                                                                 
                                                                      
  assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );                 
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
   4c826:	4a82           	tstl %d2                                    
   4c828:	673c           	beqs 4c866 <IMFS_memfile_write+0x1e4>       
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4c82a:	42a7           	clrl %sp@-                                  
   4c82c:	2f05           	movel %d5,%sp@-                             
   4c82e:	2f0a           	movel %a2,%sp@-                             
   4c830:	4eb9 0004 bfd0 	jsr 4bfd0 <IMFS_memfile_get_block_pointer>  
    assert( block_ptr );                                              
   4c836:	4fef 000c      	lea %sp@(12),%sp                            
   4c83a:	4a80           	tstl %d0                                    
   4c83c:	6614           	bnes 4c852 <IMFS_memfile_write+0x1d0>       <== ALWAYS TAKEN
   4c83e:	4879 0005 cb66 	pea 5cb66 <CSWTCH.8+0x94>                   <== NOT EXECUTED
   4c844:	4879 0005 cc08 	pea 5cc08 <__FUNCTION__.6308>               <== NOT EXECUTED
   4c84a:	4878 0346      	pea 346 <DBL_MANT_DIG+0x311>                <== NOT EXECUTED
   4c84e:	6000 fe74      	braw 4c6c4 <IMFS_memfile_write+0x42>        <== NOT EXECUTED
    if ( !block_ptr )                                                 
      return copied;                                                  
#if 0                                                                 
fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
#endif                                                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
   4c852:	2f02           	movel %d2,%sp@-                             
   4c854:	2040           	moveal %d0,%a0                              
    my_length = 0;                                                    
    copied += to_copy;                                                
   4c856:	de82           	addl %d2,%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, my_length );                     
   4c858:	2f0b           	movel %a3,%sp@-                             
   4c85a:	2f10           	movel %a0@,%sp@-                            
   4c85c:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
    my_length = 0;                                                    
    copied += to_copy;                                                
   4c862:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   4c866:	42a7           	clrl %sp@-                                  
   4c868:	486e fff8      	pea %fp@(-8)                                
   4c86c:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4c872:	202e fff8      	movel %fp@(-8),%d0                          
                                                                      
  return copied;                                                      
   4c876:	508f           	addql #8,%sp                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   4c878:	2540 0044      	movel %d0,%a2@(68)                          
   4c87c:	2540 0040      	movel %d0,%a2@(64)                          
                                                                      
  return copied;                                                      
}                                                                     
   4c880:	2007           	movel %d7,%d0                               
   4c882:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            
   4c888:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041ec0 <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
   41ec0:	4e56 ffb4      	linkw %fp,#-76                              
   41ec4:	48d7 003c      	moveml %d2-%d5,%sp@                         
   41ec8:	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 );        
   41ecc:	2f03           	movel %d3,%sp@-                             
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   41ece:	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 );        
   41ed2:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
   41ed8:	588f           	addql #4,%sp                                
   41eda:	486e fffc      	pea %fp@(-4)                                
   41ede:	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 */         
)                                                                     
{                                                                     
   41ee2:	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 );        
   41ee6:	2f00           	movel %d0,%sp@-                             
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   41ee8:	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 );        
   41eec:	2f03           	movel %d3,%sp@-                             
   41eee:	4eb9 0004 9efc 	jsr 49efc <IMFS_get_token>                  
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
   41ef4:	4fef 0010      	lea %sp@(16),%sp                            
   41ef8:	2002           	movel %d2,%d0                               
   41efa:	0280 0000 f000 	andil #61440,%d0                            
   41f00:	0c80 0000 4000 	cmpil #16384,%d0                            
   41f06:	6748           	beqs 41f50 <IMFS_mknod+0x90>                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
   41f08:	0c80 0000 8000 	cmpil #32768,%d0                            
   41f0e:	6606           	bnes 41f16 <IMFS_mknod+0x56>                
   41f10:	303c 0005      	movew #5,%d0                                
   41f14:	603c           	bras 41f52 <IMFS_mknod+0x92>                
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
   41f16:	0c80 0000 6000 	cmpil #24576,%d0                            
   41f1c:	6708           	beqs 41f26 <IMFS_mknod+0x66>                
   41f1e:	0c80 0000 2000 	cmpil #8192,%d0                             
   41f24:	660c           	bnes 41f32 <IMFS_mknod+0x72>                
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
   41f26:	2d45 ffe8      	movel %d5,%fp@(-24)                         
   41f2a:	7002           	moveq #2,%d0                                
   41f2c:	2d44 ffec      	movel %d4,%fp@(-20)                         
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
   41f30:	6020           	bras 41f52 <IMFS_mknod+0x92>                
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  }                                                                   
  else if (S_ISFIFO(mode))                                            
   41f32:	0c80 0000 1000 	cmpil #4096,%d0                             
   41f38:	6606           	bnes 41f40 <IMFS_mknod+0x80>                <== NEVER TAKEN
   41f3a:	303c 0007      	movew #7,%d0                                
   41f3e:	6012           	bras 41f52 <IMFS_mknod+0x92>                
    type = IMFS_FIFO;                                                 
  else  {                                                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   41f40:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   41f46:	7416           	moveq #22,%d2                               <== NOT EXECUTED
   41f48:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41f4a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41f4c:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   41f4e:	6032           	bras 41f82 <IMFS_mknod+0xc2>                <== NOT EXECUTED
   41f50:	7001           	moveq #1,%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(                                        
   41f52:	486e ffe8      	pea %fp@(-24)                               
   41f56:	2f02           	movel %d2,%sp@-                             
   41f58:	486e ffc7      	pea %fp@(-57)                               
   41f5c:	2f00           	movel %d0,%sp@-                             
   41f5e:	2f2e 0018      	movel %fp@(24),%sp@-                        
   41f62:	4eb9 0004 93e4 	jsr 493e4 <IMFS_create_node>                
    new_name,                                                         
    mode,                                                             
    &info                                                             
  );                                                                  
                                                                      
  if ( !new_node )                                                    
   41f68:	4fef 0014      	lea %sp@(20),%sp                            
   41f6c:	4a80           	tstl %d0                                    
   41f6e:	6704           	beqs 41f74 <IMFS_mknod+0xb4>                <== NEVER TAKEN
   41f70:	4281           	clrl %d1                                    
   41f72:	600e           	bras 41f82 <IMFS_mknod+0xc2>                
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   41f74:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   41f7a:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41f7c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41f7e:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41f80:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
   41f82:	2001           	movel %d1,%d0                               
   41f84:	4cee 003c ffb4 	moveml %fp@(-76),%d2-%d5                    
   41f8a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041f90 <IMFS_mount>: /* * Is the node that we are mounting onto a directory node ? */ if ( node->type != IMFS_DIRECTORY )
   41f90:	7001           	moveq #1,%d0                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
   41f92:	4e56 0000      	linkw %fp,#0                                
   41f96:	226e 0008      	moveal %fp@(8),%a1                          
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
   41f9a:	2069 0008      	moveal %a1@(8),%a0                          
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
   41f9e:	b0a8 0048      	cmpl %a0@(72),%d0                           
   41fa2:	6710           	beqs 41fb4 <IMFS_mount+0x24>                <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   41fa4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   41faa:	7214           	moveq #20,%d1                               <== NOT EXECUTED
   41fac:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41fae:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41fb0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   41fb2:	6006           	bras 41fba <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;                              
   41fb4:	2149 0058      	movel %a1,%a0@(88)                          
   41fb8:	4280           	clrl %d0                                    
  return 0;                                                           
}                                                                     
   41fba:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043c4e <IMFS_print_jnode>: */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
   43c4e:	4e56 0000      	linkw %fp,#0                                
   43c52:	2f0a           	movel %a2,%sp@-                             
   43c54:	246e 0008      	moveal %fp@(8),%a2                          
   43c58:	2f02           	movel %d2,%sp@-                             
  assert( the_jnode );                                                
   43c5a:	4a8a           	tstl %a2                                    
   43c5c:	6614           	bnes 43c72 <IMFS_print_jnode+0x24>          <== ALWAYS TAKEN
   43c5e:	4879 0006 0e16 	pea 60e16 <IntUartPollCallbacks.6645+0x20>  <== NOT EXECUTED
   43c64:	4879 0006 0fb2 	pea 60fb2 <__FUNCTION__.6628>               <== NOT EXECUTED
   43c6a:	4878 0038      	pea 38 <DBL_MANT_DIG+0x3>                   <== NOT EXECUTED
   43c6e:	6000 00c6      	braw 43d36 <IMFS_print_jnode+0xe8>          <== NOT EXECUTED
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   43c72:	2079 0006 2ae8 	moveal 62ae8 <_impure_ptr>,%a0              
  switch( the_jnode->type ) {                                         
   43c78:	7406           	moveq #6,%d2                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  assert( the_jnode );                                                
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   43c7a:	2f28 0008      	movel %a0@(8),%sp@-                         
   43c7e:	486a 000c      	pea %a2@(12)                                
   43c82:	4eb9 0005 1b70 	jsr 51b70 <fputs>                           
  switch( the_jnode->type ) {                                         
   43c88:	202a 0048      	movel %a2@(72),%d0                          
   43c8c:	2200           	movel %d0,%d1                               
   43c8e:	508f           	addql #8,%sp                                
   43c90:	5381           	subql #1,%d1                                
   43c92:	b481           	cmpl %d1,%d2                                
   43c94:	6500 00f0      	bcsw 43d86 <IMFS_print_jnode+0x138>         
   43c98:	2079 0006 2ae8 	moveal 62ae8 <_impure_ptr>,%a0              
   43c9e:	303b 1a08      	movew %pc@(43ca8 <IMFS_print_jnode+0x5a>,%d1:l:2),%d0
   43ca2:	48c0           	extl %d0                                    
   43ca4:	4efb 0802      	jmp %pc@(43ca8 <IMFS_print_jnode+0x5a>,%d0:l)
   43ca8:	000e           	016                                         <== NOT EXECUTED
   43caa:	0022           	042                                         <== NOT EXECUTED
   43cac:	006e           	0156                                        <== NOT EXECUTED
   43cae:	009a 0052 0032 	oril #5374002,%d2                           <== NOT EXECUTED
   43cb4:	00bc 2f28 0008 	oril #791150600,%d4                         <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
   43cba:	4878 002f      	pea 2f <OPER2+0x1b>                         
   43cbe:	4eb9 0005 1a44 	jsr 51a44 <fputc>                           
      break;                                                          
   43cc4:	508f           	addql #8,%sp                                
   43cc6:	6000 00e8      	braw 43db0 <IMFS_print_jnode+0x162>         
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
   43cca:	2f2a 0050      	movel %a2@(80),%sp@-                        
   43cce:	2f2a 004c      	movel %a2@(76),%sp@-                        
   43cd2:	4879 0006 0e6d 	pea 60e6d <IntUartPollCallbacks.6645+0x77>  
   43cd8:	600e           	bras 43ce8 <IMFS_print_jnode+0x9a>          
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
   43cda:	2f2a 0054      	movel %a2@(84),%sp@-                        <== NOT EXECUTED
   43cde:	2f2a 0050      	movel %a2@(80),%sp@-                        <== NOT EXECUTED
   43ce2:	4879 0006 0e80 	pea 60e80 <IntUartPollCallbacks.6645+0x8a>  <== NOT EXECUTED
   43ce8:	2f28 0008      	movel %a0@(8),%sp@-                         
   43cec:	4eb9 0005 1a04 	jsr 51a04 <fprintf>                         
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
   43cf2:	4fef 0010      	lea %sp@(16),%sp                            
   43cf6:	6000 00b8      	braw 43db0 <IMFS_print_jnode+0x162>         
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
   43cfa:	2f2a 0050      	movel %a2@(80),%sp@-                        
   43cfe:	4879 0006 0e8f 	pea 60e8f <IntUartPollCallbacks.6645+0x99>  
   43d04:	2f28 0008      	movel %a0@(8),%sp@-                         
   43d08:	4eb9 0005 1a04 	jsr 51a04 <fprintf>                         
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
   43d0e:	4fef 000c      	lea %sp@(12),%sp                            
   43d12:	6000 009c      	braw 43db0 <IMFS_print_jnode+0x162>         
                                                                      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
   43d16:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   43d1a:	4879 0006 0e9b 	pea 60e9b <IntUartPollCallbacks.6645+0xa5>  <== NOT EXECUTED
   43d20:	4eb9 0005 1b70 	jsr 51b70 <fputs>                           <== NOT EXECUTED
      assert(0);                                                      
   43d26:	4879 0005 ff43 	pea 5ff43 <rtems_filesystem_mount_table_size+0x1e3><== NOT EXECUTED
   43d2c:	4879 0006 0fb2 	pea 60fb2 <__FUNCTION__.6628>               <== NOT EXECUTED
   43d32:	4878 005d      	pea 5d <DBL_MANT_DIG+0x28>                  <== NOT EXECUTED
   43d36:	4879 0006 0e20 	pea 60e20 <IntUartPollCallbacks.6645+0x2a>  <== NOT EXECUTED
   43d3c:	4eb9 0004 45e4 	jsr 445e4 <__assert_func>                   <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
   43d42:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   43d46:	4879 0006 0e9b 	pea 60e9b <IntUartPollCallbacks.6645+0xa5>  <== NOT EXECUTED
   43d4c:	4eb9 0005 1b70 	jsr 51b70 <fputs>                           <== NOT EXECUTED
      assert(0);                                                      
   43d52:	4879 0005 ff43 	pea 5ff43 <rtems_filesystem_mount_table_size+0x1e3><== NOT EXECUTED
   43d58:	4879 0006 0fb2 	pea 60fb2 <__FUNCTION__.6628>               <== NOT EXECUTED
   43d5e:	4878 0062      	pea 62 <DBL_MANT_DIG+0x2d>                  <== NOT EXECUTED
   43d62:	60d2           	bras 43d36 <IMFS_print_jnode+0xe8>          <== NOT EXECUTED
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
   43d64:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   43d68:	4879 0006 0eaf 	pea 60eaf <IntUartPollCallbacks.6645+0xb9>  <== NOT EXECUTED
   43d6e:	4eb9 0005 1b70 	jsr 51b70 <fputs>                           <== NOT EXECUTED
      assert(0);                                                      
   43d74:	4879 0005 ff43 	pea 5ff43 <rtems_filesystem_mount_table_size+0x1e3><== NOT EXECUTED
   43d7a:	4879 0006 0fb2 	pea 60fb2 <__FUNCTION__.6628>               <== NOT EXECUTED
   43d80:	4878 0067      	pea 67 <DBL_MANT_DIG+0x32>                  <== NOT EXECUTED
   43d84:	60b0           	bras 43d36 <IMFS_print_jnode+0xe8>          <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
   43d86:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43d88:	4879 0006 0ec2 	pea 60ec2 <IntUartPollCallbacks.6645+0xcc>  <== NOT EXECUTED
   43d8e:	2079 0006 2ae8 	moveal 62ae8 <_impure_ptr>,%a0              <== NOT EXECUTED
   43d94:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   43d98:	4eb9 0005 1a04 	jsr 51a04 <fprintf>                         <== NOT EXECUTED
      assert(0);                                                      
   43d9e:	4879 0005 ff43 	pea 5ff43 <rtems_filesystem_mount_table_size+0x1e3><== NOT EXECUTED
   43da4:	4879 0006 0fb2 	pea 60fb2 <__FUNCTION__.6628>               <== NOT EXECUTED
   43daa:	4878 006c      	pea 6c <DBL_MANT_DIG+0x37>                  <== NOT EXECUTED
   43dae:	6086           	bras 43d36 <IMFS_print_jnode+0xe8>          <== NOT EXECUTED
      break;                                                          
  }                                                                   
  puts("");                                                           
}                                                                     
   43db0:	242e fff8      	movel %fp@(-8),%d2                          
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
   43db4:	203c 0006 162c 	movel #398892,%d0                           
}                                                                     
   43dba:	246e fffc      	moveal %fp@(-4),%a2                         
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
   43dbe:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   43dc2:	4e5e           	unlk %fp                                    
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      assert(0);                                                      
      break;                                                          
  }                                                                   
  puts("");                                                           
   43dc4:	4ef9 0005 33ac 	jmp 533ac <puts>                            
                                                                      

00041fd4 <IMFS_readlink>: IMFS_jnode_t *node; int i; node = loc->node_access; if ( node->type != IMFS_SYM_LINK )
   41fd4:	7004           	moveq #4,%d0                                
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
   41fd6:	4e56 0000      	linkw %fp,#0                                
   41fda:	206e 0008      	moveal %fp@(8),%a0                          
   41fde:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
   41fe0:	2050           	moveal %a0@,%a0                             
int IMFS_readlink(                                                    
  rtems_filesystem_location_info_t  *loc,                             
 char                               *buf,         /* OUT */           
 size_t                             bufsize                           
)                                                                     
{                                                                     
   41fe2:	2f02           	movel %d2,%sp@-                             
   41fe4:	226e 000c      	moveal %fp@(12),%a1                         
   41fe8:	242e 0010      	movel %fp@(16),%d2                          
  IMFS_jnode_t      *node;                                            
  int                i;                                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  if ( node->type != IMFS_SYM_LINK )                                  
   41fec:	b0a8 0048      	cmpl %a0@(72),%d0                           
   41ff0:	6604           	bnes 41ff6 <IMFS_readlink+0x22>             <== NEVER TAKEN
   41ff2:	4200           	clrb %d0                                    
   41ff4:	6016           	bras 4200c <IMFS_readlink+0x38>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   41ff6:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   41ffc:	7216           	moveq #22,%d1                               <== NOT EXECUTED
   41ffe:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42000:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42002:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   42004:	6014           	bras 4201a <IMFS_readlink+0x46>             <== NOT EXECUTED
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
    buf[i] = node->info.sym_link.name[i];                             
   42006:	1381 0800      	moveb %d1,%a1@(00000000,%d0:l)              
  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++ )
   4200a:	5280           	addql #1,%d0                                
   4200c:	b480           	cmpl %d0,%d2                                
   4200e:	630a           	blss 4201a <IMFS_readlink+0x46>             
   42010:	2468 004c      	moveal %a0@(76),%a2                         
   42014:	1232 0800      	moveb %a2@(00000000,%d0:l),%d1              
   42018:	66ec           	bnes 42006 <IMFS_readlink+0x32>             
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
   4201a:	242e fff8      	movel %fp@(-8),%d2                          
   4201e:	246e fffc      	moveal %fp@(-4),%a2                         
   42022:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042028 <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 */ ) {
   42028:	4e56 fff8      	linkw %fp,#-8                               
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
   4202c:	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 */        
)                                                                     
{                                                                     
   42030:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
   42032:	4878 0020      	pea 20 <OPER2+0xc>                          
   42036:	2f2e 0014      	movel %fp@(20),%sp@-                        
)                                                                     
{                                                                     
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
   4203a:	2450           	moveal %a0@,%a2                             
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
   4203c:	486a 000c      	pea %a2@(12)                                
   42040:	4eb9 0004 f5e8 	jsr 4f5e8 <strncpy>                         
                                                                      
  if ( the_jnode->Parent != NULL )                                    
   42046:	4fef 000c      	lea %sp@(12),%sp                            
   4204a:	4aaa 0008      	tstl %a2@(8)                                
   4204e:	670a           	beqs 4205a <IMFS_rename+0x32>               <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   42050:	2f0a           	movel %a2,%sp@-                             
   42052:	4eb9 0004 6198 	jsr 46198 <_Chain_Extract>                  
   42058:	588f           	addql #4,%sp                                
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
   4205a:	206e 0010      	moveal %fp@(16),%a0                         
   4205e:	2050           	moveal %a0@,%a0                             
  the_jnode->Parent = new_parent;                                     
   42060:	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 );                               
   42064:	2f0a           	movel %a2,%sp@-                             
   42066:	4868 004c      	pea %a0@(76)                                
   4206a:	4eb9 0004 6160 	jsr 46160 <_Chain_Append>                   
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
   42070:	42a7           	clrl %sp@-                                  
   42072:	486e fff8      	pea %fp@(-8)                                
   42076:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4207c:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
}                                                                     
   42082:	4280           	clrl %d0                                    
   42084:	246e fff4      	moveal %fp@(-12),%a2                        
   42088:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049fb0 <IMFS_rmnod>: int IMFS_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
   49fb0:	4e56 fff8      	linkw %fp,#-8                               
   49fb4:	2f0b           	movel %a3,%sp@-                             
   49fb6:	266e 000c      	moveal %fp@(12),%a3                         
   49fba:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
   49fbc:	2453           	moveal %a3@,%a2                             
                                                                      
  /*                                                                  
   * Take the node out of the parent's chain that contains this node  
   */                                                                 
                                                                      
  if ( the_jnode->Parent != NULL ) {                                  
   49fbe:	4aaa 0008      	tstl %a2@(8)                                
   49fc2:	670e           	beqs 49fd2 <IMFS_rmnod+0x22>                <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   49fc4:	2f0a           	movel %a2,%sp@-                             
   49fc6:	4eb9 0004 6198 	jsr 46198 <_Chain_Extract>                  
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
    the_jnode->Parent = NULL;                                         
   49fcc:	588f           	addql #4,%sp                                
   49fce:	42aa 0008      	clrl %a2@(8)                                
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
   49fd2:	302a 0032      	movew %a2@(50),%d0                          
   49fd6:	5380           	subql #1,%d0                                
   49fd8:	3540 0032      	movew %d0,%a2@(50)                          
  IMFS_update_ctime( the_jnode );                                     
   49fdc:	42a7           	clrl %sp@-                                  
   49fde:	486e fff8      	pea %fp@(-8)                                
   49fe2:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   49fe8:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  /*                                                                  
   * The file cannot be open and the link must be less than 1 to free.
   */                                                                 
                                                                      
  if ( !rtems_libio_is_file_open( the_jnode ) && (the_jnode->st_nlink < 1) ) {
   49fee:	2f0a           	movel %a2,%sp@-                             
   49ff0:	4eb9 0004 a3be 	jsr 4a3be <rtems_libio_is_file_open>        
   49ff6:	4fef 000c      	lea %sp@(12),%sp                            
   49ffa:	4a80           	tstl %d0                                    
   49ffc:	663a           	bnes 4a038 <IMFS_rmnod+0x88>                <== NEVER TAKEN
   49ffe:	4a6a 0032      	tstw %a2@(50)                               
   4a002:	6634           	bnes 4a038 <IMFS_rmnod+0x88>                <== NEVER TAKEN
                                                                      
    /*                                                                
     * Is rtems_filesystem_current this node?                         
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == pathloc->node_access )
   4a004:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   4a00a:	2653           	moveal %a3@,%a3                             
   4a00c:	b7e8 0004      	cmpal %a0@(4),%a3                           
   4a010:	6604           	bnes 4a016 <IMFS_rmnod+0x66>                <== ALWAYS TAKEN
       rtems_filesystem_current.node_access = NULL;                   
   4a012:	42a8 0004      	clrl %a0@(4)                                <== NOT EXECUTED
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
                                                                      
    if ( the_jnode->type == IMFS_SYM_LINK ) {                         
   4a016:	7004           	moveq #4,%d0                                
   4a018:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4a01c:	6610           	bnes 4a02e <IMFS_rmnod+0x7e>                
      if ( the_jnode->info.sym_link.name )                            
   4a01e:	202a 004c      	movel %a2@(76),%d0                          
   4a022:	670a           	beqs 4a02e <IMFS_rmnod+0x7e>                <== NEVER TAKEN
        free( (void*) the_jnode->info.sym_link.name );                
   4a024:	2f00           	movel %d0,%sp@-                             
   4a026:	4eb9 0004 2828 	jsr 42828 <free>                            
   4a02c:	588f           	addql #4,%sp                                
    }                                                                 
    free( the_jnode );                                                
   4a02e:	2f0a           	movel %a2,%sp@-                             
   4a030:	4eb9 0004 2828 	jsr 42828 <free>                            
   4a036:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  return 0;                                                           
                                                                      
}                                                                     
   4a038:	246e fff0      	moveal %fp@(-16),%a2                        
   4a03c:	4280           	clrl %d0                                    
   4a03e:	266e fff4      	moveal %fp@(-12),%a3                        
   4a042:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004a048 <IMFS_stat>: IMFS_device_t *io; the_jnode = loc->node_access; switch ( the_jnode->type ) {
   4a048:	7205           	moveq #5,%d1                                
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
   4a04a:	4e56 0000      	linkw %fp,#0                                
   4a04e:	206e 000c      	moveal %fp@(12),%a0                         
   4a052:	2f0a           	movel %a2,%sp@-                             
   4a054:	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;                                       
   4a058:	2252           	moveal %a2@,%a1                             
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
   4a05a:	2029 0048      	movel %a1@(72),%d0                          
   4a05e:	5580           	subql #2,%d0                                
   4a060:	b280           	cmpl %d0,%d1                                
   4a062:	653e           	bcss 4a0a2 <IMFS_stat+0x5a>                 <== NEVER TAKEN
   4a064:	303b 0a08      	movew %pc@(4a06e <IMFS_stat+0x26>,%d0:l:2),%d0
   4a068:	48c0           	extl %d0                                    
   4a06a:	4efb 0802      	jmp %pc@(4a06e <IMFS_stat+0x26>,%d0:l)      
   4a06e:	000c           	014                                         <== NOT EXECUTED
   4a070:	0034           	064                                         <== NOT EXECUTED
   4a072:	0026           	046                                         <== NOT EXECUTED
   4a074:	001c           	034                                         <== NOT EXECUTED
   4a076:	001c           	034                                         <== NOT EXECUTED
   4a078:	0026           	046                                         <== NOT EXECUTED
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
   4a07a:	2029 0050      	movel %a1@(80),%d0                          
   4a07e:	2169 004c 0016 	movel %a1@(76),%a0@(22)                     
   4a084:	2140 001a      	movel %d0,%a0@(26)                          
      break;                                                          
   4a088:	602a           	bras 4a0b4 <IMFS_stat+0x6c>                 
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
   4a08a:	2029 004c      	movel %a1@(76),%d0                          
   4a08e:	2229 0050      	movel %a1@(80),%d1                          
   4a092:	6004           	bras 4a098 <IMFS_stat+0x50>                 
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
   4a094:	4280           	clrl %d0                                    <== NOT EXECUTED
   4a096:	4281           	clrl %d1                                    <== NOT EXECUTED
   4a098:	2140 001e      	movel %d0,%a0@(30)                          
   4a09c:	2141 0022      	movel %d1,%a0@(34)                          
      break;                                                          
   4a0a0:	6012           	bras 4a0b4 <IMFS_stat+0x6c>                 
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
   4a0a2:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a0a8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a0aa:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4a0ac:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4a0b2:	6046           	bras 4a0fa <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;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4a0b4:	246a 0010      	moveal %a2@(16),%a2                         
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
   4a0b8:	4280           	clrl %d0                                    
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
   4a0ba:	2169 002e 000c 	movel %a1@(46),%a0@(12)                     
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
   4a0c0:	2169 0034 0008 	movel %a1@(52),%a0@(8)                      
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4a0c6:	246a 0034      	moveal %a2@(52),%a2                         
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
   4a0ca:	3169 0032 0010 	movew %a1@(50),%a0@(16)                     
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
   4a0d0:	2169 003c 0026 	movel %a1@(60),%a0@(38)                     
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4a0d6:	2212           	movel %a2@,%d1                              
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
   4a0d8:	3169 0038 0012 	movew %a1@(56),%a0@(18)                     
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
   4a0de:	2169 0040 002e 	movel %a1@(64),%a0@(46)                     
  buf->st_ctime = the_jnode->stat_ctime;                              
   4a0e4:	2169 0044 0036 	movel %a1@(68),%a0@(54)                     
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
  buf->st_ino   = the_jnode->st_ino;                                  
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
   4a0ea:	3169 003a 0014 	movew %a1@(58),%a0@(20)                     
  /*                                                                  
   * 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 =                                                       
   4a0f0:	2141 0004      	movel %d1,%a0@(4)                           
   4a0f4:	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;                                                           
}                                                                     
   4a0fa:	246e fffc      	moveal %fp@(-4),%a2                         
   4a0fe:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004208c <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
   4208c:	4e56 ffc4      	linkw %fp,#-60                              
   42090:	2f03           	movel %d3,%sp@-                             
   42092:	262e 0010      	movel %fp@(16),%d3                          
   42096:	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 );     
   42098:	240e           	movel %fp,%d2                               
   4209a:	0682 ffff ffc7 	addil #-57,%d2                              
   420a0:	2f03           	movel %d3,%sp@-                             
   420a2:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
   420a8:	588f           	addql #4,%sp                                
   420aa:	486e fffc      	pea %fp@(-4)                                
   420ae:	2f02           	movel %d2,%sp@-                             
   420b0:	2f00           	movel %d0,%sp@-                             
   420b2:	2f03           	movel %d3,%sp@-                             
   420b4:	4eb9 0004 9efc 	jsr 49efc <IMFS_get_token>                  
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
   420ba:	2f2e 000c      	movel %fp@(12),%sp@-                        
   420be:	4eb9 0004 f140 	jsr 4f140 <strdup>                          
  if (info.sym_link.name == NULL) {                                   
   420c4:	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);                             
   420c8:	2d40 ffe8      	movel %d0,%fp@(-24)                         
  if (info.sym_link.name == NULL) {                                   
   420cc:	6608           	bnes 420d6 <IMFS_symlink+0x4a>              <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   420ce:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   420d4:	6038           	bras 4210e <IMFS_symlink+0x82>              <== 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(                                        
   420d6:	486e ffe8      	pea %fp@(-24)                               
   420da:	2f3c 0000 a1ff 	movel #41471,%sp@-                          
   420e0:	2f02           	movel %d2,%sp@-                             
   420e2:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   420e6:	2f2e 0008      	movel %fp@(8),%sp@-                         
   420ea:	4eb9 0004 93e4 	jsr 493e4 <IMFS_create_node>                
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
   420f0:	4fef 0014      	lea %sp@(20),%sp                            
   420f4:	4a80           	tstl %d0                                    
   420f6:	6704           	beqs 420fc <IMFS_symlink+0x70>              <== NEVER TAKEN
   420f8:	4281           	clrl %d1                                    
   420fa:	601a           	bras 42116 <IMFS_symlink+0x8a>              
    free(info.sym_link.name);                                         
   420fc:	2f2e ffe8      	movel %fp@(-24),%sp@-                       <== NOT EXECUTED
   42100:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   42106:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4210c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4210e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42110:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   42112:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   42114:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   42116:	242e ffbc      	movel %fp@(-68),%d2                         
   4211a:	2001           	movel %d1,%d0                               
   4211c:	262e ffc0      	movel %fp@(-64),%d3                         
   42120:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042124 <IMFS_unlink>: /* * If this is the last last pointer to the node * free the node. */ if ( node->type == IMFS_HARD_LINK ) {
   42124:	7003           	moveq #3,%d0                                
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
   42126:	4e56 ffd0      	linkw %fp,#-48                              
   4212a:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   4212e:	246e 000c      	moveal %fp@(12),%a2                         
   42132:	262e 0008      	movel %fp@(8),%d3                           
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
   42136:	2652           	moveal %a2@,%a3                             
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
   42138:	b0ab 0048      	cmpl %a3@(72),%d0                           
   4213c:	6600 0086      	bnew 421c4 <IMFS_unlink+0xa0>               
                                                                      
    if ( !node->info.hard_link.link_node )                            
   42140:	282b 004c      	movel %a3@(76),%d4                          
   42144:	6610           	bnes 42156 <IMFS_unlink+0x32>               <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   42146:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4214c:	7216           	moveq #22,%d1                               <== NOT EXECUTED
   4214e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42150:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42152:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   42154:	607e           	bras 421d4 <IMFS_unlink+0xb0>               <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
   42156:	4878 0014      	pea 14 <OPER2>                              
   4215a:	240e           	movel %fp,%d2                               
   4215c:	0682 ffff ffe4 	addil #-28,%d2                              
   42162:	2f0a           	movel %a2,%sp@-                             
   42164:	2f02           	movel %d2,%sp@-                             
   42166:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
    the_link.node_access = node->info.hard_link.link_node;            
   4216c:	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)               
   42170:	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 );                                   
   42172:	2f02           	movel %d2,%sp@-                             
   42174:	4eb9 0004 94f8 	jsr 494f8 <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)               
   4217a:	206b 004c      	moveal %a3@(76),%a0                         
   4217e:	4281           	clrl %d1                                    
   42180:	4fef 0010      	lea %sp@(16),%sp                            
   42184:	3028 0032      	movew %a0@(50),%d0                          
   42188:	3200           	movew %d0,%d1                               
   4218a:	b881           	cmpl %d1,%d4                                
   4218c:	6618           	bnes 421a6 <IMFS_unlink+0x82>               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
   4218e:	2f02           	movel %d2,%sp@-                             
   42190:	206e ffec      	moveal %fp@(-20),%a0                        
   42194:	2f03           	movel %d3,%sp@-                             
   42196:	2068 0034      	moveal %a0@(52),%a0                         
   4219a:	4e90           	jsr %a0@                                    
        if ( result != 0 )                                            
   4219c:	508f           	addql #8,%sp                                
   4219e:	4a80           	tstl %d0                                    
   421a0:	6722           	beqs 421c4 <IMFS_unlink+0xa0>               
   421a2:	70ff           	moveq #-1,%d0                               
   421a4:	602e           	bras 421d4 <IMFS_unlink+0xb0>               
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
   421a6:	5380           	subql #1,%d0                                
   421a8:	3140 0032      	movew %d0,%a0@(50)                          
        IMFS_update_ctime( node->info.hard_link.link_node );          
   421ac:	42a7           	clrl %sp@-                                  
   421ae:	486e fff8      	pea %fp@(-8)                                
   421b2:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   421b8:	206b 004c      	moveal %a3@(76),%a0                         
   421bc:	508f           	addql #8,%sp                                
   421be:	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 );               
   421c4:	2f0a           	movel %a2,%sp@-                             
   421c6:	206a 0008      	moveal %a2@(8),%a0                          
   421ca:	2f03           	movel %d3,%sp@-                             
   421cc:	2068 0034      	moveal %a0@(52),%a0                         
   421d0:	4e90           	jsr %a0@                                    
                                                                      
  return result;                                                      
   421d2:	508f           	addql #8,%sp                                
}                                                                     
   421d4:	4cee 0c1c ffd0 	moveml %fp@(-48),%d2-%d4/%a2-%a3            
   421da:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000421e0 <IMFS_unmount>: /* * Is the node that we are mounting onto a directory node ? */ if ( node->type != IMFS_DIRECTORY )
   421e0:	7001           	moveq #1,%d0                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
   421e2:	4e56 0000      	linkw %fp,#0                                
   421e6:	206e 0008      	moveal %fp@(8),%a0                          
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
   421ea:	2068 0008      	moveal %a0@(8),%a0                          
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
   421ee:	b0a8 0048      	cmpl %a0@(72),%d0                           
   421f2:	6710           	beqs 42204 <IMFS_unmount+0x24>              <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   421f4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   421fa:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   421fc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   421fe:	7014           	moveq #20,%d0                               <== NOT EXECUTED
   42200:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42202:	601c           	bras 42220 <IMFS_unmount+0x40>              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
   42204:	4aa8 0058      	tstl %a0@(88)                               
   42208:	6610           	bnes 4221a <IMFS_unmount+0x3a>              <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
   4220a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42210:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   42212:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42214:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   42216:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42218:	6006           	bras 42220 <IMFS_unmount+0x40>              <== 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;                                  
   4221a:	42a8 0058      	clrl %a0@(88)                               
   4221e:	4281           	clrl %d1                                    
                                                                      
  return 0;                                                           
}                                                                     
   42220:	2001           	movel %d1,%d0                               
   42222:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042a50 <RTEMS_Malloc_Initialize>: void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, size_t sbrk_amount ) {
   42a50:	4e56 0000      	linkw %fp,#0                                
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
   42a54:	2079 0005 dd66 	moveal 5dd66 <rtems_malloc_statistics_helpers>,%a0
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
   42a5a:	2f03           	movel %d3,%sp@-                             
   42a5c:	262e 0008      	movel %fp@(8),%d3                           
   42a60:	2f02           	movel %d2,%sp@-                             
   42a62:	242e 000c      	movel %fp@(12),%d2                          
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
   42a66:	4a88           	tstl %a0                                    
   42a68:	6704           	beqs 42a6e <RTEMS_Malloc_Initialize+0x1e>   <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->initialize)();                 
   42a6a:	2050           	moveal %a0@,%a0                             <== NOT EXECUTED
   42a6c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
   42a6e:	4eb9 0004 29de 	jsr 429de <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
   42a74:	2079 0005 dd6a 	moveal 5dd6a <rtems_malloc_sbrk_helpers>,%a0
   42a7a:	4a88           	tstl %a0                                    
   42a7c:	6712           	beqs 42a90 <RTEMS_Malloc_Initialize+0x40>   <== ALWAYS TAKEN
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
   42a7e:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
   42a82:	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)(  
   42a84:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42a86:	2050           	moveal %a0@,%a0                             <== NOT EXECUTED
   42a88:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
   42a8a:	508f           	addql #8,%sp                                <== NOT EXECUTED
   42a8c:	9480           	subl %d0,%d2                                <== NOT EXECUTED
   42a8e:	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 (                                                                
   42a90:	4a39 0005 dd65 	tstb 5dd65 <rtems_unified_work_area>        
   42a96:	6618           	bnes 42ab0 <RTEMS_Malloc_Initialize+0x60>   
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
   42a98:	4a39 0005 d78c 	tstb 5d78c <Configuration+0x28>             
   42a9e:	6710           	beqs 42ab0 <RTEMS_Malloc_Initialize+0x60>   
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
   42aa0:	2f02           	movel %d2,%sp@-                             
   42aa2:	42a7           	clrl %sp@-                                  
   42aa4:	2f03           	movel %d3,%sp@-                             
   42aa6:	4eb9 0004 ea34 	jsr 4ea34 <memset>                          
   42aac:	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 ) {                                   
   42ab0:	4a39 0005 dd65 	tstb 5dd65 <rtems_unified_work_area>        
   42ab6:	6626           	bnes 42ade <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 );  
   42ab8:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   42abc:	2f02           	movel %d2,%sp@-                             
   42abe:	2f03           	movel %d3,%sp@-                             
   42ac0:	2f39 0005 d6c0 	movel 5d6c0 <RTEMS_Malloc_Heap>,%sp@-       
   42ac6:	4eb9 0004 6658 	jsr 46658 <_Heap_Initialize>                
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
   42acc:	4fef 0010      	lea %sp@(16),%sp                            
   42ad0:	4a80           	tstl %d0                                    
   42ad2:	660a           	bnes 42ade <RTEMS_Malloc_Initialize+0x8e>   <== ALWAYS TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
   42ad4:	4878 001a      	pea 1a <OPER2+0x6>                          <== NOT EXECUTED
   42ad8:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   42ade:	2f39 0005 d6c0 	movel 5d6c0 <RTEMS_Malloc_Heap>,%sp@-       
   42ae4:	2439 0005 edf4 	movel 5edf4 <rtems_malloc_statistics>,%d2   
   42aea:	4eb9 0004 7158 	jsr 47158 <_Protected_heap_Get_size>        
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
   42af0:	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) );
   42af4:	d082           	addl %d2,%d0                                
   42af6:	588f           	addql #4,%sp                                
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
   42af8:	242e fff8      	movel %fp@(-8),%d2                          
   42afc:	4e5e           	unlk %fp                                    
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   42afe:	23c0 0005 edf4 	movel %d0,5edf4 <rtems_malloc_statistics>   
      printk( "\n" );                                                 
      rtems_print_buffer( (heap_begin + heap_size) - 48, 48 );        
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  #endif                                                              
}                                                                     
	...                                                                  
                                                                      

00041d3e <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
   41d3e:	4e56 ffe0      	linkw %fp,#-32                              <== NOT EXECUTED
   41d42:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 <== NOT EXECUTED
   41d46:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  void           *high_water_mark;                                    
  void           *current;                                            
  Stack_Control  *stack;                                              
  char            name[5];                                            
                                                                      
  if ( !the_thread )                                                  
   41d4a:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   41d4c:	6700 0100      	beqw 41e4e <Stack_check_Dump_threads_usage+0x110><== NOT EXECUTED
    return;                                                           
                                                                      
  if ( !print_handler )                                               
   41d50:	2879 0005 ebbc 	moveal 5ebbc <print_handler>,%a4            <== NOT EXECUTED
   41d56:	4a8c           	tstl %a4                                    <== NOT EXECUTED
   41d58:	6700 00f4      	beqw 41e4e <Stack_check_Dump_threads_usage+0x110><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
                                                                      
  if (the_thread == (Thread_Control *) -1) {                          
   41d5c:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41d5e:	b08a           	cmpl %a2,%d0                                <== NOT EXECUTED
   41d60:	6616           	bnes 41d78 <Stack_check_Dump_threads_usage+0x3a><== NOT EXECUTED
    if (Stack_check_Interrupt_stack.area) {                           
   41d62:	4ab9 0005 f3d8 	tstl 5f3d8 <Stack_check_Interrupt_stack+0x4><== NOT EXECUTED
   41d68:	6700 00e4      	beqw 41e4e <Stack_check_Dump_threads_usage+0x110><== NOT EXECUTED
   41d6c:	47f9 0005 f3d4 	lea 5f3d4 <Stack_check_Interrupt_stack>,%a3 <== NOT EXECUTED
   41d72:	4284           	clrl %d4                                    <== NOT EXECUTED
   41d74:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
   41d76:	6008           	bras 41d80 <Stack_check_Dump_threads_usage+0x42><== NOT EXECUTED
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
   41d78:	282a 00fe      	movel %a2@(254),%d4                         <== NOT EXECUTED
      current = 0;                                                    
    }                                                                 
    else                                                              
      return;                                                         
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
   41d7c:	47ea 00be      	lea %a2@(190),%a3                           <== NOT EXECUTED
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
   41d80:	2613           	movel %a3@,%d3                              <== NOT EXECUTED
   41d82:	0683 ffff fff0 	addil #-16,%d3                              <== NOT EXECUTED
  } else {                                                            
    stack  = &the_thread->Start.Initial_stack;                        
    current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );  
  }                                                                   
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
   41d88:	242b 0004      	movel %a3@(4),%d2                           <== NOT EXECUTED
   41d8c:	0682 0000 0010 	addil #16,%d2                               <== NOT EXECUTED
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
   41d92:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   41d94:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   41d96:	4eb9 0004 1d0e 	jsr 41d0e <Stack_check_find_high_water_mark><== NOT EXECUTED
                                                                      
  if ( high_water_mark )                                              
   41d9c:	508f           	addql #8,%sp                                <== NOT EXECUTED
   41d9e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   41da0:	6604           	bnes 41da6 <Stack_check_Dump_threads_usage+0x68><== NOT EXECUTED
   41da2:	4282           	clrl %d2                                    <== NOT EXECUTED
   41da4:	6004           	bras 41daa <Stack_check_Dump_threads_usage+0x6c><== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
   41da6:	d483           	addl %d3,%d2                                <== NOT EXECUTED
   41da8:	9480           	subl %d0,%d2                                <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
  if ( the_thread ) {                                                 
   41daa:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   41dac:	672c           	beqs 41dda <Stack_check_Dump_threads_usage+0x9c><== NOT EXECUTED
    (*print_handler)(                                                 
   41dae:	486e fffb      	pea %fp@(-5)                                <== NOT EXECUTED
   41db2:	4878 0005      	pea 5 <COMPARE>                             <== NOT EXECUTED
   41db6:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   41dba:	4eb9 0004 5994 	jsr 45994 <rtems_object_get_name>           <== NOT EXECUTED
   41dc0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41dc2:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   41dc6:	4879 0005 c340 	pea 5c340 <IntUartPollCallbacks.6645+0x20>  <== NOT EXECUTED
   41dcc:	2f39 0005 ebb8 	movel 5ebb8 <print_context>,%sp@-           <== NOT EXECUTED
   41dd2:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   41dd4:	4fef 001c      	lea %sp@(28),%sp                            <== NOT EXECUTED
   41dd8:	6016           	bras 41df0 <Stack_check_Dump_threads_usage+0xb2><== 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 );   
   41dda:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   41dde:	4879 0005 c34d 	pea 5c34d <IntUartPollCallbacks.6645+0x2d>  <== NOT EXECUTED
   41de4:	2f39 0005 ebb8 	movel 5ebb8 <print_context>,%sp@-           <== NOT EXECUTED
   41dea:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   41dec:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
                                                                      
  (*print_handler)(                                                   
   41df0:	206b 0004      	moveal %a3@(4),%a0                          <== NOT EXECUTED
   41df4:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   41df6:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   41df8:	2013           	movel %a3@,%d0                              <== NOT EXECUTED
   41dfa:	5380           	subql #1,%d0                                <== NOT EXECUTED
   41dfc:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   41e00:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   41e02:	4879 0005 c35b 	pea 5c35b <IntUartPollCallbacks.6645+0x3b>  <== NOT EXECUTED
   41e08:	2f39 0005 ebb8 	movel 5ebb8 <print_context>,%sp@-           <== NOT EXECUTED
   41e0e:	2079 0005 ebbc 	moveal 5ebbc <print_handler>,%a0            <== NOT EXECUTED
   41e14:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   41e16:	2079 0005 ebbc 	moveal 5ebbc <print_handler>,%a0            <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
   41e1c:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   41e20:	4ab9 0005 ebb4 	tstl 5ebb4 <Stack_check_Initialized>        <== NOT EXECUTED
   41e26:	6612           	bnes 41e3a <Stack_check_Dump_threads_usage+0xfc><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
   41e28:	4879 0005 c379 	pea 5c379 <IntUartPollCallbacks.6645+0x59>  <== NOT EXECUTED
   41e2e:	2f39 0005 ebb8 	movel 5ebb8 <print_context>,%sp@-           <== NOT EXECUTED
   41e34:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   41e36:	508f           	addql #8,%sp                                <== NOT EXECUTED
   41e38:	6014           	bras 41e4e <Stack_check_Dump_threads_usage+0x110><== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
   41e3a:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   41e3c:	4879 0005 c386 	pea 5c386 <IntUartPollCallbacks.6645+0x66>  <== NOT EXECUTED
   41e42:	2f39 0005 ebb8 	movel 5ebb8 <print_context>,%sp@-           <== NOT EXECUTED
   41e48:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   41e4a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
   41e4e:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   41e54:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042066 <Stack_check_Initialize>: /* * Stack_check_Initialize */ void Stack_check_Initialize( void ) {
   42066:	4e56 0000      	linkw %fp,#0                                
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if (Stack_check_Initialized)                                        
   4206a:	4ab9 0005 ebb4 	tstl 5ebb4 <Stack_check_Initialized>        
   42070:	6656           	bnes 420c8 <Stack_check_Initialize+0x62>    
   42072:	41f9 0005 f3c4 	lea 5f3c4 <Stack_check_Pattern>,%a0         
   42078:	4280           	clrl %d0                                    
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
   4207a:	43f9 0005 c4be 	lea 5c4be <pattern.4584>,%a1                
   42080:	7203           	moveq #3,%d1                                
   42082:	c280           	andl %d0,%d1                                
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
   42084:	5280           	addql #1,%d0                                
      p[i] = pattern[ i%4 ];                                          
   42086:	20f1 1c00      	movel %a1@(00000000,%d1:l:4),%a0@+          
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
   4208a:	7204           	moveq #4,%d1                                
   4208c:	b280           	cmpl %d0,%d1                                
   4208e:	66f0           	bnes 42080 <Stack_check_Initialize+0x1a>    
  /*                                                                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
   42090:	2039 0005 f550 	movel 5f550 <_CPU_Interrupt_stack_low>,%d0  
   42096:	6728           	beqs 420c0 <Stack_check_Initialize+0x5a>    <== NEVER TAKEN
   42098:	2239 0005 f4f4 	movel 5f4f4 <_CPU_Interrupt_stack_high>,%d1 
   4209e:	6720           	beqs 420c0 <Stack_check_Initialize+0x5a>    <== NEVER TAKEN
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
   420a0:	9280           	subl %d0,%d1                                
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   420a2:	2f01           	movel %d1,%sp@-                             
   420a4:	4878 00a5      	pea a5 <DBL_MANT_DIG+0x70>                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
   420a8:	23c0 0005 f3d8 	movel %d0,5f3d8 <Stack_check_Interrupt_stack+0x4>
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   420ae:	2f00           	movel %d0,%sp@-                             
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
   420b0:	23c1 0005 f3d4 	movel %d1,5f3d4 <Stack_check_Interrupt_stack>
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   420b6:	4eb9 0004 ef48 	jsr 4ef48 <memset>                          
   420bc:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
   420c0:	7001           	moveq #1,%d0                                
   420c2:	23c0 0005 ebb4 	movel %d0,5ebb4 <Stack_check_Initialized>   
}                                                                     
   420c8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041d0e <Stack_check_find_high_water_mark>: * start at lower memory and find first word that does not * match pattern */ base += PATTERN_SIZE_WORDS; for (ebase = base + length; base < ebase; base++)
   41d0e:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
 */                                                                   
void *Stack_check_find_high_water_mark(                               
  const void *s,                                                      
  size_t      n                                                       
)                                                                     
{                                                                     
   41d10:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
   41d14:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
   41d18:	41e8 0010      	lea %a0@(16),%a0                            <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
   41d1c:	c0ae 000c      	andl %fp@(12),%d0                           <== NOT EXECUTED
   41d20:	d088           	addl %a0,%d0                                <== NOT EXECUTED
   41d22:	6010           	bras 41d34 <Stack_check_find_high_water_mark+0x26><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
   41d24:	223c a5a5 a5a5 	movel #-1515870811,%d1                      <== NOT EXECUTED
   41d2a:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   41d2c:	6704           	beqs 41d32 <Stack_check_find_high_water_mark+0x24><== NOT EXECUTED
        return (void *) base;                                         
   41d2e:	2008           	movel %a0,%d0                               <== NOT EXECUTED
   41d30:	6008           	bras 41d3a <Stack_check_find_high_water_mark+0x2c><== NOT EXECUTED
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
   41d32:	5888           	addql #4,%a0                                <== NOT EXECUTED
   41d34:	b088           	cmpl %a0,%d0                                <== NOT EXECUTED
   41d36:	62ec           	bhis 41d24 <Stack_check_find_high_water_mark+0x16><== NOT EXECUTED
   41d38:	4280           	clrl %d0                                    <== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
        return (void *) base;                                         
  #endif                                                              
                                                                      
  return (void *)0;                                                   
}                                                                     
   41d3a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041ed2 <Stack_check_report_blown_task>: * * NOTE: The system is in a questionable state... we may not get * the following message out. */ void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) {
   41ed2:	4e56 ffd0      	linkw %fp,#-48                              <== NOT EXECUTED
   41ed6:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     <== 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");                                         
   41eda:	4879 0005 c3ed 	pea 5c3ed <IntUartPollCallbacks.6645+0xcd>  <== NOT EXECUTED
   41ee0:	45f9 0004 391c 	lea 4391c <printk>,%a2                      <== NOT EXECUTED
 *                                                                    
 *  NOTE: The system is in a questionable state... we may not get     
 *        the following message out.                                  
 */                                                                   
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
   41ee6:	266e 0008      	moveal %fp@(8),%a3                          <== NOT EXECUTED
   41eea:	242e 000c      	movel %fp@(12),%d2                          <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void *pattern_area = Stack_check_Get_pattern_area(stack);           
   41eee:	286b 00c2      	moveal %a3@(194),%a4                        <== NOT EXECUTED
  char name [32];                                                     
                                                                      
  printk("BLOWN STACK!!!\n");                                         
   41ef2:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
   41ef4:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   41ef6:	4879 0005 c3fd 	pea 5c3fd <IntUartPollCallbacks.6645+0xdd>  <== NOT EXECUTED
   41efc:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
   41efe:	2f2b 0008      	movel %a3@(8),%sp@-                         <== NOT EXECUTED
   41f02:	4879 0005 c41a 	pea 5c41a <IntUartPollCallbacks.6645+0xfa>  <== NOT EXECUTED
   41f08:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  printk(                                                             
   41f0a:	2f2b 000c      	movel %a3@(12),%sp@-                        <== NOT EXECUTED
   41f0e:	4879 0005 c42c 	pea 5c42c <IntUartPollCallbacks.6645+0x10c> <== NOT EXECUTED
   41f14:	4e92           	jsr %a2@                                    <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
   41f16:	486e ffe0      	pea %fp@(-32)                               <== NOT EXECUTED
   41f1a:	4878 0020      	pea 20 <OPER2+0xc>                          <== NOT EXECUTED
   41f1e:	2f2b 0008      	movel %a3@(8),%sp@-                         <== NOT EXECUTED
   41f22:	4eb9 0004 5994 	jsr 45994 <rtems_object_get_name>           <== NOT EXECUTED
   41f28:	4fef 0024      	lea %sp@(36),%sp                            <== NOT EXECUTED
   41f2c:	2e80           	movel %d0,%sp@                              <== NOT EXECUTED
   41f2e:	4879 0005 c440 	pea 5c440 <IntUartPollCallbacks.6645+0x120> <== NOT EXECUTED
   41f34:	4e92           	jsr %a2@                                    <== NOT EXECUTED
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
   41f36:	202b 00be      	movel %a3@(190),%d0                         <== NOT EXECUTED
   41f3a:	206b 00c2      	moveal %a3@(194),%a0                        <== NOT EXECUTED
   41f3e:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   41f42:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   41f44:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41f46:	4879 0005 c456 	pea 5c456 <IntUartPollCallbacks.6645+0x136> <== NOT EXECUTED
   41f4c:	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) {                                                  
   41f4e:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   41f52:	4a02           	tstb %d2                                    <== NOT EXECUTED
   41f54:	6618           	bnes 41f6e <Stack_check_report_blown_task+0x9c><== NOT EXECUTED
    printk(                                                           
   41f56:	486c 0018      	pea %a4@(24)                                <== NOT EXECUTED
   41f5a:	486c 0008      	pea %a4@(8)                                 <== NOT EXECUTED
   41f5e:	4878 0010      	pea 10 <INVALID_OPERATION>                  <== NOT EXECUTED
   41f62:	4879 0005 c487 	pea 5c487 <IntUartPollCallbacks.6645+0x167> <== NOT EXECUTED
   41f68:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   41f6a:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
   41f6e:	4878 0081      	pea 81 <DBL_MANT_DIG+0x4c>                  <== NOT EXECUTED
   41f72:	4eb9 0004 6218 	jsr 46218 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

0004612c <_API_Mutex_Unlock>: #include <rtems/score/apimutex.h> void _API_Mutex_Unlock( API_Mutex_Control *the_mutex ) {
   4612c:	4e56 0000      	linkw %fp,#0                                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   46130:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   46136:	5280           	addql #1,%d0                                
   46138:	206e 0008      	moveal %fp@(8),%a0                          
   4613c:	23c0 0005 ef3c 	movel %d0,5ef3c <_Thread_Dispatch_disable_level>
  _Thread_Disable_dispatch();                                         
    _CORE_mutex_Surrender(                                            
   46142:	42a7           	clrl %sp@-                                  
   46144:	2f28 0008      	movel %a0@(8),%sp@-                         
   46148:	4868 0010      	pea %a0@(16)                                
   4614c:	4eb9 0004 63b4 	jsr 463b4 <_CORE_mutex_Surrender>           
      &the_mutex->Mutex,                                              
      the_mutex->Object.id,                                           
      NULL                                                            
   );                                                                 
  _Thread_Enable_dispatch();                                          
   46152:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   46156:	4e5e           	unlk %fp                                    
    _CORE_mutex_Surrender(                                            
      &the_mutex->Mutex,                                              
      the_mutex->Object.id,                                           
      NULL                                                            
   );                                                                 
  _Thread_Enable_dispatch();                                          
   46158:	4ef9 0004 76b2 	jmp 476b2 <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

000480e4 <_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 );
   480e4:	203c 0000 0700 	movel #1792,%d0                             
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
   480ea:	4e56 ffe8      	linkw %fp,#-24                              
   480ee:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   480f2:	246e 0008      	moveal %fp@(8),%a2                          
   480f6:	282e 000c      	movel %fp@(12),%d4                          
   480fa:	262e 0014      	movel %fp@(20),%d3                          
   480fe:	1a2e 0013      	moveb %fp@(19),%d5                          
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
   48102:	2679 0006 197a 	moveal 6197a <_Thread_Executing>,%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 );                                              
   48108:	40c2           	movew %sr,%d2                               
   4810a:	8082           	orl %d2,%d0                                 
   4810c:	46c0           	movew %d0,%sr                               
    switch ( the_rwlock->current_state ) {                            
   4810e:	202a 0044      	movel %a2@(68),%d0                          
   48112:	6708           	beqs 4811c <_CORE_RWLock_Obtain_for_reading+0x38>
   48114:	7201           	moveq #1,%d1                                
   48116:	b280           	cmpl %d0,%d1                                
   48118:	662a           	bnes 48144 <_CORE_RWLock_Obtain_for_reading+0x60>
   4811a:	600e           	bras 4812a <_CORE_RWLock_Obtain_for_reading+0x46>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;          
   4811c:	7001           	moveq #1,%d0                                
	the_rwlock->number_of_readers += 1;                                  
   4811e:	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;          
   48122:	2540 0044      	movel %d0,%a2@(68)                          
	the_rwlock->number_of_readers += 1;                                  
	_ISR_Enable( level );                                                
   48126:	46c2           	movew %d2,%sr                               
   48128:	6014           	bras 4813e <_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 );      
   4812a:	2f0a           	movel %a2,%sp@-                             
   4812c:	4eb9 0004 9c64 	jsr 49c64 <_Thread_queue_First>             
        if ( !waiter ) {                                              
   48132:	588f           	addql #4,%sp                                
   48134:	4a80           	tstl %d0                                    
   48136:	660c           	bnes 48144 <_CORE_RWLock_Obtain_for_reading+0x60><== NEVER TAKEN
	  the_rwlock->number_of_readers += 1;                                
   48138:	52aa 0048      	addql #1,%a2@(72)                           
	  _ISR_Enable( level );                                              
   4813c:	46c2           	movew %d2,%sr                               
	  executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;              
   4813e:	42ab 0034      	clrl %a3@(52)                               
          return;                                                     
   48142:	6046           	bras 4818a <_CORE_RWLock_Obtain_for_reading+0xa6>
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
   48144:	4a05           	tstb %d5                                    
   48146:	660a           	bnes 48152 <_CORE_RWLock_Obtain_for_reading+0x6e>
      _ISR_Enable( level );                                           
   48148:	46c2           	movew %d2,%sr                               
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   4814a:	7202           	moveq #2,%d1                                
   4814c:	2741 0034      	movel %d1,%a3@(52)                          
   48150:	6038           	bras 4818a <_CORE_RWLock_Obtain_for_reading+0xa6>
   48152:	7001           	moveq #1,%d0                                
     *  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;            
    executing->Wait.id          = id;                                 
   48154:	2744 0020      	movel %d4,%a3@(32)                          
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
   48158:	42ab 0034      	clrl %a3@(52)                               
    /*                                                                
     *  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;            
   4815c:	274a 0044      	movel %a2,%a3@(68)                          
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_READ;
   48160:	42ab 0030      	clrl %a3@(48)                               
   48164:	2540 0030      	movel %d0,%a2@(48)                          
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
   48168:	46c2           	movew %d2,%sr                               
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   4816a:	2d43 000c      	movel %d3,%fp@(12)                          
   4816e:	223c 0004 82d4 	movel #295636,%d1                           
   48174:	2d4a 0008      	movel %a2,%fp@(8)                           
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   48178:	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(                               
   4817e:	2d41 0010      	movel %d1,%fp@(16)                          
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   48182:	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(                               
   48184:	4ef9 0004 9964 	jmp 49964 <_Thread_queue_Enqueue_with_handler>
       timeout,                                                       
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   4818a:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   48190:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048220 <_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 );
   48220:	223c 0000 0700 	movel #1792,%d1                             
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
   48226:	4e56 fff0      	linkw %fp,#-16                              
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
   4822a:	2079 0006 197a 	moveal 6197a <_Thread_Executing>,%a0        
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
   48230:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   48234:	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 );                                              
   48238:	40c0           	movew %sr,%d0                               
   4823a:	8280           	orl %d0,%d1                                 
   4823c:	46c1           	movew %d1,%sr                               
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
   4823e:	222a 0044      	movel %a2@(68),%d1                          
   48242:	660a           	bnes 4824e <_CORE_RWLock_Release+0x2e>      
      _ISR_Enable( level );                                           
   48244:	46c0           	movew %d0,%sr                               
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   48246:	7002           	moveq #2,%d0                                
   48248:	2140 0034      	movel %d0,%a0@(52)                          
      return CORE_RWLOCK_SUCCESSFUL;                                  
   4824c:	6078           	bras 482c6 <_CORE_RWLock_Release+0xa6>      
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
   4824e:	7401           	moveq #1,%d2                                
   48250:	b481           	cmpl %d1,%d2                                
   48252:	6610           	bnes 48264 <_CORE_RWLock_Release+0x44>      
	the_rwlock->number_of_readers -= 1;                                  
   48254:	222a 0048      	movel %a2@(72),%d1                          
   48258:	5381           	subql #1,%d1                                
   4825a:	2541 0048      	movel %d1,%a2@(72)                          
	if ( the_rwlock->number_of_readers != 0 ) {                          
   4825e:	6704           	beqs 48264 <_CORE_RWLock_Release+0x44>      
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
   48260:	46c0           	movew %d0,%sr                               
          return CORE_RWLOCK_SUCCESSFUL;                              
   48262:	6062           	bras 482c6 <_CORE_RWLock_Release+0xa6>      
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
   48264:	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;                 
   48268:	42aa 0044      	clrl %a2@(68)                               
  _ISR_Enable( level );                                               
   4826c:	46c0           	movew %d0,%sr                               
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
   4826e:	2f0a           	movel %a2,%sp@-                             
   48270:	4eb9 0004 9824 	jsr 49824 <_Thread_queue_Dequeue>           
                                                                      
  if ( next ) {                                                       
   48276:	588f           	addql #4,%sp                                
   48278:	4a80           	tstl %d0                                    
   4827a:	674a           	beqs 482c6 <_CORE_RWLock_Release+0xa6>      
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
   4827c:	7201           	moveq #1,%d1                                
   4827e:	2040           	moveal %d0,%a0                              
   48280:	b2a8 0030      	cmpl %a0@(48),%d1                           
   48284:	6608           	bnes 4828e <_CORE_RWLock_Release+0x6e>      
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
   48286:	7002           	moveq #2,%d0                                
   48288:	2540 0044      	movel %d0,%a2@(68)                          
      return CORE_RWLOCK_SUCCESSFUL;                                  
   4828c:	6038           	bras 482c6 <_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;       
   4828e:	7201           	moveq #1,%d1                                
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
   48290:	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 );          
   48294:	49f9 0004 9c64 	lea 49c64 <_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 );         
   4829a:	47f9 0004 9b38 	lea 49b38 <_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;       
   482a0:	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 );          
   482a4:	2f0a           	movel %a2,%sp@-                             
   482a6:	4e94           	jsr %a4@                                    
      if ( !next ||                                                   
   482a8:	588f           	addql #4,%sp                                
   482aa:	4a80           	tstl %d0                                    
   482ac:	6718           	beqs 482c6 <_CORE_RWLock_Release+0xa6>      
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
   482ae:	7401           	moveq #1,%d2                                
   482b0:	2040           	moveal %d0,%a0                              
   482b2:	b4a8 0030      	cmpl %a0@(48),%d2                           
   482b6:	670e           	beqs 482c6 <_CORE_RWLock_Release+0xa6>      <== NEVER TAKEN
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
   482b8:	52aa 0048      	addql #1,%a2@(72)                           
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
   482bc:	2f00           	movel %d0,%sp@-                             
   482be:	2f0a           	movel %a2,%sp@-                             
   482c0:	4e93           	jsr %a3@                                    
    }                                                                 
   482c2:	508f           	addql #8,%sp                                
   482c4:	60de           	bras 482a4 <_CORE_RWLock_Release+0x84>      
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   482c6:	4280           	clrl %d0                                    
   482c8:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   482ce:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000482d4 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
   482d4:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   482d8:	486e fffc      	pea %fp@(-4)                                
   482dc:	2f2e 0008      	movel %fp@(8),%sp@-                         
   482e0:	4eb9 0004 94f0 	jsr 494f0 <_Thread_Get>                     
  switch ( location ) {                                               
   482e6:	508f           	addql #8,%sp                                
   482e8:	4aae fffc      	tstl %fp@(-4)                               
   482ec:	6618           	bnes 48306 <_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 );                    
   482ee:	2f00           	movel %d0,%sp@-                             
   482f0:	4eb9 0004 9d48 	jsr 49d48 <_Thread_queue_Process_timeout>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   482f6:	588f           	addql #4,%sp                                
   482f8:	2039 0006 18c0 	movel 618c0 <_Thread_Dispatch_disable_level>,%d0
   482fe:	5380           	subql #1,%d0                                
   48300:	23c0 0006 18c0 	movel %d0,618c0 <_Thread_Dispatch_disable_level>
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   48306:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b640 <_CORE_barrier_Wait>: Thread_Control *executing; ISR_Level level; executing = _Thread_Executing; executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL; _ISR_Disable( level );
   4b640:	203c 0000 0700 	movel #1792,%d0                             
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   4b646:	4e56 fff4      	linkw %fp,#-12                              
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
   4b64a:	2279 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a1        
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   4b650:	48d7 001c      	moveml %d2-%d4,%sp@                         
   4b654:	242e 000c      	movel %fp@(12),%d2                          
   4b658:	262e 0014      	movel %fp@(20),%d3                          
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL;       
   4b65c:	42a9 0034      	clrl %a1@(52)                               
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   4b660:	206e 0008      	moveal %fp@(8),%a0                          
   4b664:	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 );                                              
   4b668:	40c1           	movew %sr,%d1                               
   4b66a:	8081           	orl %d1,%d0                                 
   4b66c:	46c0           	movew %d0,%sr                               
  the_barrier->number_of_waiting_threads++;                           
   4b66e:	2028 0048      	movel %a0@(72),%d0                          
   4b672:	5280           	addql #1,%d0                                
   4b674:	2140 0048      	movel %d0,%a0@(72)                          
  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {     
   4b678:	4aa8 0040      	tstl %a0@(64)                               
   4b67c:	6626           	bnes 4b6a4 <_CORE_barrier_Wait+0x64>        
    if ( the_barrier->number_of_waiting_threads ==                    
	 the_barrier->Attributes.maximum_count) {                            
   4b67e:	b0a8 0044      	cmpl %a0@(68),%d0                           
   4b682:	6620           	bnes 4b6a4 <_CORE_barrier_Wait+0x64>        
      executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
   4b684:	7001           	moveq #1,%d0                                
   4b686:	2340 0034      	movel %d0,%a1@(52)                          
      _ISR_Enable( level );                                           
   4b68a:	46c1           	movew %d1,%sr                               
      _CORE_barrier_Release( the_barrier, id, api_barrier_mp_support );
   4b68c:	2d44 0010      	movel %d4,%fp@(16)                          
   4b690:	2d42 000c      	movel %d2,%fp@(12)                          
   4b694:	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 );         
}                                                                     
   4b698:	4cd7 001c      	moveml %sp@,%d2-%d4                         
   4b69c:	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 );
   4b69e:	4ef9 0004 b60c 	jmp 4b60c <_CORE_barrier_Release>           
   4b6a4:	7001           	moveq #1,%d0                                
    }                                                                 
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );   
  executing->Wait.queue          = &the_barrier->Wait_queue;          
  executing->Wait.id             = id;                                
   4b6a6:	2342 0020      	movel %d2,%a1@(32)                          
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );   
  executing->Wait.queue          = &the_barrier->Wait_queue;          
   4b6aa:	2348 0044      	movel %a0,%a1@(68)                          
   4b6ae:	2140 0030      	movel %d0,%a0@(48)                          
  executing->Wait.id             = id;                                
  _ISR_Enable( level );                                               
   4b6b2:	46c1           	movew %d1,%sr                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
   4b6b4:	2d43 000c      	movel %d3,%fp@(12)                          
   4b6b8:	203c 0004 7e38 	movel #294456,%d0                           
   4b6be:	2d48 0008      	movel %a0,%fp@(8)                           
   4b6c2:	2d40 0010      	movel %d0,%fp@(16)                          
}                                                                     
   4b6c6:	4cd7 001c      	moveml %sp@,%d2-%d4                         
   4b6ca:	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 );         
   4b6cc:	4ef9 0004 7b4c 	jmp 47b4c <_Thread_queue_Enqueue_with_handler>
	...                                                                  
                                                                      

00052940 <_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 ) {
   52940:	4e56 ffe0      	linkw %fp,#-32                              
   52944:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   52948:	246e 0008      	moveal %fp@(8),%a2                          
   5294c:	2a2e 000c      	movel %fp@(12),%d5                          
   52950:	262e 0010      	movel %fp@(16),%d3                          
   52954:	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 ) {             
   52958:	b6aa 004c      	cmpl %a2@(76),%d3                           
   5295c:	6304           	blss 52962 <_CORE_message_queue_Broadcast+0x22><== ALWAYS TAKEN
   5295e:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   52960:	6042           	bras 529a4 <_CORE_message_queue_Broadcast+0x64><== NOT EXECUTED
   *  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 ) {         
   52962:	4aaa 0048      	tstl %a2@(72)                               
   52966:	6610           	bnes 52978 <_CORE_message_queue_Broadcast+0x38>
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
   52968:	4282           	clrl %d2                                    
   5296a:	283c 0005 4ccc 	movel #347340,%d4                           
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   52970:	4bf9 0005 bb10 	lea 5bb10 <memcpy>,%a5                      
   52976:	601a           	bras 52992 <_CORE_message_queue_Broadcast+0x52>
   *        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;                                                       
   52978:	4294           	clrl %a4@                                   
   5297a:	6026           	bras 529a2 <_CORE_message_queue_Broadcast+0x62>
   5297c:	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;                                          
   5297e:	5282           	addql #1,%d2                                
   52980:	2f05           	movel %d5,%sp@-                             
   52982:	2f2b 002c      	movel %a3@(44),%sp@-                        
   52986:	4e95           	jsr %a5@                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
   52988:	206b 0028      	moveal %a3@(40),%a0                         
   5298c:	4fef 000c      	lea %sp@(12),%sp                            
   52990:	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 =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
   52992:	2f0a           	movel %a2,%sp@-                             
   52994:	2044           	moveal %d4,%a0                              
   52996:	4e90           	jsr %a0@                                    
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   52998:	588f           	addql #4,%sp                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
   5299a:	2640           	moveal %d0,%a3                              
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   5299c:	4a80           	tstl %d0                                    
   5299e:	66dc           	bnes 5297c <_CORE_message_queue_Broadcast+0x3c>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
   529a0:	2882           	movel %d2,%a4@                              
   529a2:	4280           	clrl %d0                                    
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   529a4:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   529aa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004e33c <_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)) {
   4e33c:	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                 
)                                                                     
{                                                                     
   4e33e:	4e56 fff4      	linkw %fp,#-12                              
   4e342:	222e 0014      	movel %fp@(20),%d1                          
   4e346:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4e34a:	246e 0008      	moveal %fp@(8),%a2                          
   4e34e:	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)) {              
   4e352:	c081           	andl %d1,%d0                                
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
   4e354:	2542 0044      	movel %d2,%a2@(68)                          
  the_message_queue->number_of_pending_messages = 0;                  
   4e358:	42aa 0048      	clrl %a2@(72)                               
  the_message_queue->maximum_message_size       = maximum_message_size;
   4e35c:	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;                 
   4e360:	42aa 0060      	clrl %a2@(96)                               
    the_message_queue->notify_argument = the_argument;                
   4e364:	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)) {              
   4e368:	4a80           	tstl %d0                                    
   4e36a:	6604           	bnes 4e370 <_CORE_message_queue_Initialize+0x34>
   4e36c:	2001           	movel %d1,%d0                               
   4e36e:	600c           	bras 4e37c <_CORE_message_queue_Initialize+0x40>
    allocated_message_size += sizeof(uint32_t);                       
   4e370:	2001           	movel %d1,%d0                               
   4e372:	5880           	addql #4,%d0                                
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
   4e374:	76fc           	moveq #-4,%d3                               
   4e376:	c083           	andl %d3,%d0                                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
   4e378:	b280           	cmpl %d0,%d1                                
   4e37a:	626e           	bhis 4e3ea <_CORE_message_queue_Initialize+0xae><== NEVER TAKEN
  /*                                                                  
   *  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));
   4e37c:	2600           	movel %d0,%d3                               
   4e37e:	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 *    
   4e384:	2203           	movel %d3,%d1                               
   4e386:	4c02 1800      	mulsl %d2,%d1                               
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
   4e38a:	b081           	cmpl %d1,%d0                                
   4e38c:	625c           	bhis 4e3ea <_CORE_message_queue_Initialize+0xae><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
   4e38e:	2f01           	movel %d1,%sp@-                             
   4e390:	4eb9 0005 0d68 	jsr 50d68 <_Workspace_Allocate>             
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
   4e396:	588f           	addql #4,%sp                                
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
   4e398:	2540 005c      	movel %d0,%a2@(92)                          
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
   4e39c:	674c           	beqs 4e3ea <_CORE_message_queue_Initialize+0xae>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
   4e39e:	2f03           	movel %d3,%sp@-                             
   4e3a0:	2f02           	movel %d2,%sp@-                             
   4e3a2:	2f00           	movel %d0,%sp@-                             
   4e3a4:	486a 0068      	pea %a2@(104)                               
   4e3a8:	4eb9 0005 3aa4 	jsr 53aa4 <_Chain_Initialize>               
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
   4e3ae:	4878 0006      	pea 6 <EXTENDSFDF>                          
   4e3b2:	7001           	moveq #1,%d0                                
   4e3b4:	206e 000c      	moveal %fp@(12),%a0                         
   4e3b8:	b090           	cmpl %a0@,%d0                               
   4e3ba:	57c0           	seq %d0                                     
   4e3bc:	4878 0080      	pea 80 <DBL_MANT_DIG+0x4b>                  
   4e3c0:	49c0           	extbl %d0                                   
   4e3c2:	4480           	negl %d0                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   4e3c4:	41ea 0054      	lea %a2@(84),%a0                            
   4e3c8:	2f00           	movel %d0,%sp@-                             
   4e3ca:	2548 0050      	movel %a0,%a2@(80)                          
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
   4e3ce:	41ea 0050      	lea %a2@(80),%a0                            
   4e3d2:	2548 0058      	movel %a0,%a2@(88)                          
   4e3d6:	2f0a           	movel %a2,%sp@-                             
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   4e3d8:	42aa 0054      	clrl %a2@(84)                               
   4e3dc:	4eb9 0005 027c 	jsr 5027c <_Thread_queue_Initialize>        
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
   4e3e2:	4fef 0020      	lea %sp@(32),%sp                            
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
   4e3e6:	7001           	moveq #1,%d0                                
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
   4e3e8:	6002           	bras 4e3ec <_CORE_message_queue_Initialize+0xb0>
   4e3ea:	4200           	clrb %d0                                    
}                                                                     
   4e3ec:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   4e3f2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004e3f8 <_CORE_message_queue_Seize>: CORE_message_queue_Buffer_control *the_message; Thread_Control *executing; executing = _Thread_Executing; executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; _ISR_Disable( level );
   4e3f8:	223c 0000 0700 	movel #1792,%d1                             
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
   4e3fe:	4e56 ffe0      	linkw %fp,#-32                              
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
   4e402:	2079 0006 7dfe 	moveal 67dfe <_Thread_Executing>,%a0        
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
   4e408:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   4e40c:	282e 000c      	movel %fp@(12),%d4                          
   4e410:	242e 001c      	movel %fp@(28),%d2                          
   4e414:	246e 0008      	moveal %fp@(8),%a2                          
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
   4e418:	42a8 0034      	clrl %a0@(52)                               
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
   4e41c:	262e 0010      	movel %fp@(16),%d3                          
   4e420:	226e 0014      	moveal %fp@(20),%a1                         
   4e424:	1a2e 001b      	moveb %fp@(27),%d5                          
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  _ISR_Disable( level );                                              
   4e428:	40c0           	movew %sr,%d0                               
   4e42a:	8280           	orl %d0,%d1                                 
   4e42c:	46c1           	movew %d1,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4e42e:	220a           	movel %a2,%d1                               
   4e430:	0681 0000 0054 	addil #84,%d1                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   4e436:	266a 0050      	moveal %a2@(80),%a3                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4e43a:	b28b           	cmpl %a3,%d1                                
   4e43c:	6700 00a6      	beqw 4e4e4 <_CORE_message_queue_Seize+0xec> 
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
   4e440:	2853           	moveal %a3@,%a4                             
  the_chain->first    = new_first;                                    
  new_first->previous = _Chain_Head(the_chain);                       
   4e442:	4bea 0050      	lea %a2@(80),%a5                            
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
  the_chain->first    = new_first;                                    
   4e446:	254c 0050      	movel %a4,%a2@(80)                          
  new_first->previous = _Chain_Head(the_chain);                       
   4e44a:	294d 0004      	movel %a5,%a4@(4)                           
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
   4e44e:	4a8b           	tstl %a3                                    
   4e450:	6700 0092      	beqw 4e4e4 <_CORE_message_queue_Seize+0xec> 
    the_message_queue->number_of_pending_messages -= 1;               
   4e454:	53aa 0048      	subql #1,%a2@(72)                           
    _ISR_Enable( level );                                             
   4e458:	46c0           	movew %d0,%sr                               
                                                                      
    *size_p = the_message->Contents.size;                             
    _Thread_Executing->Wait.count =                                   
   4e45a:	2079 0006 7dfe 	moveal 67dfe <_Thread_Executing>,%a0        
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
   4e460:	22ab 000c      	movel %a3@(12),%a1@                         
    _Thread_Executing->Wait.count =                                   
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
   4e464:	240b           	movel %a3,%d2                               
   4e466:	0682 0000 0010 	addil #16,%d2                               
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
    _Thread_Executing->Wait.count =                                   
   4e46c:	216b 0008 0024 	movel %a3@(8),%a0@(36)                      
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   4e472:	49f9 0005 6d90 	lea 56d90 <memcpy>,%a4                      
   4e478:	2f11           	movel %a1@,%sp@-                            
   4e47a:	2f02           	movel %d2,%sp@-                             
   4e47c:	2f03           	movel %d3,%sp@-                             
   4e47e:	4e94           	jsr %a4@                                    
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
   4e480:	2f0a           	movel %a2,%sp@-                             
   4e482:	4eb9 0004 ff0c 	jsr 4ff0c <_Thread_queue_Dequeue>           
      if ( !the_thread ) {                                            
   4e488:	4fef 0010      	lea %sp@(16),%sp                            
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
   4e48c:	2040           	moveal %d0,%a0                              
      if ( !the_thread ) {                                            
   4e48e:	4a80           	tstl %d0                                    
   4e490:	661a           	bnes 4e4ac <_CORE_message_queue_Seize+0xb4> 
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
   4e492:	45ea 0068      	lea %a2@(104),%a2                           
   4e496:	2d4b 000c      	movel %a3,%fp@(12)                          
   4e49a:	2d4a 0008      	movel %a2,%fp@(8)                           
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   4e49e:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   4e4a4:	4e5e           	unlk %fp                                    
   4e4a6:	4ef9 0004 e278 	jmp 4e278 <_Chain_Append>                   
       */                                                             
      _CORE_message_queue_Set_message_priority(                       
        the_message,                                                  
        the_thread->Wait.count                                        
      );                                                              
      the_message->Contents.size = (size_t) the_thread->Wait.option;  
   4e4ac:	2028 0030      	movel %a0@(48),%d0                          
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
   4e4b0:	2768 0024 0008 	movel %a0@(36),%a3@(8)                      
   4e4b6:	2740 000c      	movel %d0,%a3@(12)                          
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   4e4ba:	2f00           	movel %d0,%sp@-                             
   4e4bc:	2f28 002c      	movel %a0@(44),%sp@-                        
   4e4c0:	2f02           	movel %d2,%sp@-                             
   4e4c2:	4e94           	jsr %a4@                                    
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
   4e4c4:	2d6b 0008 0010 	movel %a3@(8),%fp@(16)                      
   4e4ca:	4fef 000c      	lea %sp@(12),%sp                            
   4e4ce:	2d4b 000c      	movel %a3,%fp@(12)                          
   4e4d2:	2d4a 0008      	movel %a2,%fp@(8)                           
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   4e4d6:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   4e4dc:	4e5e           	unlk %fp                                    
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
   4e4de:	4ef9 0005 3be8 	jmp 53be8 <_CORE_message_queue_Insert_message>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
   4e4e4:	4a05           	tstb %d5                                    
   4e4e6:	6612           	bnes 4e4fa <_CORE_message_queue_Seize+0x102>
    _ISR_Enable( level );                                             
   4e4e8:	46c0           	movew %d0,%sr                               
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
   4e4ea:	7004           	moveq #4,%d0                                
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   4e4ec:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
    _ISR_Enable( level );                                             
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
   4e4f2:	2140 0034      	movel %d0,%a0@(52)                          
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   4e4f6:	4e5e           	unlk %fp                                    
   4e4f8:	4e75           	rts                                         
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
   4e4fa:	7201           	moveq #1,%d1                                
   4e4fc:	2541 0030      	movel %d1,%a2@(48)                          
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
   4e500:	2149 0028      	movel %a1,%a0@(40)                          
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
   4e504:	2143 002c      	movel %d3,%a0@(44)                          
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
  executing->Wait.id = id;                                            
   4e508:	2144 0020      	movel %d4,%a0@(32)                          
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
   4e50c:	214a 0044      	movel %a2,%a0@(68)                          
  executing->Wait.id = id;                                            
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
   4e510:	46c0           	movew %d0,%sr                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
   4e512:	4bf9 0005 0338 	lea 50338 <_Thread_queue_Timeout>,%a5       
   4e518:	2d42 000c      	movel %d2,%fp@(12)                          
   4e51c:	2d4d 0010      	movel %a5,%fp@(16)                          
   4e520:	2d4a 0008      	movel %a2,%fp@(8)                           
}                                                                     
   4e524:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   4e52a:	4e5e           	unlk %fp                                    
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
   4e52c:	4ef9 0005 004c 	jmp 5004c <_Thread_queue_Enqueue_with_handler>
	...                                                                  
                                                                      

0004630c <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
   4630c:	4e56 0000      	linkw %fp,#0                                
   46310:	202e 0010      	movel %fp@(16),%d0                          
   46314:	2f0a           	movel %a2,%sp@-                             
   46316:	246e 0008      	moveal %fp@(8),%a2                          
   4631a:	2f02           	movel %d2,%sp@-                             
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   4631c:	2239 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d1
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
   46322:	1400           	moveb %d0,%d2                               
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   46324:	4a81           	tstl %d1                                    
   46326:	671c           	beqs 46344 <_CORE_mutex_Seize+0x38>         
   46328:	4a00           	tstb %d0                                    
   4632a:	6718           	beqs 46344 <_CORE_mutex_Seize+0x38>         <== NEVER TAKEN
   4632c:	7001           	moveq #1,%d0                                
   4632e:	b0b9 0005 f0c4 	cmpl 5f0c4 <_System_state_Current>,%d0      
   46334:	640e           	bccs 46344 <_CORE_mutex_Seize+0x38>         
   46336:	4878 0013      	pea 13 <INVALID_OPERATION+0x3>              
   4633a:	42a7           	clrl %sp@-                                  
   4633c:	42a7           	clrl %sp@-                                  
   4633e:	4eb9 0004 6930 	jsr 46930 <_Internal_error_Occurred>        
   46344:	486e 0018      	pea %fp@(24)                                
   46348:	2f0a           	movel %a2,%sp@-                             
   4634a:	4eb9 0004 b6d4 	jsr 4b6d4 <_CORE_mutex_Seize_interrupt_trylock>
   46350:	508f           	addql #8,%sp                                
   46352:	4a80           	tstl %d0                                    
   46354:	6750           	beqs 463a6 <_CORE_mutex_Seize+0x9a>         
   46356:	4a02           	tstb %d2                                    
   46358:	6614           	bnes 4636e <_CORE_mutex_Seize+0x62>         
   4635a:	202e 0018      	movel %fp@(24),%d0                          
   4635e:	46c0           	movew %d0,%sr                               
   46360:	2079 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a0        
   46366:	7001           	moveq #1,%d0                                
   46368:	2140 0034      	movel %d0,%a0@(52)                          
   4636c:	6038           	bras 463a6 <_CORE_mutex_Seize+0x9a>         
   4636e:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   46374:	5280           	addql #1,%d0                                
   46376:	2079 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a0        
   4637c:	216e 000c 0020 	movel %fp@(12),%a0@(32)                     
   46382:	23c0 0005 ef3c 	movel %d0,5ef3c <_Thread_Dispatch_disable_level>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
   46388:	7001           	moveq #1,%d0                                
   4638a:	214a 0044      	movel %a2,%a0@(68)                          
   4638e:	2540 0030      	movel %d0,%a2@(48)                          
   46392:	202e 0018      	movel %fp@(24),%d0                          
   46396:	46c0           	movew %d0,%sr                               
   46398:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4639c:	2f0a           	movel %a2,%sp@-                             
   4639e:	4eb9 0004 62a8 	jsr 462a8 <_CORE_mutex_Seize_interrupt_blocking>
   463a4:	508f           	addql #8,%sp                                
}                                                                     
   463a6:	242e fff8      	movel %fp@(-8),%d2                          
   463aa:	246e fffc      	moveal %fp@(-4),%a2                         
   463ae:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046500 <_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 ) {
   46500:	4e56 0000      	linkw %fp,#0                                
   46504:	2f0a           	movel %a2,%sp@-                             
   46506:	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)) ) {
   4650a:	2f0a           	movel %a2,%sp@-                             
   4650c:	4eb9 0004 7a0c 	jsr 47a0c <_Thread_queue_Dequeue>           
   46512:	588f           	addql #4,%sp                                
   46514:	4a80           	tstl %d0                                    
   46516:	6704           	beqs 4651c <_CORE_semaphore_Surrender+0x1c> 
   46518:	4280           	clrl %d0                                    
   4651a:	6024           	bras 46540 <_CORE_semaphore_Surrender+0x40> 
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
   4651c:	203c 0000 0700 	movel #1792,%d0                             
   46522:	40c1           	movew %sr,%d1                               
   46524:	8081           	orl %d1,%d0                                 
   46526:	46c0           	movew %d0,%sr                               
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
   46528:	202a 0048      	movel %a2@(72),%d0                          
   4652c:	b0aa 0040      	cmpl %a2@(64),%d0                           
   46530:	6504           	bcss 46536 <_CORE_semaphore_Surrender+0x36> <== ALWAYS TAKEN
   46532:	7004           	moveq #4,%d0                                <== NOT EXECUTED
   46534:	6008           	bras 4653e <_CORE_semaphore_Surrender+0x3e> <== NOT EXECUTED
        the_semaphore->count += 1;                                    
   46536:	5280           	addql #1,%d0                                
   46538:	2540 0048      	movel %d0,%a2@(72)                          
   4653c:	4280           	clrl %d0                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
   4653e:	46c1           	movew %d1,%sr                               
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
   46540:	246e fffc      	moveal %fp@(-4),%a2                         
   46544:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045268 <_Event_Seize>: executing = _Thread_Executing; executing->Wait.return_code = RTEMS_SUCCESSFUL; api = executing->API_Extensions[ THREAD_API_RTEMS ]; _ISR_Disable( level );
   45268:	203c 0000 0700 	movel #1792,%d0                             
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
   4526e:	4e56 ffec      	linkw %fp,#-20                              
   45272:	226e 0010      	moveal %fp@(16),%a1                         
   45276:	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;                                      
   4527a:	2479 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a2        
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
   45280:	242e 0008      	movel %fp@(8),%d2                           
   45284:	262e 000c      	movel %fp@(12),%d3                          
  ISR_Level                         level;                            
  RTEMS_API_Control                *api;                              
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
   45288:	42aa 0034      	clrl %a2@(52)                               
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
   4528c:	206e 0014      	moveal %fp@(20),%a0                         
  Thread_blocking_operation_States  sync_state;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = RTEMS_SUCCESSFUL;                     
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   45290:	266a 010a      	moveal %a2@(266),%a3                        
                                                                      
  _ISR_Disable( level );                                              
   45294:	40c1           	movew %sr,%d1                               
   45296:	8081           	orl %d1,%d0                                 
   45298:	46c0           	movew %d0,%sr                               
  pending_events = api->pending_events;                               
   4529a:	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 );                    
   4529c:	2002           	movel %d2,%d0                               
   4529e:	c084           	andl %d4,%d0                                
  seized_events  = _Event_sets_Get( pending_events, event_in );       
                                                                      
  if ( !_Event_sets_Is_empty( seized_events ) &&                      
   452a0:	6716           	beqs 452b8 <_Event_Seize+0x50>              
   452a2:	b480           	cmpl %d0,%d2                                
   452a4:	6706           	beqs 452ac <_Event_Seize+0x44>              
   452a6:	0803 0001      	btst #1,%d3                                 
   452aa:	670c           	beqs 452b8 <_Event_Seize+0x50>              <== NEVER TAKEN
       (seized_events == event_in || _Options_Is_any( option_set )) ) {
    api->pending_events =                                             
   452ac:	2400           	movel %d0,%d2                               
   452ae:	4682           	notl %d2                                    
   452b0:	c484           	andl %d4,%d2                                
   452b2:	2682           	movel %d2,%a3@                              
      _Event_sets_Clear( pending_events, seized_events );             
    _ISR_Enable( level );                                             
   452b4:	46c1           	movew %d1,%sr                               
   452b6:	600e           	bras 452c6 <_Event_Seize+0x5e>              
    *event_out = seized_events;                                       
    return;                                                           
  }                                                                   
                                                                      
  if ( _Options_Is_no_wait( option_set ) ) {                          
   452b8:	0803 0000      	btst #0,%d3                                 
   452bc:	670e           	beqs 452cc <_Event_Seize+0x64>              
    _ISR_Enable( level );                                             
   452be:	46c1           	movew %d1,%sr                               
    executing->Wait.return_code = RTEMS_UNSATISFIED;                  
   452c0:	720d           	moveq #13,%d1                               
   452c2:	2541 0034      	movel %d1,%a2@(52)                          
    *event_out = seized_events;                                       
   452c6:	2080           	movel %d0,%a0@                              
    return;                                                           
   452c8:	6000 0096      	braw 45360 <_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;            
   452cc:	2542 0024      	movel %d2,%a2@(36)                          
  executing->Wait.return_argument   = event_out;                      
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
   452d0:	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;          
   452d2:	2543 0030      	movel %d3,%a2@(48)                          
  executing->Wait.count             = (uint32_t) event_in;            
  executing->Wait.return_argument   = event_out;                      
   452d6:	2548 0028      	movel %a0,%a2@(40)                          
                                                                      
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;     
   452da:	23c2 0005 f7b8 	movel %d2,5f7b8 <_Event_Sync_state>         
                                                                      
  _ISR_Enable( level );                                               
   452e0:	46c1           	movew %d1,%sr                               
                                                                      
  if ( ticks ) {                                                      
   452e2:	4a89           	tstl %a1                                    
   452e4:	6730           	beqs 45316 <_Event_Seize+0xae>              
    _Watchdog_Initialize(                                             
   452e6:	202a 0008      	movel %a2@(8),%d0                           
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   452ea:	223c 0004 54c8 	movel #283848,%d1                           
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   452f0:	2549 0054      	movel %a1,%a2@(84)                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   452f4:	2541 0064      	movel %d1,%a2@(100)                         
  the_watchdog->id        = id;                                       
   452f8:	2540 0068      	movel %d0,%a2@(104)                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   452fc:	42aa 0050      	clrl %a2@(80)                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   45300:	42aa 006c      	clrl %a2@(108)                              
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   45304:	486a 0048      	pea %a2@(72)                                
   45308:	4879 0005 f014 	pea 5f014 <_Watchdog_Ticks_chain>           
   4530e:	4eb9 0004 8620 	jsr 48620 <_Watchdog_Insert>                
   45314:	508f           	addql #8,%sp                                
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &executing->Timer, ticks );               
  }                                                                   
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
   45316:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   4531a:	2f0a           	movel %a2,%sp@-                             
   4531c:	4eb9 0004 7ee0 	jsr 47ee0 <_Thread_Set_state>               
                                                                      
  _ISR_Disable( level );                                              
   45322:	203c 0000 0700 	movel #1792,%d0                             
   45328:	40c1           	movew %sr,%d1                               
   4532a:	8081           	orl %d1,%d0                                 
   4532c:	46c0           	movew %d0,%sr                               
                                                                      
  sync_state = _Event_Sync_state;                                     
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
   4532e:	7401           	moveq #1,%d2                                
   45330:	508f           	addql #8,%sp                                
                                                                      
  _Thread_Set_state( executing, STATES_WAITING_FOR_EVENT );           
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  sync_state = _Event_Sync_state;                                     
   45332:	2039 0005 f7b8 	movel 5f7b8 <_Event_Sync_state>,%d0         
  _Event_Sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;         
   45338:	42b9 0005 f7b8 	clrl 5f7b8 <_Event_Sync_state>              
  if ( sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {   
   4533e:	b480           	cmpl %d0,%d2                                
   45340:	6604           	bnes 45346 <_Event_Seize+0xde>              
    _ISR_Enable( level );                                             
   45342:	46c1           	movew %d1,%sr                               
   45344:	601a           	bras 45360 <_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 );  
   45346:	2d4a 000c      	movel %a2,%fp@(12)                          
   4534a:	2d41 0010      	movel %d1,%fp@(16)                          
}                                                                     
   4534e:	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 );  
   45354:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   45358:	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 );  
   4535a:	4ef9 0004 7168 	jmp 47168 <_Thread_blocking_operation_Cancel>
}                                                                     
   45360:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   45366:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000453c0 <_Event_Surrender>: api = the_thread->API_Extensions[ THREAD_API_RTEMS ]; option_set = (rtems_option) the_thread->Wait.option; _ISR_Disable( level );
   453c0:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _Event_Surrender(                                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   453c6:	4e56 ffe8      	linkw %fp,#-24                              
   453ca:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   453ce:	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 ];               
   453d2:	206a 010a      	moveal %a2@(266),%a0                        
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
   453d6:	282a 0030      	movel %a2@(48),%d4                          
                                                                      
  _ISR_Disable( level );                                              
   453da:	40c1           	movew %sr,%d1                               
   453dc:	8081           	orl %d1,%d0                                 
   453de:	46c0           	movew %d0,%sr                               
  pending_events  = api->pending_events;                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
   453e0:	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 );                    
   453e4:	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;                              
   453e6:	2410           	movel %a0@,%d2                              
   453e8:	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 ) ) {                      
   453ea:	6606           	bnes 453f2 <_Event_Surrender+0x32>          
    _ISR_Enable( level );                                             
   453ec:	46c1           	movew %d1,%sr                               
    return;                                                           
   453ee:	6000 00cc      	braw 454bc <_Event_Surrender+0xfc>          
                                                                      
  /*                                                                  
   *  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() &&                                       
   453f2:	2279 0005 efd6 	moveal 5efd6 <_ISR_Nest_level>,%a1          
   453f8:	4a89           	tstl %a1                                    
   453fa:	674a           	beqs 45446 <_Event_Surrender+0x86>          
   453fc:	b5f9 0005 eff6 	cmpal 5eff6 <_Thread_Executing>,%a2         
   45402:	6642           	bnes 45446 <_Event_Surrender+0x86>          
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
   45404:	2279 0005 f7b8 	moveal 5f7b8 <_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() &&                                       
   4540a:	7a02           	moveq #2,%d5                                
   4540c:	ba89           	cmpl %a1,%d5                                
   4540e:	670e           	beqs 4541e <_Event_Surrender+0x5e>          <== NEVER TAKEN
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
   45410:	2279 0005 f7b8 	moveal 5f7b8 <_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() &&                                       
   45416:	1a3c 0001      	moveb #1,%d5                                
   4541a:	ba89           	cmpl %a1,%d5                                
   4541c:	6628           	bnes 45446 <_Event_Surrender+0x86>          
       _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) ) {
   4541e:	b680           	cmpl %d0,%d3                                
   45420:	6706           	beqs 45428 <_Event_Surrender+0x68>          
   45422:	0804 0001      	btst #1,%d4                                 
   45426:	671a           	beqs 45442 <_Event_Surrender+0x82>          <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
   45428:	2600           	movel %d0,%d3                               
   4542a:	4683           	notl %d3                                    
   4542c:	c682           	andl %d2,%d3                                
   4542e:	2083           	movel %d3,%a0@                              
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   45430:	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;                                     
   45434:	42aa 0024      	clrl %a2@(36)                               
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   45438:	2080           	movel %d0,%a0@                              
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
   4543a:	7003           	moveq #3,%d0                                
   4543c:	23c0 0005 f7b8 	movel %d0,5f7b8 <_Event_Sync_state>         
    }                                                                 
    _ISR_Enable( level );                                             
   45442:	46c1           	movew %d1,%sr                               
    return;                                                           
   45444:	6076           	bras 454bc <_Event_Surrender+0xfc>          
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
   45446:	2a2a 0010      	movel %a2@(16),%d5                          
   4544a:	0285 0000 0100 	andil #256,%d5                              
   45450:	6768           	beqs 454ba <_Event_Surrender+0xfa>          
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
   45452:	b680           	cmpl %d0,%d3                                
   45454:	6706           	beqs 4545c <_Event_Surrender+0x9c>          
   45456:	0804 0001      	btst #1,%d4                                 
   4545a:	675e           	beqs 454ba <_Event_Surrender+0xfa>          <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
   4545c:	2600           	movel %d0,%d3                               
   4545e:	4683           	notl %d3                                    
   45460:	c682           	andl %d2,%d3                                
   45462:	2083           	movel %d3,%a0@                              
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   45464:	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;                                     
   45468:	42aa 0024      	clrl %a2@(36)                               
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   4546c:	2080           	movel %d0,%a0@                              
                                                                      
      _ISR_Flash( level );                                            
   4546e:	203c 0000 0700 	movel #1792,%d0                             
   45474:	46c1           	movew %d1,%sr                               
   45476:	8081           	orl %d1,%d0                                 
   45478:	46c0           	movew %d0,%sr                               
   4547a:	47f9 0004 72f8 	lea 472f8 <_Thread_Clear_state>,%a3         
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
   45480:	7a02           	moveq #2,%d5                                
   45482:	baaa 0050      	cmpl %a2@(80),%d5                           
   45486:	6710           	beqs 45498 <_Event_Surrender+0xd8>          
        _ISR_Enable( level );                                         
   45488:	46c1           	movew %d1,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4548a:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   45490:	2f0a           	movel %a2,%sp@-                             
   45492:	4e93           	jsr %a3@                                    
   45494:	508f           	addql #8,%sp                                
   45496:	6024           	bras 454bc <_Event_Surrender+0xfc>          
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   45498:	7003           	moveq #3,%d0                                
   4549a:	2540 0050      	movel %d0,%a2@(80)                          
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
   4549e:	46c1           	movew %d1,%sr                               
        (void) _Watchdog_Remove( &the_thread->Timer );                
   454a0:	486a 0048      	pea %a2@(72)                                
   454a4:	4eb9 0004 873c 	jsr 4873c <_Watchdog_Remove>                
   454aa:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   454b0:	2f0a           	movel %a2,%sp@-                             
   454b2:	4e93           	jsr %a3@                                    
   454b4:	4fef 000c      	lea %sp@(12),%sp                            
   454b8:	6002           	bras 454bc <_Event_Surrender+0xfc>          
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
   454ba:	46c1           	movew %d1,%sr                               
}                                                                     
   454bc:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   454c2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000454c8 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
   454c8:	4e56 fffc      	linkw %fp,#-4                               
   454cc:	2f03           	movel %d3,%sp@-                             
   454ce:	2f02           	movel %d2,%sp@-                             
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   454d0:	486e fffc      	pea %fp@(-4)                                
   454d4:	2f2e 0008      	movel %fp@(8),%sp@-                         
   454d8:	4eb9 0004 76d8 	jsr 476d8 <_Thread_Get>                     
  switch ( location ) {                                               
   454de:	508f           	addql #8,%sp                                
   454e0:	4aae fffc      	tstl %fp@(-4)                               
   454e4:	6656           	bnes 4553c <_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 );                                          
   454e6:	223c 0000 0700 	movel #1792,%d1                             
   454ec:	40c2           	movew %sr,%d2                               
   454ee:	8282           	orl %d2,%d1                                 
   454f0:	46c1           	movew %d1,%sr                               
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
   454f2:	2040           	moveal %d0,%a0                              
   454f4:	42a8 0024      	clrl %a0@(36)                               
        if ( _Thread_Is_executing( the_thread ) ) {                   
   454f8:	b0b9 0005 eff6 	cmpl 5eff6 <_Thread_Executing>,%d0          
   454fe:	6614           	bnes 45514 <_Event_Timeout+0x4c>            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
   45500:	2239 0005 f7b8 	movel 5f7b8 <_Event_Sync_state>,%d1         
   45506:	7601           	moveq #1,%d3                                
   45508:	b681           	cmpl %d1,%d3                                
   4550a:	6608           	bnes 45514 <_Event_Timeout+0x4c>            
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
   4550c:	7202           	moveq #2,%d1                                
   4550e:	23c1 0005 f7b8 	movel %d1,5f7b8 <_Event_Sync_state>         
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
   45514:	7606           	moveq #6,%d3                                
   45516:	2040           	moveal %d0,%a0                              
   45518:	2143 0034      	movel %d3,%a0@(52)                          
      _ISR_Enable( level );                                           
   4551c:	46c2           	movew %d2,%sr                               
   4551e:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   45524:	2f00           	movel %d0,%sp@-                             
   45526:	4eb9 0004 72f8 	jsr 472f8 <_Thread_Clear_state>             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4552c:	508f           	addql #8,%sp                                
   4552e:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   45534:	5380           	subql #1,%d0                                
   45536:	23c0 0005 ef3c 	movel %d0,5ef3c <_Thread_Dispatch_disable_level>
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
   4553c:	242e fff4      	movel %fp@(-12),%d2                         
   45540:	262e fff8      	movel %fp@(-8),%d3                          
   45544:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b834 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
   4b834:	4e56 ffc8      	linkw %fp,#-56                              
   4b838:	202e 000c      	movel %fp@(12),%d0                          
   4b83c:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4b840:	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
    - HEAP_BLOCK_SIZE_OFFSET;                                         
   4b844:	2840           	moveal %d0,%a4                              
   4b846:	588c           	addql #4,%a4                                
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
   4b848:	222e 0010      	movel %fp@(16),%d1                          
   4b84c:	2a2e 0014      	movel %fp@(20),%d5                          
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
   4b850:	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;                        
   4b854:	2e2a 0010      	movel %a2@(16),%d7                          
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
   4b858:	b08c           	cmpl %a4,%d0                                
   4b85a:	6200 0120      	bhiw 4b97c <_Heap_Allocate_aligned_with_boundary+0x148>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
   4b85e:	4a85           	tstl %d5                                    
   4b860:	670c           	beqs 4b86e <_Heap_Allocate_aligned_with_boundary+0x3a>
    if ( boundary < alloc_size ) {                                    
   4b862:	b085           	cmpl %d5,%d0                                
   4b864:	6200 0116      	bhiw 4b97c <_Heap_Allocate_aligned_with_boundary+0x148>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
   4b868:	4a81           	tstl %d1                                    
   4b86a:	6602           	bnes 4b86e <_Heap_Allocate_aligned_with_boundary+0x3a>
   4b86c:	2207           	movel %d7,%d1                               
  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;                         
   4b86e:	2407           	movel %d7,%d2                               
   4b870:	5e82           	addql #7,%d2                                
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
   4b872:	4283           	clrl %d3                                    
   4b874:	2a43           	moveal %d3,%a5                              
  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;                         
   4b876:	2d42 fff8      	movel %d2,%fp@(-8)                          
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
   4b87a:	7404           	moveq #4,%d2                                
   4b87c:	9480           	subl %d0,%d2                                
   4b87e:	2d42 fff4      	movel %d2,%fp@(-12)                         
   4b882:	6000 00c6      	braw 4b94a <_Heap_Allocate_aligned_with_boundary+0x116>
    /*                                                                
     * 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 ) {                  
   4b886:	2628 0004      	movel %a0@(4),%d3                           
                                                                      
  while ( block != free_list_tail ) {                                 
    _HAssert( _Heap_Is_prev_used( block ) );                          
                                                                      
    /* Statistics */                                                  
    ++search_count;                                                   
   4b88a:	528d           	addql #1,%a5                                
    /*                                                                
     * 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 ) {                  
   4b88c:	b9c3           	cmpal %d3,%a4                               
   4b88e:	6400 00b6      	bccw 4b946 <_Heap_Allocate_aligned_with_boundary+0x112>
   4b892:	43e8 0008      	lea %a0@(8),%a1                             
      if ( alignment == 0 ) {                                         
   4b896:	4a81           	tstl %d1                                    
   4b898:	6606           	bnes 4b8a0 <_Heap_Allocate_aligned_with_boundary+0x6c>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   4b89a:	2409           	movel %a1,%d2                               
   4b89c:	6000 00a4      	braw 4b942 <_Heap_Allocate_aligned_with_boundary+0x10e>
  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;               
   4b8a0:	74fe           	moveq #-2,%d2                               
   4b8a2:	c682           	andl %d2,%d3                                
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
   4b8a4:	266a 0014      	moveal %a2@(20),%a3                         
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
   4b8a8:	d688           	addl %a0,%d3                                
                                                                      
  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;                         
   4b8aa:	282e fff8      	movel %fp@(-8),%d4                          
   4b8ae:	988b           	subl %a3,%d4                                
                                                                      
  uintptr_t alloc_end = block_end + HEAP_BLOCK_SIZE_OFFSET;           
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
   4b8b0:	242e fff4      	movel %fp@(-12),%d2                         
   4b8b4:	d483           	addl %d3,%d2                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4b8b6:	2c02           	movel %d2,%d6                               
  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;                         
   4b8b8:	d684           	addl %d4,%d3                                
   4b8ba:	4c41 6004      	remul %d1,%d4,%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;              
   4b8be:	2d4b fff0      	movel %a3,%fp@(-16)                         
   4b8c2:	9484           	subl %d4,%d2                                
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
   4b8c4:	b682           	cmpl %d2,%d3                                
   4b8c6:	640a           	bccs 4b8d2 <_Heap_Allocate_aligned_with_boundary+0x9e>
   4b8c8:	2803           	movel %d3,%d4                               
   4b8ca:	4c41 4002      	remul %d1,%d2,%d4                           
   4b8ce:	9682           	subl %d2,%d3                                
   4b8d0:	2403           	movel %d3,%d2                               
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
   4b8d2:	4a85           	tstl %d5                                    
   4b8d4:	674e           	beqs 4b924 <_Heap_Allocate_aligned_with_boundary+0xf0>
  /* 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;                               
   4b8d6:	2802           	movel %d2,%d4                               
   4b8d8:	d880           	addl %d0,%d4                                
   4b8da:	2604           	movel %d4,%d3                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
   4b8dc:	47f1 0800      	lea %a1@(00000000,%d0:l),%a3                
   4b8e0:	4c45 3006      	remul %d5,%d6,%d3                           
   4b8e4:	2d4b fffc      	movel %a3,%fp@(-4)                          
   4b8e8:	2604           	movel %d4,%d3                               
   4b8ea:	9686           	subl %d6,%d3                                
   4b8ec:	2c03           	movel %d3,%d6                               
   4b8ee:	266e fff0      	moveal %fp@(-16),%a3                        
   4b8f2:	6020           	bras 4b914 <_Heap_Allocate_aligned_with_boundary+0xe0>
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
   4b8f4:	bcae fffc      	cmpl %fp@(-4),%d6                           
   4b8f8:	654c           	bcss 4b946 <_Heap_Allocate_aligned_with_boundary+0x112><== NEVER TAKEN
   4b8fa:	2803           	movel %d3,%d4                               
   4b8fc:	4c41 4002      	remul %d1,%d2,%d4                           
   4b900:	9682           	subl %d2,%d3                                
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
   4b902:	2803           	movel %d3,%d4                               
   4b904:	d880           	addl %d0,%d4                                
   4b906:	2403           	movel %d3,%d2                               
   4b908:	2604           	movel %d4,%d3                               
   4b90a:	4c45 3006      	remul %d5,%d6,%d3                           
   4b90e:	2604           	movel %d4,%d3                               
   4b910:	9686           	subl %d6,%d3                                
   4b912:	2c03           	movel %d3,%d6                               
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
   4b914:	2606           	movel %d6,%d3                               
   4b916:	9680           	subl %d0,%d3                                
  /* 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 ) {
   4b918:	bc82           	cmpl %d2,%d6                                
   4b91a:	6304           	blss 4b920 <_Heap_Allocate_aligned_with_boundary+0xec>
   4b91c:	b886           	cmpl %d6,%d4                                
   4b91e:	62d4           	bhis 4b8f4 <_Heap_Allocate_aligned_with_boundary+0xc0>
   4b920:	2d4b fff0      	movel %a3,%fp@(-16)                         
      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 ) {                           
   4b924:	b3c2           	cmpal %d2,%a1                               
   4b926:	621e           	bhis 4b946 <_Heap_Allocate_aligned_with_boundary+0x112>
    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;      
   4b928:	2802           	movel %d2,%d4                               
   4b92a:	327c fff8      	moveaw #-8,%a1                              
   4b92e:	93c8           	subal %a0,%a1                               
   4b930:	d3c2           	addal %d2,%a1                               
   4b932:	4c47 4003      	remul %d7,%d3,%d4                           
   4b936:	93c3           	subal %d3,%a1                               
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
   4b938:	b3ee fff0      	cmpal %fp@(-16),%a1                         
   4b93c:	6404           	bccs 4b942 <_Heap_Allocate_aligned_with_boundary+0x10e>
   4b93e:	4a89           	tstl %a1                                    
   4b940:	6604           	bnes 4b946 <_Heap_Allocate_aligned_with_boundary+0x112>
          boundary                                                    
        );                                                            
      }                                                               
    }                                                                 
                                                                      
    if ( alloc_begin != 0 ) {                                         
   4b942:	4a82           	tstl %d2                                    
   4b944:	6610           	bnes 4b956 <_Heap_Allocate_aligned_with_boundary+0x122><== ALWAYS TAKEN
      break;                                                          
    }                                                                 
                                                                      
    block = block->next;                                              
   4b946:	2068 0008      	moveal %a0@(8),%a0                          
    if ( alignment == 0 ) {                                           
      alignment = page_size;                                          
    }                                                                 
  }                                                                   
                                                                      
  while ( block != free_list_tail ) {                                 
   4b94a:	b5c8           	cmpal %a0,%a2                               
   4b94c:	6600 ff38      	bnew 4b886 <_Heap_Allocate_aligned_with_boundary+0x52>
   4b950:	260d           	movel %a5,%d3                               
   4b952:	4282           	clrl %d2                                    
   4b954:	6018           	bras 4b96e <_Heap_Allocate_aligned_with_boundary+0x13a>
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
   4b956:	2f00           	movel %d0,%sp@-                             
   4b958:	260d           	movel %a5,%d3                               
    block = block->next;                                              
  }                                                                   
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    stats->searches += search_count;                                  
   4b95a:	d7aa 004c      	addl %d3,%a2@(76)                           
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
   4b95e:	2f02           	movel %d2,%sp@-                             
   4b960:	2f08           	movel %a0,%sp@-                             
   4b962:	2f0a           	movel %a2,%sp@-                             
   4b964:	4eb9 0004 683a 	jsr 4683a <_Heap_Block_allocate>            
   4b96a:	4fef 0010      	lea %sp@(16),%sp                            
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
   4b96e:	b6aa 0044      	cmpl %a2@(68),%d3                           
   4b972:	6304           	blss 4b978 <_Heap_Allocate_aligned_with_boundary+0x144>
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
   4b974:	2543 0044      	movel %d3,%a2@(68)                          
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
   4b978:	2002           	movel %d2,%d0                               
   4b97a:	6002           	bras 4b97e <_Heap_Allocate_aligned_with_boundary+0x14a>
   4b97c:	4280           	clrl %d0                                    
}                                                                     
   4b97e:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   4b984:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004fa38 <_Heap_Extend>: Heap_Control *heap, void *area_begin_ptr, uintptr_t area_size, uintptr_t *amount_extended ) {
   4fa38:	4e56 fff4      	linkw %fp,#-12                              
   4fa3c:	206e 0008      	moveal %fp@(8),%a0                          
   4fa40:	202e 000c      	movel %fp@(12),%d0                          
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
   4fa44:	2228 001c      	movel %a0@(28),%d1                          
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
  uintptr_t extend_size = 0;                                          
  Heap_Block *const last_block = heap->last_block;                    
   4fa48:	2268 0024      	moveal %a0@(36),%a1                         
  Heap_Control *heap,                                                 
  void *area_begin_ptr,                                               
  uintptr_t area_size,                                                
  uintptr_t *amount_extended                                          
)                                                                     
{                                                                     
   4fa4c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
   4fa50:	b0a8 0018      	cmpl %a0@(24),%d0                           
   4fa54:	6508           	bcss 4fa5e <_Heap_Extend+0x26>              
   *    5. non-contiguous higher address    (NOT SUPPORTED)           
   *                                                                  
   *  As noted, this code only supports (4).                          
   */                                                                 
                                                                      
  if ( area_begin >= heap_area_begin && area_begin < heap_area_end ) {
   4fa56:	b280           	cmpl %d0,%d1                                
   4fa58:	6304           	blss 4fa5e <_Heap_Extend+0x26>              
   4fa5a:	7001           	moveq #1,%d0                                
   4fa5c:	606c           	bras 4faca <_Heap_Extend+0x92>              
    return HEAP_EXTEND_ERROR; /* case 3 */                            
  } else if ( area_begin != heap_area_end ) {                         
   4fa5e:	b280           	cmpl %d0,%d1                                
   4fa60:	6704           	beqs 4fa66 <_Heap_Extend+0x2e>              
   4fa62:	7002           	moveq #2,%d0                                
   4fa64:	6064           	bras 4faca <_Heap_Extend+0x92>              
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const area_begin = (uintptr_t) area_begin_ptr;            
  uintptr_t const heap_area_begin = heap->area_begin;                 
  uintptr_t const heap_area_end = heap->area_end;                     
  uintptr_t const new_heap_area_end = heap_area_end + area_size;      
   4fa66:	2200           	movel %d0,%d1                               
   4fa68:	d2ae 0010      	addl %fp@(16),%d1                           
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
                                                                      
  extend_size = new_heap_area_end                                     
   4fa6c:	70f8           	moveq #-8,%d0                               
   4fa6e:	9089           	subl %a1,%d0                                
   4fa70:	d081           	addl %d1,%d0                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4fa72:	2600           	movel %d0,%d3                               
   4fa74:	4c68 3002 0010 	remul %a0@(16),%d2,%d3                      
   *  Currently only case 4 should make it to this point.             
   *  The basic trick is to make the extend area look like a used     
   *  block and free it.                                              
   */                                                                 
                                                                      
  heap->area_end = new_heap_area_end;                                 
   4fa7a:	2141 001c      	movel %d1,%a0@(28)                          
                                                                      
  extend_size = new_heap_area_end                                     
    - (uintptr_t) last_block - HEAP_BLOCK_HEADER_SIZE;                
  extend_size = _Heap_Align_down( extend_size, heap->page_size );     
                                                                      
  *amount_extended = extend_size;                                     
   4fa7e:	246e 0014      	moveal %fp@(20),%a2                         
   4fa82:	9082           	subl %d2,%d0                                
   4fa84:	2480           	movel %d0,%a2@                              
                                                                      
  if( extend_size >= heap->min_block_size ) {                         
   4fa86:	b0a8 0014      	cmpl %a0@(20),%d0                           
   4fa8a:	653c           	bcss 4fac8 <_Heap_Extend+0x90>              <== NEVER TAKEN
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
   4fa8c:	7401           	moveq #1,%d2                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4fa8e:	45f1 0800      	lea %a1@(00000000,%d0:l),%a2                
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
                                                                      
  block->size_and_flag = size | flag;                                 
   4fa92:	c4a9 0004      	andl %a1@(4),%d2                            
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
   4fa96:	2228 0020      	movel %a0@(32),%d1                          
   4fa9a:	928a           	subl %a2,%d1                                
   4fa9c:	8480           	orl %d0,%d2                                 
      ((uintptr_t) heap->first_block - (uintptr_t) new_last_block)    
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
   4fa9e:	214a 0024      	movel %a2,%a0@(36)                          
   4faa2:	2342 0004      	movel %d2,%a1@(4)                           
  if( extend_size >= heap->min_block_size ) {                         
    Heap_Block *const new_last_block = _Heap_Block_at( last_block, extend_size );
                                                                      
    _Heap_Block_set_size( last_block, extend_size );                  
                                                                      
    new_last_block->size_and_flag =                                   
   4faa6:	7401           	moveq #1,%d2                                
   4faa8:	8481           	orl %d1,%d2                                 
   4faaa:	2542 0004      	movel %d2,%a2@(4)                           
    /* Statistics */                                                  
    stats->size += extend_size;                                       
    ++stats->used_blocks;                                             
    --stats->frees; /* Do not count subsequent call as actual free() */
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
   4faae:	4869 0008      	pea %a1@(8)                                 
        | HEAP_PREV_BLOCK_USED;                                       
                                                                      
    heap->last_block = new_last_block;                                
                                                                      
    /* Statistics */                                                  
    stats->size += extend_size;                                       
   4fab2:	d1a8 002c      	addl %d0,%a0@(44)                           
    ++stats->used_blocks;                                             
   4fab6:	52a8 0040      	addql #1,%a0@(64)                           
    --stats->frees; /* Do not count subsequent call as actual free() */
   4faba:	53a8 0050      	subql #1,%a0@(80)                           
                                                                      
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( last_block ));
   4fabe:	2f08           	movel %a0,%sp@-                             
   4fac0:	4eb9 0004 a060 	jsr 4a060 <_Heap_Free>                      
   4fac6:	508f           	addql #8,%sp                                
   4fac8:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  return HEAP_EXTEND_SUCCESSFUL;                                      
}                                                                     
   4faca:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   4fad0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005b7b8 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
   5b7b8:	4e56 0000      	linkw %fp,#0                                
   5b7bc:	202e 000c      	movel %fp@(12),%d0                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
   5b7c0:	2040           	moveal %d0,%a0                              
   5b7c2:	5188           	subql #8,%a0                                
   5b7c4:	226e 0008      	moveal %fp@(8),%a1                          
   5b7c8:	2f02           	movel %d2,%sp@-                             
   5b7ca:	2400           	movel %d0,%d2                               
   5b7cc:	4c69 2001 0010 	remul %a1@(16),%d1,%d2                      
  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;             
   5b7d2:	2429 0020      	movel %a1@(32),%d2                          
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 )   
   5b7d6:	91c1           	subal %d1,%a0                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
   5b7d8:	b488           	cmpl %a0,%d2                                
   5b7da:	6244           	bhis 5b820 <_Heap_Size_of_alloc_area+0x68>  
   5b7dc:	b1e9 0024      	cmpal %a1@(36),%a0                          
   5b7e0:	53c1           	sls %d1                                     
   5b7e2:	49c1           	extbl %d1                                   
   5b7e4:	4481           	negl %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 ) ) {                     
   5b7e6:	4a01           	tstb %d1                                    
   5b7e8:	6736           	beqs 5b820 <_Heap_Size_of_alloc_area+0x68>  <== NEVER TAKEN
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   5b7ea:	72fe           	moveq #-2,%d1                               
   5b7ec:	c2a8 0004      	andl %a0@(4),%d1                            
   5b7f0:	d1c1           	addal %d1,%a0                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
   5b7f2:	b488           	cmpl %a0,%d2                                
   5b7f4:	622a           	bhis 5b820 <_Heap_Size_of_alloc_area+0x68>  <== NEVER TAKEN
   5b7f6:	b1e9 0024      	cmpal %a1@(36),%a0                          
   5b7fa:	53c1           	sls %d1                                     
   5b7fc:	49c1           	extbl %d1                                   
   5b7fe:	4481           	negl %d1                                    
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
   5b800:	4a01           	tstb %d1                                    
   5b802:	671c           	beqs 5b820 <_Heap_Size_of_alloc_area+0x68>  <== NEVER TAKEN
   5b804:	7201           	moveq #1,%d1                                
   5b806:	c2a8 0004      	andl %a0@(4),%d1                            
   5b80a:	4a01           	tstb %d1                                    
   5b80c:	6712           	beqs 5b820 <_Heap_Size_of_alloc_area+0x68>  <== NEVER TAKEN
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_BLOCK_SIZE_OFFSET - alloc_begin;
   5b80e:	7204           	moveq #4,%d1                                
   5b810:	9280           	subl %d0,%d1                                
   5b812:	2001           	movel %d1,%d0                               
   5b814:	d088           	addl %a0,%d0                                
   5b816:	226e 0010      	moveal %fp@(16),%a1                         
   5b81a:	2280           	movel %d0,%a1@                              
   5b81c:	7001           	moveq #1,%d0                                
                                                                      
  return true;                                                        
   5b81e:	6002           	bras 5b822 <_Heap_Size_of_alloc_area+0x6a>  
   5b820:	4200           	clrb %d0                                    
}                                                                     
   5b822:	241f           	movel %sp@+,%d2                             
   5b824:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000472f4 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
   472f4:	4e56 ffd0      	linkw %fp,#-48                              
   472f8:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   472fc:	286e 0008      	moveal %fp@(8),%a4                          
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = heap->first_block;                              
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
   47300:	47fa 031a      	lea %pc@(4761c <_Heap_Walk_print>),%a3      
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
   47304:	242e 000c      	movel %fp@(12),%d2                          
  uintptr_t const page_size = heap->page_size;                        
   47308:	2c2c 0010      	movel %a4@(16),%d6                          
  uintptr_t const min_block_size = heap->min_block_size;              
   4730c:	262c 0014      	movel %a4@(20),%d3                          
  Heap_Block *const last_block = heap->last_block;                    
   47310:	2a2c 0024      	movel %a4@(36),%d5                          
  Heap_Block *block = heap->first_block;                              
   47314:	246c 0020      	moveal %a4@(32),%a2                         
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
   47318:	4a2e 0013      	tstb %fp@(19)                               
   4731c:	6604           	bnes 47322 <_Heap_Walk+0x2e>                
   4731e:	47fa ffcc      	lea %pc@(472ec <_Heap_Walk_print_nothing>),%a3
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
   47322:	7003           	moveq #3,%d0                                
   47324:	b0b9 0006 145c 	cmpl 6145c <_System_state_Current>,%d0      
   4732a:	6600 02da      	bnew 47606 <_Heap_Walk+0x312>               
  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)(                                                         
   4732e:	2f2c 000c      	movel %a4@(12),%sp@-                        
   47332:	2f2c 0008      	movel %a4@(8),%sp@-                         
   47336:	2f05           	movel %d5,%sp@-                             
   47338:	2f0a           	movel %a2,%sp@-                             
   4733a:	2f2c 001c      	movel %a4@(28),%sp@-                        
   4733e:	2f2c 0018      	movel %a4@(24),%sp@-                        
   47342:	2f03           	movel %d3,%sp@-                             
   47344:	2f06           	movel %d6,%sp@-                             
   47346:	4879 0005 d3cc 	pea 5d3cc <C.30.3399+0xe>                   
   4734c:	42a7           	clrl %sp@-                                  
   4734e:	2f02           	movel %d2,%sp@-                             
   47350:	4e93           	jsr %a3@                                    
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
   47352:	4fef 002c      	lea %sp@(44),%sp                            
   47356:	4a86           	tstl %d6                                    
   47358:	6608           	bnes 47362 <_Heap_Walk+0x6e>                
    (*printer)( source, true, "page size is zero\n" );                
   4735a:	4879 0005 d45d 	pea 5d45d <C.30.3399+0x9f>                  
   47360:	607e           	bras 473e0 <_Heap_Walk+0xec>                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
   47362:	7003           	moveq #3,%d0                                
   47364:	c086           	andl %d6,%d0                                
   47366:	670c           	beqs 47374 <_Heap_Walk+0x80>                
    (*printer)(                                                       
   47368:	2f06           	movel %d6,%sp@-                             
   4736a:	4879 0005 d470 	pea 5d470 <C.30.3399+0xb2>                  
   47370:	6000 0268      	braw 475da <_Heap_Walk+0x2e6>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
   47374:	2203           	movel %d3,%d1                               
   47376:	4c46 1000      	remul %d6,%d0,%d1                           
   4737a:	4a80           	tstl %d0                                    
   4737c:	670c           	beqs 4738a <_Heap_Walk+0x96>                
    (*printer)(                                                       
   4737e:	2f03           	movel %d3,%sp@-                             
   47380:	4879 0005 d48e 	pea 5d48e <C.30.3399+0xd0>                  
   47386:	6000 0252      	braw 475da <_Heap_Walk+0x2e6>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
   4738a:	200a           	movel %a2,%d0                               
   4738c:	5080           	addql #8,%d0                                
   4738e:	4c46 0001      	remul %d6,%d1,%d0                           
   47392:	4a81           	tstl %d1                                    
   47394:	670c           	beqs 473a2 <_Heap_Walk+0xae>                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
   47396:	2f0a           	movel %a2,%sp@-                             
   47398:	4879 0005 d4b2 	pea 5d4b2 <C.30.3399+0xf4>                  
   4739e:	6000 023a      	braw 475da <_Heap_Walk+0x2e6>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
   473a2:	7001           	moveq #1,%d0                                
   473a4:	c0aa 0004      	andl %a2@(4),%d0                            
   473a8:	4a00           	tstb %d0                                    
   473aa:	6608           	bnes 473b4 <_Heap_Walk+0xc0>                
    (*printer)(                                                       
   473ac:	4879 0005 d4e3 	pea 5d4e3 <C.30.3399+0x125>                 
   473b2:	602c           	bras 473e0 <_Heap_Walk+0xec>                
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( first_block->prev_size != page_size ) {                        
   473b4:	2812           	movel %a2@,%d4                              
   473b6:	bc84           	cmpl %d4,%d6                                
   473b8:	670e           	beqs 473c8 <_Heap_Walk+0xd4>                
    (*printer)(                                                       
   473ba:	2f06           	movel %d6,%sp@-                             
   473bc:	2f04           	movel %d4,%sp@-                             
   473be:	4879 0005 d511 	pea 5d511 <C.30.3399+0x153>                 
   473c4:	6000 0150      	braw 47516 <_Heap_Walk+0x222>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
   473c8:	2045           	moveal %d5,%a0                              
   473ca:	70fe           	moveq #-2,%d0                               
   473cc:	7201           	moveq #1,%d1                                
   473ce:	c0a8 0004      	andl %a0@(4),%d0                            
   473d2:	c2b0 0804      	andl %a0@(00000004,%d0:l),%d1               
   473d6:	4a01           	tstb %d1                                    
   473d8:	6616           	bnes 473f0 <_Heap_Walk+0xfc>                
    (*printer)(                                                       
   473da:	4879 0005 d53c 	pea 5d53c <C.30.3399+0x17e>                 
   473e0:	4878 0001      	pea 1 <ADD>                                 
   473e4:	2f02           	movel %d2,%sp@-                             
   473e6:	4e93           	jsr %a3@                                    
   473e8:	4fef 000c      	lea %sp@(12),%sp                            
   473ec:	6000 01f8      	braw 475e6 <_Heap_Walk+0x2f2>               
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
   473f0:	2c2c 0010      	movel %a4@(16),%d6                          
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
   473f4:	220c           	movel %a4,%d1                               
   473f6:	206c 0008      	moveal %a4@(8),%a0                          
   473fa:	606a           	bras 47466 <_Heap_Walk+0x172>               
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           
   473fc:	b1ec 0020      	cmpal %a4@(32),%a0                          
   47400:	650e           	bcss 47410 <_Heap_Walk+0x11c>               
   47402:	b1ec 0024      	cmpal %a4@(36),%a0                          
   47406:	53c0           	sls %d0                                     
   47408:	49c0           	extbl %d0                                   
   4740a:	4480           	negl %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 ) ) {              
   4740c:	4a00           	tstb %d0                                    
   4740e:	660c           	bnes 4741c <_Heap_Walk+0x128>               <== ALWAYS TAKEN
      (*printer)(                                                     
   47410:	2f08           	movel %a0,%sp@-                             
   47412:	4879 0005 d551 	pea 5d551 <C.30.3399+0x193>                 
   47418:	6000 01c0      	braw 475da <_Heap_Walk+0x2e6>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
   4741c:	4c46 7000      	remul %d6,%d0,%d7                           
   47420:	4a80           	tstl %d0                                    
   47422:	670c           	beqs 47430 <_Heap_Walk+0x13c>               
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
   47424:	2f08           	movel %a0,%sp@-                             
   47426:	4879 0005 d571 	pea 5d571 <C.30.3399+0x1b3>                 
   4742c:	6000 01ac      	braw 475da <_Heap_Walk+0x2e6>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   47430:	70fe           	moveq #-2,%d0                               
   47432:	7e01           	moveq #1,%d7                                
   47434:	c0a8 0004      	andl %a0@(4),%d0                            
   47438:	ceb0 0804      	andl %a0@(00000004,%d0:l),%d7               
   4743c:	670c           	beqs 4744a <_Heap_Walk+0x156>               
      (*printer)(                                                     
   4743e:	2f08           	movel %a0,%sp@-                             
   47440:	4879 0005 d5a1 	pea 5d5a1 <C.30.3399+0x1e3>                 
   47446:	6000 0192      	braw 475da <_Heap_Walk+0x2e6>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
   4744a:	2028 000c      	movel %a0@(12),%d0                          
   4744e:	b280           	cmpl %d0,%d1                                
   47450:	670e           	beqs 47460 <_Heap_Walk+0x16c>               
      (*printer)(                                                     
   47452:	2f00           	movel %d0,%sp@-                             
   47454:	2f08           	movel %a0,%sp@-                             
   47456:	4879 0005 d5bd 	pea 5d5bd <C.30.3399+0x1ff>                 
   4745c:	6000 00b8      	braw 47516 <_Heap_Walk+0x222>               
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
   47460:	2208           	movel %a0,%d1                               
   47462:	2068 0008      	moveal %a0@(8),%a0                          
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
   47466:	2e08           	movel %a0,%d7                               
   47468:	5087           	addql #8,%d7                                
  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 ) {                            
   4746a:	b9c8           	cmpal %a0,%a4                               
   4746c:	668e           	bnes 473fc <_Heap_Walk+0x108>               
   4746e:	6000 0190      	braw 47600 <_Heap_Walk+0x30c>               
    - 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;                
   47472:	202a 0004      	movel %a2@(4),%d0                           
   47476:	7cfe           	moveq #-2,%d6                               
    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;        
                                                                      
    if ( prev_used ) {                                                
   47478:	7201           	moveq #1,%d1                                
   4747a:	cc80           	andl %d0,%d6                                
   4747c:	c081           	andl %d1,%d0                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4747e:	4bf2 6800      	lea %a2@(00000000,%d6:l),%a5                
   47482:	4a00           	tstb %d0                                    
   47484:	6716           	beqs 4749c <_Heap_Walk+0x1a8>               
      (*printer)(                                                     
   47486:	2f06           	movel %d6,%sp@-                             
   47488:	2f0a           	movel %a2,%sp@-                             
   4748a:	4879 0005 d5ef 	pea 5d5ef <C.30.3399+0x231>                 
   47490:	42a7           	clrl %sp@-                                  
   47492:	2f02           	movel %d2,%sp@-                             
   47494:	4e93           	jsr %a3@                                    
   47496:	4fef 0014      	lea %sp@(20),%sp                            
   4749a:	6016           	bras 474b2 <_Heap_Walk+0x1be>               
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
   4749c:	2f12           	movel %a2@,%sp@-                            
   4749e:	2f06           	movel %d6,%sp@-                             
   474a0:	2f0a           	movel %a2,%sp@-                             
   474a2:	4879 0005 d606 	pea 5d606 <C.30.3399+0x248>                 
   474a8:	42a7           	clrl %sp@-                                  
   474aa:	2f02           	movel %d2,%sp@-                             
   474ac:	4e93           	jsr %a3@                                    
   474ae:	4fef 0018      	lea %sp@(24),%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           
   474b2:	bbec 0020      	cmpal %a4@(32),%a5                          
   474b6:	650e           	bcss 474c6 <_Heap_Walk+0x1d2>               <== NEVER TAKEN
   474b8:	bbec 0024      	cmpal %a4@(36),%a5                          
   474bc:	53c0           	sls %d0                                     
   474be:	49c0           	extbl %d0                                   
   474c0:	4480           	negl %d0                                    
        block_size,                                                   
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
   474c2:	4a00           	tstb %d0                                    
   474c4:	660c           	bnes 474d2 <_Heap_Walk+0x1de>               
      (*printer)(                                                     
   474c6:	2f0d           	movel %a5,%sp@-                             
   474c8:	2f0a           	movel %a2,%sp@-                             
   474ca:	4879 0005 d62b 	pea 5d62b <C.30.3399+0x26d>                 
   474d0:	6044           	bras 47516 <_Heap_Walk+0x222>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) ) {               
   474d2:	2206           	movel %d6,%d1                               
   474d4:	4c44 1000      	remul %d4,%d0,%d1                           
   474d8:	4a80           	tstl %d0                                    
   474da:	670c           	beqs 474e8 <_Heap_Walk+0x1f4>               
      (*printer)(                                                     
   474dc:	2f06           	movel %d6,%sp@-                             
   474de:	2f0a           	movel %a2,%sp@-                             
   474e0:	4879 0005 d658 	pea 5d658 <C.30.3399+0x29a>                 
   474e6:	602e           	bras 47516 <_Heap_Walk+0x222>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size ) {                              
   474e8:	b686           	cmpl %d6,%d3                                
   474ea:	631c           	blss 47508 <_Heap_Walk+0x214>               
      (*printer)(                                                     
   474ec:	2f03           	movel %d3,%sp@-                             
   474ee:	2f06           	movel %d6,%sp@-                             
   474f0:	2f0a           	movel %a2,%sp@-                             
   474f2:	4879 0005 d686 	pea 5d686 <C.30.3399+0x2c8>                 
   474f8:	4878 0001      	pea 1 <ADD>                                 
   474fc:	2f02           	movel %d2,%sp@-                             
   474fe:	4e93           	jsr %a3@                                    
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
   47500:	4fef 0018      	lea %sp@(24),%sp                            
   47504:	6000 00e0      	braw 475e6 <_Heap_Walk+0x2f2>               
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin ) {                          
   47508:	b5cd           	cmpal %a5,%a2                               
   4750a:	651a           	bcss 47526 <_Heap_Walk+0x232>               
      (*printer)(                                                     
   4750c:	2f0d           	movel %a5,%sp@-                             
   4750e:	2f0a           	movel %a2,%sp@-                             
   47510:	4879 0005 d6b1 	pea 5d6b1 <C.30.3399+0x2f3>                 
   47516:	4878 0001      	pea 1 <ADD>                                 
   4751a:	2f02           	movel %d2,%sp@-                             
   4751c:	4e93           	jsr %a3@                                    
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
   4751e:	4fef 0014      	lea %sp@(20),%sp                            
   47522:	6000 00c2      	braw 475e6 <_Heap_Walk+0x2f2>               
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
   47526:	7001           	moveq #1,%d0                                
   47528:	c0ad 0004      	andl %a5@(4),%d0                            
   4752c:	4a00           	tstb %d0                                    
   4752e:	6600 00ce      	bnew 475fe <_Heap_Walk+0x30a>               
  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;                 
   47532:	2e2a 0004      	movel %a2@(4),%d7                           
    - 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;                
   47536:	7cfe           	moveq #-2,%d6                               
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
   47538:	43f9 0005 d6e5 	lea 5d6e5 <C.30.3399+0x327>,%a1             
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
   4753e:	206c 0008      	moveal %a4@(8),%a0                          
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   47542:	cc87           	andl %d7,%d6                                
  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;                 
   47544:	2d47 fffc      	movel %d7,%fp@(-4)                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   47548:	2e0a           	movel %a2,%d7                               
   4754a:	de86           	addl %d6,%d7                                
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
   4754c:	2d48 fff8      	movel %a0,%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)(                                                         
   47550:	206a 0008      	moveal %a2@(8),%a0                          
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
   47554:	b1ec 000c      	cmpal %a4@(12),%a0                          
   47558:	6710           	beqs 4756a <_Heap_Walk+0x276>               
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
   4755a:	43f9 0005 d6ef 	lea 5d6ef <C.30.3399+0x331>,%a1             
   47560:	b9c8           	cmpal %a0,%a4                               
   47562:	6706           	beqs 4756a <_Heap_Walk+0x276>               
   47564:	43f9 0005 d31c 	lea 5d31c <rtems_filesystem_default_pathconf+0x40>,%a1
  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)(                                                         
   4756a:	202a 000c      	movel %a2@(12),%d0                          
   4756e:	223c 0005 d6f9 	movel #382713,%d1                           
   47574:	b0ae fff8      	cmpl %fp@(-8),%d0                           
   47578:	6710           	beqs 4758a <_Heap_Walk+0x296>               
    "block 0x%08x: prev 0x%08x%s, next 0x%08x%s\n",                   
    block,                                                            
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first)"                                                    
        : (block->prev == free_list_head ? " (= head)" : ""),         
   4757a:	223c 0005 d704 	movel #382724,%d1                           
   47580:	b9c0           	cmpal %d0,%a4                               
   47582:	6706           	beqs 4758a <_Heap_Walk+0x296>               
   47584:	223c 0005 d31c 	movel #381724,%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)(                                                         
   4758a:	2f09           	movel %a1,%sp@-                             
   4758c:	2f08           	movel %a0,%sp@-                             
   4758e:	2f01           	movel %d1,%sp@-                             
   47590:	2f00           	movel %d0,%sp@-                             
   47592:	2f0a           	movel %a2,%sp@-                             
   47594:	4879 0005 d70e 	pea 5d70e <C.30.3399+0x350>                 
   4759a:	42a7           	clrl %sp@-                                  
   4759c:	2f02           	movel %d2,%sp@-                             
   4759e:	4e93           	jsr %a3@                                    
    block->next == last_free_block ?                                  
      " (= last)"                                                     
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
   475a0:	4fef 0020      	lea %sp@(32),%sp                            
   475a4:	2047           	moveal %d7,%a0                              
   475a6:	2010           	movel %a0@,%d0                              
   475a8:	b086           	cmpl %d6,%d0                                
   475aa:	671c           	beqs 475c8 <_Heap_Walk+0x2d4>               
    (*printer)(                                                       
   475ac:	2f07           	movel %d7,%sp@-                             
   475ae:	2f00           	movel %d0,%sp@-                             
   475b0:	2f06           	movel %d6,%sp@-                             
   475b2:	2f0a           	movel %a2,%sp@-                             
   475b4:	4879 0005 d73a 	pea 5d73a <C.30.3399+0x37c>                 
   475ba:	4878 0001      	pea 1 <ADD>                                 
   475be:	2f02           	movel %d2,%sp@-                             
   475c0:	4e93           	jsr %a3@                                    
   475c2:	4fef 001c      	lea %sp@(28),%sp                            
   475c6:	601e           	bras 475e6 <_Heap_Walk+0x2f2>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
   475c8:	7001           	moveq #1,%d0                                
   475ca:	c0ae fffc      	andl %fp@(-4),%d0                           
   475ce:	4a00           	tstb %d0                                    
   475d0:	6618           	bnes 475ea <_Heap_Walk+0x2f6>               
    (*printer)(                                                       
   475d2:	2f0a           	movel %a2,%sp@-                             
   475d4:	4879 0005 d773 	pea 5d773 <C.30.3399+0x3b5>                 
   475da:	4878 0001      	pea 1 <ADD>                                 
   475de:	2f02           	movel %d2,%sp@-                             
   475e0:	4e93           	jsr %a3@                                    
   475e2:	4fef 0010      	lea %sp@(16),%sp                            
   475e6:	4200           	clrb %d0                                    
   475e8:	601e           	bras 47608 <_Heap_Walk+0x314>               
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
   475ea:	206c 0008      	moveal %a4@(8),%a0                          
   475ee:	6008           	bras 475f8 <_Heap_Walk+0x304>               
{                                                                     
  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 ) {                                      
   475f0:	b5c8           	cmpal %a0,%a2                               
   475f2:	670a           	beqs 475fe <_Heap_Walk+0x30a>               
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
   475f4:	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 ) {                            
   475f8:	b9c8           	cmpal %a0,%a4                               
   475fa:	66f4           	bnes 475f0 <_Heap_Walk+0x2fc>               
   475fc:	6014           	bras 47612 <_Heap_Walk+0x31e>               
   475fe:	244d           	moveal %a5,%a2                              
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
  }                                                                   
                                                                      
  while ( block != last_block ) {                                     
   47600:	ba8a           	cmpl %a2,%d5                                
   47602:	6600 fe6e      	bnew 47472 <_Heap_Walk+0x17e>               
   47606:	7001           	moveq #1,%d0                                
                                                                      
    block = next_block;                                               
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   47608:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            
   4760e:	4e5e           	unlk %fp                                    
   47610:	4e75           	rts                                         
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   47612:	2f0a           	movel %a2,%sp@-                             
   47614:	4879 0005 d7a2 	pea 5d7a2 <C.30.3399+0x3e4>                 
   4761a:	60be           	bras 475da <_Heap_Walk+0x2e6>               
                                                                      

00046930 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
   46930:	4e56 0000      	linkw %fp,#0                                
   46934:	222e 000c      	movel %fp@(12),%d1                          
   46938:	2f03           	movel %d3,%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;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
   4693a:	4283           	clrl %d3                                    
   4693c:	1601           	moveb %d1,%d3                               
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
   4693e:	2f02           	movel %d2,%sp@-                             
   46940:	242e 0010      	movel %fp@(16),%d2                          
                                                                      
  _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 );       
   46944:	2f02           	movel %d2,%sp@-                             
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
   46946:	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 );       
   4694a:	2f03           	movel %d3,%sp@-                             
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
   4694c:	263c 0000 0700 	movel #1792,%d3                             
                                                                      
  _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 );       
   46952:	2f00           	movel %d0,%sp@-                             
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
   46954:	13c1 0005 efe6 	moveb %d1,5efe6 <_Internal_errors_What_happened+0x4>
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
   4695a:	23c0 0005 efe2 	movel %d0,5efe2 <_Internal_errors_What_happened>
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
   46960:	23c2 0005 efe8 	movel %d2,5efe8 <_Internal_errors_What_happened+0x6>
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
   46966:	4eb9 0004 84da 	jsr 484da <_User_extensions_Fatal>          
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
   4696c:	40c0           	movew %sr,%d0                               
   4696e:	8083           	orl %d3,%d0                                 
   46970:	46c0           	movew %d0,%sr                               
   46972:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   46974:	223c dead beef 	movel #-559038737,%d1                       <== NOT EXECUTED
   4697a:	4ac8           	halt                                        <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
   4697c:	7005           	moveq #5,%d0                                
   4697e:	4fef 000c      	lea %sp@(12),%sp                            
   46982:	23c0 0005 f0c4 	movel %d0,5f0c4 <_System_state_Current>     
   46988:	60fe           	bras 46988 <_Internal_error_Occurred+0x58>  
	...                                                                  
                                                                      

000469f4 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
   469f4:	4e56 fff0      	linkw %fp,#-16                              
   469f8:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   469fc:	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 )                                       
   46a00:	4aaa 0014      	tstl %a2@(20)                               
   46a04:	6604           	bnes 46a0a <_Objects_Allocate+0x16>         <== ALWAYS TAKEN
   46a06:	4280           	clrl %d0                                    <== NOT EXECUTED
   46a08:	605e           	bras 46a68 <_Objects_Allocate+0x74>         <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  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 );
   46a0a:	240a           	movel %a2,%d2                               
   46a0c:	0682 0000 001c 	addil #28,%d2                               
   46a12:	47f9 0004 61c0 	lea 461c0 <_Chain_Get>,%a3                  
   46a18:	2f02           	movel %d2,%sp@-                             
   46a1a:	4e93           	jsr %a3@                                    
                                                                      
  if ( information->auto_extend ) {                                   
   46a1c:	588f           	addql #4,%sp                                
   46a1e:	4a2a 0010      	tstb %a2@(16)                               
   46a22:	6744           	beqs 46a68 <_Objects_Allocate+0x74>         
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
   46a24:	4a80           	tstl %d0                                    
   46a26:	6612           	bnes 46a3a <_Objects_Allocate+0x46>         
      _Objects_Extend_information( information );                     
   46a28:	2f0a           	movel %a2,%sp@-                             
   46a2a:	4eb9 0004 6aa0 	jsr 46aa0 <_Objects_Extend_information>     
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
   46a30:	2f02           	movel %d2,%sp@-                             
   46a32:	4e93           	jsr %a3@                                    
    }                                                                 
                                                                      
    if ( the_object ) {                                               
   46a34:	508f           	addql #8,%sp                                
   46a36:	4a80           	tstl %d0                                    
   46a38:	672e           	beqs 46a68 <_Objects_Allocate+0x74>         
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   46a3a:	2040           	moveal %d0,%a0                              
   46a3c:	4281           	clrl %d1                                    
   46a3e:	4283           	clrl %d3                                    
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a40:	4282           	clrl %d2                                    
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   46a42:	362a 0008      	movew %a2@(8),%d3                           
   46a46:	3228 000a      	movew %a0@(10),%d1                          
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a4a:	342a 0012      	movew %a2@(18),%d2                          
      information->inactive--;                                        
   46a4e:	306a 0028      	moveaw %a2@(40),%a0                         
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   46a52:	9283           	subl %d3,%d1                                
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a54:	4c42 1001      	remul %d2,%d1,%d1                           
      information->inactive--;                                        
   46a58:	5388           	subql #1,%a0                                
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a5a:	e589           	lsll #2,%d1                                 
      information->inactive--;                                        
   46a5c:	3548 0028      	movew %a0,%a2@(40)                          
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   46a60:	206a 002a      	moveal %a2@(42),%a0                         
   46a64:	d1c1           	addal %d1,%a0                               
   46a66:	5390           	subql #1,%a0@                               
      information->inactive--;                                        
    }                                                                 
  }                                                                   
                                                                      
  return the_object;                                                  
}                                                                     
   46a68:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   46a6e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046a74 <_Objects_Close>: #if defined(RTEMS_DEBUG) if ( index > information->maximum ) return; #endif information->local_table[ index ] = the_object;
   46a74:	4280           	clrl %d0                                    
                                                                      
void _Objects_Close(                                                  
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
   46a76:	4e56 0000      	linkw %fp,#0                                
   46a7a:	226e 000c      	moveal %fp@(12),%a1                         
   46a7e:	206e 0008      	moveal %fp@(8),%a0                          
   46a82:	2f0a           	movel %a2,%sp@-                             
   46a84:	2468 0018      	moveal %a0@(24),%a2                         
   46a88:	3029 000a      	movew %a1@(10),%d0                          
   46a8c:	42b2 0c00      	clrl %a2@(00000000,%d0:l:4)                 
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
   46a90:	2d49 000c      	movel %a1,%fp@(12)                          
}                                                                     
   46a94:	245f           	moveal %sp@+,%a2                            
   46a96:	4e5e           	unlk %fp                                    
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
   46a98:	4ef9 0004 6f98 	jmp 46f98 <_Objects_Namespace_remove>       
	...                                                                  
                                                                      

00046d98 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint32_t the_class ) {
   46d98:	4e56 0000      	linkw %fp,#0                                
   46d9c:	2f03           	movel %d3,%sp@-                             
   46d9e:	262e 0008      	movel %fp@(8),%d3                           
   46da2:	2f02           	movel %d2,%sp@-                             
   46da4:	242e 000c      	movel %fp@(12),%d2                          
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
   46da8:	672e           	beqs 46dd8 <_Objects_Get_information+0x40>  
                                                                      
  /*                                                                  
   *  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 );      
   46daa:	2f03           	movel %d3,%sp@-                             
   46dac:	4eb9 0004 baf8 	jsr 4baf8 <_Objects_API_maximum_class>      
  if ( the_class_api_maximum == 0 )                                   
   46db2:	588f           	addql #4,%sp                                
   46db4:	4a80           	tstl %d0                                    
   46db6:	6720           	beqs 46dd8 <_Objects_Get_information+0x40>  
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
   46db8:	b082           	cmpl %d2,%d0                                
   46dba:	651c           	bcss 46dd8 <_Objects_Get_information+0x40>  
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
   46dbc:	41f9 0005 eef4 	lea 5eef4 <_Objects_Information_table>,%a0  
   46dc2:	2070 3c00      	moveal %a0@(00000000,%d3:l:4),%a0           
   46dc6:	4a88           	tstl %a0                                    
   46dc8:	670e           	beqs 46dd8 <_Objects_Get_information+0x40>  <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
   46dca:	2030 2c00      	movel %a0@(00000000,%d2:l:4),%d0            
  if ( !info )                                                        
   46dce:	670a           	beqs 46dda <_Objects_Get_information+0x42>  <== NEVER TAKEN
   *  In a multprocessing configuration, we may access remote objects.
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
   46dd0:	2040           	moveal %d0,%a0                              
   46dd2:	4a68 000e      	tstw %a0@(14)                               
   46dd6:	6602           	bnes 46dda <_Objects_Get_information+0x42>  
   46dd8:	4280           	clrl %d0                                    
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
   46dda:	242e fff8      	movel %fp@(-8),%d2                          
   46dde:	262e fffc      	movel %fp@(-4),%d3                          
   46de2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046fd4 <_Objects_Get_next>: Objects_Information *information, Objects_Id id, Objects_Locations *location_p, Objects_Id *next_id_p ) {
   46fd4:	4e56 ffec      	linkw %fp,#-20                              
   46fd8:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   46fdc:	266e 0008      	moveal %fp@(8),%a3                          
   46fe0:	242e 000c      	movel %fp@(12),%d2                          
   46fe4:	246e 0010      	moveal %fp@(16),%a2                         
   46fe8:	286e 0014      	moveal %fp@(20),%a4                         
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
   46fec:	4a8b           	tstl %a3                                    
   46fee:	6746           	beqs 47036 <_Objects_Get_next+0x62>         <== NEVER TAKEN
      return NULL;                                                    
                                                                      
    if ( !location_p )                                                
   46ff0:	4a8a           	tstl %a2                                    
   46ff2:	6742           	beqs 47036 <_Objects_Get_next+0x62>         <== NEVER TAKEN
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
   46ff4:	4a8c           	tstl %a4                                    
   46ff6:	673e           	beqs 47036 <_Objects_Get_next+0x62>         <== NEVER TAKEN
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
   46ff8:	4a42           	tstw %d2                                    
   46ffa:	6604           	bnes 47000 <_Objects_Get_next+0x2c>         <== NEVER TAKEN
        next_id = information->minimum_id;                            
   46ffc:	242b 0006      	movel %a3@(6),%d2                           
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
   47000:	4bf9 0004 7044 	lea 47044 <_Objects_Get>,%a5                
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
   47006:	4281           	clrl %d1                                    
   47008:	4280           	clrl %d0                                    
   4700a:	322b 000e      	movew %a3@(14),%d1                          
   4700e:	3002           	movew %d2,%d0                               
   47010:	b081           	cmpl %d1,%d0                                
   47012:	630c           	blss 47020 <_Objects_Get_next+0x4c>         
        {                                                             
            *location_p = OBJECTS_ERROR;                              
   47014:	7401           	moveq #1,%d2                                
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
   47016:	72ff           	moveq #-1,%d1                               
   47018:	4280           	clrl %d0                                    
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
        {                                                             
            *location_p = OBJECTS_ERROR;                              
   4701a:	2482           	movel %d2,%a2@                              
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
   4701c:	2881           	movel %d1,%a4@                              
    return 0;                                                         
   4701e:	6018           	bras 47038 <_Objects_Get_next+0x64>         
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
   47020:	2f0a           	movel %a2,%sp@-                             
   47022:	2f02           	movel %d2,%sp@-                             
                                                                      
        next_id++;                                                    
   47024:	5282           	addql #1,%d2                                
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
   47026:	2f0b           	movel %a3,%sp@-                             
   47028:	4e95           	jsr %a5@                                    
                                                                      
        next_id++;                                                    
                                                                      
    } while (*location_p != OBJECTS_LOCAL);                           
   4702a:	4fef 000c      	lea %sp@(12),%sp                            
   4702e:	4a92           	tstl %a2@                                   
   47030:	66d4           	bnes 47006 <_Objects_Get_next+0x32>         
                                                                      
    *next_id_p = next_id;                                             
   47032:	2882           	movel %d2,%a4@                              
    return object;                                                    
   47034:	6002           	bras 47038 <_Objects_Get_next+0x64>         
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
   47036:	4280           	clrl %d0                                    
}                                                                     
   47038:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4703e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0005400c <_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;
   5400c:	7001           	moveq #1,%d0                                
                                                                      
  if ( information->maximum >= index ) {                              
   5400e:	4281           	clrl %d1                                    
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
   54010:	4e56 0000      	linkw %fp,#0                                
   54014:	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;                           
   54018:	90a8 0006      	subl %a0@(6),%d0                            
   5401c:	d0ae 000c      	addl %fp@(12),%d0                           
                                                                      
  if ( information->maximum >= index ) {                              
   54020:	3228 000e      	movew %a0@(14),%d1                          
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
   54024:	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 ) {                              
   54028:	b081           	cmpl %d1,%d0                                
   5402a:	620e           	bhis 5403a <_Objects_Get_no_protection+0x2e>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
   5402c:	2068 0018      	moveal %a0@(24),%a0                         
   54030:	2030 0c00      	movel %a0@(00000000,%d0:l:4),%d0            
   54034:	6704           	beqs 5403a <_Objects_Get_no_protection+0x2e><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
   54036:	4291           	clrl %a1@                                   
      return the_object;                                              
   54038:	6006           	bras 54040 <_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;                                          
   5403a:	7001           	moveq #1,%d0                                
   5403c:	2280           	movel %d0,%a1@                              
   5403e:	4280           	clrl %d0                                    
  return NULL;                                                        
}                                                                     
   54040:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047cc8 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
   47cc8:	4e56 fffc      	linkw %fp,#-4                               
   47ccc:	222e 0008      	movel %fp@(8),%d1                           
   47cd0:	2f02           	movel %d2,%sp@-                             
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
   47cd2:	4a81           	tstl %d1                                    
   47cd4:	660a           	bnes 47ce0 <_Objects_Id_to_name+0x18>       
   47cd6:	2079 0006 041e 	moveal 6041e <_Thread_Executing>,%a0        
   47cdc:	2228 0008      	movel %a0@(8),%d1                           
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
   47ce0:	7418           	moveq #24,%d2                               
   47ce2:	2001           	movel %d1,%d0                               
   47ce4:	e4a8           	lsrl %d2,%d0                                
   47ce6:	143c 0007      	moveb #7,%d2                                
   47cea:	c082           	andl %d2,%d0                                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
   47cec:	143c 0003      	moveb #3,%d2                                
   47cf0:	2040           	moveal %d0,%a0                              
   47cf2:	5388           	subql #1,%a0                                
   47cf4:	b488           	cmpl %a0,%d2                                
   47cf6:	6540           	bcss 47d38 <_Objects_Id_to_name+0x70>       
   47cf8:	6048           	bras 47d42 <_Objects_Id_to_name+0x7a>       
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
   47cfa:	2001           	movel %d1,%d0                               
   47cfc:	741b           	moveq #27,%d2                               
   47cfe:	e4a8           	lsrl %d2,%d0                                
   47d00:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
  if ( !information )                                                 
   47d04:	4a88           	tstl %a0                                    
   47d06:	6730           	beqs 47d38 <_Objects_Id_to_name+0x70>       <== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
   47d08:	4a28 0032      	tstb %a0@(50)                               
   47d0c:	662a           	bnes 47d38 <_Objects_Id_to_name+0x70>       <== NEVER TAKEN
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
   47d0e:	486e fffc      	pea %fp@(-4)                                
   47d12:	2f01           	movel %d1,%sp@-                             
   47d14:	2f08           	movel %a0,%sp@-                             
   47d16:	4eb9 0004 7c68 	jsr 47c68 <_Objects_Get>                    
  if ( !the_object )                                                  
   47d1c:	4fef 000c      	lea %sp@(12),%sp                            
   47d20:	4a80           	tstl %d0                                    
   47d22:	6714           	beqs 47d38 <_Objects_Id_to_name+0x70>       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
   47d24:	206e 000c      	moveal %fp@(12),%a0                         
   47d28:	2240           	moveal %d0,%a1                              
   47d2a:	20a9 000c      	movel %a1@(12),%a0@                         
  _Thread_Enable_dispatch();                                          
   47d2e:	4eb9 0004 8566 	jsr 48566 <_Thread_Enable_dispatch>         
   47d34:	4280           	clrl %d0                                    
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
   47d36:	6002           	bras 47d3a <_Objects_Id_to_name+0x72>       
   47d38:	7003           	moveq #3,%d0                                
}                                                                     
   47d3a:	242e fff8      	movel %fp@(-8),%d2                          
   47d3e:	4e5e           	unlk %fp                                    
   47d40:	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 ] )                       
   47d42:	41f9 0006 031c 	lea 6031c <_Objects_Information_table>,%a0  
   47d48:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
   47d4c:	4a88           	tstl %a0                                    
   47d4e:	66aa           	bnes 47cfa <_Objects_Id_to_name+0x32>       
   47d50:	60e6           	bras 47d38 <_Objects_Id_to_name+0x70>       
	...                                                                  
                                                                      

000473a8 <_Objects_Set_name>: { size_t length; const char *s; s = name; length = strnlen( name, information->name_length );
   473a8:	4280           	clrl %d0                                    
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   473aa:	4e56 ffe0      	linkw %fp,#-32                              
   473ae:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   473b2:	2a6e 0008      	moveal %fp@(8),%a5                          
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473b6:	302d 0034      	movew %a5@(52),%d0                          
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   473ba:	246e 0010      	moveal %fp@(16),%a2                         
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473be:	2f00           	movel %d0,%sp@-                             
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   473c0:	286e 000c      	moveal %fp@(12),%a4                         
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473c4:	2f0a           	movel %a2,%sp@-                             
   473c6:	4eb9 0004 fd3c 	jsr 4fd3c <strnlen>                         
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
   473cc:	508f           	addql #8,%sp                                
{                                                                     
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   473ce:	2640           	moveal %d0,%a3                              
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
   473d0:	4a2d 0032      	tstb %a5@(50)                               
   473d4:	6748           	beqs 4741e <_Objects_Set_name+0x76>         <== NEVER TAKEN
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
   473d6:	486b 0001      	pea %a3@(1)                                 
   473da:	4eb9 0004 8cac 	jsr 48cac <_Workspace_Allocate>             
    if ( !d )                                                         
   473e0:	588f           	addql #4,%sp                                
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
   473e2:	2a40           	moveal %d0,%a5                              
    if ( !d )                                                         
   473e4:	4a80           	tstl %d0                                    
   473e6:	6604           	bnes 473ec <_Objects_Set_name+0x44>         <== ALWAYS TAKEN
   473e8:	4200           	clrb %d0                                    
   473ea:	6076           	bras 47462 <_Objects_Set_name+0xba>         
      return false;                                                   
                                                                      
    if ( the_object->name.name_p ) {                                  
   473ec:	202c 000c      	movel %a4@(12),%d0                          
   473f0:	670e           	beqs 47400 <_Objects_Set_name+0x58>         <== NEVER TAKEN
      _Workspace_Free( (void *)the_object->name.name_p );             
   473f2:	2f00           	movel %d0,%sp@-                             
   473f4:	4eb9 0004 8cc8 	jsr 48cc8 <_Workspace_Free>                 
      the_object->name.name_p = NULL;                                 
   473fa:	588f           	addql #4,%sp                                
   473fc:	42ac 000c      	clrl %a4@(12)                               
    }                                                                 
                                                                      
    strncpy( d, name, length );                                       
   47400:	2f0b           	movel %a3,%sp@-                             
   47402:	2f0a           	movel %a2,%sp@-                             
   47404:	2f0d           	movel %a5,%sp@-                             
   47406:	4eb9 0004 fcb4 	jsr 4fcb4 <strncpy>                         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
   4740c:	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';                                                 
   47410:	4200           	clrb %d0                                    
   47412:	1b80 b800      	moveb %d0,%a5@(00000000,%a3:l)              
    the_object->name.name_p = d;                                      
   47416:	7001           	moveq #1,%d0                                
   47418:	294d 000c      	movel %a5,%a4@(12)                          
   4741c:	6044           	bras 47462 <_Objects_Set_name+0xba>         
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
   4741e:	7201           	moveq #1,%d1                                
   47420:	1012           	moveb %a2@,%d0                              
   47422:	b28b           	cmpl %a3,%d1                                
   47424:	6446           	bccs 4746c <_Objects_Set_name+0xc4>         
   47426:	7602           	moveq #2,%d3                                
   47428:	142a 0001      	moveb %a2@(1),%d2                           
   4742c:	49c2           	extbl %d2                                   
   4742e:	4842           	swap %d2                                    
   47430:	4242           	clrw %d2                                    
   47432:	b68b           	cmpl %a3,%d3                                
   47434:	643a           	bccs 47470 <_Objects_Set_name+0xc8>         
   47436:	7a03           	moveq #3,%d5                                
   47438:	122a 0002      	moveb %a2@(2),%d1                           
   4743c:	49c1           	extbl %d1                                   
   4743e:	e189           	lsll #8,%d1                                 
   47440:	ba8b           	cmpl %a3,%d5                                
   47442:	6506           	bcss 4744a <_Objects_Set_name+0xa2>         
   47444:	163c 0020      	moveb #32,%d3                               
   47448:	6006           	bras 47450 <_Objects_Set_name+0xa8>         
   4744a:	162a 0003      	moveb %a2@(3),%d3                           
   4744e:	49c3           	extbl %d3                                   
   47450:	2800           	movel %d0,%d4                               
   47452:	7a18           	moveq #24,%d5                               
   47454:	ebac           	lsll %d5,%d4                                
   47456:	7001           	moveq #1,%d0                                
   47458:	8484           	orl %d4,%d2                                 
   4745a:	8481           	orl %d1,%d2                                 
   4745c:	8483           	orl %d3,%d2                                 
   4745e:	2942 000c      	movel %d2,%a4@(12)                          
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   47462:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   47468:	4e5e           	unlk %fp                                    
   4746a:	4e75           	rts                                         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
   4746c:	7420           	moveq #32,%d2                               
   4746e:	4842           	swap %d2                                    
   47470:	223c 0000 2000 	movel #8192,%d1                             
   47476:	7620           	moveq #32,%d3                               
   47478:	60d6           	bras 47450 <_Objects_Set_name+0xa8>         
	...                                                                  
                                                                      

0004644c <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
   4644c:	4e56 ffe4      	linkw %fp,#-28                              
   46450:	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 ) ) {                      
   46454:	240e           	movel %fp,%d2                               
   46456:	5982           	subql #4,%d2                                
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   46458:	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 ) ) {                      
   4645c:	2f02           	movel %d2,%sp@-                             
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   4645e:	2a6e 0008      	moveal %fp@(8),%a5                          
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   46462:	2f0a           	movel %a2,%sp@-                             
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   46464:	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 ) ) {                      
   46468:	4eb9 0004 65fe 	jsr 465fe <_POSIX_Mutex_Get>                
   4646e:	508f           	addql #8,%sp                                
   46470:	4a80           	tstl %d0                                    
   46472:	6700 00ae      	beqw 46522 <_POSIX_Condition_variables_Wait_support+0xd6>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   46476:	2039 0006 146c 	movel 6146c <_Thread_Dispatch_disable_level>,%d0
   4647c:	5380           	subql #1,%d0                                
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
   4647e:	2f02           	movel %d2,%sp@-                             
   46480:	23c0 0006 146c 	movel %d0,6146c <_Thread_Dispatch_disable_level>
   46486:	2f0d           	movel %a5,%sp@-                             
   46488:	4eb9 0004 627c 	jsr 4627c <_POSIX_Condition_variables_Get>  
  switch ( location ) {                                               
   4648e:	508f           	addql #8,%sp                                
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
   46490:	2640           	moveal %d0,%a3                              
  switch ( location ) {                                               
   46492:	4aae fffc      	tstl %fp@(-4)                               
   46496:	6600 008a      	bnew 46522 <_POSIX_Condition_variables_Wait_support+0xd6>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
   4649a:	202b 0014      	movel %a3@(20),%d0                          
   4649e:	670c           	beqs 464ac <_POSIX_Condition_variables_Wait_support+0x60>
   464a0:	b092           	cmpl %a2@,%d0                               
   464a2:	6708           	beqs 464ac <_POSIX_Condition_variables_Wait_support+0x60>
        _Thread_Enable_dispatch();                                    
   464a4:	4eb9 0004 930a 	jsr 4930a <_Thread_Enable_dispatch>         
   464aa:	6076           	bras 46522 <_POSIX_Condition_variables_Wait_support+0xd6>
        return EINVAL;                                                
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
   464ac:	2f0a           	movel %a2,%sp@-                             
   464ae:	49f9 0004 930a 	lea 4930a <_Thread_Enable_dispatch>,%a4     
   464b4:	4eb9 0004 6804 	jsr 46804 <pthread_mutex_unlock>            
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
   464ba:	588f           	addql #4,%sp                                
   464bc:	4a03           	tstb %d3                                    
   464be:	6650           	bnes 46510 <_POSIX_Condition_variables_Wait_support+0xc4>
        the_cond->Mutex = *mutex;                                     
   464c0:	2752 0014      	movel %a2@,%a3@(20)                         
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
   464c4:	200b           	movel %a3,%d0                               
   464c6:	0680 0000 0018 	addil #24,%d0                               
                                                                      
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;
   464cc:	7201           	moveq #1,%d1                                
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
   464ce:	2079 0006 1526 	moveal 61526 <_Thread_Executing>,%a0        
   464d4:	42a8 0034      	clrl %a0@(52)                               
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
   464d8:	2155 0020      	movel %a5@,%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;  
   464dc:	2140 0044      	movel %d0,%a0@(68)                          
   464e0:	2741 0048      	movel %d1,%a3@(72)                          
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
   464e4:	4879 0004 9ae8 	pea 49ae8 <_Thread_queue_Timeout>           
   464ea:	2f2e 0010      	movel %fp@(16),%sp@-                        
   464ee:	2f00           	movel %d0,%sp@-                             
   464f0:	4eb9 0004 97a4 	jsr 497a4 <_Thread_queue_Enqueue_with_handler>
                                                                      
        _Thread_Enable_dispatch();                                    
   464f6:	4e94           	jsr %a4@                                    
        /*                                                            
         *  Switch ourself out because we blocked as a result of the  
         *  _Thread_queue_Enqueue.                                    
         */                                                           
                                                                      
        status = _Thread_Executing->Wait.return_code;                 
   464f8:	2079 0006 1526 	moveal 61526 <_Thread_Executing>,%a0        
        if ( status && status != ETIMEDOUT )                          
   464fe:	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;                 
   46502:	2428 0034      	movel %a0@(52),%d2                          
        if ( status && status != ETIMEDOUT )                          
   46506:	670c           	beqs 46514 <_POSIX_Condition_variables_Wait_support+0xc8>
   46508:	7074           	moveq #116,%d0                              
   4650a:	b082           	cmpl %d2,%d0                                
   4650c:	6616           	bnes 46524 <_POSIX_Condition_variables_Wait_support+0xd8><== NEVER TAKEN
   4650e:	6004           	bras 46514 <_POSIX_Condition_variables_Wait_support+0xc8>
          return status;                                              
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
   46510:	4e94           	jsr %a4@                                    
   46512:	7474           	moveq #116,%d2                              
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
   46514:	2f0a           	movel %a2,%sp@-                             
   46516:	4eb9 0004 676c 	jsr 4676c <pthread_mutex_lock>              
      if ( mutex_status )                                             
   4651c:	588f           	addql #4,%sp                                
   4651e:	4a80           	tstl %d0                                    
   46520:	6702           	beqs 46524 <_POSIX_Condition_variables_Wait_support+0xd8>
   46522:	7416           	moveq #22,%d2                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   46524:	2002           	movel %d2,%d0                               
   46526:	4cee 3c0c ffe4 	moveml %fp@(-28),%d2-%d3/%a2-%a5            
   4652c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d5a8 <_POSIX_Keys_Run_destructors>: */ RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API( Objects_Id id ) { return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
   4d5a8:	7218           	moveq #24,%d1                               
 */                                                                   
                                                                      
void _POSIX_Keys_Run_destructors(                                     
  Thread_Control *thread                                              
)                                                                     
{                                                                     
   4d5aa:	4e56 ffe8      	linkw %fp,#-24                              
   4d5ae:	206e 0008      	moveal %fp@(8),%a0                          
   4d5b2:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
   4d5b6:	2428 0008      	movel %a0@(8),%d2                           
   4d5ba:	2002           	movel %d2,%d0                               
   4d5bc:	e2a8           	lsrl %d1,%d0                                
   4d5be:	123c 0007      	moveb #7,%d1                                
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
   4d5c2:	0282 0000 ffff 	andil #65535,%d2                            
   4d5c8:	c081           	andl %d1,%d0                                
   4d5ca:	e58a           	lsll #2,%d2                                 
   4d5cc:	2a00           	movel %d0,%d5                               
   4d5ce:	5a85           	addql #5,%d5                                
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4d5d0:	4286           	clrl %d6                                    
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
   4d5d2:	7601           	moveq #1,%d3                                
   4d5d4:	7201           	moveq #1,%d1                                
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4d5d6:	3c39 0005 f2de 	movew 5f2de <_POSIX_Keys_Information+0xe>,%d6
   4d5dc:	6030           	bras 4d60e <_POSIX_Keys_Run_destructors+0x66>
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
   4d5de:	2079 0005 f2e8 	moveal 5f2e8 <_POSIX_Keys_Information+0x18>,%a0
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4d5e4:	5283           	addql #1,%d3                                
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
   4d5e6:	2070 4c00      	moveal %a0@(00000000,%d4:l:4),%a0           
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
   4d5ea:	4a88           	tstl %a0                                    
   4d5ec:	6720           	beqs 4d60e <_POSIX_Keys_Run_destructors+0x66>
   4d5ee:	4aa8 0010      	tstl %a0@(16)                               
   4d5f2:	671a           	beqs 4d60e <_POSIX_Keys_Run_destructors+0x66>
        void *value = key->Values [ thread_api ][ thread_index ];     
   4d5f4:	2470 5c00      	moveal %a0@(00000000,%d5:l:4),%a2           
   4d5f8:	d5c2           	addal %d2,%a2                               
   4d5fa:	2252           	moveal %a2@,%a1                             
                                                                      
        if ( value != NULL ) {                                        
   4d5fc:	4a89           	tstl %a1                                    
   4d5fe:	670e           	beqs 4d60e <_POSIX_Keys_Run_destructors+0x66>
          key->Values [ thread_api ][ thread_index ] = NULL;          
   4d600:	4292           	clrl %a2@                                   
          (*key->destructor)( value );                                
   4d602:	2f09           	movel %a1,%sp@-                             
   4d604:	2068 0010      	moveal %a0@(16),%a0                         
   4d608:	4e90           	jsr %a0@                                    
   4d60a:	588f           	addql #4,%sp                                
   4d60c:	4201           	clrb %d1                                    
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4d60e:	4284           	clrl %d4                                    
   4d610:	3803           	movew %d3,%d4                               
   4d612:	bc84           	cmpl %d4,%d6                                
   4d614:	64c8           	bccs 4d5de <_POSIX_Keys_Run_destructors+0x36>
   *  number of iterations.  An infinite loop may happen if destructors set
   *  thread specific data.  This can be considered dubious.          
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
   4d616:	4a01           	tstb %d1                                    
   4d618:	67b6           	beqs 4d5d0 <_POSIX_Keys_Run_destructors+0x28><== NEVER TAKEN
          done = false;                                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
   4d61a:	4cee 047c ffe8 	moveml %fp@(-24),%d2-%d6/%a2                
   4d620:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000507c8 <_POSIX_Message_queue_Name_to_id>: */ int _POSIX_Message_queue_Name_to_id( const char *name, Objects_Id *id ) {
   507c8:	4e56 fffc      	linkw %fp,#-4                               
   507cc:	2f0a           	movel %a2,%sp@-                             
   507ce:	246e 0008      	moveal %fp@(8),%a2                          
  Objects_Name_or_id_lookup_errors  status;                           
  Objects_Id                        the_id;                           
                                                                      
   if ( !name )                                                       
   507d2:	4a8a           	tstl %a2                                    
   507d4:	6748           	beqs 5081e <_POSIX_Message_queue_Name_to_id+0x56><== NEVER TAKEN
     return EINVAL;                                                   
                                                                      
  if ( !name[0] )                                                     
   507d6:	4a12           	tstb %a2@                                   
   507d8:	6744           	beqs 5081e <_POSIX_Message_queue_Name_to_id+0x56><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( strnlen( name, NAME_MAX ) >= NAME_MAX )                        
   507da:	4878 00ff      	pea ff <DBL_MANT_DIG+0xca>                  
   507de:	2f0a           	movel %a2,%sp@-                             
   507e0:	4eb9 0005 5bac 	jsr 55bac <strnlen>                         
   507e6:	508f           	addql #8,%sp                                
   507e8:	0c80 0000 00fe 	cmpil #254,%d0                              
   507ee:	6304           	blss 507f4 <_POSIX_Message_queue_Name_to_id+0x2c>
   507f0:	705b           	moveq #91,%d0                               
   507f2:	602c           	bras 50820 <_POSIX_Message_queue_Name_to_id+0x58>
    return ENAMETOOLONG;                                              
                                                                      
  status = _Objects_Name_to_id_string(                                
   507f4:	486e fffc      	pea %fp@(-4)                                
   507f8:	2f0a           	movel %a2,%sp@-                             
   507fa:	4879 0006 7126 	pea 67126 <_POSIX_Message_queue_Information>
   50800:	4eb9 0005 1bc0 	jsr 51bc0 <_Objects_Name_to_id_string>      
    &_POSIX_Message_queue_Information,                                
    name,                                                             
    &the_id                                                           
  );                                                                  
  *id = the_id;                                                       
   50806:	206e 000c      	moveal %fp@(12),%a0                         
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
   5080a:	4fef 000c      	lea %sp@(12),%sp                            
  status = _Objects_Name_to_id_string(                                
    &_POSIX_Message_queue_Information,                                
    name,                                                             
    &the_id                                                           
  );                                                                  
  *id = the_id;                                                       
   5080e:	20ae fffc      	movel %fp@(-4),%a0@                         
                                                                      
  if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )               
   50812:	4a80           	tstl %d0                                    
   50814:	6704           	beqs 5081a <_POSIX_Message_queue_Name_to_id+0x52>
   50816:	7002           	moveq #2,%d0                                
   50818:	6006           	bras 50820 <_POSIX_Message_queue_Name_to_id+0x58>
   5081a:	4280           	clrl %d0                                    
   5081c:	6002           	bras 50820 <_POSIX_Message_queue_Name_to_id+0x58>
   5081e:	7016           	moveq #22,%d0                               
    return 0;                                                         
                                                                      
  return ENOENT;                                                      
}                                                                     
   50820:	246e fff8      	moveal %fp@(-8),%a2                         
   50824:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049c98 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
   49c98:	4e56 ffe4      	linkw %fp,#-28                              
   49c9c:	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(             
   49ca0:	486e fffc      	pea %fp@(-4)                                
   49ca4:	242e 0008      	movel %fp@(8),%d2                           
   49ca8:	2f02           	movel %d2,%sp@-                             
   49caa:	4879 0006 7294 	pea 67294 <_POSIX_Message_queue_Information_fds>
   49cb0:	246e 0014      	moveal %fp@(20),%a2                         
   49cb4:	262e 0018      	movel %fp@(24),%d3                          
   49cb8:	4eb9 0004 c9f0 	jsr 4c9f0 <_Objects_Get>                    
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
   49cbe:	4fef 000c      	lea %sp@(12),%sp                            
   49cc2:	4aae fffc      	tstl %fp@(-4)                               
   49cc6:	6600 00c4      	bnew 49d8c <_POSIX_Message_queue_Receive_support+0xf4>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
   49cca:	2040           	moveal %d0,%a0                              
   49ccc:	7803           	moveq #3,%d4                                
   49cce:	7a01           	moveq #1,%d5                                
   49cd0:	2228 0014      	movel %a0@(20),%d1                          
   49cd4:	c881           	andl %d1,%d4                                
   49cd6:	ba84           	cmpl %d4,%d5                                
   49cd8:	660a           	bnes 49ce4 <_POSIX_Message_queue_Receive_support+0x4c>
        _Thread_Enable_dispatch();                                    
   49cda:	4eb9 0004 d242 	jsr 4d242 <_Thread_Enable_dispatch>         
   49ce0:	6000 00aa      	braw 49d8c <_POSIX_Message_queue_Receive_support+0xf4>
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
   49ce4:	2240           	moveal %d0,%a1                              
   49ce6:	2069 0010      	moveal %a1@(16),%a0                         
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
   49cea:	2028 0066      	movel %a0@(102),%d0                         
   49cee:	b0ae 0010      	cmpl %fp@(16),%d0                           
   49cf2:	6318           	blss 49d0c <_POSIX_Message_queue_Receive_support+0x74>
        _Thread_Enable_dispatch();                                    
   49cf4:	4eb9 0004 d242 	jsr 4d242 <_Thread_Enable_dispatch>         
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
   49cfa:	747a           	moveq #122,%d2                              
   49cfc:	4eb9 0005 3fe0 	jsr 53fe0 <__errno>                         
   49d02:	72ff           	moveq #-1,%d1                               
   49d04:	2040           	moveal %d0,%a0                              
   49d06:	2082           	movel %d2,%a0@                              
   49d08:	6000 0090      	braw 49d9a <_POSIX_Message_queue_Receive_support+0x102>
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   49d0c:	4a03           	tstb %d3                                    
   49d0e:	6604           	bnes 49d14 <_POSIX_Message_queue_Receive_support+0x7c><== ALWAYS TAKEN
   49d10:	4200           	clrb %d0                                    <== NOT EXECUTED
   49d12:	600c           	bras 49d20 <_POSIX_Message_queue_Receive_support+0x88><== NOT EXECUTED
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
   49d14:	2001           	movel %d1,%d0                               
   49d16:	760e           	moveq #14,%d3                               
   49d18:	7a01           	moveq #1,%d5                                
   49d1a:	e6a8           	lsrl %d3,%d0                                
   49d1c:	bb80           	eorl %d5,%d0                                
   49d1e:	c085           	andl %d5,%d0                                
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   49d20:	2f2e 001c      	movel %fp@(28),%sp@-                        
   49d24:	7201           	moveq #1,%d1                                
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
   49d26:	76ff           	moveq #-1,%d3                               
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   49d28:	c280           	andl %d0,%d1                                
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
   49d2a:	2d43 fff8      	movel %d3,%fp@(-8)                          
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   49d2e:	2f01           	movel %d1,%sp@-                             
   49d30:	486e fff8      	pea %fp@(-8)                                
   49d34:	2f2e 000c      	movel %fp@(12),%sp@-                        
   49d38:	2f02           	movel %d2,%sp@-                             
   49d3a:	4868 001a      	pea %a0@(26)                                
   49d3e:	4eb9 0004 bb38 	jsr 4bb38 <_CORE_message_queue_Seize>       
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   49d44:	4eb9 0004 d242 	jsr 4d242 <_Thread_Enable_dispatch>         
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
   49d4a:	2079 0006 6f12 	moveal 66f12 <_Thread_Executing>,%a0        
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
   49d50:	24a8 0024      	movel %a0@(36),%a2@                         
   49d54:	6c06           	bges 49d5c <_POSIX_Message_queue_Receive_support+0xc4>
   49d56:	2a12           	movel %a2@,%d5                              
   49d58:	4485           	negl %d5                                    
   49d5a:	2485           	movel %d5,%a2@                              
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
   49d5c:	4fef 0018      	lea %sp@(24),%sp                            
   49d60:	4aa8 0034      	tstl %a0@(52)                               
   49d64:	6606           	bnes 49d6c <_POSIX_Message_queue_Receive_support+0xd4>
        return length_out;                                            
   49d66:	222e fff8      	movel %fp@(-8),%d1                          
   49d6a:	602e           	bras 49d9a <_POSIX_Message_queue_Receive_support+0x102>
                                                                      
      rtems_set_errno_and_return_minus_one(                           
   49d6c:	4eb9 0005 3fe0 	jsr 53fe0 <__errno>                         
   49d72:	2079 0006 6f12 	moveal 66f12 <_Thread_Executing>,%a0        
   49d78:	2440           	moveal %d0,%a2                              
   49d7a:	2f28 0034      	movel %a0@(52),%sp@-                        
   49d7e:	4eb9 0004 9fc4 	jsr 49fc4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
   49d84:	588f           	addql #4,%sp                                
   49d86:	72ff           	moveq #-1,%d1                               
   49d88:	2480           	movel %d0,%a2@                              
   49d8a:	600e           	bras 49d9a <_POSIX_Message_queue_Receive_support+0x102>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   49d8c:	4eb9 0005 3fe0 	jsr 53fe0 <__errno>                         
   49d92:	72ff           	moveq #-1,%d1                               
   49d94:	2040           	moveal %d0,%a0                              
   49d96:	7009           	moveq #9,%d0                                
   49d98:	2080           	movel %d0,%a0@                              
}                                                                     
   49d9a:	2001           	movel %d1,%d0                               
   49d9c:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
   49da2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004aba4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
   4aba4:	4e56 0000      	linkw %fp,#0                                
   4aba8:	226e 0008      	moveal %fp@(8),%a1                          
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
   4abac:	2069 010e      	moveal %a1@(270),%a0                        
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   4abb0:	4aa8 00d4      	tstl %a0@(212)                              
   4abb4:	662e           	bnes 4abe4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x40><== NEVER TAKEN
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
   4abb6:	7001           	moveq #1,%d0                                
   4abb8:	b0a8 00d8      	cmpl %a0@(216),%d0                          
   4abbc:	6626           	bnes 4abe4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x40>
       thread_support->cancelation_requested ) {                      
   4abbe:	4aa8 00dc      	tstl %a0@(220)                              
   4abc2:	6720           	beqs 4abe4 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x40>
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
   4abc4:	4878 ffff      	pea ffffffff <LESS>                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4abc8:	2039 0005 f5c0 	movel 5f5c0 <_Thread_Dispatch_disable_level>,%d0
   4abce:	5380           	subql #1,%d0                                
   4abd0:	2f09           	movel %a1,%sp@-                             
   4abd2:	23c0 0005 f5c0 	movel %d0,5f5c0 <_Thread_Dispatch_disable_level>
   4abd8:	4eb9 0004 b1f0 	jsr 4b1f0 <_POSIX_Thread_Exit>              
{                                                                     
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   4abde:	508f           	addql #8,%sp                                
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
   4abe0:	4e5e           	unlk %fp                                    
   4abe2:	4e75           	rts                                         
   4abe4:	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();                                        
   4abe6:	4ef9 0004 79de 	jmp 479de <_Thread_Enable_dispatch>         
                                                                      

0004bc58 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
   4bc58:	4e56 ffec      	linkw %fp,#-20                              
   4bc5c:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   4bc60:	246e 000c      	moveal %fp@(12),%a2                         
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
   4bc64:	2f12           	movel %a2@,%sp@-                            
  int                                  policy,                        
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
   4bc66:	242e 0008      	movel %fp@(8),%d2                           
   4bc6a:	266e 0010      	moveal %fp@(16),%a3                         
   4bc6e:	286e 0014      	moveal %fp@(20),%a4                         
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
   4bc72:	4eb9 0004 bc34 	jsr 4bc34 <_POSIX_Priority_Is_valid>        
   4bc78:	588f           	addql #4,%sp                                
   4bc7a:	4a00           	tstb %d0                                    
   4bc7c:	677c           	beqs 4bcfa <_POSIX_Thread_Translate_sched_param+0xa2><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
   4bc7e:	4293           	clrl %a3@                                   
  *budget_callout = NULL;                                             
   4bc80:	4294           	clrl %a4@                                   
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
   4bc82:	4a82           	tstl %d2                                    
   4bc84:	6608           	bnes 4bc8e <_POSIX_Thread_Translate_sched_param+0x36>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
   4bc86:	7201           	moveq #1,%d1                                
   4bc88:	4280           	clrl %d0                                    
   4bc8a:	2681           	movel %d1,%a3@                              
    return 0;                                                         
   4bc8c:	606e           	bras 4bcfc <_POSIX_Thread_Translate_sched_param+0xa4>
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
   4bc8e:	7001           	moveq #1,%d0                                
   4bc90:	b082           	cmpl %d2,%d0                                
   4bc92:	6604           	bnes 4bc98 <_POSIX_Thread_Translate_sched_param+0x40>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
   4bc94:	4293           	clrl %a3@                                   
   4bc96:	6008           	bras 4bca0 <_POSIX_Thread_Translate_sched_param+0x48>
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
   4bc98:	7002           	moveq #2,%d0                                
   4bc9a:	b082           	cmpl %d2,%d0                                
   4bc9c:	6606           	bnes 4bca4 <_POSIX_Thread_Translate_sched_param+0x4c>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
   4bc9e:	2680           	movel %d0,%a3@                              
   4bca0:	4200           	clrb %d0                                    
    return 0;                                                         
   4bca2:	6058           	bras 4bcfc <_POSIX_Thread_Translate_sched_param+0xa4>
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
   4bca4:	7004           	moveq #4,%d0                                
   4bca6:	b082           	cmpl %d2,%d0                                
   4bca8:	6650           	bnes 4bcfa <_POSIX_Thread_Translate_sched_param+0xa2>
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
   4bcaa:	4aaa 0008      	tstl %a2@(8)                                
   4bcae:	6606           	bnes 4bcb6 <_POSIX_Thread_Translate_sched_param+0x5e>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
   4bcb0:	4aaa 000c      	tstl %a2@(12)                               
   4bcb4:	6744           	beqs 4bcfa <_POSIX_Thread_Translate_sched_param+0xa2>
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
   4bcb6:	4aaa 0010      	tstl %a2@(16)                               
   4bcba:	6606           	bnes 4bcc2 <_POSIX_Thread_Translate_sched_param+0x6a>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
   4bcbc:	4aaa 0014      	tstl %a2@(20)                               
   4bcc0:	6738           	beqs 4bcfa <_POSIX_Thread_Translate_sched_param+0xa2>
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
   4bcc2:	486a 0008      	pea %a2@(8)                                 
   4bcc6:	4bf9 0004 92ac 	lea 492ac <_Timespec_To_ticks>,%a5          
   4bccc:	4e95           	jsr %a5@                                    
   4bcce:	486a 0010      	pea %a2@(16)                                
   4bcd2:	2400           	movel %d0,%d2                               
   4bcd4:	4e95           	jsr %a5@                                    
   4bcd6:	508f           	addql #8,%sp                                
   4bcd8:	b082           	cmpl %d2,%d0                                
   4bcda:	621e           	bhis 4bcfa <_POSIX_Thread_Translate_sched_param+0xa2>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
   4bcdc:	2f2a 0004      	movel %a2@(4),%sp@-                         
   4bce0:	4eb9 0004 bc34 	jsr 4bc34 <_POSIX_Priority_Is_valid>        
   4bce6:	588f           	addql #4,%sp                                
   4bce8:	4a00           	tstb %d0                                    
   4bcea:	670e           	beqs 4bcfa <_POSIX_Thread_Translate_sched_param+0xa2>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
   4bcec:	7003           	moveq #3,%d0                                
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
   4bcee:	28bc 0004 5df8 	movel #286200,%a4@                          
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
   4bcf4:	2680           	movel %d0,%a3@                              
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
   4bcf6:	4280           	clrl %d0                                    
    return 0;                                                         
   4bcf8:	6002           	bras 4bcfc <_POSIX_Thread_Translate_sched_param+0xa4>
   4bcfa:	7016           	moveq #22,%d0                               
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4bcfc:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4bd02:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045b5c <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
   45b5c:	4e56 ff9c      	linkw %fp,#-100                             
   45b60:	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;
   45b64:	2479 0005 e79e 	moveal 5e79e <Configuration_POSIX_API+0x34>,%a2
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
   45b6a:	2839 0005 e79a 	movel 5e79a <Configuration_POSIX_API+0x30>,%d4
                                                                      
  if ( !user_threads || maximum == 0 )                                
   45b70:	4a8a           	tstl %a2                                    
   45b72:	676a           	beqs 45bde <_POSIX_Threads_Initialize_user_threads_body+0x82><== NEVER TAKEN
   45b74:	4a84           	tstl %d4                                    
   45b76:	6766           	beqs 45bde <_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 );                                
   45b78:	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(                                          
   45b7a:	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 )                                
   45b7c:	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 );                                
   45b7e:	0682 ffff ffc0 	addil #-64,%d2                              
   45b84:	2c3c 0004 bd08 	movel #310536,%d6                           
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
   45b8a:	4bf9 0004 bd34 	lea 4bd34 <pthread_attr_setinheritsched>,%a5
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
   45b90:	49f9 0004 bd6c 	lea 4bd6c <pthread_attr_setstacksize>,%a4   
                                                                      
    status = pthread_create(                                          
   45b96:	5985           	subql #4,%d5                                
   45b98:	47f9 0004 58b4 	lea 458b4 <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 );                                
   45b9e:	2f02           	movel %d2,%sp@-                             
   45ba0:	2046           	moveal %d6,%a0                              
   45ba2:	4e90           	jsr %a0@                                    
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
   45ba4:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45ba8:	2f02           	movel %d2,%sp@-                             
   45baa:	4e95           	jsr %a5@                                    
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
   45bac:	2f2a 0004      	movel %a2@(4),%sp@-                         
   45bb0:	2f02           	movel %d2,%sp@-                             
   45bb2:	4e94           	jsr %a4@                                    
                                                                      
    status = pthread_create(                                          
   45bb4:	42a7           	clrl %sp@-                                  
   45bb6:	2f12           	movel %a2@,%sp@-                            
   45bb8:	2f02           	movel %d2,%sp@-                             
   45bba:	2f05           	movel %d5,%sp@-                             
   45bbc:	4e93           	jsr %a3@                                    
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
   45bbe:	4fef 0024      	lea %sp@(36),%sp                            
   45bc2:	4a80           	tstl %d0                                    
   45bc4:	6710           	beqs 45bd6 <_POSIX_Threads_Initialize_user_threads_body+0x7a>
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
   45bc6:	2f00           	movel %d0,%sp@-                             
   45bc8:	4878 0001      	pea 1 <ADD>                                 
   45bcc:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45bd0:	4eb9 0004 7828 	jsr 47828 <_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++ ) {                       
   45bd6:	5283           	addql #1,%d3                                
   45bd8:	508a           	addql #8,%a2                                
   45bda:	b883           	cmpl %d3,%d4                                
   45bdc:	62c0           	bhis 45b9e <_POSIX_Threads_Initialize_user_threads_body+0x42><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
   45bde:	4cee 3c7c ff9c 	moveml %fp@(-100),%d2-%d6/%a2-%a5           
   45be4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ae34 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
   4ae34:	4e56 0000      	linkw %fp,#0                                
   4ae38:	2f0b           	movel %a3,%sp@-                             
   4ae3a:	2f0a           	movel %a2,%sp@-                             
   4ae3c:	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 ];               
   4ae40:	266a 010e      	moveal %a2@(270),%a3                        
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
   4ae44:	486b 0094      	pea %a3@(148)                               
   4ae48:	4eb9 0004 bef4 	jsr 4bef4 <_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 ) {                            
   4ae4e:	588f           	addql #4,%sp                                
   4ae50:	4281           	clrl %d1                                    
   4ae52:	1239 0005 d762 	moveb 5d762 <rtems_maximum_priority>,%d1    
   4ae58:	92ab 0084      	subl %a3@(132),%d1                          
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
                                                                      
  the_thread->cpu_time_budget = ticks;                                
   4ae5c:	2540 0076      	movel %d0,%a2@(118)                         
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
   4ae60:	2541 0018      	movel %d1,%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 ) {                            
   4ae64:	4aaa 001c      	tstl %a2@(28)                               
   4ae68:	6618           	bnes 4ae82 <_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 ) {              
   4ae6a:	b2aa 0014      	cmpl %a2@(20),%d1                           
   4ae6e:	6412           	bccs 4ae82 <_POSIX_Threads_Sporadic_budget_TSR+0x4e>
      _Thread_Change_priority( the_thread, new_priority, true );      
   4ae70:	4878 0001      	pea 1 <ADD>                                 
   4ae74:	2f01           	movel %d1,%sp@-                             
   4ae76:	2f0a           	movel %a2,%sp@-                             
   4ae78:	4eb9 0004 71b8 	jsr 471b8 <_Thread_Change_priority>         
   4ae7e:	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 );
   4ae82:	486b 008c      	pea %a3@(140)                               
   4ae86:	4eb9 0004 bef4 	jsr 4bef4 <_Timespec_To_ticks>              
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
}                                                                     
   4ae8c:	246e fff8      	moveal %fp@(-8),%a2                         
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4ae90:	588f           	addql #4,%sp                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   4ae92:	2740 00b0      	movel %d0,%a3@(176)                         
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4ae96:	47eb 00a4      	lea %a3@(164),%a3                           
   4ae9a:	203c 0005 f014 	movel #389140,%d0                           
   4aea0:	2d4b 000c      	movel %a3,%fp@(12)                          
   4aea4:	266e fffc      	moveal %fp@(-4),%a3                         
   4aea8:	2d40 0008      	movel %d0,%fp@(8)                           
   4aeac:	4e5e           	unlk %fp                                    
   4aeae:	4ef9 0004 8620 	jmp 48620 <_Watchdog_Insert>                
                                                                      

0004adf0 <_POSIX_Threads_Sporadic_budget_callout>: RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( int priority ) { return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
   4adf0:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
   4adf2:	72ff           	moveq #-1,%d1                               
 *  _POSIX_Threads_Sporadic_budget_callout                            
 */                                                                   
void _POSIX_Threads_Sporadic_budget_callout(                          
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   4adf4:	4e56 0000      	linkw %fp,#0                                
   4adf8:	206e 0008      	moveal %fp@(8),%a0                          
   4adfc:	1039 0005 d762 	moveb 5d762 <rtems_maximum_priority>,%d0    
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4ae02:	2268 010e      	moveal %a0@(270),%a1                        
   4ae06:	90a9 0088      	subl %a1@(136),%d0                          
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
   4ae0a:	2141 0076      	movel %d1,%a0@(118)                         
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
   4ae0e:	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 ) {                            
   4ae12:	4aa8 001c      	tstl %a0@(28)                               
   4ae16:	6618           	bnes 4ae30 <_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 ) {              
   4ae18:	b0a8 0014      	cmpl %a0@(20),%d0                           
   4ae1c:	6312           	blss 4ae30 <_POSIX_Threads_Sporadic_budget_callout+0x40><== NEVER TAKEN
      _Thread_Change_priority( the_thread, new_priority, true );      
   4ae1e:	4878 0001      	pea 1 <ADD>                                 
   4ae22:	2f00           	movel %d0,%sp@-                             
   4ae24:	2f08           	movel %a0,%sp@-                             
   4ae26:	4eb9 0004 71b8 	jsr 471b8 <_Thread_Change_priority>         
   4ae2c:	4fef 000c      	lea %sp@(12),%sp                            
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
   4ae30:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045700 <_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) {
   45700:	4e56 0000      	linkw %fp,#0                                
   45704:	2f0a           	movel %a2,%sp@-                             
   45706:	246e 000c      	moveal %fp@(12),%a2                         
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
   4570a:	52aa 0066      	addql #1,%a2@(102)                          
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
   4570e:	4aaa 0052      	tstl %a2@(82)                               
   45712:	6606           	bnes 4571a <_POSIX_Timer_TSR+0x1a>          
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
   45714:	4aaa 0056      	tstl %a2@(86)                               
   45718:	6732           	beqs 4574c <_POSIX_Timer_TSR+0x4c>          <== NEVER TAKEN
    activated = _POSIX_Timer_Insert_helper(                           
   4571a:	2f0a           	movel %a2,%sp@-                             
   4571c:	4879 0004 5700 	pea 45700 <_POSIX_Timer_TSR>                
   45722:	2f2a 0008      	movel %a2@(8),%sp@-                         
   45726:	2f2a 0062      	movel %a2@(98),%sp@-                        
   4572a:	486a 0010      	pea %a2@(16)                                
   4572e:	4eb9 0004 b6fc 	jsr 4b6fc <_POSIX_Timer_Insert_helper>      
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
   45734:	4fef 0014      	lea %sp@(20),%sp                            
   45738:	4a00           	tstb %d0                                    
   4573a:	672a           	beqs 45766 <_POSIX_Timer_TSR+0x66>          <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
   4573c:	486a 006a      	pea %a2@(106)                               
   45740:	4eb9 0004 6c34 	jsr 46c34 <_TOD_Get>                        
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
   45746:	588f           	addql #4,%sp                                
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
   45748:	7003           	moveq #3,%d0                                
   4574a:	6002           	bras 4574e <_POSIX_Timer_TSR+0x4e>          
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
   4574c:	7004           	moveq #4,%d0                                <== NOT EXECUTED
   4574e:	1540 003c      	moveb %d0,%a2@(60)                          
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
   45752:	2f2a 0042      	movel %a2@(66),%sp@-                        
   45756:	2f2a 0038      	movel %a2@(56),%sp@-                        
   4575a:	4eb9 0004 b2dc 	jsr 4b2dc <pthread_kill>                    
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
   45760:	508f           	addql #8,%sp                                
   45762:	42aa 0066      	clrl %a2@(102)                              
}                                                                     
   45766:	246e fffc      	moveal %fp@(-4),%a2                         
   4576a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ab9c <_POSIX_signals_Abnormal_termination_handler>: sigset_t _POSIX_signals_Pending; void _POSIX_signals_Abnormal_termination_handler( int signo __attribute__((unused)) ) {
   4ab9c:	4e56 0000      	linkw %fp,#0                                
  exit( 1 );                                                          
   4aba0:	4878 0001      	pea 1 <ADD>                                 
   4aba4:	4eb9 0004 e1b4 	jsr 4e1b4 <exit>                            
	...                                                                  
                                                                      

0004d848 <_POSIX_signals_Check_signal>: ) { siginfo_t siginfo_struct; sigset_t saved_signals_blocked; if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,
   4d848:	4280           	clrl %d0                                    
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4d84a:	4e56 ffdc      	linkw %fp,#-36                              
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4d84e:	102e 0013      	moveb %fp@(19),%d0                          
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4d852:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4d856:	4878 0001      	pea 1 <ADD>                                 
   4d85a:	260e           	movel %fp,%d3                               
   4d85c:	0683 ffff fff4 	addil #-12,%d3                              
   4d862:	2f00           	movel %d0,%sp@-                             
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4d864:	242e 000c      	movel %fp@(12),%d2                          
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4d868:	2f03           	movel %d3,%sp@-                             
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
   4d86a:	246e 0008      	moveal %fp@(8),%a2                          
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
   4d86e:	2f02           	movel %d2,%sp@-                             
   4d870:	2f0a           	movel %a2,%sp@-                             
   4d872:	4eb9 0004 d8e4 	jsr 4d8e4 <_POSIX_signals_Clear_signals>    
   4d878:	4fef 0014      	lea %sp@(20),%sp                            
   4d87c:	4a00           	tstb %d0                                    
   4d87e:	6758           	beqs 4d8d8 <_POSIX_signals_Check_signal+0x90>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
   4d880:	2202           	movel %d2,%d1                               
   4d882:	2002           	movel %d2,%d0                               
   4d884:	43f9 0005 f3de 	lea 5f3de <_POSIX_signals_Vectors>,%a1      
   4d88a:	e589           	lsll #2,%d1                                 
   4d88c:	e988           	lsll #4,%d0                                 
   4d88e:	9081           	subl %d1,%d0                                
   4d890:	2040           	moveal %d0,%a0                              
   4d892:	d1fc 0005 f3e6 	addal #390118,%a0                           
   4d898:	7201           	moveq #1,%d1                                
   4d89a:	2050           	moveal %a0@,%a0                             
   4d89c:	b288           	cmpl %a0,%d1                                
   4d89e:	6738           	beqs 4d8d8 <_POSIX_signals_Check_signal+0x90><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
   4d8a0:	2842           	moveal %d2,%a4                              
   4d8a2:	47f4 2a01      	lea %a4@(00000001,%d2:l:2),%a3              
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
   4d8a6:	282a 00cc      	movel %a2@(204),%d4                         
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
   4d8aa:	2231 bc00      	movel %a1@(00000000,%a3:l:4),%d1            
   4d8ae:	8284           	orl %d4,%d1                                 
   4d8b0:	2541 00cc      	movel %d1,%a2@(204)                         
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
   4d8b4:	7202           	moveq #2,%d1                                
   4d8b6:	b2b1 0800      	cmpl %a1@(00000000,%d0:l),%d1               
   4d8ba:	660e           	bnes 4d8ca <_POSIX_signals_Check_signal+0x82>
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
   4d8bc:	42a7           	clrl %sp@-                                  
   4d8be:	2f03           	movel %d3,%sp@-                             
   4d8c0:	2f02           	movel %d2,%sp@-                             
   4d8c2:	4e90           	jsr %a0@                                    
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
   4d8c4:	4fef 000c      	lea %sp@(12),%sp                            
   4d8c8:	6006           	bras 4d8d0 <_POSIX_signals_Check_signal+0x88>
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
   4d8ca:	2f02           	movel %d2,%sp@-                             
   4d8cc:	4e90           	jsr %a0@                                    
   4d8ce:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
   4d8d0:	2544 00cc      	movel %d4,%a2@(204)                         
   4d8d4:	7001           	moveq #1,%d0                                
                                                                      
  return true;                                                        
   4d8d6:	6002           	bras 4d8da <_POSIX_signals_Check_signal+0x92>
   4d8d8:	4200           	clrb %d0                                    
}                                                                     
   4d8da:	4cee 1c1c ffdc 	moveml %fp@(-36),%d2-%d4/%a2-%a4            
   4d8e0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e10c <_POSIX_signals_Clear_process_signals>: clear_signal = true; mask = signo_to_mask( signo ); ISR_Level level; _ISR_Disable( level );
   4e10c:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _POSIX_signals_Clear_process_signals(                            
  int signo                                                           
)                                                                     
{                                                                     
   4e112:	4e56 0000      	linkw %fp,#0                                
   4e116:	222e 0008      	movel %fp@(8),%d1                           
   4e11a:	2f03           	movel %d3,%sp@-                             
   4e11c:	2f02           	movel %d2,%sp@-                             
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
   4e11e:	40c2           	movew %sr,%d2                               
   4e120:	8082           	orl %d2,%d0                                 
   4e122:	46c0           	movew %d0,%sr                               
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
   4e124:	2601           	movel %d1,%d3                               
   4e126:	2001           	movel %d1,%d0                               
   4e128:	41f9 0005 f3de 	lea 5f3de <_POSIX_signals_Vectors>,%a0      
   4e12e:	e58b           	lsll #2,%d3                                 
   4e130:	e988           	lsll #4,%d0                                 
   4e132:	9083           	subl %d3,%d0                                
   4e134:	7602           	moveq #2,%d3                                
   4e136:	b6b0 0800      	cmpl %a0@(00000000,%d0:l),%d3               
   4e13a:	6610           	bnes 4e14c <_POSIX_signals_Clear_process_signals+0x40>
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
   4e13c:	2040           	moveal %d0,%a0                              
   4e13e:	d1fc 0005 f5d6 	addal #390614,%a0                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4e144:	2008           	movel %a0,%d0                               
   4e146:	5880           	addql #4,%d0                                
   4e148:	b090           	cmpl %a0@,%d0                               
   4e14a:	661c           	bnes 4e168 <_POSIX_signals_Clear_process_signals+0x5c><== NEVER TAKEN
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
   4e14c:	5381           	subql #1,%d1                                
   4e14e:	7001           	moveq #1,%d0                                
   4e150:	e3a8           	lsll %d1,%d0                                
   4e152:	4680           	notl %d0                                    
   4e154:	c0b9 0005 f5d2 	andl 5f5d2 <_POSIX_signals_Pending>,%d0     
   4e15a:	23c0 0005 f5d2 	movel %d0,5f5d2 <_POSIX_signals_Pending>    
      if ( !_POSIX_signals_Pending )                                  
   4e160:	6606           	bnes 4e168 <_POSIX_signals_Clear_process_signals+0x5c><== NEVER TAKEN
	_Thread_Do_post_task_switch_extension--;                             
   4e162:	53b9 0005 efde 	subql #1,5efde <_Thread_Do_post_task_switch_extension>
    }                                                                 
  _ISR_Enable( level );                                               
   4e168:	46c2           	movew %d2,%sr                               
}                                                                     
   4e16a:	241f           	movel %sp@+,%d2                             
   4e16c:	261f           	movel %sp@+,%d3                             
   4e16e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046210 <_POSIX_signals_Get_highest>: #include <rtems/score/isr.h> int _POSIX_signals_Get_highest( sigset_t set ) {
   46210:	701b           	moveq #27,%d0                               
   46212:	4e56 fff4      	linkw %fp,#-12                              
   46216:	48d7 001c      	moveml %d2-%d4,%sp@                         
   4621a:	242e 0008      	movel %fp@(8),%d2                           
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
   4621e:	7601           	moveq #1,%d3                                
   46220:	2200           	movel %d0,%d1                               
   46222:	5381           	subql #1,%d1                                
   46224:	2803           	movel %d3,%d4                               
   46226:	e3ac           	lsll %d1,%d4                                
   46228:	2204           	movel %d4,%d1                               
   4622a:	c282           	andl %d2,%d1                                
   4622c:	6626           	bnes 46254 <_POSIX_signals_Get_highest+0x44><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
   4622e:	5280           	addql #1,%d0                                
   46230:	123c 0020      	moveb #32,%d1                               
   46234:	b280           	cmpl %d0,%d1                                
   46236:	66e8           	bnes 46220 <_POSIX_signals_Get_highest+0x10>
   46238:	7001           	moveq #1,%d0                                
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
   4623a:	7601           	moveq #1,%d3                                
   4623c:	2200           	movel %d0,%d1                               
   4623e:	5381           	subql #1,%d1                                
   46240:	2803           	movel %d3,%d4                               
   46242:	e3ac           	lsll %d1,%d4                                
   46244:	2204           	movel %d4,%d1                               
   46246:	c282           	andl %d2,%d1                                
   46248:	660a           	bnes 46254 <_POSIX_signals_Get_highest+0x44>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
   4624a:	5280           	addql #1,%d0                                
   4624c:	123c 001b      	moveb #27,%d1                               
   46250:	b280           	cmpl %d0,%d1                                
   46252:	66e8           	bnes 4623c <_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;                                                       
}                                                                     
   46254:	4cd7 001c      	moveml %sp@,%d2-%d4                         
   46258:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ab0e <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
   4ab0e:	4e56 fff0      	linkw %fp,#-16                              
   4ab12:	206e 0008      	moveal %fp@(8),%a0                          
   4ab16:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4ab1a:	2468 010e      	moveal %a0@(270),%a2                        
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
   4ab1e:	4a8a           	tstl %a2                                    
   4ab20:	6770           	beqs 4ab92 <_POSIX_signals_Post_switch_extension+0x84><== NEVER TAKEN
   *                                                                  
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
   4ab22:	263c 0000 0700 	movel #1792,%d3                             
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
      _POSIX_signals_Check_signal( api, signo, false );               
   4ab28:	47f9 0004 d848 	lea 4d848 <_POSIX_signals_Check_signal>,%a3 
   *                                                                  
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
   4ab2e:	2003           	movel %d3,%d0                               
   4ab30:	40c1           	movew %sr,%d1                               
   4ab32:	8081           	orl %d1,%d0                                 
   4ab34:	46c0           	movew %d0,%sr                               
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
   4ab36:	2039 0005 f5d2 	movel 5f5d2 <_POSIX_signals_Pending>,%d0    
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
   4ab3c:	242a 00cc      	movel %a2@(204),%d2                         
   4ab40:	4682           	notl %d2                                    
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
   4ab42:	80aa 00d0      	orl %a2@(208),%d0                           
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
   4ab46:	c082           	andl %d2,%d0                                
   4ab48:	6604           	bnes 4ab4e <_POSIX_signals_Post_switch_extension+0x40>
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
   4ab4a:	46c1           	movew %d1,%sr                               
   4ab4c:	6044           	bras 4ab92 <_POSIX_signals_Post_switch_extension+0x84>
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
   4ab4e:	46c1           	movew %d1,%sr                               
   4ab50:	741b           	moveq #27,%d2                               
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
      _POSIX_signals_Check_signal( api, signo, false );               
   4ab52:	42a7           	clrl %sp@-                                  
   4ab54:	2f02           	movel %d2,%sp@-                             
   4ab56:	2f0a           	movel %a2,%sp@-                             
   4ab58:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, true );                
   4ab5a:	4878 0001      	pea 1 <ADD>                                 
   4ab5e:	2f02           	movel %d2,%sp@-                             
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
   4ab60:	5282           	addql #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
   4ab62:	2f0a           	movel %a2,%sp@-                             
   4ab64:	4e93           	jsr %a3@                                    
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
   4ab66:	4fef 0018      	lea %sp@(24),%sp                            
   4ab6a:	7020           	moveq #32,%d0                               
   4ab6c:	b082           	cmpl %d2,%d0                                
   4ab6e:	66e2           	bnes 4ab52 <_POSIX_signals_Post_switch_extension+0x44>
   4ab70:	7401           	moveq #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
   4ab72:	42a7           	clrl %sp@-                                  
   4ab74:	2f02           	movel %d2,%sp@-                             
   4ab76:	2f0a           	movel %a2,%sp@-                             
   4ab78:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, true );                
   4ab7a:	4878 0001      	pea 1 <ADD>                                 
   4ab7e:	2f02           	movel %d2,%sp@-                             
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
   4ab80:	5282           	addql #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
   4ab82:	2f0a           	movel %a2,%sp@-                             
   4ab84:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
   4ab86:	4fef 0018      	lea %sp@(24),%sp                            
   4ab8a:	701b           	moveq #27,%d0                               
   4ab8c:	b082           	cmpl %d2,%d0                                
   4ab8e:	66e2           	bnes 4ab72 <_POSIX_signals_Post_switch_extension+0x64>
   4ab90:	609c           	bras 4ab2e <_POSIX_signals_Post_switch_extension+0x20>
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
}                                                                     
   4ab92:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4ab98:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000456dc <_POSIX_signals_Ualarm_TSR>: void _POSIX_signals_Ualarm_TSR( Objects_Id id __attribute__((unused)), void *argument __attribute__((unused)) ) {
   456dc:	4e56 0000      	linkw %fp,#0                                
  /*                                                                  
   * Send a SIGALRM but if there is a problem, ignore it.             
   * It's OK, there isn't a way this should fail.                     
   */                                                                 
  (void) kill( getpid(), SIGALRM );                                   
   456e0:	4eb9 0004 2a90 	jsr 42a90 <getpid>                          
   456e6:	4878 000e      	pea e <OPER1+0x2>                           
   456ea:	2f00           	movel %d0,%sp@-                             
   456ec:	4eb9 0004 53fc 	jsr 453fc <kill>                            
RTEMS_INLINE_ROUTINE void _Watchdog_Reset(                            
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  (void) _Watchdog_Remove( the_watchdog );                            
   456f2:	4879 0006 0ee6 	pea 60ee6 <_POSIX_signals_Ualarm_timer>     
   456f8:	4eb9 0004 8d08 	jsr 48d08 <_Watchdog_Remove>                
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   456fe:	4fef 000c      	lea %sp@(12),%sp                            
   45702:	203c 0006 0ee6 	movel #397030,%d0                           
   45708:	2d40 000c      	movel %d0,%fp@(12)                          
   4570c:	203c 0006 07a4 	movel #395172,%d0                           
   45712:	2d40 0008      	movel %d0,%fp@(8)                           
                                                                      
  /*                                                                  
   * If the reset interval is non-zero, reschedule ourselves.         
   */                                                                 
  _Watchdog_Reset( &_POSIX_signals_Ualarm_timer );                    
}                                                                     
   45716:	4e5e           	unlk %fp                                    
   45718:	4ef9 0004 8bec 	jmp 48bec <_Watchdog_Insert>                
	...                                                                  
                                                                      

0004da00 <_POSIX_signals_Unblock_thread>:
   4da00:	7001           	moveq #1,%d0                                
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
   4da02:	4e56 fff4      	linkw %fp,#-12                              
   4da06:	226e 000c      	moveal %fp@(12),%a1                         
   4da0a:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4da0e:	246e 0008      	moveal %fp@(8),%a2                          
   4da12:	2609           	movel %a1,%d3                               
   4da14:	5383           	subql #1,%d3                                
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
   4da16:	242a 0010      	movel %a2@(16),%d2                          
   4da1a:	0282 1000 8000 	andil #268468224,%d2                        
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
   4da20:	222e 0010      	movel %fp@(16),%d1                          
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4da24:	206a 010e      	moveal %a2@(270),%a0                        
   4da28:	e7a8           	lsll %d3,%d0                                
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
   4da2a:	0c82 1000 8000 	cmpil #268468224,%d2                        
   4da30:	6652           	bnes 4da84 <_POSIX_signals_Unblock_thread+0x84>
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
   4da32:	2400           	movel %d0,%d2                               
   4da34:	c4aa 0030      	andl %a2@(48),%d2                           
   4da38:	660c           	bnes 4da46 <_POSIX_signals_Unblock_thread+0x46>
   4da3a:	2428 00cc      	movel %a0@(204),%d2                         
   4da3e:	4682           	notl %d2                                    
   4da40:	c082           	andl %d2,%d0                                
   4da42:	6700 00ac      	beqw 4daf0 <_POSIX_signals_Unblock_thread+0xf0>
      the_thread->Wait.return_code = EINTR;                           
   4da46:	7004           	moveq #4,%d0                                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
   4da48:	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;                           
   4da4c:	2540 0034      	movel %d0,%a2@(52)                          
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
   4da50:	4a81           	tstl %d1                                    
   4da52:	6610           	bnes 4da64 <_POSIX_signals_Unblock_thread+0x64>
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
   4da54:	123c 0001      	moveb #1,%d1                                
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
   4da58:	2089           	movel %a1,%a0@                              
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
   4da5a:	42a8 0008      	clrl %a0@(8)                                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
   4da5e:	2141 0004      	movel %d1,%a0@(4)                           
   4da62:	6012           	bras 4da76 <_POSIX_signals_Unblock_thread+0x76>
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
   4da64:	4878 000c      	pea c <OPER1>                               
   4da68:	2f01           	movel %d1,%sp@-                             
   4da6a:	2f08           	movel %a0,%sp@-                             
   4da6c:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
   4da72:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
   4da76:	2f0a           	movel %a2,%sp@-                             
   4da78:	4eb9 0004 7d20 	jsr 47d20 <_Thread_queue_Extract_with_proxy>
      return true;                                                    
   4da7e:	588f           	addql #4,%sp                                
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
   4da80:	7001           	moveq #1,%d0                                
      return true;                                                    
   4da82:	606e           	bras 4daf2 <_POSIX_signals_Unblock_thread+0xf2>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
   4da84:	2228 00cc      	movel %a0@(204),%d1                         
   4da88:	4681           	notl %d1                                    
   4da8a:	c081           	andl %d1,%d0                                
   4da8c:	6762           	beqs 4daf0 <_POSIX_signals_Unblock_thread+0xf0>
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    the_thread->do_post_task_switch_extension = true;                 
                                                                      
    if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
   4da8e:	202a 0010      	movel %a2@(16),%d0                          
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    the_thread->do_post_task_switch_extension = true;                 
   4da92:	7201           	moveq #1,%d1                                
   4da94:	1541 0074      	moveb %d1,%a2@(116)                         
                                                                      
    if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
   4da98:	0800 001c      	btst #28,%d0                                
   4da9c:	6736           	beqs 4dad4 <_POSIX_signals_Unblock_thread+0xd4>
      the_thread->Wait.return_code = EINTR;                           
   4da9e:	7004           	moveq #4,%d0                                
   4daa0:	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) ){             
   4daa4:	103c 0008      	moveb #8,%d0                                
   4daa8:	c0aa 0010      	andl %a2@(16),%d0                           
   4daac:	6742           	beqs 4daf0 <_POSIX_signals_Unblock_thread+0xf0><== NEVER TAKEN
	    if ( _Watchdog_Is_active( &the_thread->Timer ) )                 
   4daae:	7202           	moveq #2,%d1                                
   4dab0:	b2aa 0050      	cmpl %a2@(80),%d1                           
   4dab4:	660c           	bnes 4dac2 <_POSIX_signals_Unblock_thread+0xc2><== NEVER TAKEN
	      (void) _Watchdog_Remove( &the_thread->Timer );                 
   4dab6:	486a 0048      	pea %a2@(72)                                
   4daba:	4eb9 0004 873c 	jsr 4873c <_Watchdog_Remove>                
   4dac0:	588f           	addql #4,%sp                                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4dac2:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   4dac8:	2f0a           	movel %a2,%sp@-                             
   4daca:	4eb9 0004 72f8 	jsr 472f8 <_Thread_Clear_state>             
   4dad0:	508f           	addql #8,%sp                                
   4dad2:	601c           	bras 4daf0 <_POSIX_signals_Unblock_thread+0xf0>
	    _Thread_Unblock( the_thread );                                   
	  }                                                                  
    } else if ( the_thread->current_state == STATES_READY ) {         
   4dad4:	4a80           	tstl %d0                                    
   4dad6:	6618           	bnes 4daf0 <_POSIX_signals_Unblock_thread+0xf0><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   4dad8:	2039 0005 efd6 	movel 5efd6 <_ISR_Nest_level>,%d0           
   4dade:	6710           	beqs 4daf0 <_POSIX_signals_Unblock_thread+0xf0>
   4dae0:	b5f9 0005 eff6 	cmpal 5eff6 <_Thread_Executing>,%a2         
   4dae6:	6608           	bnes 4daf0 <_POSIX_signals_Unblock_thread+0xf0><== NEVER TAKEN
	_ISR_Signals_to_thread_executing = true;                             
   4dae8:	7001           	moveq #1,%d0                                
   4daea:	13c0 0005 f084 	moveb %d0,5f084 <_ISR_Signals_to_thread_executing>
   4daf0:	4200           	clrb %d0                                    
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
   4daf2:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   4daf8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b37a <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
   4b37a:	4e56 ffec      	linkw %fp,#-20                              
   4b37e:	206e 0008      	moveal %fp@(8),%a0                          
   4b382:	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 ];                
   4b386:	2468 010a      	moveal %a0@(266),%a2                        
  if ( !api )                                                         
   4b38a:	4a8a           	tstl %a2                                    
   4b38c:	6754           	beqs 4b3e2 <_RTEMS_tasks_Post_switch_extension+0x68><== NEVER TAKEN
   *  Signal Processing                                               
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
   4b38e:	203c 0000 0700 	movel #1792,%d0                             
   4b394:	40c1           	movew %sr,%d1                               
   4b396:	8081           	orl %d1,%d0                                 
   4b398:	46c0           	movew %d0,%sr                               
    signal_set = asr->signals_posted;                                 
   4b39a:	262a 0012      	movel %a2@(18),%d3                          
    asr->signals_posted = 0;                                          
   4b39e:	42aa 0012      	clrl %a2@(18)                               
  _ISR_Enable( level );                                               
   4b3a2:	46c1           	movew %d1,%sr                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
   4b3a4:	4a83           	tstl %d3                                    
   4b3a6:	673a           	beqs 4b3e2 <_RTEMS_tasks_Post_switch_extension+0x68>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
   4b3a8:	52aa 001a      	addql #1,%a2@(26)                           
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
   4b3ac:	240e           	movel %fp,%d2                               
   4b3ae:	5982           	subql #4,%d2                                
   4b3b0:	47f9 0004 dc74 	lea 4dc74 <rtems_task_mode>,%a3             
   4b3b6:	2f02           	movel %d2,%sp@-                             
   4b3b8:	2f3c 0000 ffff 	movel #65535,%sp@-                          
   4b3be:	2f2a 000e      	movel %a2@(14),%sp@-                        
   4b3c2:	4e93           	jsr %a3@                                    
                                                                      
  (*asr->handler)( signal_set );                                      
   4b3c4:	2f03           	movel %d3,%sp@-                             
   4b3c6:	206a 000a      	moveal %a2@(10),%a0                         
   4b3ca:	4e90           	jsr %a0@                                    
                                                                      
  asr->nest_level -= 1;                                               
   4b3cc:	53aa 001a      	subql #1,%a2@(26)                           
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
   4b3d0:	2f02           	movel %d2,%sp@-                             
   4b3d2:	2f3c 0000 ffff 	movel #65535,%sp@-                          
   4b3d8:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   4b3dc:	4e93           	jsr %a3@                                    
   4b3de:	4fef 001c      	lea %sp@(28),%sp                            
                                                                      
}                                                                     
   4b3e2:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b3e8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00058808 <_Region_Process_queue>: */ void _Region_Process_queue( Region_Control *the_region ) {
   58808:	4e56 ffe4      	linkw %fp,#-28                              
   5880c:	2039 0007 76e0 	movel 776e0 <_Thread_Dispatch_disable_level>,%d0
   58812:	5280           	addql #1,%d0                                
   58814:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   58818:	266e 0008      	moveal %fp@(8),%a3                          
   5881c:	23c0 0007 76e0 	movel %d0,776e0 <_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();                                          
   58822:	2f39 0007 7792 	movel 77792 <_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 );      
   58828:	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 );                 
   5882a:	280b           	movel %a3,%d4                               
   5882c:	0682 0000 0010 	addil #16,%d2                               
   58832:	0684 0000 0068 	addil #104,%d4                              
   58838:	4bf9 0005 32cc 	lea 532cc <_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 );     
   5883e:	49f9 0005 8f78 	lea 58f78 <_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();                                          
   58844:	4eb9 0005 2838 	jsr 52838 <_API_Mutex_Unlock>               
   5884a:	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 );      
   5884c:	263c 0005 907c 	movel #364668,%d3                           
   58852:	2f02           	movel %d2,%sp@-                             
   58854:	2043           	moveal %d3,%a0                              
   58856:	4e90           	jsr %a0@                                    
                                                                      
    if ( the_thread == NULL )                                         
   58858:	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 );      
   5885a:	2440           	moveal %d0,%a2                              
                                                                      
    if ( the_thread == NULL )                                         
   5885c:	4a80           	tstl %d0                                    
   5885e:	672c           	beqs 5888c <_Region_Process_queue+0x84>     
   58860:	42a7           	clrl %sp@-                                  
   58862:	42a7           	clrl %sp@-                                  
   58864:	2f2a 0024      	movel %a2@(36),%sp@-                        
   58868:	2f04           	movel %d4,%sp@-                             
   5886a:	4e95           	jsr %a5@                                    
    the_segment = (void **) _Region_Allocate_segment(                 
      the_region,                                                     
      the_thread->Wait.count                                          
    );                                                                
                                                                      
    if ( the_segment == NULL )                                        
   5886c:	4fef 0010      	lea %sp@(16),%sp                            
   58870:	4a80           	tstl %d0                                    
   58872:	6718           	beqs 5888c <_Region_Process_queue+0x84>     
      break;                                                          
                                                                      
    *(void **)the_thread->Wait.return_argument = the_segment;         
   58874:	206a 0028      	moveal %a2@(40),%a0                         
    the_region->number_of_used_blocks += 1;                           
   58878:	52ab 0064      	addql #1,%a3@(100)                          
    );                                                                
                                                                      
    if ( the_segment == NULL )                                        
      break;                                                          
                                                                      
    *(void **)the_thread->Wait.return_argument = the_segment;         
   5887c:	2080           	movel %d0,%a0@                              
    the_region->number_of_used_blocks += 1;                           
    _Thread_queue_Extract( &the_region->Wait_queue, the_thread );     
   5887e:	2f0a           	movel %a2,%sp@-                             
   58880:	2f02           	movel %d2,%sp@-                             
   58882:	4e94           	jsr %a4@                                    
    the_thread->Wait.return_code = RTEMS_SUCCESSFUL;                  
  }                                                                   
   58884:	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;                  
   58886:	42aa 0034      	clrl %a2@(52)                               
  }                                                                   
   5888a:	60c6           	bras 58852 <_Region_Process_queue+0x4a>     
  _Thread_Enable_dispatch();                                          
}                                                                     
   5888c:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   58892:	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();                                          
   58894:	4ef9 0005 4942 	jmp 54942 <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

00046170 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
   46170:	4e56 0000      	linkw %fp,#0                                
   46174:	206e 0008      	moveal %fp@(8),%a0                          
   46178:	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();                 
   4617a:	2039 0005 f8c0 	movel 5f8c0 <Configuration+0xc>,%d0         
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
   46180:	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)                                  ||                  
   46182:	4a88           	tstl %a0                                    
   46184:	6762           	beqs 461e8 <_TOD_Validate+0x78>             <== NEVER TAKEN
      (the_tod->ticks  >= ticks_per_second)       ||                  
   46186:	243c 000f 4240 	movel #1000000,%d2                          
   4618c:	4c40 2002      	remul %d0,%d2,%d2                           
   46190:	b4a8 0018      	cmpl %a0@(24),%d2                           
   46194:	6352           	blss 461e8 <_TOD_Validate+0x78>             
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
   46196:	763b           	moveq #59,%d3                               
   46198:	b6a8 0014      	cmpl %a0@(20),%d3                           
   4619c:	654a           	bcss 461e8 <_TOD_Validate+0x78>             
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
   4619e:	b6a8 0010      	cmpl %a0@(16),%d3                           
   461a2:	6544           	bcss 461e8 <_TOD_Validate+0x78>             
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
   461a4:	7017           	moveq #23,%d0                               
   461a6:	b0a8 000c      	cmpl %a0@(12),%d0                           
   461aa:	653c           	bcss 461e8 <_TOD_Validate+0x78>             
      (the_tod->month  == 0)                      ||                  
   461ac:	2028 0004      	movel %a0@(4),%d0                           
  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)                                  ||                  
   461b0:	6736           	beqs 461e8 <_TOD_Validate+0x78>             <== NEVER TAKEN
   461b2:	720c           	moveq #12,%d1                               
   461b4:	b280           	cmpl %d0,%d1                                
   461b6:	6530           	bcss 461e8 <_TOD_Validate+0x78>             
      (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)          ||                  
   461b8:	2410           	movel %a0@,%d2                              
  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)                                  ||                  
   461ba:	0c82 0000 07c3 	cmpil #1987,%d2                             
   461c0:	6326           	blss 461e8 <_TOD_Validate+0x78>             
      (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)          ||                  
      (the_tod->day    == 0) )                                        
   461c2:	2228 0008      	movel %a0@(8),%d1                           
  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)                                  ||                  
   461c6:	6720           	beqs 461e8 <_TOD_Validate+0x78>             <== NEVER TAKEN
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
   461c8:	163c 0003      	moveb #3,%d3                                
   461cc:	41f9 0005 e4b2 	lea 5e4b2 <_TOD_Days_per_month>,%a0         
   461d2:	c483           	andl %d3,%d2                                
   461d4:	6606           	bnes 461dc <_TOD_Validate+0x6c>             
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
   461d6:	2030 0c34      	movel %a0@(00000034,%d0:l:4),%d0            
   461da:	6004           	bras 461e0 <_TOD_Validate+0x70>             
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
   461dc:	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(                                                   
   461e0:	b081           	cmpl %d1,%d0                                
   461e2:	54c0           	scc %d0                                     
   461e4:	4480           	negl %d0                                    
   461e6:	6002           	bras 461ea <_TOD_Validate+0x7a>             
   461e8:	4200           	clrb %d0                                    
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
   461ea:	241f           	movel %sp@+,%d2                             
   461ec:	261f           	movel %sp@+,%d3                             
   461ee:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000471b8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
   471b8:	4e56 fff0      	linkw %fp,#-16                              
   471bc:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   471c0:	246e 0008      	moveal %fp@(8),%a2                          
  /*                                                                  
   * 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 );                                
   471c4:	2f0a           	movel %a2,%sp@-                             
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
   471c6:	262e 000c      	movel %fp@(12),%d3                          
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
   471ca:	242a 0010      	movel %a2@(16),%d2                          
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
   471ce:	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 );                                
   471d2:	4eb9 0004 7fc8 	jsr 47fc8 <_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 )                  
   471d8:	588f           	addql #4,%sp                                
   471da:	b6aa 0014      	cmpl %a2@(20),%d3                           
   471de:	670c           	beqs 471ec <_Thread_Change_priority+0x34>   
    _Thread_Set_priority( the_thread, new_priority );                 
   471e0:	2f03           	movel %d3,%sp@-                             
   471e2:	2f0a           	movel %a2,%sp@-                             
   471e4:	4eb9 0004 7e70 	jsr 47e70 <_Thread_Set_priority>            
   471ea:	508f           	addql #8,%sp                                
                                                                      
  _ISR_Disable( level );                                              
   471ec:	223c 0000 0700 	movel #1792,%d1                             
   471f2:	40c0           	movew %sr,%d0                               
   471f4:	8280           	orl %d0,%d1                                 
   471f6:	46c1           	movew %d1,%sr                               
   471f8:	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;                                  
   471fa:	222a 0010      	movel %a2@(16),%d1                          
   471fe:	c483           	andl %d3,%d2                                
  if ( state != STATES_TRANSIENT ) {                                  
   47200:	b681           	cmpl %d1,%d3                                
   47202:	6730           	beqs 47234 <_Thread_Change_priority+0x7c>   
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
   47204:	4a82           	tstl %d2                                    
   47206:	6608           	bnes 47210 <_Thread_Change_priority+0x58>   <== NEVER TAKEN
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
   47208:	74fb           	moveq #-5,%d2                               
   4720a:	c481           	andl %d1,%d2                                
   4720c:	2542 0010      	movel %d2,%a2@(16)                          
    _ISR_Enable( level );                                             
   47210:	46c0           	movew %d0,%sr                               
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
   47212:	0281 0003 bee0 	andil #245472,%d1                           
   47218:	6700 00d2      	beqw 472ec <_Thread_Change_priority+0x134>  
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
   4721c:	2d4a 000c      	movel %a2,%fp@(12)                          
   47220:	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 );                                               
}                                                                     
   47226:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4722c:	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 );    
   4722e:	4ef9 0004 7dd4 	jmp 47dd4 <_Thread_queue_Requeue>           
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
   47234:	4a82           	tstl %d2                                    
   47236:	6650           	bnes 47288 <_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;          
   47238:	226a 008e      	moveal %a2@(142),%a1                        
   4723c:	322a 0094      	movew %a2@(148),%d1                         
   47240:	3411           	movew %a1@,%d2                              
   47242:	206a 008a      	moveal %a2@(138),%a0                        
   47246:	8282           	orl %d2,%d1                                 
     *  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 );
   47248:	42aa 0010      	clrl %a2@(16)                               
   4724c:	3281           	movew %d1,%a1@                              
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
   4724e:	3239 0005 efec 	movew 5efec <_Priority_Major_bit_map>,%d1   
   47254:	342a 0092      	movew %a2@(146),%d2                         
   47258:	8282           	orl %d2,%d1                                 
   4725a:	33c1 0005 efec 	movew %d1,5efec <_Priority_Major_bit_map>   
                                                                      
    _Priority_Add_to_bit_map( &the_thread->Priority_map );            
    if ( prepend_it )                                                 
   47260:	4a04           	tstb %d4                                    
   47262:	6710           	beqs 47274 <_Thread_Change_priority+0xbc>   
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
   47264:	2250           	moveal %a0@,%a1                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
   47266:	2548 0004      	movel %a0,%a2@(4)                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
   4726a:	208a           	movel %a2,%a0@                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
   4726c:	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;                                
   47270:	2489           	movel %a1,%a2@                              
   47272:	6014           	bras 47288 <_Thread_Change_priority+0xd0>   
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
   47274:	2608           	movel %a0,%d3                               
   47276:	5883           	addql #4,%d3                                
   47278:	2483           	movel %d3,%a2@                              
  old_last_node       = the_chain->last;                              
   4727a:	2268 0008      	moveal %a0@(8),%a1                          
  the_chain->last     = the_node;                                     
   4727e:	214a 0008      	movel %a2,%a0@(8)                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
   47282:	2549 0004      	movel %a1,%a2@(4)                           
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
   47286:	228a           	movel %a2,%a1@                              
      _Chain_Prepend_unprotected( the_thread->ready, &the_thread->Object.Node );
    else                                                              
      _Chain_Append_unprotected( the_thread->ready, &the_thread->Object.Node );
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
   47288:	223c 0000 0700 	movel #1792,%d1                             
   4728e:	46c0           	movew %d0,%sr                               
   47290:	8280           	orl %d0,%d1                                 
   47292:	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 );         
   47294:	3239 0005 efec 	movew 5efec <_Priority_Major_bit_map>,%d1   
   4729a:	4841           	swap %d1                                    
   4729c:	04c1           	ff1 %d1                                     
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
   4729e:	4282           	clrl %d2                                    
   472a0:	41f9 0005 f05c 	lea 5f05c <_Priority_Bit_map>,%a0           
   472a6:	3401           	movew %d1,%d2                               
   472a8:	3230 2a00      	movew %a0@(00000000,%d2:l:2),%d1            
   472ac:	4841           	swap %d1                                    
   472ae:	04c1           	ff1 %d1                                     
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
   472b0:	4283           	clrl %d3                                    
   472b2:	e98a           	lsll #4,%d2                                 
   472b4:	3601           	movew %d1,%d3                               
   472b6:	2279 0005 eee8 	moveal 5eee8 <_Thread_Ready_chain>,%a1      
   472bc:	2202           	movel %d2,%d1                               
   472be:	d283           	addl %d3,%d1                                
   472c0:	2401           	movel %d1,%d2                               
   472c2:	e58a           	lsll #2,%d2                                 
   472c4:	e989           	lsll #4,%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 );                       
   472c6:	2079 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a0        
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
   472cc:	93c2           	subal %d2,%a1                               
   472ce:	2231 1800      	movel %a1@(00000000,%d1:l),%d1              
   472d2:	23c1 0005 efca 	movel %d1,5efca <_Thread_Heir>              
   *  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() &&                       
   472d8:	b288           	cmpl %a0,%d1                                
   472da:	670e           	beqs 472ea <_Thread_Change_priority+0x132>  
       _Thread_Executing->is_preemptible )                            
   472dc:	4a28 0075      	tstb %a0@(117)                              
   472e0:	6708           	beqs 472ea <_Thread_Change_priority+0x132>  
    _Context_Switch_necessary = true;                                 
   472e2:	7201           	moveq #1,%d1                                
   472e4:	13c1 0005 f006 	moveb %d1,5f006 <_Context_Switch_necessary> 
  _ISR_Enable( level );                                               
   472ea:	46c0           	movew %d0,%sr                               
}                                                                     
   472ec:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   472f2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000472f8 <_Thread_Clear_state>: void _Thread_Clear_state( Thread_Control *the_thread, States_Control state ) {
   472f8:	4e56 ffec      	linkw %fp,#-20                              
   472fc:	206e 0008      	moveal %fp@(8),%a0                          
   47300:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
   47304:	263c 0000 0700 	movel #1792,%d3                             
   4730a:	2203           	movel %d3,%d1                               
                                                                      
void _Thread_Clear_state(                                             
  Thread_Control *the_thread,                                         
  States_Control  state                                               
)                                                                     
{                                                                     
   4730c:	202e 000c      	movel %fp@(12),%d0                          
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
   47310:	40c2           	movew %sr,%d2                               
   47312:	8282           	orl %d2,%d1                                 
   47314:	46c1           	movew %d1,%sr                               
    current_state = the_thread->current_state;                        
   47316:	2228 0010      	movel %a0@(16),%d1                          
                                                                      
    if ( current_state & state ) {                                    
   4731a:	2800           	movel %d0,%d4                               
   4731c:	c881           	andl %d1,%d4                                
   4731e:	6778           	beqs 47398 <_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);                         
   47320:	4680           	notl %d0                                    
   47322:	c081           	andl %d1,%d0                                
      current_state =                                                 
   47324:	2140 0010      	movel %d0,%a0@(16)                          
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
   47328:	666e           	bnes 47398 <_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;          
   4732a:	2668 008e      	moveal %a0@(142),%a3                        
   4732e:	3028 0094      	movew %a0@(148),%d0                         
   47332:	3213           	movew %a3@,%d1                              
                                                                      
        _Priority_Add_to_bit_map( &the_thread->Priority_map );        
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
   47334:	2268 008a      	moveal %a0@(138),%a1                        
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
   47338:	2809           	movel %a1,%d4                               
   4733a:	5884           	addql #4,%d4                                
   4733c:	8081           	orl %d1,%d0                                 
   4733e:	2084           	movel %d4,%a0@                              
  old_last_node       = the_chain->last;                              
   47340:	2469 0008      	moveal %a1@(8),%a2                          
   47344:	3680           	movew %d0,%a3@                              
  the_chain->last     = the_node;                                     
   47346:	2348 0008      	movel %a0,%a1@(8)                           
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
   4734a:	3039 0005 efec 	movew 5efec <_Priority_Major_bit_map>,%d0   
   47350:	3228 0092      	movew %a0@(146),%d1                         
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
   47354:	214a 0004      	movel %a2,%a0@(4)                           
   47358:	8081           	orl %d1,%d0                                 
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
   4735a:	2488           	movel %a0,%a2@                              
   4735c:	33c0 0005 efec 	movew %d0,5efec <_Priority_Major_bit_map>   
                                                                      
        _ISR_Flash( level );                                          
   47362:	2003           	movel %d3,%d0                               
   47364:	46c2           	movew %d2,%sr                               
   47366:	8082           	orl %d2,%d0                                 
   47368:	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 ) {
   4736a:	2028 0014      	movel %a0@(20),%d0                          
   4736e:	2279 0005 efca 	moveal 5efca <_Thread_Heir>,%a1             
   47374:	b0a9 0014      	cmpl %a1@(20),%d0                           
   47378:	641e           	bccs 47398 <_Thread_Clear_state+0xa0>       
          _Thread_Heir = the_thread;                                  
   4737a:	23c8 0005 efca 	movel %a0,5efca <_Thread_Heir>              
          if ( _Thread_Executing->is_preemptible ||                   
   47380:	2079 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a0        
   47386:	4a28 0075      	tstb %a0@(117)                              
   4738a:	6604           	bnes 47390 <_Thread_Clear_state+0x98>       
   4738c:	4a80           	tstl %d0                                    
   4738e:	6608           	bnes 47398 <_Thread_Clear_state+0xa0>       <== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Context_Switch_necessary = true;                         
   47390:	7001           	moveq #1,%d0                                
   47392:	13c0 0005 f006 	moveb %d0,5f006 <_Context_Switch_necessary> 
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
   47398:	46c2           	movew %d2,%sr                               
}                                                                     
   4739a:	4cd7 0c1c      	moveml %sp@,%d2-%d4/%a2-%a3                 
   4739e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047524 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
   47524:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   47528:	486e fffc      	pea %fp@(-4)                                
   4752c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47530:	4eb9 0004 76d8 	jsr 476d8 <_Thread_Get>                     
  switch ( location ) {                                               
   47536:	508f           	addql #8,%sp                                
   47538:	4aae fffc      	tstl %fp@(-4)                               
   4753c:	661e           	bnes 4755c <_Thread_Delay_ended+0x38>       <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
   4753e:	2f3c 1000 0018 	movel #268435480,%sp@-                      
   47544:	2f00           	movel %d0,%sp@-                             
   47546:	4eb9 0004 72f8 	jsr 472f8 <_Thread_Clear_state>             
   4754c:	508f           	addql #8,%sp                                
   4754e:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   47554:	5380           	subql #1,%d0                                
   47556:	23c0 0005 ef3c 	movel %d0,5ef3c <_Thread_Dispatch_disable_level>
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   4755c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047560 <_Thread_Dispatch>: Thread_Control *executing; Thread_Control *heir; ISR_Level level; executing = _Thread_Executing; _ISR_Disable( level );
   47560:	307c 0700      	moveaw #1792,%a0                            
   47564:	2208           	movel %a0,%d1                               
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
   47566:	4e56 ffc8      	linkw %fp,#-56                              
   4756a:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
   4756e:	2479 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a2        
  _ISR_Disable( level );                                              
   47574:	40c0           	movew %sr,%d0                               
   47576:	8280           	orl %d0,%d1                                 
   47578:	46c1           	movew %d1,%sr                               
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   4757a:	260e           	movel %fp,%d3                               
        _Timestamp_Subtract(                                          
   4757c:	240e           	movel %fp,%d2                               
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   4757e:	5183           	subql #8,%d3                                
        _Timestamp_Subtract(                                          
   47580:	0682 ffff fff0 	addil #-16,%d2                              
   47586:	2e3c 0004 8370 	movel #295792,%d7                           
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
   4758c:	2c3c 0004 8338 	movel #295736,%d6                           
    if ( _Thread_libc_reent ) {                                       
      executing->libc_reent = *_Thread_libc_reent;                    
      *_Thread_libc_reent = heir->libc_reent;                         
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
   47592:	2a3c 0004 85e8 	movel #296424,%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 );                  
   47598:	4bf9 0004 8a58 	lea 48a58 <_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 );        
   4759e:	49f9 0004 8a36 	lea 48a36 <_CPU_Context_save_fp>,%a4        
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
   475a4:	283c 0004 8900 	movel #297216,%d4                           
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
   475aa:	6000 00d0      	braw 4767c <_Thread_Dispatch+0x11c>         
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
   475ae:	7201           	moveq #1,%d1                                
   475b0:	23c1 0005 ef3c 	movel %d1,5ef3c <_Thread_Dispatch_disable_level>
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
   475b6:	2679 0005 efca 	moveal 5efca <_Thread_Heir>,%a3             
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
   475bc:	4201           	clrb %d1                                    
    _Thread_Executing = heir;                                         
   475be:	23cb 0005 eff6 	movel %a3,5eff6 <_Thread_Executing>         
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Context_Switch_necessary = false;                                
   475c4:	13c1 0005 f006 	moveb %d1,5f006 <_Context_Switch_necessary> 
    _Thread_Executing = heir;                                         
#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 )
   475ca:	7201           	moveq #1,%d1                                
   475cc:	b2ab 007a      	cmpl %a3@(122),%d1                          
   475d0:	660a           	bnes 475dc <_Thread_Dispatch+0x7c>          
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
   475d2:	41f9 0005 eeec 	lea 5eeec <_Thread_Ticks_per_timeslice>,%a0 
   475d8:	2750 0076      	movel %a0@,%a3@(118)                        
    _ISR_Enable( level );                                             
   475dc:	46c0           	movew %d0,%sr                               
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   475de:	2f03           	movel %d3,%sp@-                             
   475e0:	4eb9 0004 b7c8 	jsr 4b7c8 <_TOD_Get_uptime>                 
        _Timestamp_Subtract(                                          
   475e6:	2047           	moveal %d7,%a0                              
   475e8:	2f02           	movel %d2,%sp@-                             
   475ea:	2f03           	movel %d3,%sp@-                             
   475ec:	4879 0005 effe 	pea 5effe <_Thread_Time_of_last_context_switch>
   475f2:	4e90           	jsr %a0@                                    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
   475f4:	2046           	moveal %d6,%a0                              
   475f6:	2f02           	movel %d2,%sp@-                             
   475f8:	486a 0082      	pea %a2@(130)                               
   475fc:	4e90           	jsr %a0@                                    
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
   475fe:	2079 0005 efc6 	moveal 5efc6 <_Thread_libc_reent>,%a0       
   47604:	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;                 
   47608:	202e fff8      	movel %fp@(-8),%d0                          
   4760c:	222e fffc      	movel %fp@(-4),%d1                          
   47610:	23c0 0005 effe 	movel %d0,5effe <_Thread_Time_of_last_context_switch>
   47616:	23c1 0005 f002 	movel %d1,5f002 <_Thread_Time_of_last_context_switch+0x4>
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
   4761c:	4a88           	tstl %a0                                    
   4761e:	6708           	beqs 47628 <_Thread_Dispatch+0xc8>          <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
   47620:	2550 0106      	movel %a0@,%a2@(262)                        
      *_Thread_libc_reent = heir->libc_reent;                         
   47624:	20ab 0106      	movel %a3@(262),%a0@                        
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
   47628:	2f0b           	movel %a3,%sp@-                             
   4762a:	2045           	moveal %d5,%a0                              
   4762c:	2f0a           	movel %a2,%sp@-                             
   4762e:	4e90           	jsr %a0@                                    
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
   47630:	486b 00ce      	pea %a3@(206)                               
   47634:	2044           	moveal %d4,%a0                              
   47636:	486a 00ce      	pea %a2@(206)                               
   4763a:	4e90           	jsr %a0@                                    
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
   4763c:	4fef 0010      	lea %sp@(16),%sp                            
   47640:	4aaa 0102      	tstl %a2@(258)                              
   47644:	6724           	beqs 4766a <_Thread_Dispatch+0x10a>         
#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 );                      
   47646:	2079 0005 efc2 	moveal 5efc2 <_Thread_Allocated_fp>,%a0     
   4764c:	b1ca           	cmpal %a2,%a0                               
   4764e:	671a           	beqs 4766a <_Thread_Dispatch+0x10a>         
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
   47650:	4a88           	tstl %a0                                    
   47652:	6708           	beqs 4765c <_Thread_Dispatch+0xfc>          
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
   47654:	4868 0102      	pea %a0@(258)                               
   47658:	4e94           	jsr %a4@                                    
   4765a:	588f           	addql #4,%sp                                
      _Context_Restore_fp( &executing->fp_context );                  
   4765c:	486a 0102      	pea %a2@(258)                               
   47660:	4e95           	jsr %a5@                                    
      _Thread_Allocated_fp = executing;                               
   47662:	588f           	addql #4,%sp                                
   47664:	23ca 0005 efc2 	movel %a2,5efc2 <_Thread_Allocated_fp>      
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
   4766a:	2479 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a2        
                                                                      
    _ISR_Disable( level );                                            
   47670:	223c 0000 0700 	movel #1792,%d1                             
   47676:	40c0           	movew %sr,%d0                               
   47678:	8280           	orl %d0,%d1                                 
   4767a:	46c1           	movew %d1,%sr                               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Context_Switch_necessary == true ) {                       
   4767c:	1239 0005 f006 	moveb 5f006 <_Context_Switch_necessary>,%d1 
   47682:	6600 ff2a      	bnew 475ae <_Thread_Dispatch+0x4e>          
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
  _Thread_Dispatch_disable_level = 0;                                 
   47686:	42b9 0005 ef3c 	clrl 5ef3c <_Thread_Dispatch_disable_level> 
                                                                      
  _ISR_Enable( level );                                               
   4768c:	46c0           	movew %d0,%sr                               
                                                                      
  if ( _Thread_Do_post_task_switch_extension ||                       
   4768e:	4ab9 0005 efde 	tstl 5efde <_Thread_Do_post_task_switch_extension>
   47694:	6606           	bnes 4769c <_Thread_Dispatch+0x13c>         
       executing->do_post_task_switch_extension ) {                   
   47696:	4a2a 0074      	tstb %a2@(116)                              
   4769a:	670c           	beqs 476a8 <_Thread_Dispatch+0x148>         
    executing->do_post_task_switch_extension = false;                 
   4769c:	4200           	clrb %d0                                    
   4769e:	1540 0074      	moveb %d0,%a2@(116)                         
    _API_extensions_Run_postswitch();                                 
   476a2:	4eb9 0004 6016 	jsr 46016 <_API_extensions_Run_postswitch>  
  }                                                                   
                                                                      
}                                                                     
   476a8:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   476ae:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004df68 <_Thread_Evaluate_mode>: * * XXX */ bool _Thread_Evaluate_mode( void ) {
   4df68:	4e56 0000      	linkw %fp,#0                                
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
   4df6c:	2079 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a0        
                                                                      
  if ( !_States_Is_ready( executing->current_state ) ||               
   4df72:	4aa8 0010      	tstl %a0@(16)                               
   4df76:	660e           	bnes 4df86 <_Thread_Evaluate_mode+0x1e>     <== NEVER TAKEN
   4df78:	b1f9 0005 efca 	cmpal 5efca <_Thread_Heir>,%a0              
   4df7e:	6710           	beqs 4df90 <_Thread_Evaluate_mode+0x28>     
       ( !_Thread_Is_heir( executing ) && executing->is_preemptible ) ) {
   4df80:	4a28 0075      	tstb %a0@(117)                              
   4df84:	670a           	beqs 4df90 <_Thread_Evaluate_mode+0x28>     <== NEVER TAKEN
    _Context_Switch_necessary = true;                                 
   4df86:	7001           	moveq #1,%d0                                
   4df88:	13c0 0005 f006 	moveb %d0,5f006 <_Context_Switch_necessary> 
    return true;                                                      
   4df8e:	6002           	bras 4df92 <_Thread_Evaluate_mode+0x2a>     
   4df90:	4200           	clrb %d0                                    
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   4df92:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004df98 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
   4df98:	4e56 0000      	linkw %fp,#0                                
   4df9c:	2f0a           	movel %a2,%sp@-                             
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
   4df9e:	2479 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a2        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
   4dfa4:	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;                                 
   4dfa6:	222a 00b4      	movel %a2@(180),%d1                         
  _ISR_Set_level(level);                                              
   4dfaa:	40c0           	movew %sr,%d0                               
   4dfac:	e189           	lsll #8,%d1                                 
   4dfae:	0280 0000 f8ff 	andil #63743,%d0                            
   4dfb4:	8081           	orl %d1,%d0                                 
   4dfb6:	46c0           	movew %d0,%sr                               
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
    doneConstructors = 1;                                             
   4dfb8:	7001           	moveq #1,%d0                                
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
   4dfba:	1439 0005 e6f0 	moveb 5e6f0 <doneConstructors.3606>,%d2     
    doneConstructors = 1;                                             
   4dfc0:	13c0 0005 e6f0 	moveb %d0,5e6f0 <doneConstructors.3606>     
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
   4dfc6:	4aaa 0102      	tstl %a2@(258)                              
   4dfca:	6720           	beqs 4dfec <_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 );                      
   4dfcc:	2079 0005 efc2 	moveal 5efc2 <_Thread_Allocated_fp>,%a0     
   4dfd2:	b1ca           	cmpal %a2,%a0                               
   4dfd4:	6716           	beqs 4dfec <_Thread_Handler+0x54>           
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
   4dfd6:	4a88           	tstl %a0                                    
   4dfd8:	670c           	beqs 4dfe6 <_Thread_Handler+0x4e>           
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
   4dfda:	4868 0102      	pea %a0@(258)                               
   4dfde:	4eb9 0004 8a36 	jsr 48a36 <_CPU_Context_save_fp>            
   4dfe4:	588f           	addql #4,%sp                                
        _Thread_Allocated_fp = executing;                             
   4dfe6:	23ca 0005 efc2 	movel %a2,5efc2 <_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 );                         
   4dfec:	2f0a           	movel %a2,%sp@-                             
   4dfee:	4eb9 0004 8468 	jsr 48468 <_User_extensions_Thread_begin>   
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
   4dff4:	4eb9 0004 76b2 	jsr 476b2 <_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) */ {                 
   4dffa:	588f           	addql #4,%sp                                
   4dffc:	4a02           	tstb %d2                                    
   4dffe:	6606           	bnes 4e006 <_Thread_Handler+0x6e>           
      INIT_NAME ();                                                   
   4e000:	4eb9 0005 b8c0 	jsr 5b8c0 <_init>                           
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
   4e006:	202a 009e      	movel %a2@(158),%d0                         
   4e00a:	6606           	bnes 4e012 <_Thread_Handler+0x7a>           
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
   4e00c:	2f2a 00a6      	movel %a2@(166),%sp@-                       
   4e010:	600a           	bras 4e01c <_Thread_Handler+0x84>           
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
   4e012:	7201           	moveq #1,%d1                                
   4e014:	b280           	cmpl %d0,%d1                                
   4e016:	6610           	bnes 4e028 <_Thread_Handler+0x90>           <== NEVER TAKEN
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
   4e018:	2f2a 00a2      	movel %a2@(162),%sp@-                       
   4e01c:	206a 009a      	moveal %a2@(154),%a0                        
   4e020:	4e90           	jsr %a0@                                    
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
   4e022:	588f           	addql #4,%sp                                
   4e024:	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 );                       
   4e028:	2f0a           	movel %a2,%sp@-                             
   4e02a:	4eb9 0004 84a0 	jsr 484a0 <_User_extensions_Thread_exitted> 
                                                                      
  _Internal_error_Occurred(                                           
   4e030:	4878 0006      	pea 6 <EXTENDSFDF>                          
   4e034:	4878 0001      	pea 1 <ADD>                                 
   4e038:	42a7           	clrl %sp@-                                  
   4e03a:	4eb9 0004 6930 	jsr 46930 <_Internal_error_Occurred>        
                                                                      

00047764 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
   47764:	4e56 ffe8      	linkw %fp,#-24                              
   47768:	222e 0010      	movel %fp@(16),%d1                          
   4776c:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   47770:	246e 000c      	moveal %fp@(12),%a2                         
   47774:	242e 0014      	movel %fp@(20),%d2                          
   47778:	282e 001c      	movel %fp@(28),%d4                          
   4777c:	2a2e 0024      	movel %fp@(36),%d5                          
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
   47780:	42aa 010a      	clrl %a2@(266)                              
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
   47784:	162e 001b      	moveb %fp@(27),%d3                          
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
   47788:	42aa 010e      	clrl %a2@(270)                              
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
   4778c:	1c2e 0023      	moveb %fp@(35),%d6                          
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
   47790:	42aa 0112      	clrl %a2@(274)                              
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
   47794:	42aa 0106      	clrl %a2@(262)                              
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
   47798:	4a81           	tstl %d1                                    
   4779a:	6620           	bnes 477bc <_Thread_Initialize+0x58>        
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
   4779c:	2f02           	movel %d2,%sp@-                             
   4779e:	2f0a           	movel %a2,%sp@-                             
   477a0:	4eb9 0004 8044 	jsr 48044 <_Thread_Stack_Allocate>          
      if ( !actual_stack_size || actual_stack_size < stack_size )     
   477a6:	508f           	addql #8,%sp                                
   477a8:	4a80           	tstl %d0                                    
   477aa:	6700 0176      	beqw 47922 <_Thread_Initialize+0x1be>       
   477ae:	b480           	cmpl %d0,%d2                                
   477b0:	6200 0170      	bhiw 47922 <_Thread_Initialize+0x1be>       
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
   477b4:	222a 00ca      	movel %a2@(202),%d1                         
      the_thread->Start.core_allocated_stack = true;                  
   477b8:	7401           	moveq #1,%d2                                
   477ba:	6004           	bras 477c0 <_Thread_Initialize+0x5c>        
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
   477bc:	2002           	movel %d2,%d0                               
   477be:	4202           	clrb %d2                                    
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
   477c0:	2541 00c2      	movel %d1,%a2@(194)                         
   477c4:	1542 00bc      	moveb %d2,%a2@(188)                         
  the_stack->size = size;                                             
   477c8:	2540 00be      	movel %d0,%a2@(190)                         
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
   477cc:	4a03           	tstb %d3                                    
   477ce:	6604           	bnes 477d4 <_Thread_Initialize+0x70>        
   477d0:	4283           	clrl %d3                                    
   477d2:	6016           	bras 477ea <_Thread_Initialize+0x86>        
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
   477d4:	4878 001c      	pea 1c <OPER2+0x8>                          
   477d8:	4eb9 0004 8868 	jsr 48868 <_Workspace_Allocate>             
      if ( !fp_area )                                                 
   477de:	588f           	addql #4,%sp                                
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
   477e0:	2600           	movel %d0,%d3                               
      if ( !fp_area )                                                 
   477e2:	6606           	bnes 477ea <_Thread_Initialize+0x86>        
   477e4:	4282           	clrl %d2                                    
   477e6:	6000 00d4      	braw 478bc <_Thread_Initialize+0x158>       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
   477ea:	2039 0005 efda 	movel 5efda <_Thread_Maximum_extensions>,%d0
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
   477f0:	2543 0102      	movel %d3,%a2@(258)                         
    the_thread->Start.fp_context = fp_area;                           
   477f4:	2543 00c6      	movel %d3,%a2@(198)                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   477f8:	42aa 0050      	clrl %a2@(80)                               
  the_watchdog->routine   = routine;                                  
   477fc:	42aa 0064      	clrl %a2@(100)                              
  the_watchdog->id        = id;                                       
   47800:	42aa 0068      	clrl %a2@(104)                              
  the_watchdog->user_data = user_data;                                
   47804:	42aa 006c      	clrl %a2@(108)                              
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
   47808:	4a80           	tstl %d0                                    
   4780a:	6604           	bnes 47810 <_Thread_Initialize+0xac>        
   4780c:	4282           	clrl %d2                                    
   4780e:	6016           	bras 47826 <_Thread_Initialize+0xc2>        
    extensions_area = _Workspace_Allocate(                            
   47810:	e588           	lsll #2,%d0                                 
   47812:	2040           	moveal %d0,%a0                              
   47814:	4868 0004      	pea %a0@(4)                                 
   47818:	4eb9 0004 8868 	jsr 48868 <_Workspace_Allocate>             
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
   4781e:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
   47820:	2400           	movel %d0,%d2                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
   47822:	6700 0098      	beqw 478bc <_Thread_Initialize+0x158>       
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
   47826:	2542 0116      	movel %d2,%a2@(278)                         
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
   4782a:	6718           	beqs 47844 <_Thread_Initialize+0xe0>        
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
   4782c:	2239 0005 efda 	movel 5efda <_Thread_Maximum_extensions>,%d1
   47832:	4280           	clrl %d0                                    
   47834:	600a           	bras 47840 <_Thread_Initialize+0xdc>        
      the_thread->extensions[i] = NULL;                               
   47836:	206a 0116      	moveal %a2@(278),%a0                        
   4783a:	42b0 0c00      	clrl %a0@(00000000,%d0:l:4)                 
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
   4783e:	5280           	addql #1,%d0                                
   47840:	b280           	cmpl %d0,%d1                                
   47842:	64f2           	bccs 47836 <_Thread_Initialize+0xd2>        
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
   47844:	2545 00ac      	movel %d5,%a2@(172)                         
  the_thread->Start.budget_callout   = budget_callout;                
                                                                      
  switch ( budget_algorithm ) {                                       
   47848:	7002           	moveq #2,%d0                                
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
   4784a:	256e 0028 00b0 	movel %fp@(40),%a2@(176)                    
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
   47850:	1546 00aa      	moveb %d6,%a2@(170)                         
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
                                                                      
  switch ( budget_algorithm ) {                                       
   47854:	b085           	cmpl %d5,%d0                                
   47856:	660a           	bnes 47862 <_Thread_Initialize+0xfe>        
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
   47858:	41f9 0005 eeec 	lea 5eeec <_Thread_Ticks_per_timeslice>,%a0 
   4785e:	2550 0076      	movel %a0@,%a2@(118)                        
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
   47862:	2f04           	movel %d4,%sp@-                             
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
   47864:	256e 002c 00b4 	movel %fp@(44),%a2@(180)                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
   4786a:	7001           	moveq #1,%d0                                
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
   4786c:	2f0a           	movel %a2,%sp@-                             
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
   4786e:	2540 0010      	movel %d0,%a2@(16)                          
  the_thread->Wait.queue              = NULL;                         
   47872:	42aa 0044      	clrl %a2@(68)                               
  the_thread->resource_count          = 0;                            
   47876:	42aa 001c      	clrl %a2@(28)                               
  #if defined(RTEMS_ITRON_API)                                        
    the_thread->suspend_count         = 0;                            
  #endif                                                              
  the_thread->real_priority           = priority;                     
   4787a:	2544 0018      	movel %d4,%a2@(24)                          
  the_thread->Start.initial_priority  = priority;                     
   4787e:	2544 00b8      	movel %d4,%a2@(184)                         
  _Thread_Set_priority( the_thread, priority );                       
   47882:	4eb9 0004 7e70 	jsr 47e70 <_Thread_Set_priority>            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   47888:	206e 0008      	moveal %fp@(8),%a0                          
   4788c:	4280           	clrl %d0                                    
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
   4788e:	256e 0030 000c 	movel %fp@(48),%a2@(12)                     
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   47894:	2068 0018      	moveal %a0@(24),%a0                         
   47898:	302a 000a      	movew %a2@(10),%d0                          
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
   4789c:	42aa 0082      	clrl %a2@(130)                              
   478a0:	218a 0c00      	movel %a2,%a0@(00000000,%d0:l:4)            
   478a4:	42aa 0086      	clrl %a2@(134)                              
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
   478a8:	2f0a           	movel %a2,%sp@-                             
   478aa:	4eb9 0004 8524 	jsr 48524 <_User_extensions_Thread_create>  
  if ( extension_status )                                             
   478b0:	4fef 000c      	lea %sp@(12),%sp                            
   478b4:	4a00           	tstb %d0                                    
   478b6:	6704           	beqs 478bc <_Thread_Initialize+0x158>       
   478b8:	7001           	moveq #1,%d0                                
   478ba:	6068           	bras 47924 <_Thread_Initialize+0x1c0>       
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
   478bc:	202a 0106      	movel %a2@(262),%d0                         
   478c0:	670a           	beqs 478cc <_Thread_Initialize+0x168>       
    _Workspace_Free( the_thread->libc_reent );                        
   478c2:	2f00           	movel %d0,%sp@-                             
   478c4:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 
   478ca:	588f           	addql #4,%sp                                
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
   478cc:	202a 010a      	movel %a2@(266),%d0                         
   478d0:	670a           	beqs 478dc <_Thread_Initialize+0x178>       
      _Workspace_Free( the_thread->API_Extensions[i] );               
   478d2:	2f00           	movel %d0,%sp@-                             
   478d4:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 
   478da:	588f           	addql #4,%sp                                
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
   478dc:	202a 010e      	movel %a2@(270),%d0                         
   478e0:	670a           	beqs 478ec <_Thread_Initialize+0x188>       
      _Workspace_Free( the_thread->API_Extensions[i] );               
   478e2:	2f00           	movel %d0,%sp@-                             
   478e4:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 
   478ea:	588f           	addql #4,%sp                                
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
   478ec:	202a 0112      	movel %a2@(274),%d0                         
   478f0:	670a           	beqs 478fc <_Thread_Initialize+0x198>       <== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
   478f2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   478f4:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 <== NOT EXECUTED
   478fa:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
   478fc:	4a82           	tstl %d2                                    
   478fe:	670a           	beqs 4790a <_Thread_Initialize+0x1a6>       
    (void) _Workspace_Free( extensions_area );                        
   47900:	2f02           	movel %d2,%sp@-                             
   47902:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 
   47908:	588f           	addql #4,%sp                                
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
   4790a:	4a83           	tstl %d3                                    
   4790c:	670a           	beqs 47918 <_Thread_Initialize+0x1b4>       
      (void) _Workspace_Free( fp_area );                              
   4790e:	2f03           	movel %d3,%sp@-                             
   47910:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 
   47916:	588f           	addql #4,%sp                                
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
   47918:	2f0a           	movel %a2,%sp@-                             
   4791a:	4eb9 0004 8090 	jsr 48090 <_Thread_Stack_Free>              
  return false;                                                       
   47920:	588f           	addql #4,%sp                                
   47922:	4200           	clrb %d0                                    
                                                                      
                                                                      
}                                                                     
   47924:	4cee 047c ffe8 	moveml %fp@(-24),%d2-%d6/%a2                
   4792a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000485e4 <_Thread_Restart>: Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) { if ( !_States_Is_dormant( the_thread->current_state ) ) {
   485e4:	7001           	moveq #1,%d0                                
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
   485e6:	4e56 0000      	linkw %fp,#0                                
   485ea:	2f0a           	movel %a2,%sp@-                             
   485ec:	246e 0008      	moveal %fp@(8),%a2                          
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
   485f0:	c0aa 0010      	andl %a2@(16),%d0                           
   485f4:	4a00           	tstb %d0                                    
   485f6:	6704           	beqs 485fc <_Thread_Restart+0x18>           
   485f8:	4200           	clrb %d0                                    
   485fa:	6064           	bras 48660 <_Thread_Restart+0x7c>           
                                                                      
    _Thread_Set_transient( the_thread );                              
   485fc:	2f0a           	movel %a2,%sp@-                             
   485fe:	4eb9 0004 87c0 	jsr 487c0 <_Thread_Set_transient>           
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
   48604:	2f2e 0010      	movel %fp@(16),%sp@-                        
   48608:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4860c:	2f0a           	movel %a2,%sp@-                             
   4860e:	4eb9 0004 c6b8 	jsr 4c6b8 <_Thread_Reset>                   
                                                                      
    _Thread_Load_environment( the_thread );                           
   48614:	2f0a           	movel %a2,%sp@-                             
   48616:	4eb9 0004 c354 	jsr 4c354 <_Thread_Load_environment>        
                                                                      
    _Thread_Ready( the_thread );                                      
   4861c:	2f0a           	movel %a2,%sp@-                             
   4861e:	4eb9 0004 c5f8 	jsr 4c5f8 <_Thread_Ready>                   
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
   48624:	2f0a           	movel %a2,%sp@-                             
   48626:	4eb9 0004 8da0 	jsr 48da0 <_User_extensions_Thread_restart> 
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
   4862c:	4fef 001c      	lea %sp@(28),%sp                            
   48630:	b5f9 0005 faee 	cmpal 5faee <_Thread_Executing>,%a2         
   48636:	6626           	bnes 4865e <_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 )                        
   48638:	4aaa 0102      	tstl %a2@(258)                              
   4863c:	670c           	beqs 4864a <_Thread_Restart+0x66>           
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
   4863e:	486a 0102      	pea %a2@(258)                               
   48642:	4eb9 0004 9290 	jsr 49290 <_CPU_Context_restore_fp>         
   48648:	588f           	addql #4,%sp                                
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
   4864a:	2079 0005 faee 	moveal 5faee <_Thread_Executing>,%a0        
   48650:	41e8 00ce      	lea %a0@(206),%a0                           
   48654:	2f08           	movel %a0,%sp@-                             
   48656:	4eb9 0004 914e 	jsr 4914e <_CPU_Context_Restart_self>       
   4865c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4865e:	7001           	moveq #1,%d0                                
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   48660:	246e fffc      	moveal %fp@(-4),%a2                         
   48664:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ad58 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
   4ad58:	4e56 ffec      	linkw %fp,#-20                              
   4ad5c:	206e 0008      	moveal %fp@(8),%a0                          
   4ad60:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
                                                                      
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
   4ad64:	243c 0000 0700 	movel #1792,%d2                             
   4ad6a:	2002           	movel %d2,%d0                               
   4ad6c:	40c1           	movew %sr,%d1                               
   4ad6e:	8081           	orl %d1,%d0                                 
   4ad70:	46c0           	movew %d0,%sr                               
      _ISR_Enable( level );                                           
      return;                                                         
    }                                                                 
  #endif                                                              
                                                                      
  current_state = the_thread->current_state;                          
   4ad72:	2028 0010      	movel %a0@(16),%d0                          
  if ( current_state & STATES_SUSPENDED ) {                           
   4ad76:	0800 0001      	btst #1,%d0                                 
   4ad7a:	6778           	beqs 4adf4 <_Thread_Resume+0x9c>            <== NEVER TAKEN
   4ad7c:	76fd           	moveq #-3,%d3                               
   4ad7e:	c083           	andl %d3,%d0                                
    current_state =                                                   
   4ad80:	2140 0010      	movel %d0,%a0@(16)                          
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
   4ad84:	666e           	bnes 4adf4 <_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;          
   4ad86:	2668 008e      	moveal %a0@(142),%a3                        
   4ad8a:	3028 0094      	movew %a0@(148),%d0                         
   4ad8e:	3613           	movew %a3@,%d3                              
                                                                      
      _Priority_Add_to_bit_map( &the_thread->Priority_map );          
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
   4ad90:	2268 008a      	moveal %a0@(138),%a1                        
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
   4ad94:	2809           	movel %a1,%d4                               
   4ad96:	5884           	addql #4,%d4                                
   4ad98:	8083           	orl %d3,%d0                                 
   4ad9a:	2084           	movel %d4,%a0@                              
  old_last_node       = the_chain->last;                              
   4ad9c:	2469 0008      	moveal %a1@(8),%a2                          
   4ada0:	3680           	movew %d0,%a3@                              
  the_chain->last     = the_node;                                     
   4ada2:	2348 0008      	movel %a0,%a1@(8)                           
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
   4ada6:	3039 0006 2324 	movew 62324 <_Priority_Major_bit_map>,%d0   
   4adac:	3628 0092      	movew %a0@(146),%d3                         
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
   4adb0:	214a 0004      	movel %a2,%a0@(4)                           
   4adb4:	8083           	orl %d3,%d0                                 
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
   4adb6:	2488           	movel %a0,%a2@                              
   4adb8:	33c0 0006 2324 	movew %d0,62324 <_Priority_Major_bit_map>   
                                                                      
      _ISR_Flash( level );                                            
   4adbe:	2002           	movel %d2,%d0                               
   4adc0:	46c1           	movew %d1,%sr                               
   4adc2:	8081           	orl %d1,%d0                                 
   4adc4:	46c0           	movew %d0,%sr                               
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
   4adc6:	2028 0014      	movel %a0@(20),%d0                          
   4adca:	2279 0006 2302 	moveal 62302 <_Thread_Heir>,%a1             
   4add0:	b0a9 0014      	cmpl %a1@(20),%d0                           
   4add4:	641e           	bccs 4adf4 <_Thread_Resume+0x9c>            
        _Thread_Heir = the_thread;                                    
   4add6:	23c8 0006 2302 	movel %a0,62302 <_Thread_Heir>              
        if ( _Thread_Executing->is_preemptible ||                     
   4addc:	2079 0006 232e 	moveal 6232e <_Thread_Executing>,%a0        
   4ade2:	4a28 0075      	tstb %a0@(117)                              
   4ade6:	6604           	bnes 4adec <_Thread_Resume+0x94>            
   4ade8:	4a80           	tstl %d0                                    
   4adea:	6608           	bnes 4adf4 <_Thread_Resume+0x9c>            <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Context_Switch_necessary = true;                           
   4adec:	7001           	moveq #1,%d0                                
   4adee:	13c0 0006 233e 	moveb %d0,6233e <_Context_Switch_necessary> 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
   4adf4:	46c1           	movew %d1,%sr                               
}                                                                     
   4adf6:	4cd7 0c1c      	moveml %sp@,%d2-%d4/%a2-%a3                 
   4adfa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048090 <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
   48090:	4e56 0000      	linkw %fp,#0                                
   48094:	206e 0008      	moveal %fp@(8),%a0                          
  #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)  
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
    if ( !the_thread->Start.core_allocated_stack )                    
   48098:	4a28 00bc      	tstb %a0@(188)                              
   4809c:	6722           	beqs 480c0 <_Thread_Stack_Free+0x30>        <== NEVER TAKEN
   * Call ONLY the CPU table stack free hook, or the                  
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
   4809e:	2279 0005 d788 	moveal 5d788 <Configuration+0x24>,%a1       
   480a4:	4a89           	tstl %a1                                    
   480a6:	670a           	beqs 480b2 <_Thread_Stack_Free+0x22>        
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
   480a8:	2d68 00c2 0008 	movel %a0@(194),%fp@(8)                     
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
}                                                                     
   480ae:	4e5e           	unlk %fp                                    
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
   480b0:	4ed1           	jmp %a1@                                    
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
   480b2:	2d68 00c2 0008 	movel %a0@(194),%fp@(8)                     
}                                                                     
   480b8:	4e5e           	unlk %fp                                    
   */                                                                 
                                                                      
  if ( Configuration.stack_free_hook )                                
    (*Configuration.stack_free_hook)( the_thread->Start.Initial_stack.area );
  else                                                                
    _Workspace_Free( the_thread->Start.Initial_stack.area );          
   480ba:	4ef9 0004 8884 	jmp 48884 <_Workspace_Free>                 
}                                                                     
   480c0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004824c <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
   4824c:	4e56 0000      	linkw %fp,#0                                
   48250:	2f0a           	movel %a2,%sp@-                             
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
   48252:	2479 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a2        
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
   48258:	4a2a 0075      	tstb %a2@(117)                              
   4825c:	6756           	beqs 482b4 <_Thread_Tickle_timeslice+0x68>  
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
   4825e:	4aaa 0010      	tstl %a2@(16)                               
   48262:	6650           	bnes 482b4 <_Thread_Tickle_timeslice+0x68>  
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
   48264:	202a 007a      	movel %a2@(122),%d0                         
   48268:	7201           	moveq #1,%d1                                
   4826a:	b280           	cmpl %d0,%d1                                
   4826c:	6246           	bhis 482b4 <_Thread_Tickle_timeslice+0x68>  
   4826e:	123c 0002      	moveb #2,%d1                                
   48272:	b280           	cmpl %d0,%d1                                
   48274:	640a           	bccs 48280 <_Thread_Tickle_timeslice+0x34>  
   48276:	123c 0003      	moveb #3,%d1                                
   4827a:	b280           	cmpl %d0,%d1                                
   4827c:	6636           	bnes 482b4 <_Thread_Tickle_timeslice+0x68>  <== NEVER TAKEN
   4827e:	601e           	bras 4829e <_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 ) {               
   48280:	202a 0076      	movel %a2@(118),%d0                         
   48284:	5380           	subql #1,%d0                                
   48286:	2540 0076      	movel %d0,%a2@(118)                         
   4828a:	6e28           	bgts 482b4 <_Thread_Tickle_timeslice+0x68>  
        _Thread_Reset_timeslice();                                    
   4828c:	4eb9 0004 be80 	jsr 4be80 <_Thread_Reset_timeslice>         
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
   48292:	41f9 0005 eeec 	lea 5eeec <_Thread_Ticks_per_timeslice>,%a0 
   48298:	2550 0076      	movel %a0@,%a2@(118)                        
   4829c:	6016           	bras 482b4 <_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 )                             
   4829e:	202a 0076      	movel %a2@(118),%d0                         
   482a2:	5380           	subql #1,%d0                                
   482a4:	2540 0076      	movel %d0,%a2@(118)                         
   482a8:	660a           	bnes 482b4 <_Thread_Tickle_timeslice+0x68>  
	  (*executing->budget_callout)( executing );                         
   482aa:	2f0a           	movel %a2,%sp@-                             
   482ac:	206a 007e      	moveal %a2@(126),%a0                        
   482b0:	4e90           	jsr %a0@                                    
   482b2:	588f           	addql #4,%sp                                
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
   482b4:	246e fffc      	moveal %fp@(-4),%a2                         
   482b8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000482bc <_Thread_Yield_processor>: * ready chain * select heir */ void _Thread_Yield_processor( void ) {
   482bc:	4e56 fff4      	linkw %fp,#-12                              
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
   482c0:	2079 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a0        
 *    ready chain                                                     
 *    select heir                                                     
 */                                                                   
                                                                      
void _Thread_Yield_processor( void )                                  
{                                                                     
   482c6:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  ready     = executing->ready;                                       
  _ISR_Disable( level );                                              
   482ca:	243c 0000 0700 	movel #1792,%d2                             
   482d0:	2002           	movel %d2,%d0                               
  ISR_Level       level;                                              
  Thread_Control *executing;                                          
  Chain_Control  *ready;                                              
                                                                      
  executing = _Thread_Executing;                                      
  ready     = executing->ready;                                       
   482d2:	2268 008a      	moveal %a0@(138),%a1                        
  _ISR_Disable( level );                                              
   482d6:	40c1           	movew %sr,%d1                               
   482d8:	8081           	orl %d1,%d0                                 
   482da:	46c0           	movew %d0,%sr                               
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
   482dc:	2029 0008      	movel %a1@(8),%d0                           
   482e0:	b091           	cmpl %a1@,%d0                               
   482e2:	6738           	beqs 4831c <_Thread_Yield_processor+0x60>   
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   482e4:	2450           	moveal %a0@,%a2                             
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
   482e6:	2009           	movel %a1,%d0                               
   482e8:	5880           	addql #4,%d0                                
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
   482ea:	2668 0004      	moveal %a0@(4),%a3                          
  next->previous = previous;                                          
  previous->next = next;                                              
   482ee:	268a           	movel %a2,%a3@                              
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
   482f0:	254b 0004      	movel %a3,%a2@(4)                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
   482f4:	2080           	movel %d0,%a0@                              
  old_last_node       = the_chain->last;                              
   482f6:	2469 0008      	moveal %a1@(8),%a2                          
  the_chain->last     = the_node;                                     
   482fa:	2348 0008      	movel %a0,%a1@(8)                           
  old_last_node->next = the_node;                                     
  the_node->previous  = old_last_node;                                
   482fe:	214a 0004      	movel %a2,%a0@(4)                           
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
  old_last_node->next = the_node;                                     
   48302:	2488           	movel %a0,%a2@                              
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
   48304:	2002           	movel %d2,%d0                               
   48306:	46c1           	movew %d1,%sr                               
   48308:	8081           	orl %d1,%d0                                 
   4830a:	46c0           	movew %d0,%sr                               
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
   4830c:	b1f9 0005 efca 	cmpal 5efca <_Thread_Heir>,%a0              
   48312:	6610           	bnes 48324 <_Thread_Yield_processor+0x68>   <== NEVER TAKEN
        _Thread_Heir = (Thread_Control *) ready->first;               
   48314:	23d1 0005 efca 	movel %a1@,5efca <_Thread_Heir>             
   4831a:	6008           	bras 48324 <_Thread_Yield_processor+0x68>   
      _Context_Switch_necessary = true;                               
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
   4831c:	b1f9 0005 efca 	cmpal 5efca <_Thread_Heir>,%a0              
   48322:	6708           	beqs 4832c <_Thread_Yield_processor+0x70>   <== ALWAYS TAKEN
      _Context_Switch_necessary = true;                               
   48324:	7001           	moveq #1,%d0                                
   48326:	13c0 0005 f006 	moveb %d0,5f006 <_Context_Switch_necessary> 
                                                                      
  _ISR_Enable( level );                                               
   4832c:	46c1           	movew %d1,%sr                               
}                                                                     
   4832e:	4cd7 0c04      	moveml %sp@,%d2/%a2-%a3                     
   48332:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047168 <_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 ) ) {
   47168:	7202           	moveq #2,%d1                                
  Thread_blocking_operation_States  sync_state __attribute__((unused)),
#endif                                                                
  Thread_Control                   *the_thread,                       
  ISR_Level                         level                             
)                                                                     
{                                                                     
   4716a:	4e56 0000      	linkw %fp,#0                                
   4716e:	202e 0010      	movel %fp@(16),%d0                          
   47172:	2f0a           	movel %a2,%sp@-                             
   47174:	246e 000c      	moveal %fp@(12),%a2                         
  #endif                                                              
                                                                      
  /*                                                                  
   * The thread is not waiting on anything after this completes.      
   */                                                                 
  the_thread->Wait.queue = NULL;                                      
   47178:	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 ) ) {                  
   4717c:	b2aa 0050      	cmpl %a2@(80),%d1                           
   47180:	6618           	bnes 4719a <_Thread_blocking_operation_Cancel+0x32>
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   47182:	123c 0003      	moveb #3,%d1                                
   47186:	2541 0050      	movel %d1,%a2@(80)                          
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   4718a:	46c0           	movew %d0,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   4718c:	486a 0048      	pea %a2@(72)                                
   47190:	4eb9 0004 873c 	jsr 4873c <_Watchdog_Remove>                
   47196:	588f           	addql #4,%sp                                
   47198:	6002           	bras 4719c <_Thread_blocking_operation_Cancel+0x34>
  } else                                                              
    _ISR_Enable( level );                                             
   4719a:	46c0           	movew %d0,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4719c:	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                                                                
                                                                      
}                                                                     
   471a0:	246e fffc      	moveal %fp@(-4),%a2                         
   471a4:	203c 1003 fff8 	movel #268697592,%d0                        
   471aa:	2d40 000c      	movel %d0,%fp@(12)                          
   471ae:	4e5e           	unlk %fp                                    
   471b0:	4ef9 0004 72f8 	jmp 472f8 <_Thread_Clear_state>             
	...                                                                  
                                                                      

00047be4 <_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 ) {
   47be4:	4e56 ffe4      	linkw %fp,#-28                              
   47be8:	206e 000c      	moveal %fp@(12),%a0                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   47bec:	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;                        
   47bf0:	2028 0014      	movel %a0@(20),%d0                          
Thread_blocking_operation_States _Thread_queue_Enqueue_priority (     
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread,                                   
  ISR_Level            *level_p                                       
)                                                                     
{                                                                     
   47bf4:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%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 ];  
   47bf8:	2400           	movel %d0,%d2                               
   47bfa:	ec8a           	lsrl #6,%d2                                 
   47bfc:	2202           	movel %d2,%d1                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
   47bfe:	283c 0000 0700 	movel #1792,%d4                             
                                                                      
  _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 ];  
   47c04:	e989           	lsll #4,%d1                                 
   47c06:	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                                       
)                                                                     
{                                                                     
   47c08:	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 ];  
   47c0c:	9282           	subl %d2,%d1                                
   47c0e:	47f2 1800      	lea %a2@(00000000,%d1:l),%a3                
   47c12:	2149 0038      	movel %a1,%a0@(56)                          
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
   47c16:	43e8 0038      	lea %a0@(56),%a1                            
  block_state  = the_thread_queue->state;                             
   47c1a:	2a2a 0038      	movel %a2@(56),%d5                          
   47c1e:	2149 0040      	movel %a1,%a0@(64)                          
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
   47c22:	42a8 003c      	clrl %a0@(60)                               
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
   47c26:	0800 0005      	btst #5,%d0                                 
   47c2a:	6660           	bnes 47c8c <_Thread_queue_Enqueue_priority+0xa8>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   47c2c:	2c0b           	movel %a3,%d6                               
   47c2e:	5886           	addql #4,%d6                                
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
   47c30:	2404           	movel %d4,%d2                               
   47c32:	40c1           	movew %sr,%d1                               
   47c34:	8481           	orl %d1,%d2                                 
   47c36:	46c2           	movew %d2,%sr                               
  search_thread = (Thread_Control *) header->first;                   
   47c38:	2253           	moveal %a3@,%a1                             
   47c3a:	76ff           	moveq #-1,%d3                               
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
   47c3c:	601e           	bras 47c5c <_Thread_queue_Enqueue_priority+0x78>
    search_priority = search_thread->current_priority;                
   47c3e:	2629 0014      	movel %a1@(20),%d3                          
    if ( priority <= search_priority )                                
   47c42:	b680           	cmpl %d0,%d3                                
   47c44:	641a           	bccs 47c60 <_Thread_queue_Enqueue_priority+0x7c>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
   47c46:	2404           	movel %d4,%d2                               
   47c48:	46c1           	movew %d1,%sr                               
   47c4a:	8481           	orl %d1,%d2                                 
   47c4c:	46c2           	movew %d2,%sr                               
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
   47c4e:	2405           	movel %d5,%d2                               
   47c50:	c4a9 0010      	andl %a1@(16),%d2                           
   47c54:	6604           	bnes 47c5a <_Thread_queue_Enqueue_priority+0x76><== ALWAYS TAKEN
      _ISR_Enable( level );                                           
   47c56:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
      goto restart_forward_search;                                    
   47c58:	60d6           	bras 47c30 <_Thread_queue_Enqueue_priority+0x4c><== NOT EXECUTED
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
   47c5a:	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 ) ) {  
   47c5c:	bc89           	cmpl %a1,%d6                                
   47c5e:	66de           	bnes 47c3e <_Thread_queue_Enqueue_priority+0x5a>
   47c60:	2401           	movel %d1,%d2                               
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   47c62:	7801           	moveq #1,%d4                                
   47c64:	b8aa 0030      	cmpl %a2@(48),%d4                           
   47c68:	6600 00a4      	bnew 47d0e <_Thread_queue_Enqueue_priority+0x12a>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
   47c6c:	42aa 0030      	clrl %a2@(48)                               
                                                                      
  if ( priority == search_priority )                                  
   47c70:	b680           	cmpl %d0,%d3                                
   47c72:	677e           	beqs 47cf2 <_Thread_queue_Enqueue_priority+0x10e>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
   47c74:	2669 0004      	moveal %a1@(4),%a3                          
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
   47c78:	2089           	movel %a1,%a0@                              
  the_node->previous     = previous_node;                             
   47c7a:	214b 0004      	movel %a3,%a0@(4)                           
  previous_node->next    = the_node;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
   47c7e:	214a 0044      	movel %a2,%a0@(68)                          
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
   47c82:	2688           	movel %a0,%a3@                              
  search_node->previous  = the_node;                                  
   47c84:	2348 0004      	movel %a0,%a1@(4)                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
   47c88:	46c1           	movew %d1,%sr                               
   47c8a:	6062           	bras 47cee <_Thread_queue_Enqueue_priority+0x10a>
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   47c8c:	4283           	clrl %d3                                    
   47c8e:	1639 0005 d762 	moveb 5d762 <rtems_maximum_priority>,%d3    
                                                                      
  _ISR_Disable( level );                                              
   47c94:	2404           	movel %d4,%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;                         
   47c96:	5283           	addql #1,%d3                                
                                                                      
  _ISR_Disable( level );                                              
   47c98:	40c1           	movew %sr,%d1                               
   47c9a:	8481           	orl %d1,%d2                                 
   47c9c:	46c2           	movew %d2,%sr                               
  search_thread = (Thread_Control *) header->last;                    
   47c9e:	226b 0008      	moveal %a3@(8),%a1                          
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
   47ca2:	6020           	bras 47cc4 <_Thread_queue_Enqueue_priority+0xe0>
    search_priority = search_thread->current_priority;                
   47ca4:	2629 0014      	movel %a1@(20),%d3                          
    if ( priority >= search_priority )                                
   47ca8:	b680           	cmpl %d0,%d3                                
   47caa:	631c           	blss 47cc8 <_Thread_queue_Enqueue_priority+0xe4>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
   47cac:	2404           	movel %d4,%d2                               
   47cae:	46c1           	movew %d1,%sr                               
   47cb0:	8481           	orl %d1,%d2                                 
   47cb2:	46c2           	movew %d2,%sr                               
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
   47cb4:	2405           	movel %d5,%d2                               
   47cb6:	c4a9 0010      	andl %a1@(16),%d2                           
   47cba:	6604           	bnes 47cc0 <_Thread_queue_Enqueue_priority+0xdc>
      _ISR_Enable( level );                                           
   47cbc:	46c1           	movew %d1,%sr                               
      goto restart_reverse_search;                                    
   47cbe:	60cc           	bras 47c8c <_Thread_queue_Enqueue_priority+0xa8>
    }                                                                 
    search_thread = (Thread_Control *)                                
   47cc0:	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 ) ) {  
   47cc4:	b7c9           	cmpal %a1,%a3                               
   47cc6:	66dc           	bnes 47ca4 <_Thread_queue_Enqueue_priority+0xc0>
   47cc8:	2401           	movel %d1,%d2                               
    }                                                                 
    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+0x12a>
       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+0x10e>
    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;                                  
  the_thread->Wait.queue = the_thread_queue;                          
   47ce2:	214a 0044      	movel %a2,%a0@(68)                          
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
   47ce6:	2288           	movel %a0,%a1@                              
  next_node->previous    = the_node;                                  
   47ce8:	2748 0004      	movel %a0,%a3@(4)                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
   47cec:	46c1           	movew %d1,%sr                               
   47cee:	7001           	moveq #1,%d0                                
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
   47cf0:	6026           	bras 47d18 <_Thread_queue_Enqueue_priority+0x134>
   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;                                  
  search_node->previous  = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
   47d00:	214a 0044      	movel %a2,%a0@(68)                          
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
  previous_node->next    = the_node;                                  
   47d04:	2688           	movel %a0,%a3@                              
  search_node->previous  = the_node;                                  
   47d06:	2348 0004      	movel %a0,%a1@(4)                           
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
   47d0a:	46c2           	movew %d2,%sr                               
   47d0c:	60e0           	bras 47cee <_Thread_queue_Enqueue_priority+0x10a>
   *  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 0c7c      	moveml %sp@,%d2-%d6/%a2-%a3                 
   47d1c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e040 <_Thread_queue_Extract_fifo>: Thread_Control *the_thread ) { ISR_Level level; _ISR_Disable( level );
   4e040:	223c 0000 0700 	movel #1792,%d1                             
                                                                      
void _Thread_queue_Extract_fifo(                                      
  Thread_queue_Control *the_thread_queue __attribute__((unused)),     
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
   4e046:	4e56 0000      	linkw %fp,#0                                
   4e04a:	2f0a           	movel %a2,%sp@-                             
   4e04c:	246e 000c      	moveal %fp@(12),%a2                         
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   4e050:	40c0           	movew %sr,%d0                               
   4e052:	8280           	orl %d0,%d1                                 
   4e054:	46c1           	movew %d1,%sr                               
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   4e056:	222a 0010      	movel %a2@(16),%d1                          
   4e05a:	0281 0003 bee0 	andil #245472,%d1                           
   4e060:	660a           	bnes 4e06c <_Thread_queue_Extract_fifo+0x2c>
    _ISR_Enable( level );                                             
   4e062:	46c0           	movew %d0,%sr                               
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   4e064:	246e fffc      	moveal %fp@(-4),%a2                         
   4e068:	4e5e           	unlk %fp                                    
   4e06a:	4e75           	rts                                         
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   4e06c:	2052           	moveal %a2@,%a0                             
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4e06e:	7202           	moveq #2,%d1                                
  previous       = the_node->previous;                                
   4e070:	226a 0004      	moveal %a2@(4),%a1                          
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
   4e074:	42aa 0044      	clrl %a2@(68)                               
  next->previous = previous;                                          
  previous->next = next;                                              
   4e078:	2288           	movel %a0,%a1@                              
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
   4e07a:	2149 0004      	movel %a1,%a0@(4)                           
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4e07e:	b2aa 0050      	cmpl %a2@(80),%d1                           
   4e082:	6704           	beqs 4e088 <_Thread_queue_Extract_fifo+0x48>
    _ISR_Enable( level );                                             
   4e084:	46c0           	movew %d0,%sr                               
   4e086:	6014           	bras 4e09c <_Thread_queue_Extract_fifo+0x5c>
   4e088:	7203           	moveq #3,%d1                                
   4e08a:	2541 0050      	movel %d1,%a2@(80)                          
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   4e08e:	46c0           	movew %d0,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   4e090:	486a 0048      	pea %a2@(72)                                
   4e094:	4eb9 0004 873c 	jsr 4873c <_Watchdog_Remove>                
   4e09a:	588f           	addql #4,%sp                                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4e09c:	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                                                                
                                                                      
}                                                                     
   4e0a0:	246e fffc      	moveal %fp@(-4),%a2                         
   4e0a4:	203c 1003 fff8 	movel #268697592,%d0                        
   4e0aa:	2d40 000c      	movel %d0,%fp@(12)                          
   4e0ae:	4e5e           	unlk %fp                                    
   4e0b0:	4ef9 0004 72f8 	jmp 472f8 <_Thread_Clear_state>             
	...                                                                  
                                                                      

0004bd78 <_Thread_queue_Process_timeout>: #include <rtems/score/tqdata.h> void _Thread_queue_Process_timeout( Thread_Control *the_thread ) {
   4bd78:	4e56 0000      	linkw %fp,#0                                
   4bd7c:	206e 0008      	moveal %fp@(8),%a0                          
  Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;    
   4bd80:	2268 0044      	moveal %a0@(68),%a1                         
   *  If it is not satisfied, then it is "nothing happened" and       
   *  this is the "timeout" transition.  After a request is satisfied,
   *  a timeout is not allowed to occur.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
   4bd84:	2029 0030      	movel %a1@(48),%d0                          
   4bd88:	671c           	beqs 4bda6 <_Thread_queue_Process_timeout+0x2e>
   4bd8a:	b1f9 0005 eff6 	cmpal 5eff6 <_Thread_Executing>,%a0         
   4bd90:	6614           	bnes 4bda6 <_Thread_queue_Process_timeout+0x2e><== NEVER TAKEN
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
   4bd92:	7203           	moveq #3,%d1                                
   4bd94:	b280           	cmpl %d0,%d1                                
   4bd96:	6722           	beqs 4bdba <_Thread_queue_Process_timeout+0x42>
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
   4bd98:	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;
   4bd9a:	2169 003c 0034 	movel %a1@(60),%a0@(52)                     
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
   4bda0:	2340 0030      	movel %d0,%a1@(48)                          
   4bda4:	6014           	bras 4bdba <_Thread_queue_Process_timeout+0x42>
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
   4bda6:	2169 003c 0034 	movel %a1@(60),%a0@(52)                     
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
   4bdac:	2f08           	movel %a0,%sp@-                             
   4bdae:	2f28 0044      	movel %a0@(68),%sp@-                        
   4bdb2:	4eb9 0004 bc74 	jsr 4bc74 <_Thread_queue_Extract>           
   4bdb8:	508f           	addql #8,%sp                                
  }                                                                   
}                                                                     
   4bdba:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047dd4 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
   47dd4:	4e56 fff0      	linkw %fp,#-16                              
   47dd8:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   47ddc:	246e 0008      	moveal %fp@(8),%a2                          
   47de0:	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 )                                            
   47de4:	4a8a           	tstl %a2                                    
   47de6:	6746           	beqs 47e2e <_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 ) {
   47de8:	7001           	moveq #1,%d0                                
   47dea:	b0aa 0034      	cmpl %a2@(52),%d0                           
   47dee:	663e           	bnes 47e2e <_Thread_queue_Requeue+0x5a>     <== NEVER TAKEN
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
   47df0:	303c 0700      	movew #1792,%d0                             
   47df4:	40c2           	movew %sr,%d2                               
   47df6:	8082           	orl %d2,%d0                                 
   47df8:	46c0           	movew %d0,%sr                               
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   47dfa:	202b 0010      	movel %a3@(16),%d0                          
   47dfe:	0280 0003 bee0 	andil #245472,%d0                           
   47e04:	6726           	beqs 47e2c <_Thread_queue_Requeue+0x58>     <== NEVER TAKEN
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
   47e06:	4878 0001      	pea 1 <ADD>                                 
   47e0a:	7001           	moveq #1,%d0                                
   47e0c:	2f0b           	movel %a3,%sp@-                             
   47e0e:	2540 0030      	movel %d0,%a2@(48)                          
   47e12:	2f0a           	movel %a2,%sp@-                             
   47e14:	4eb9 0004 bcac 	jsr 4bcac <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
   47e1a:	486e fffc      	pea %fp@(-4)                                
   47e1e:	2f0b           	movel %a3,%sp@-                             
   47e20:	2f0a           	movel %a2,%sp@-                             
   47e22:	4eb9 0004 7be4 	jsr 47be4 <_Thread_queue_Enqueue_priority>  
   47e28:	4fef 0018      	lea %sp@(24),%sp                            
    }                                                                 
    _ISR_Enable( level );                                             
   47e2c:	46c2           	movew %d2,%sr                               
  }                                                                   
}                                                                     
   47e2e:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   47e34:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

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

00051ed4 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
   51ed4:	4e56 ffb4      	linkw %fp,#-76                              
   51ed8:	200e           	movel %fp,%d0                               
   51eda:	0680 ffff fff4 	addil #-12,%d0                              
   51ee0:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   51ee4:	246e 0008      	moveal %fp@(8),%a2                          
   51ee8:	240e           	movel %fp,%d2                               
   51eea:	2a0e           	movel %fp,%d5                               
   51eec:	260e           	movel %fp,%d3                               
   51eee:	0682 ffff ffe8 	addil #-24,%d2                              
   51ef4:	5185           	subql #8,%d5                                
   51ef6:	0683 ffff ffec 	addil #-20,%d3                              
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   51efc:	41ea 0008      	lea %a2@(8),%a0                             
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   51f00:	4bea 0040      	lea %a2@(64),%a5                            
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   51f04:	2e0a           	movel %a2,%d7                               
    /*                                                                
     *  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 );
   51f06:	280a           	movel %a2,%d4                               
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   51f08:	0687 0000 0030 	addil #48,%d7                               
    /*                                                                
     *  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 );
   51f0e:	0684 0000 0068 	addil #104,%d4                              
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   51f14:	49f9 0005 5b2c 	lea 55b2c <_Watchdog_Adjust_to_chain>,%a4   
)                                                                     
{                                                                     
  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 );     
   51f1a:	47f9 0005 5bbc 	lea 55bbc <_Watchdog_Insert>,%a3            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   51f20:	2d48 ffe4      	movel %a0,%fp@(-28)                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   51f24:	2d45 fff4      	movel %d5,%fp@(-12)                         
  the_chain->permanent_null = NULL;                                   
   51f28:	42ae fff8      	clrl %fp@(-8)                               
  the_chain->last           = _Chain_Head(the_chain);                 
   51f2c:	2d40 fffc      	movel %d0,%fp@(-4)                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
   51f30:	2d43 ffe8      	movel %d3,%fp@(-24)                         
  the_chain->permanent_null = NULL;                                   
   51f34:	42ae ffec      	clrl %fp@(-20)                              
  the_chain->last           = _Chain_Head(the_chain);                 
   51f38:	2d42 fff0      	movel %d2,%fp@(-16)                         
   51f3c:	2d4d ffe0      	movel %a5,%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;                                    
   51f40:	41ee fff4      	lea %fp@(-12),%a0                           
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
   51f44:	3a7c 0700      	moveaw #1792,%a5                            
{                                                                     
  /*                                                                  
   *  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;                                    
   51f48:	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;            
   51f4c:	2039 0007 7824 	movel 77824 <_Watchdog_Ticks_since_boot>,%d0
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
   51f52:	222a 003c      	movel %a2@(60),%d1                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   51f56:	2540 003c      	movel %d0,%a2@(60)                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   51f5a:	486e ffe8      	pea %fp@(-24)                               
   51f5e:	9081           	subl %d1,%d0                                
   51f60:	2f00           	movel %d0,%sp@-                             
   51f62:	2f07           	movel %d7,%sp@-                             
   51f64:	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();
   51f66:	2039 0007 7772 	movel 77772 <_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 ) {                                   
   51f6c:	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;         
   51f70:	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 ) {                                   
   51f74:	b280           	cmpl %d0,%d1                                
   51f76:	6414           	bccs 51f8c <_Timer_server_Body+0xb8>        
    /*                                                                
     *  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 );
   51f78:	486e ffe8      	pea %fp@(-24)                               
   51f7c:	2c00           	movel %d0,%d6                               
   51f7e:	9c81           	subl %d1,%d6                                
   51f80:	2f06           	movel %d6,%sp@-                             
   51f82:	2d40 ffdc      	movel %d0,%fp@(-36)                         
   51f86:	2f04           	movel %d4,%sp@-                             
   51f88:	4e94           	jsr %a4@                                    
   51f8a:	6018           	bras 51fa4 <_Timer_server_Body+0xd0>        
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
   51f8c:	b280           	cmpl %d0,%d1                                
   51f8e:	631c           	blss 51fac <_Timer_server_Body+0xd8>        
     /*                                                               
      *  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 ); 
   51f90:	9280           	subl %d0,%d1                                
   51f92:	2f01           	movel %d1,%sp@-                             
   51f94:	4878 0001      	pea 1 <ADD>                                 
   51f98:	2d40 ffdc      	movel %d0,%fp@(-36)                         
   51f9c:	2f04           	movel %d4,%sp@-                             
   51f9e:	4eb9 0005 5aac 	jsr 55aac <_Watchdog_Adjust>                
   51fa4:	202e ffdc      	movel %fp@(-36),%d0                         
   51fa8:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   51fac:	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 );
   51fb0:	202a 0078      	movel %a2@(120),%d0                         
   51fb4:	2f00           	movel %d0,%sp@-                             
   51fb6:	4eb9 0005 28cc 	jsr 528cc <_Chain_Get>                      
                                                                      
    if ( timer == NULL ) {                                            
   51fbc:	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 );
   51fbe:	2040           	moveal %d0,%a0                              
                                                                      
    if ( timer == NULL ) {                                            
   51fc0:	4a80           	tstl %d0                                    
   51fc2:	6724           	beqs 51fe8 <_Timer_server_Body+0x114>       <== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   51fc4:	2028 0038      	movel %a0@(56),%d0                          <== NOT EXECUTED
   51fc8:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   51fca:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   51fcc:	6608           	bnes 51fd6 <_Timer_server_Body+0x102>       <== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   51fce:	4868 0010      	pea %a0@(16)                                <== NOT EXECUTED
   51fd2:	2f07           	movel %d7,%sp@-                             <== NOT EXECUTED
   51fd4:	600c           	bras 51fe2 <_Timer_server_Body+0x10e>       <== NOT EXECUTED
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   51fd6:	7c03           	moveq #3,%d6                                <== NOT EXECUTED
   51fd8:	bc80           	cmpl %d0,%d6                                <== NOT EXECUTED
   51fda:	66d4           	bnes 51fb0 <_Timer_server_Body+0xdc>        <== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   51fdc:	4868 0010      	pea %a0@(16)                                <== NOT EXECUTED
   51fe0:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   51fe2:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   51fe4:	508f           	addql #8,%sp                                <== NOT EXECUTED
   51fe6:	60c8           	bras 51fb0 <_Timer_server_Body+0xdc>        <== NOT EXECUTED
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
   51fe8:	200d           	movel %a5,%d0                               
   51fea:	40c1           	movew %sr,%d1                               
   51fec:	8081           	orl %d1,%d0                                 
   51fee:	46c0           	movew %d0,%sr                               
    if ( _Chain_Is_empty( insert_chain ) ) {                          
   51ff0:	baae fff4      	cmpl %fp@(-12),%d5                          
   51ff4:	6612           	bnes 52008 <_Timer_server_Body+0x134>       <== NEVER TAKEN
      ts->insert_chain = NULL;                                        
   51ff6:	42aa 0078      	clrl %a2@(120)                              
      _ISR_Enable( level );                                           
   51ffa:	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 );                                        
   51ffc:	3a7c 0700      	moveaw #1792,%a5                            
  _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 ) ) {                          
   52000:	b6ae ffe8      	cmpl %fp@(-24),%d3                          
   52004:	6608           	bnes 5200e <_Timer_server_Body+0x13a>       
   52006:	6042           	bras 5204a <_Timer_server_Body+0x176>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
   52008:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   5200a:	6000 ff40      	braw 51f4c <_Timer_server_Body+0x78>        <== 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 );                                        
   5200e:	220d           	movel %a5,%d1                               
   52010:	40c0           	movew %sr,%d0                               
   52012:	8280           	orl %d0,%d1                                 
   52014:	46c1           	movew %d1,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   52016:	206e ffe8      	moveal %fp@(-24),%a0                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
   5201a:	b688           	cmpl %a0,%d3                                
   5201c:	6726           	beqs 52044 <_Timer_server_Body+0x170>       
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
   5201e:	2250           	moveal %a0@,%a1                             
  the_chain->first    = new_first;                                    
   52020:	2d49 ffe8      	movel %a1,%fp@(-24)                         
  new_first->previous = _Chain_Head(the_chain);                       
   52024:	2342 0004      	movel %d2,%a1@(4)                           
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
   52028:	4a88           	tstl %a0                                    
   5202a:	6718           	beqs 52044 <_Timer_server_Body+0x170>       <== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
   5202c:	42a8 0008      	clrl %a0@(8)                                
          _ISR_Enable( level );                                       
   52030:	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 );    
   52032:	2f28 0024      	movel %a0@(36),%sp@-                        
   52036:	2f28 0020      	movel %a0@(32),%sp@-                        
   5203a:	2068 001c      	moveal %a0@(28),%a0                         
   5203e:	4e90           	jsr %a0@                                    
      }                                                               
   52040:	508f           	addql #8,%sp                                
   52042:	60ca           	bras 5200e <_Timer_server_Body+0x13a>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
   52044:	46c0           	movew %d0,%sr                               
   52046:	6000 fef8      	braw 51f40 <_Timer_server_Body+0x6c>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
   5204a:	4200           	clrb %d0                                    
   5204c:	1540 007c      	moveb %d0,%a2@(124)                         
   52050:	2039 0007 76e0 	movel 776e0 <_Thread_Dispatch_disable_level>,%d0
   52056:	5280           	addql #1,%d0                                
   52058:	23c0 0007 76e0 	movel %d0,776e0 <_Thread_Dispatch_disable_level>
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
   5205e:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   52062:	4bf9 0005 5cd8 	lea 55cd8 <_Watchdog_Remove>,%a5            
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
   52068:	2f12           	movel %a2@,%sp@-                            
   5206a:	4eb9 0005 52cc 	jsr 552cc <_Thread_Set_state>               
        _Timer_server_Reset_interval_system_watchdog( ts );           
   52070:	2f0a           	movel %a2,%sp@-                             
   52072:	4eba fd9c      	jsr %pc@(51e10 <_Timer_server_Reset_interval_system_watchdog>)
        _Timer_server_Reset_tod_system_watchdog( ts );                
   52076:	2f0a           	movel %a2,%sp@-                             
   52078:	4eba fdf6      	jsr %pc@(51e70 <_Timer_server_Reset_tod_system_watchdog>)
      _Thread_Enable_dispatch();                                      
   5207c:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
                                                                      
      ts->active = true;                                              
   52082:	7201           	moveq #1,%d1                                
   52084:	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 );        
   52088:	2f2e ffe4      	movel %fp@(-28),%sp@-                       
   5208c:	4e95           	jsr %a5@                                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   5208e:	2f2e ffe0      	movel %fp@(-32),%sp@-                       
   52092:	4e95           	jsr %a5@                                    
   52094:	4fef 0018      	lea %sp@(24),%sp                            
   52098:	6000 fea6      	braw 51f40 <_Timer_server_Body+0x6c>        
                                                                      

0005209c <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
   5209c:	4e56 fff0      	linkw %fp,#-16                              
   520a0:	206e 000c      	moveal %fp@(12),%a0                         
   520a4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   520a8:	246e 0008      	moveal %fp@(8),%a2                          
  if ( ts->insert_chain == NULL ) {                                   
   520ac:	202a 0078      	movel %a2@(120),%d0                         
   520b0:	6600 00f8      	bnew 521aa <_Timer_server_Schedule_operation_method+0x10e>
   520b4:	2039 0007 76e0 	movel 776e0 <_Thread_Dispatch_disable_level>,%d0
   520ba:	5280           	addql #1,%d0                                
   520bc:	23c0 0007 76e0 	movel %d0,776e0 <_Thread_Dispatch_disable_level>
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   520c2:	2028 0038      	movel %a0@(56),%d0                          
   520c6:	7201           	moveq #1,%d1                                
   520c8:	b280           	cmpl %d0,%d1                                
   520ca:	6660           	bnes 5212c <_Timer_server_Schedule_operation_method+0x90>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
   520cc:	203c 0000 0700 	movel #1792,%d0                             
   520d2:	40c3           	movew %sr,%d3                               
   520d4:	8083           	orl %d3,%d0                                 
   520d6:	46c0           	movew %d0,%sr                               
    snapshot = _Watchdog_Ticks_since_boot;                            
   520d8:	2039 0007 7824 	movel 77824 <_Watchdog_Ticks_since_boot>,%d0
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   520de:	220a           	movel %a2,%d1                               
   520e0:	0681 0000 0034 	addil #52,%d1                               
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
   520e6:	242a 003c      	movel %a2@(60),%d2                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   520ea:	226a 0030      	moveal %a2@(48),%a1                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   520ee:	b289           	cmpl %a1,%d1                                
   520f0:	6716           	beqs 52108 <_Timer_server_Schedule_operation_method+0x6c>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
   520f2:	2800           	movel %d0,%d4                               
   520f4:	9882           	subl %d2,%d4                                
                                                                      
      delta_interval = first_watchdog->delta_interval;                
   520f6:	2229 0010      	movel %a1@(16),%d1                          
      if (delta_interval > delta) {                                   
   520fa:	b881           	cmpl %d1,%d4                                
   520fc:	6504           	bcss 52102 <_Timer_server_Schedule_operation_method+0x66>
   520fe:	4281           	clrl %d1                                    
   52100:	6002           	bras 52104 <_Timer_server_Schedule_operation_method+0x68>
        delta_interval -= delta;                                      
   52102:	9284           	subl %d4,%d1                                
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   52104:	2341 0010      	movel %d1,%a1@(16)                          
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
   52108:	2540 003c      	movel %d0,%a2@(60)                          
    _ISR_Enable( level );                                             
   5210c:	46c3           	movew %d3,%sr                               
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   5210e:	4868 0010      	pea %a0@(16)                                
   52112:	486a 0030      	pea %a2@(48)                                
   52116:	4eb9 0005 5bbc 	jsr 55bbc <_Watchdog_Insert>                
                                                                      
    if ( !ts->active ) {                                              
   5211c:	508f           	addql #8,%sp                                
   5211e:	102a 007c      	moveb %a2@(124),%d0                         
   52122:	6678           	bnes 5219c <_Timer_server_Schedule_operation_method+0x100>
      _Timer_server_Reset_interval_system_watchdog( ts );             
   52124:	2f0a           	movel %a2,%sp@-                             
   52126:	4eba fce8      	jsr %pc@(51e10 <_Timer_server_Reset_interval_system_watchdog>)
   5212a:	606e           	bras 5219a <_Timer_server_Schedule_operation_method+0xfe>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   5212c:	7203           	moveq #3,%d1                                
   5212e:	b280           	cmpl %d0,%d1                                
   52130:	666a           	bnes 5219c <_Timer_server_Schedule_operation_method+0x100>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
   52132:	203c 0000 0700 	movel #1792,%d0                             
   52138:	40c3           	movew %sr,%d3                               
   5213a:	8083           	orl %d3,%d0                                 
   5213c:	46c0           	movew %d0,%sr                               
   5213e:	200a           	movel %a2,%d0                               
   52140:	0680 0000 006c 	addil #108,%d0                              
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
   52146:	2239 0007 7772 	movel 77772 <_TOD_Now>,%d1                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
   5214c:	242a 0074      	movel %a2@(116),%d2                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   52150:	226a 0068      	moveal %a2@(104),%a1                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   52154:	b089           	cmpl %a1,%d0                                
   52156:	6720           	beqs 52178 <_Timer_server_Schedule_operation_method+0xdc>
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
   52158:	2029 0010      	movel %a1@(16),%d0                          
      if ( snapshot > last_snapshot ) {                               
   5215c:	b481           	cmpl %d1,%d2                                
   5215e:	6410           	bccs 52170 <_Timer_server_Schedule_operation_method+0xd4>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
   52160:	2801           	movel %d1,%d4                               
   52162:	9882           	subl %d2,%d4                                
        if (delta_interval > delta) {                                 
   52164:	b880           	cmpl %d0,%d4                                
   52166:	6504           	bcss 5216c <_Timer_server_Schedule_operation_method+0xd0><== ALWAYS TAKEN
   52168:	4280           	clrl %d0                                    <== NOT EXECUTED
   5216a:	6008           	bras 52174 <_Timer_server_Schedule_operation_method+0xd8><== NOT EXECUTED
          delta_interval -= delta;                                    
   5216c:	9084           	subl %d4,%d0                                
   5216e:	6004           	bras 52174 <_Timer_server_Schedule_operation_method+0xd8>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
   52170:	d082           	addl %d2,%d0                                
        delta_interval += delta;                                      
   52172:	9081           	subl %d1,%d0                                
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   52174:	2340 0010      	movel %d0,%a1@(16)                          
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
   52178:	2541 0074      	movel %d1,%a2@(116)                         
    _ISR_Enable( level );                                             
   5217c:	46c3           	movew %d3,%sr                               
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   5217e:	4868 0010      	pea %a0@(16)                                
   52182:	486a 0068      	pea %a2@(104)                               
   52186:	4eb9 0005 5bbc 	jsr 55bbc <_Watchdog_Insert>                
                                                                      
    if ( !ts->active ) {                                              
   5218c:	508f           	addql #8,%sp                                
   5218e:	102a 007c      	moveb %a2@(124),%d0                         
   52192:	6608           	bnes 5219c <_Timer_server_Schedule_operation_method+0x100>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
   52194:	2f0a           	movel %a2,%sp@-                             
   52196:	4eba fcd8      	jsr %pc@(51e70 <_Timer_server_Reset_tod_system_watchdog>)
   5219a:	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 );           
  }                                                                   
}                                                                     
   5219c:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   521a2:	4e5e           	unlk %fp                                    
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
   521a4:	4ef9 0005 4942 	jmp 54942 <_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 );           
   521aa:	202a 0078      	movel %a2@(120),%d0                         <== NOT EXECUTED
   521ae:	2d48 000c      	movel %a0,%fp@(12)                          <== NOT EXECUTED
  }                                                                   
}                                                                     
   521b2:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                <== NOT EXECUTED
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
   521b8:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
  }                                                                   
}                                                                     
   521bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
   521be:	4ef9 0005 286c 	jmp 5286c <_Chain_Append>                   <== NOT EXECUTED
                                                                      

00049b6c <_Watchdog_Adjust>: Watchdog_Interval units ) { ISR_Level level; _ISR_Disable( level );
   49b6c:	327c 0700      	moveaw #1792,%a1                            
   49b70:	2209           	movel %a1,%d1                               
void _Watchdog_Adjust(                                                
  Chain_Control               *header,                                
  Watchdog_Adjust_directions   direction,                             
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
   49b72:	4e56 ffe8      	linkw %fp,#-24                              
   49b76:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   49b7a:	266e 0008      	moveal %fp@(8),%a3                          
   49b7e:	262e 000c      	movel %fp@(12),%d3                          
   49b82:	242e 0010      	movel %fp@(16),%d2                          
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   49b86:	40c0           	movew %sr,%d0                               
   49b88:	8280           	orl %d0,%d1                                 
   49b8a:	46c1           	movew %d1,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   49b8c:	244b           	moveal %a3,%a2                              
   49b8e:	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 ) ) {                                 
   49b90:	b5c8           	cmpal %a0,%a2                               
   49b92:	674c           	beqs 49be0 <_Watchdog_Adjust+0x74>          
    switch ( direction ) {                                            
   49b94:	4a83           	tstl %d3                                    
   49b96:	673c           	beqs 49bd4 <_Watchdog_Adjust+0x68>          
   49b98:	7201           	moveq #1,%d1                                
   49b9a:	b283           	cmpl %d3,%d1                                
   49b9c:	6642           	bnes 49be0 <_Watchdog_Adjust+0x74>          <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
   49b9e:	d5a8 0010      	addl %d2,%a0@(16)                           
        break;                                                        
   49ba2:	603c           	bras 49be0 <_Watchdog_Adjust+0x74>          
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
   49ba4:	2053           	moveal %a3@,%a0                             
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
   49ba6:	2628 0010      	movel %a0@(16),%d3                          
   49baa:	b682           	cmpl %d2,%d3                                
   49bac:	6308           	blss 49bb6 <_Watchdog_Adjust+0x4a>          
            _Watchdog_First( header )->delta_interval -= units;       
   49bae:	9682           	subl %d2,%d3                                
   49bb0:	2143 0010      	movel %d3,%a0@(16)                          
            break;                                                    
   49bb4:	602a           	bras 49be0 <_Watchdog_Adjust+0x74>          
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
   49bb6:	7201           	moveq #1,%d1                                
   49bb8:	2141 0010      	movel %d1,%a0@(16)                          
                                                                      
            _ISR_Enable( level );                                     
   49bbc:	46c0           	movew %d0,%sr                               
                                                                      
            _Watchdog_Tickle( header );                               
   49bbe:	2f0b           	movel %a3,%sp@-                             
   49bc0:	4e94           	jsr %a4@                                    
                                                                      
            _ISR_Disable( level );                                    
   49bc2:	2204           	movel %d4,%d1                               
   49bc4:	40c0           	movew %sr,%d0                               
   49bc6:	8280           	orl %d0,%d1                                 
   49bc8:	46c1           	movew %d1,%sr                               
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
   49bca:	9483           	subl %d3,%d2                                
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
   49bcc:	588f           	addql #4,%sp                                
   49bce:	b5d3           	cmpal %a3@,%a2                              
   49bd0:	660a           	bnes 49bdc <_Watchdog_Adjust+0x70>          
   49bd2:	600c           	bras 49be0 <_Watchdog_Adjust+0x74>          
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
   49bd4:	2809           	movel %a1,%d4                               
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
   49bd6:	49f9 0004 9d84 	lea 49d84 <_Watchdog_Tickle>,%a4            
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
   49bdc:	4a82           	tstl %d2                                    
   49bde:	66c4           	bnes 49ba4 <_Watchdog_Adjust+0x38>          <== ALWAYS TAKEN
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
   49be0:	46c0           	movew %d0,%sr                               
                                                                      
}                                                                     
   49be2:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   49be8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004873c <_Watchdog_Remove>: { ISR_Level level; Watchdog_States previous_state; Watchdog_Control *next_watchdog; _ISR_Disable( level );
   4873c:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
Watchdog_States _Watchdog_Remove(                                     
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
   48742:	4e56 0000      	linkw %fp,#0                                
   48746:	206e 0008      	moveal %fp@(8),%a0                          
   4874a:	2f0a           	movel %a2,%sp@-                             
   4874c:	2f02           	movel %d2,%sp@-                             
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
   4874e:	40c1           	movew %sr,%d1                               
   48750:	8081           	orl %d1,%d0                                 
   48752:	46c0           	movew %d0,%sr                               
  previous_state = the_watchdog->state;                               
   48754:	2028 0008      	movel %a0@(8),%d0                           
  switch ( previous_state ) {                                         
   48758:	7401           	moveq #1,%d2                                
   4875a:	b480           	cmpl %d0,%d2                                
   4875c:	670c           	beqs 4876a <_Watchdog_Remove+0x2e>          
   4875e:	6244           	bhis 487a4 <_Watchdog_Remove+0x68>          
   48760:	143c 0003      	moveb #3,%d2                                
   48764:	b480           	cmpl %d0,%d2                                
   48766:	653c           	bcss 487a4 <_Watchdog_Remove+0x68>          <== NEVER TAKEN
   48768:	6006           	bras 48770 <_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;                        
   4876a:	42a8 0008      	clrl %a0@(8)                                
      break;                                                          
   4876e:	6034           	bras 487a4 <_Watchdog_Remove+0x68>          
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
   48770:	2250           	moveal %a0@,%a1                             
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
   48772:	42a8 0008      	clrl %a0@(8)                                
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
   48776:	4a91           	tstl %a1@                                   
   48778:	6708           	beqs 48782 <_Watchdog_Remove+0x46>          
        next_watchdog->delta_interval += the_watchdog->delta_interval;
   4877a:	2428 0010      	movel %a0@(16),%d2                          
   4877e:	d5a9 0010      	addl %d2,%a1@(16)                           
                                                                      
      if ( _Watchdog_Sync_count )                                     
   48782:	2279 0005 f07c 	moveal 5f07c <_Watchdog_Sync_count>,%a1     
   48788:	4a89           	tstl %a1                                    
   4878a:	670c           	beqs 48798 <_Watchdog_Remove+0x5c>          
        _Watchdog_Sync_level = _ISR_Nest_level;                       
   4878c:	2279 0005 efd6 	moveal 5efd6 <_ISR_Nest_level>,%a1          
   48792:	23c9 0005 eff2 	movel %a1,5eff2 <_Watchdog_Sync_level>      
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   48798:	2250           	moveal %a0@,%a1                             
  previous       = the_node->previous;                                
   4879a:	2468 0004      	moveal %a0@(4),%a2                          
  next->previous = previous;                                          
  previous->next = next;                                              
   4879e:	2489           	movel %a1,%a2@                              
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
   487a0:	234a 0004      	movel %a2,%a1@(4)                           
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
   487a4:	2279 0005 f080 	moveal 5f080 <_Watchdog_Ticks_since_boot>,%a1
   487aa:	2149 0018      	movel %a1,%a0@(24)                          
                                                                      
  _ISR_Enable( level );                                               
   487ae:	46c1           	movew %d1,%sr                               
  return( previous_state );                                           
}                                                                     
   487b0:	241f           	movel %sp@+,%d2                             
   487b2:	245f           	moveal %sp@+,%a2                            
   487b4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049760 <_Watchdog_Report_chain>: ) { ISR_Level level; Chain_Node *node; _ISR_Disable( level );
   49760:	203c 0000 0700 	movel #1792,%d0                             
                                                                      
void _Watchdog_Report_chain(                                          
  const char        *name,                                            
  Chain_Control     *header                                           
)                                                                     
{                                                                     
   49766:	4e56 ffec      	linkw %fp,#-20                              
   4976a:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4976e:	242e 0008      	movel %fp@(8),%d2                           
   49772:	266e 000c      	moveal %fp@(12),%a3                         
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
   49776:	40c3           	movew %sr,%d3                               
   49778:	8083           	orl %d3,%d0                                 
   4977a:	46c0           	movew %d0,%sr                               
    printk( "Watchdog Chain: %s %p\n", name, header );                
   4977c:	2f0b           	movel %a3,%sp@-                             
   4977e:	49f9 0004 3e90 	lea 43e90 <printk>,%a4                      
   49784:	2f02           	movel %d2,%sp@-                             
   49786:	4879 0005 e066 	pea 5e066 <C.30.3399+0xe>                   
   4978c:	4e94           	jsr %a4@                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
   4978e:	245b           	moveal %a3@+,%a2                            
    if ( !_Chain_Is_empty( header ) ) {                               
   49790:	4fef 000c      	lea %sp@(12),%sp                            
   49794:	b7ca           	cmpal %a2,%a3                               
   49796:	6726           	beqs 497be <_Watchdog_Report_chain+0x5e>    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
   49798:	49f9 0004 97d4 	lea 497d4 <_Watchdog_Report>,%a4            
   4979e:	2f0a           	movel %a2,%sp@-                             
   497a0:	42a7           	clrl %sp@-                                  
   497a2:	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 )                                       
   497a4:	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 ;                                    
   497a6:	508f           	addql #8,%sp                                
   497a8:	b7ca           	cmpal %a2,%a3                               
   497aa:	66f2           	bnes 4979e <_Watchdog_Report_chain+0x3e>    <== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
   497ac:	2f02           	movel %d2,%sp@-                             
   497ae:	4879 0005 e07d 	pea 5e07d <C.30.3399+0x25>                  
   497b4:	4eb9 0004 3e90 	jsr 43e90 <printk>                          
   497ba:	508f           	addql #8,%sp                                
   497bc:	600a           	bras 497c8 <_Watchdog_Report_chain+0x68>    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
   497be:	4879 0005 e08c 	pea 5e08c <C.30.3399+0x34>                  
   497c4:	4e94           	jsr %a4@                                    
   497c6:	588f           	addql #4,%sp                                
    }                                                                 
  _ISR_Enable( level );                                               
   497c8:	46c3           	movew %d3,%sr                               
}                                                                     
   497ca:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   497d0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

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

0005b168 <_calloc_r>: void *_calloc_r( struct _reent *ignored __attribute__((unused)), size_t elements, size_t size ) {
   5b168:	4e56 0000      	linkw %fp,#0                                
   5b16c:	202e 000c      	movel %fp@(12),%d0                          
  return calloc( elements, size );                                    
   5b170:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   5b176:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5b17a:	4e5e           	unlk %fp                                    
  struct _reent *ignored __attribute__((unused)),                     
  size_t         elements,                                            
  size_t         size                                                 
)                                                                     
{                                                                     
  return calloc( elements, size );                                    
   5b17c:	4ef9 0004 2438 	jmp 42438 <calloc>                          
	...                                                                  
                                                                      

00043020 <_exit>: /* * If the toolset uses init/fini sections, then we need to * run the global destructors now. */ #if defined(__USE_INIT_FINI__) FINI_SYMBOL();
   43020:	4e56 0000      	linkw %fp,#0                                
   43024:	4eb9 0005 b8d4 	jsr 5b8d4 <_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();                                                      
   4302a:	4eb9 0004 2fbc 	jsr 42fbc <libc_wrapup>                     
  rtems_shutdown_executive(status);                                   
   43030:	2f2e 0008      	movel %fp@(8),%sp@-                         
   43034:	4eb9 0004 5df0 	jsr 45df0 <rtems_shutdown_executive>        
   4303a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4303c:	60fe           	bras 4303c <_exit+0x1c>                     <== NOT EXECUTED
	...                                                                  
                                                                      

00043296 <_fcntl_r>: struct _reent *ptr __attribute__((unused)), int fd, int cmd, int arg ) {
   43296:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   4329a:	222e 0010      	movel %fp@(16),%d1                          <== NOT EXECUTED
   4329e:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return fcntl( fd, cmd, arg );                                       
   432a2:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     <== NOT EXECUTED
   432a8:	2d41 000c      	movel %d1,%fp@(12)                          <== NOT EXECUTED
   432ac:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   432b0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  int fd,                                                             
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
   432b2:	4ef9 0004 3128 	jmp 43128 <fcntl>                           <== NOT EXECUTED
                                                                      

0005b184 <_free_r>: void _free_r( struct _reent *ignored __attribute__((unused)), void *ptr ) {
   5b184:	4e56 0000      	linkw %fp,#0                                
  free( ptr );                                                        
   5b188:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   5b18e:	4e5e           	unlk %fp                                    
void _free_r(                                                         
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr                                                  
)                                                                     
{                                                                     
  free( ptr );                                                        
   5b190:	4ef9 0004 2828 	jmp 42828 <free>                            
	...                                                                  
                                                                      

0004a366 <_getpid_r>: pid_t _getpid_r( struct _reent *ptr __attribute__((unused)) ) { return getpid(); }
   4a366:	7001           	moveq #1,%d0                                <== NOT EXECUTED
#include <reent.h>                                                    
                                                                      
pid_t _getpid_r(                                                      
  struct _reent *ptr __attribute__((unused))                          
)                                                                     
{                                                                     
   4a368:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return getpid();                                                    
}                                                                     
   4a36c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004290c <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) {
   4290c:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return gettimeofday( tp, tzp );                                     
}                                                                     
   42910:	4e5e           	unlk %fp                                    <== NOT EXECUTED
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
   42912:	4ef9 0004 28b0 	jmp 428b0 <gettimeofday>                    <== NOT EXECUTED
                                                                      

00042918 <_gettimeofday_r>: int _gettimeofday_r( struct _reent *ignored_reentrancy_stuff __attribute__((unused)), struct timeval *tp, struct timezone *tzp ) {
   42918:	4e56 0000      	linkw %fp,#0                                
   4291c:	202e 000c      	movel %fp@(12),%d0                          
  return gettimeofday( tp, tzp );                                     
   42920:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   42926:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   4292a:	4e5e           	unlk %fp                                    
  struct _reent   *ignored_reentrancy_stuff __attribute__((unused)),  
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
   4292c:	4ef9 0004 28b0 	jmp 428b0 <gettimeofday>                    
	...                                                                  
                                                                      

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

00043aa8 <_link_r>: int _link_r( struct _reent *ptr __attribute__((unused)), const char *existing, const char *new ) {
   43aa8:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   43aac:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return link( existing, new );                                       
   43ab0:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   43ab6:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   43aba:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *existing,                                            
  const char    *new                                                  
)                                                                     
{                                                                     
  return link( existing, new );                                       
   43abc:	4ef9 0004 390c 	jmp 4390c <link>                            <== NOT EXECUTED
	...                                                                  
                                                                      

0005b35c <_lseek_r>: struct _reent *ptr __attribute__((unused)), int fd, off_t offset, int whence ) {
   5b35c:	4e56 0000      	linkw %fp,#0                                
   5b360:	202e 000c      	movel %fp@(12),%d0                          
   5b364:	2f02           	movel %d2,%sp@-                             
   5b366:	222e 0010      	movel %fp@(16),%d1                          
   5b36a:	242e 0014      	movel %fp@(20),%d2                          
  return lseek( fd, offset, whence );                                 
   5b36e:	2d6e 0018 0014 	movel %fp@(24),%fp@(20)                     
   5b374:	2d41 000c      	movel %d1,%fp@(12)                          
   5b378:	2d42 0010      	movel %d2,%fp@(16)                          
   5b37c:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5b380:	241f           	movel %sp@+,%d2                             
   5b382:	4e5e           	unlk %fp                                    
  int            fd,                                                  
  off_t          offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  return lseek( fd, offset, whence );                                 
   5b384:	4ef9 0005 b270 	jmp 5b270 <lseek>                           
	...                                                                  
                                                                      

0005b38c <_malloc_r>: void *_malloc_r( struct _reent *ignored __attribute__((unused)), size_t size ) {
   5b38c:	4e56 0000      	linkw %fp,#0                                
  return malloc( size );                                              
   5b390:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   5b396:	4e5e           	unlk %fp                                    
void *_malloc_r(                                                      
  struct _reent *ignored __attribute__((unused)),                     
  size_t         size                                                 
)                                                                     
{                                                                     
  return malloc( size );                                              
   5b398:	4ef9 0004 2b08 	jmp 42b08 <malloc>                          
	...                                                                  
                                                                      

00043504 <_open_r>: struct _reent *ptr __attribute__((unused)), const char *buf, int flags, int mode ) {
   43504:	4e56 0000      	linkw %fp,#0                                
   43508:	222e 0010      	movel %fp@(16),%d1                          
   4350c:	202e 000c      	movel %fp@(12),%d0                          
  return open( buf, flags, mode );                                    
   43510:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   43516:	2d41 000c      	movel %d1,%fp@(12)                          
   4351a:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   4351e:	4e5e           	unlk %fp                                    
  const char    *buf,                                                 
  int            flags,                                               
  int            mode                                                 
)                                                                     
{                                                                     
  return open( buf, flags, mode );                                    
   43520:	4ef9 0004 3308 	jmp 43308 <open>                            
	...                                                                  
                                                                      

0005b44c <_read_r>: struct _reent *ptr __attribute__((unused)), int fd, void *buf, size_t nbytes ) {
   5b44c:	4e56 0000      	linkw %fp,#0                                
   5b450:	222e 0010      	movel %fp@(16),%d1                          
   5b454:	202e 000c      	movel %fp@(12),%d0                          
  return read( fd, buf, nbytes );                                     
   5b458:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   5b45e:	2d41 000c      	movel %d1,%fp@(12)                          
   5b462:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5b466:	4e5e           	unlk %fp                                    
  int            fd,                                                  
  void          *buf,                                                 
  size_t         nbytes                                               
)                                                                     
{                                                                     
  return read( fd, buf, nbytes );                                     
   5b468:	4ef9 0005 b3a0 	jmp 5b3a0 <read>                            
	...                                                                  
                                                                      

0005b470 <_realloc_r>: void *_realloc_r( struct _reent *ignored __attribute__((unused)), void *ptr, size_t size ) {
   5b470:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   5b474:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return realloc( ptr, size );                                        
   5b478:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   5b47e:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   5b482:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
   5b484:	4ef9 0005 b4cc 	jmp 5b4cc <realloc>                         <== NOT EXECUTED
	...                                                                  
                                                                      

00046070 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
   46070:	4e56 ffa0      	linkw %fp,#-96                              
   46074:	48d7 04fc      	moveml %d2-%d7/%a2,%sp@                     
   46078:	282e 000c      	movel %fp@(12),%d4                          
   4607c:	2e2e 0010      	movel %fp@(16),%d7                          
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
   46080:	2f04           	movel %d4,%sp@-                             
   46082:	4eb9 0004 4b02 	jsr 44b02 <rtems_filesystem_dirname>        
                                                                      
  if ( old_parent_pathlen == 0 )                                      
   46088:	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 );              
   4608a:	2c00           	movel %d0,%d6                               
   4608c:	200e           	movel %fp,%d0                               
   4608e:	0680 ffff ffd0 	addil #-48,%d0                              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
   46094:	4a86           	tstl %d6                                    
   46096:	6616           	bnes 460ae <_rename_r+0x3e>                 
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
   46098:	2f00           	movel %d0,%sp@-                             
   4609a:	486e fffc      	pea %fp@(-4)                                
   4609e:	4203           	clrb %d3                                    
   460a0:	2f04           	movel %d4,%sp@-                             
   460a2:	4eb9 0004 65d4 	jsr 465d4 <rtems_filesystem_get_start_loc>  
   460a8:	4fef 000c      	lea %sp@(12),%sp                            
   460ac:	601e           	bras 460cc <_rename_r+0x5c>                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
   460ae:	42a7           	clrl %sp@-                                  
   460b0:	2f00           	movel %d0,%sp@-                             
   460b2:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   460b6:	2f06           	movel %d6,%sp@-                             
   460b8:	2f04           	movel %d4,%sp@-                             
   460ba:	4eb9 0004 4c18 	jsr 44c18 <rtems_filesystem_evaluate_path>  
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
   460c0:	4fef 0014      	lea %sp@(20),%sp                            
   460c4:	4a80           	tstl %d0                                    
   460c6:	6600 024c      	bnew 46314 <_rename_r+0x2a4>                
   460ca:	7601           	moveq #1,%d3                                
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   460cc:	4878 0014      	pea 14 <OPER2>                              
   460d0:	240e           	movel %fp,%d2                               
   460d2:	0682 ffff ffd0 	addil #-48,%d2                              
   460d8:	2a0e           	movel %fp,%d5                               
   460da:	0685 ffff ffe4 	addil #-28,%d5                              
  name = old + old_parent_pathlen;                                    
   460e0:	d886           	addl %d6,%d4                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   460e2:	45f9 0005 4090 	lea 54090 <strlen>,%a2                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   460e8:	2f02           	movel %d2,%sp@-                             
   460ea:	2f05           	movel %d5,%sp@-                             
   460ec:	4eb9 0005 2914 	jsr 52914 <memcpy>                          
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   460f2:	2f04           	movel %d4,%sp@-                             
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
   460f4:	2d44 fff8      	movel %d4,%fp@(-8)                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   460f8:	4e92           	jsr %a2@                                    
   460fa:	2e80           	movel %d0,%sp@                              
   460fc:	2f04           	movel %d4,%sp@-                             
   460fe:	4eb9 0004 4ac4 	jsr 44ac4 <rtems_filesystem_prefix_separators>
   46104:	d880           	addl %d0,%d4                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   46106:	2f04           	movel %d4,%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 ) ); 
   46108:	2d44 fff8      	movel %d4,%fp@(-8)                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   4610c:	4e92           	jsr %a2@                                    
   4610e:	4297           	clrl %sp@                                   
   46110:	2f05           	movel %d5,%sp@-                             
   46112:	42a7           	clrl %sp@-                                  
   46114:	2f00           	movel %d0,%sp@-                             
   46116:	2f04           	movel %d4,%sp@-                             
   46118:	4eb9 0004 4b48 	jsr 44b48 <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
   4611e:	4fef 0028      	lea %sp@(40),%sp                            
   46122:	4a80           	tstl %d0                                    
   46124:	6720           	beqs 46146 <_rename_r+0xd6>                 
    if ( free_old_parentloc )                                         
   46126:	4a03           	tstb %d3                                    
   46128:	6700 01ea      	beqw 46314 <_rename_r+0x2a4>                
      rtems_filesystem_freenode( &old_parent_loc );                   
   4612c:	206e ffdc      	moveal %fp@(-36),%a0                        
   46130:	4a88           	tstl %a0                                    
   46132:	6700 01e0      	beqw 46314 <_rename_r+0x2a4>                
   46136:	2068 001c      	moveal %a0@(28),%a0                         
   4613a:	4a88           	tstl %a0                                    
   4613c:	6700 01d6      	beqw 46314 <_rename_r+0x2a4>                
   46140:	2f02           	movel %d2,%sp@-                             
   46142:	6000 00a8      	braw 461ec <_rename_r+0x17c>                
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
   46146:	280e           	movel %fp,%d4                               
   46148:	0684 ffff ffbc 	addil #-68,%d4                              
   4614e:	2f04           	movel %d4,%sp@-                             
   46150:	486e fffc      	pea %fp@(-4)                                
   46154:	2f07           	movel %d7,%sp@-                             
   46156:	4eb9 0004 65d4 	jsr 465d4 <rtems_filesystem_get_start_loc>  
                                                                      
  if ( !new_parent_loc.ops->evalformake_h ) {                         
   4615c:	206e ffc8      	moveal %fp@(-56),%a0                        
   46160:	4fef 000c      	lea %sp@(12),%sp                            
   46164:	2068 0004      	moveal %a0@(4),%a0                          
   46168:	4a88           	tstl %a0                                    
   4616a:	6620           	bnes 4618c <_rename_r+0x11c>                
    if ( free_old_parentloc )                                         
   4616c:	4a03           	tstb %d3                                    
   4616e:	6700 011e      	beqw 4628e <_rename_r+0x21e>                
      rtems_filesystem_freenode( &old_parent_loc );                   
   46172:	206e ffdc      	moveal %fp@(-36),%a0                        
   46176:	4a88           	tstl %a0                                    
   46178:	6700 0114      	beqw 4628e <_rename_r+0x21e>                
   4617c:	2068 001c      	moveal %a0@(28),%a0                         
   46180:	4a88           	tstl %a0                                    
   46182:	6700 010a      	beqw 4628e <_rename_r+0x21e>                
   46186:	2f02           	movel %d2,%sp@-                             
   46188:	6000 0100      	braw 4628a <_rename_r+0x21a>                
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
   4618c:	486e fff8      	pea %fp@(-8)                                
   46190:	deae fffc      	addl %fp@(-4),%d7                           
   46194:	2f04           	movel %d4,%sp@-                             
   46196:	2f07           	movel %d7,%sp@-                             
   46198:	4e90           	jsr %a0@                                    
  if ( result != 0 ) {                                                
   4619a:	4fef 000c      	lea %sp@(12),%sp                            
   4619e:	4a80           	tstl %d0                                    
   461a0:	6754           	beqs 461f6 <_rename_r+0x186>                
    rtems_filesystem_freenode( &new_parent_loc );                     
   461a2:	206e ffc8      	moveal %fp@(-56),%a0                        
   461a6:	4a88           	tstl %a0                                    
   461a8:	670e           	beqs 461b8 <_rename_r+0x148>                <== NEVER TAKEN
   461aa:	2068 001c      	moveal %a0@(28),%a0                         
   461ae:	4a88           	tstl %a0                                    
   461b0:	6706           	beqs 461b8 <_rename_r+0x148>                <== NEVER TAKEN
   461b2:	2f04           	movel %d4,%sp@-                             
   461b4:	4e90           	jsr %a0@                                    
   461b6:	588f           	addql #4,%sp                                
    if ( free_old_parentloc )                                         
   461b8:	4a03           	tstb %d3                                    
   461ba:	6718           	beqs 461d4 <_rename_r+0x164>                <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
   461bc:	206e ffdc      	moveal %fp@(-36),%a0                        
   461c0:	4a88           	tstl %a0                                    
   461c2:	6710           	beqs 461d4 <_rename_r+0x164>                <== NEVER TAKEN
   461c4:	2068 001c      	moveal %a0@(28),%a0                         
   461c8:	4a88           	tstl %a0                                    
   461ca:	6708           	beqs 461d4 <_rename_r+0x164>                <== NEVER TAKEN
   461cc:	486e ffd0      	pea %fp@(-48)                               
   461d0:	4e90           	jsr %a0@                                    
   461d2:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   461d4:	206e fff0      	moveal %fp@(-16),%a0                        
   461d8:	4a88           	tstl %a0                                    
   461da:	6700 0138      	beqw 46314 <_rename_r+0x2a4>                
   461de:	2068 001c      	moveal %a0@(28),%a0                         
   461e2:	4a88           	tstl %a0                                    
   461e4:	6700 012e      	beqw 46314 <_rename_r+0x2a4>                
   461e8:	486e ffe4      	pea %fp@(-28)                               
   461ec:	74ff           	moveq #-1,%d2                               
   461ee:	4e90           	jsr %a0@                                    
   461f0:	588f           	addql #4,%sp                                
   461f2:	6000 0122      	braw 46316 <_rename_r+0x2a6>                
   461f6:	206e ffc8      	moveal %fp@(-56),%a0                        
  /*                                                                  
   *  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 ) {         
   461fa:	202e ffcc      	movel %fp@(-52),%d0                         
   461fe:	b0ae ffe0      	cmpl %fp@(-32),%d0                          
   46202:	6758           	beqs 4625c <_rename_r+0x1ec>                
    rtems_filesystem_freenode( &new_parent_loc );                     
   46204:	4a88           	tstl %a0                                    
   46206:	670e           	beqs 46216 <_rename_r+0x1a6>                <== NEVER TAKEN
   46208:	2068 001c      	moveal %a0@(28),%a0                         
   4620c:	4a88           	tstl %a0                                    
   4620e:	6706           	beqs 46216 <_rename_r+0x1a6>                <== NEVER TAKEN
   46210:	2f04           	movel %d4,%sp@-                             
   46212:	4e90           	jsr %a0@                                    
   46214:	588f           	addql #4,%sp                                
    if ( free_old_parentloc )                                         
   46216:	4a03           	tstb %d3                                    
   46218:	6718           	beqs 46232 <_rename_r+0x1c2>                
      rtems_filesystem_freenode( &old_parent_loc );                   
   4621a:	206e ffdc      	moveal %fp@(-36),%a0                        
   4621e:	4a88           	tstl %a0                                    
   46220:	6710           	beqs 46232 <_rename_r+0x1c2>                <== NEVER TAKEN
   46222:	2068 001c      	moveal %a0@(28),%a0                         
   46226:	4a88           	tstl %a0                                    
   46228:	6708           	beqs 46232 <_rename_r+0x1c2>                <== NEVER TAKEN
   4622a:	486e ffd0      	pea %fp@(-48)                               
   4622e:	4e90           	jsr %a0@                                    
   46230:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   46232:	206e fff0      	moveal %fp@(-16),%a0                        
   46236:	4a88           	tstl %a0                                    
   46238:	6710           	beqs 4624a <_rename_r+0x1da>                <== NEVER TAKEN
   4623a:	2068 001c      	moveal %a0@(28),%a0                         
   4623e:	4a88           	tstl %a0                                    
   46240:	6708           	beqs 4624a <_rename_r+0x1da>                <== NEVER TAKEN
   46242:	486e ffe4      	pea %fp@(-28)                               
   46246:	4e90           	jsr %a0@                                    
   46248:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   4624a:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         
   46250:	74ff           	moveq #-1,%d2                               
   46252:	2040           	moveal %d0,%a0                              
   46254:	7012           	moveq #18,%d0                               
   46256:	2080           	movel %d0,%a0@                              
   46258:	6000 00bc      	braw 46316 <_rename_r+0x2a6>                
  }                                                                   
                                                                      
  if ( !new_parent_loc.ops->rename_h ) {                              
   4625c:	2268 0040      	moveal %a0@(64),%a1                         
   46260:	4a89           	tstl %a1                                    
   46262:	6654           	bnes 462b8 <_rename_r+0x248>                
    rtems_filesystem_freenode( &new_parent_loc );                     
   46264:	2068 001c      	moveal %a0@(28),%a0                         
   46268:	4a88           	tstl %a0                                    
   4626a:	6706           	beqs 46272 <_rename_r+0x202>                <== NEVER TAKEN
   4626c:	2f04           	movel %d4,%sp@-                             
   4626e:	4e90           	jsr %a0@                                    
   46270:	588f           	addql #4,%sp                                
    if ( free_old_parentloc )                                         
   46272:	4a03           	tstb %d3                                    
   46274:	6718           	beqs 4628e <_rename_r+0x21e>                <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
   46276:	206e ffdc      	moveal %fp@(-36),%a0                        
   4627a:	4a88           	tstl %a0                                    
   4627c:	6710           	beqs 4628e <_rename_r+0x21e>                <== NEVER TAKEN
   4627e:	2068 001c      	moveal %a0@(28),%a0                         
   46282:	4a88           	tstl %a0                                    
   46284:	6708           	beqs 4628e <_rename_r+0x21e>                <== NEVER TAKEN
   46286:	486e ffd0      	pea %fp@(-48)                               
   4628a:	4e90           	jsr %a0@                                    
   4628c:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   4628e:	206e fff0      	moveal %fp@(-16),%a0                        
   46292:	4a88           	tstl %a0                                    
   46294:	6710           	beqs 462a6 <_rename_r+0x236>                <== NEVER TAKEN
   46296:	2068 001c      	moveal %a0@(28),%a0                         
   4629a:	4a88           	tstl %a0                                    
   4629c:	6708           	beqs 462a6 <_rename_r+0x236>                <== NEVER TAKEN
   4629e:	486e ffe4      	pea %fp@(-28)                               
   462a2:	4e90           	jsr %a0@                                    
   462a4:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   462a6:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         
   462ac:	74ff           	moveq #-1,%d2                               
   462ae:	2040           	moveal %d0,%a0                              
   462b0:	20bc 0000 0086 	movel #134,%a0@                             
   462b6:	605e           	bras 46316 <_rename_r+0x2a6>                
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   462b8:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   462bc:	2f04           	movel %d4,%sp@-                             
   462be:	2f05           	movel %d5,%sp@-                             
   462c0:	2f02           	movel %d2,%sp@-                             
   462c2:	4e91           	jsr %a1@                                    
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   462c4:	206e ffc8      	moveal %fp@(-56),%a0                        
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   462c8:	2400           	movel %d0,%d2                               
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   462ca:	4fef 0010      	lea %sp@(16),%sp                            
   462ce:	4a88           	tstl %a0                                    
   462d0:	670e           	beqs 462e0 <_rename_r+0x270>                <== NEVER TAKEN
   462d2:	2068 001c      	moveal %a0@(28),%a0                         
   462d6:	4a88           	tstl %a0                                    
   462d8:	6706           	beqs 462e0 <_rename_r+0x270>                <== NEVER TAKEN
   462da:	2f04           	movel %d4,%sp@-                             
   462dc:	4e90           	jsr %a0@                                    
   462de:	588f           	addql #4,%sp                                
  if ( free_old_parentloc )                                           
   462e0:	4a03           	tstb %d3                                    
   462e2:	6718           	beqs 462fc <_rename_r+0x28c>                
    rtems_filesystem_freenode( &old_parent_loc );                     
   462e4:	206e ffdc      	moveal %fp@(-36),%a0                        
   462e8:	4a88           	tstl %a0                                    
   462ea:	6710           	beqs 462fc <_rename_r+0x28c>                <== NEVER TAKEN
   462ec:	2068 001c      	moveal %a0@(28),%a0                         
   462f0:	4a88           	tstl %a0                                    
   462f2:	6708           	beqs 462fc <_rename_r+0x28c>                <== NEVER TAKEN
   462f4:	486e ffd0      	pea %fp@(-48)                               
   462f8:	4e90           	jsr %a0@                                    
   462fa:	588f           	addql #4,%sp                                
  rtems_filesystem_freenode( &old_loc );                              
   462fc:	206e fff0      	moveal %fp@(-16),%a0                        
   46300:	4a88           	tstl %a0                                    
   46302:	6712           	beqs 46316 <_rename_r+0x2a6>                <== NEVER TAKEN
   46304:	2068 001c      	moveal %a0@(28),%a0                         
   46308:	4a88           	tstl %a0                                    
   4630a:	670a           	beqs 46316 <_rename_r+0x2a6>                <== NEVER TAKEN
   4630c:	486e ffe4      	pea %fp@(-28)                               
   46310:	6000 fedc      	braw 461ee <_rename_r+0x17e>                
   46314:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   46316:	2002           	movel %d2,%d0                               
   46318:	4cee 04fc ffa0 	moveml %fp@(-96),%d2-%d7/%a2                
   4631e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00044700 <_stat_r>: int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) {
   44700:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   44704:	202e 000c      	movel %fp@(12),%d0                          <== NOT EXECUTED
  return _STAT_NAME( path, buf );                                     
   44708:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     <== NOT EXECUTED
   4470e:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   44712:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
   44714:	4ef9 0004 4638 	jmp 44638 <stat>                            <== NOT EXECUTED
	...                                                                  
                                                                      

0004d532 <_unlink_r>: int _unlink_r( struct _reent *ptr __attribute__((unused)), const char *path ) {
   4d532:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return unlink( path );                                              
   4d536:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      <== NOT EXECUTED
}                                                                     
   4d53c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
   4d53e:	4ef9 0004 d374 	jmp 4d374 <unlink>                          <== NOT EXECUTED
                                                                      

0005b48c <_write_r>: struct _reent *ptr __attribute__((unused)), int fd, const void *buf, size_t nbytes ) {
   5b48c:	4e56 0000      	linkw %fp,#0                                
   5b490:	222e 0010      	movel %fp@(16),%d1                          
   5b494:	202e 000c      	movel %fp@(12),%d0                          
  return write( fd, buf, nbytes );                                    
   5b498:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   5b49e:	2d41 000c      	movel %d1,%fp@(12)                          
   5b4a2:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5b4a6:	4e5e           	unlk %fp                                    
  int            fd,                                                  
  const void    *buf,                                                 
  size_t         nbytes                                               
)                                                                     
{                                                                     
  return write( fd, buf, nbytes );                                    
   5b4a8:	4ef9 0005 b5ac 	jmp 5b5ac <write>                           
	...                                                                  
                                                                      

000456bc <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
   456bc:	4e56 fff8      	linkw %fp,#-8                               
   456c0:	2f0b           	movel %a3,%sp@-                             
   456c2:	266e 000c      	moveal %fp@(12),%a3                         
   456c6:	2f0a           	movel %a2,%sp@-                             
   456c8:	246e 0008      	moveal %fp@(8),%a2                          
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
   456cc:	4a8a           	tstl %a2                                    
   456ce:	670c           	beqs 456dc <adjtime+0x20>                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
   456d0:	227c 000f 423f 	moveal #999999,%a1                          
   456d6:	b3ea 0004      	cmpal %a2@(4),%a1                           
   456da:	6412           	bccs 456ee <adjtime+0x32>                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   456dc:	4eb9 0004 eaec 	jsr 4eaec <__errno>                         
   456e2:	72ff           	moveq #-1,%d1                               
   456e4:	2040           	moveal %d0,%a0                              
   456e6:	7016           	moveq #22,%d0                               
   456e8:	2080           	movel %d0,%a0@                              
   456ea:	6000 00b2      	braw 4579e <adjtime+0xe2>                   
                                                                      
  if ( olddelta ) {                                                   
   456ee:	4a8b           	tstl %a3                                    
   456f0:	6706           	beqs 456f8 <adjtime+0x3c>                   
    olddelta->tv_sec  = 0;                                            
   456f2:	4293           	clrl %a3@                                   
    olddelta->tv_usec = 0;                                            
   456f4:	42ab 0004      	clrl %a3@(4)                                
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
   456f8:	203c 000f 4240 	movel #1000000,%d0                          
   456fe:	4c12 0800      	mulsl %a2@,%d0                              
  adjustment += delta->tv_usec;                                       
   45702:	d0aa 0004      	addl %a2@(4),%d0                            
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
   45706:	b0b9 0005 ea60 	cmpl 5ea60 <Configuration+0xc>,%d0          
   4570c:	6500 008e      	bcsw 4579c <adjtime+0xe0>                   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   45710:	2039 0006 0354 	movel 60354 <_Thread_Dispatch_disable_level>,%d0
   45716:	5280           	addql #1,%d0                                
   45718:	23c0 0006 0354 	movel %d0,60354 <_Thread_Dispatch_disable_level>
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
   4571e:	486e fff8      	pea %fp@(-8)                                
   45722:	4eb9 0004 6d74 	jsr 46d74 <_TOD_Get>                        
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
   45728:	202a 0004      	movel %a2@(4),%d0                           
   4572c:	223c 0000 03e8 	movel #1000,%d1                             
   45732:	4c01 0800      	mulsl %d1,%d0                               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
   45736:	588f           	addql #4,%sp                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
   45738:	2212           	movel %a2@,%d1                              
   4573a:	d3ae fff8      	addl %d1,%fp@(-8)                           
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
   4573e:	d0ae fffc      	addl %fp@(-4),%d0                           
   45742:	206e fff8      	moveal %fp@(-8),%a0                         
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
   45746:	6006           	bras 4574e <adjtime+0x92>                   
   45748:	0680 c465 3600 	addil #-1000000000,%d0                      
   4574e:	2208           	movel %a0,%d1                               
   45750:	5288           	addql #1,%a0                                
   45752:	0c80 3b9a c9ff 	cmpil #999999999,%d0                        
   45758:	62ee           	bhis 45748 <adjtime+0x8c>                   
   4575a:	6006           	bras 45762 <adjtime+0xa6>                   
   4575c:	0680 3b9a ca00 	addil #1000000000,%d0                       
   45762:	2041           	moveal %d1,%a0                              
   45764:	5381           	subql #1,%d1                                
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
   45766:	0c80 c465 3600 	cmpil #-1000000000,%d0                      
   4576c:	63ee           	blss 4575c <adjtime+0xa0>                   
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
   4576e:	486e fff8      	pea %fp@(-8)                                
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
   45772:	2d40 fffc      	movel %d0,%fp@(-4)                          
   45776:	2d48 fff8      	movel %a0,%fp@(-8)                          
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
   4577a:	4eb9 0004 6e10 	jsr 46e10 <_TOD_Set>                        
                                                                      
  _Thread_Enable_dispatch();                                          
   45780:	4eb9 0004 7ed6 	jsr 47ed6 <_Thread_Enable_dispatch>         
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
   45786:	588f           	addql #4,%sp                                
   45788:	4a8b           	tstl %a3                                    
   4578a:	6710           	beqs 4579c <adjtime+0xe0>                   <== NEVER TAKEN
    *olddelta = *delta;                                               
   4578c:	4281           	clrl %d1                                    
   4578e:	2052           	moveal %a2@,%a0                             
   45790:	226a 0004      	moveal %a2@(4),%a1                          
   45794:	2688           	movel %a0,%a3@                              
   45796:	2749 0004      	movel %a1,%a3@(4)                           
   4579a:	6002           	bras 4579e <adjtime+0xe2>                   
   4579c:	4281           	clrl %d1                                    
                                                                      
  return 0;                                                           
}                                                                     
   4579e:	246e fff0      	moveal %fp@(-16),%a2                        
   457a2:	2001           	movel %d1,%d0                               
   457a4:	266e fff4      	moveal %fp@(-12),%a3                        
   457a8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042438 <calloc>: ) { register char *cptr; size_t length; MSBUMP(calloc_calls, 1);
   42438:	4e56 0000      	linkw %fp,#0                                
                                                                      
  length = nelem * elsize;                                            
   4243c:	41ee 0008      	lea %fp@(8),%a0                             
)                                                                     
{                                                                     
  register char *cptr;                                                
  size_t length;                                                      
                                                                      
  MSBUMP(calloc_calls, 1);                                            
   42440:	52b9 0005 ee08 	addql #1,5ee08 <rtems_malloc_statistics+0x14>
   42446:	2f03           	movel %d3,%sp@-                             
                                                                      
  length = nelem * elsize;                                            
   42448:	262e 000c      	movel %fp@(12),%d3                          
   4244c:	4c10 3800      	mulsl %a0@,%d3                              
)                                                                     
{                                                                     
  register char *cptr;                                                
  size_t length;                                                      
                                                                      
  MSBUMP(calloc_calls, 1);                                            
   42450:	2f02           	movel %d2,%sp@-                             
                                                                      
  length = nelem * elsize;                                            
  cptr = malloc( length );                                            
   42452:	2f03           	movel %d3,%sp@-                             
   42454:	4eb9 0004 2b08 	jsr 42b08 <malloc>                          
  if ( cptr )                                                         
   4245a:	588f           	addql #4,%sp                                
  size_t length;                                                      
                                                                      
  MSBUMP(calloc_calls, 1);                                            
                                                                      
  length = nelem * elsize;                                            
  cptr = malloc( length );                                            
   4245c:	2400           	movel %d0,%d2                               
  if ( cptr )                                                         
   4245e:	6710           	beqs 42470 <calloc+0x38>                    <== NEVER TAKEN
    memset( cptr, '\0', length );                                     
   42460:	2f03           	movel %d3,%sp@-                             
   42462:	42a7           	clrl %sp@-                                  
   42464:	2f00           	movel %d0,%sp@-                             
   42466:	4eb9 0004 ea34 	jsr 4ea34 <memset>                          
   4246c:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  return cptr;                                                        
}                                                                     
   42470:	2002           	movel %d2,%d0                               
  length = nelem * elsize;                                            
  cptr = malloc( length );                                            
  if ( cptr )                                                         
    memset( cptr, '\0', length );                                     
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
   42472:	53b9 0005 edf8 	subql #1,5edf8 <rtems_malloc_statistics+0x4>
                                                                      
  return cptr;                                                        
}                                                                     
   42478:	242e fff8      	movel %fp@(-8),%d2                          
   4247c:	262e fffc      	movel %fp@(-4),%d3                          
   42480:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ace8 <chdir>: #include <rtems/seterr.h> int chdir( const char *pathname ) {
   4ace8:	4e56 ffec      	linkw %fp,#-20                              
   4acec:	2f03           	movel %d3,%sp@-                             
   4acee:	262e 0008      	movel %fp@(8),%d3                           
   4acf2:	2f02           	movel %d2,%sp@-                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if ( !pathname )                                                    
   4acf4:	4a83           	tstl %d3                                    
   4acf6:	6612           	bnes 4ad0a <chdir+0x22>                     
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   4acf8:	4eb9 0004 e9c8 	jsr 4e9c8 <__errno>                         
   4acfe:	740e           	moveq #14,%d2                               
   4ad00:	72ff           	moveq #-1,%d1                               
   4ad02:	2040           	moveal %d0,%a0                              
   4ad04:	2082           	movel %d2,%a0@                              
   4ad06:	6000 00ce      	braw 4add6 <chdir+0xee>                     
                                                                      
  /*                                                                  
   *  Get the node where we wish to go.                               
   */                                                                 
  result = rtems_filesystem_evaluate_path(                            
   4ad0a:	2f03           	movel %d3,%sp@-                             
   4ad0c:	240e           	movel %fp,%d2                               
   4ad0e:	0682 ffff ffec 	addil #-20,%d2                              
   4ad14:	4eb9 0004 fd44 	jsr 4fd44 <strlen>                          
   4ad1a:	7201           	moveq #1,%d1                                
   4ad1c:	2e81           	movel %d1,%sp@                              
   4ad1e:	2f02           	movel %d2,%sp@-                             
   4ad20:	4878 0001      	pea 1 <ADD>                                 
   4ad24:	2f00           	movel %d0,%sp@-                             
   4ad26:	2f03           	movel %d3,%sp@-                             
   4ad28:	4eb9 0004 2b18 	jsr 42b18 <rtems_filesystem_evaluate_path>  
    pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true );
  if ( result != 0 )                                                  
   4ad2e:	4fef 0014      	lea %sp@(20),%sp                            
   4ad32:	4a80           	tstl %d0                                    
   4ad34:	6706           	beqs 4ad3c <chdir+0x54>                     
   4ad36:	72ff           	moveq #-1,%d1                               
   4ad38:	6000 009c      	braw 4add6 <chdir+0xee>                     
     return -1;                                                       
                                                                      
  /*                                                                  
   * Verify you can change directory into this node.                  
   */                                                                 
  if ( !loc.ops->node_type_h ) {                                      
   4ad3c:	226e fff8      	moveal %fp@(-8),%a1                         
   4ad40:	2069 0010      	moveal %a1@(16),%a0                         
   4ad44:	4a88           	tstl %a0                                    
   4ad46:	6620           	bnes 4ad68 <chdir+0x80>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   4ad48:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   4ad4c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4ad4e:	6706           	beqs 4ad56 <chdir+0x6e>                     <== NOT EXECUTED
   4ad50:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4ad52:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4ad54:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4ad56:	4eb9 0004 e9c8 	jsr 4e9c8 <__errno>                         <== NOT EXECUTED
   4ad5c:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4ad5e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4ad60:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4ad66:	606e           	bras 4add6 <chdir+0xee>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
   4ad68:	2f02           	movel %d2,%sp@-                             
   4ad6a:	4e90           	jsr %a0@                                    
   4ad6c:	588f           	addql #4,%sp                                
   4ad6e:	7201           	moveq #1,%d1                                
   4ad70:	b280           	cmpl %d0,%d1                                
   4ad72:	6726           	beqs 4ad9a <chdir+0xb2>                     
    rtems_filesystem_freenode( &loc );                                
   4ad74:	206e fff8      	moveal %fp@(-8),%a0                         
   4ad78:	4a88           	tstl %a0                                    
   4ad7a:	670e           	beqs 4ad8a <chdir+0xa2>                     <== NEVER TAKEN
   4ad7c:	2068 001c      	moveal %a0@(28),%a0                         
   4ad80:	4a88           	tstl %a0                                    
   4ad82:	6706           	beqs 4ad8a <chdir+0xa2>                     <== NEVER TAKEN
   4ad84:	2f02           	movel %d2,%sp@-                             
   4ad86:	4e90           	jsr %a0@                                    
   4ad88:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   4ad8a:	4eb9 0004 e9c8 	jsr 4e9c8 <__errno>                         
   4ad90:	72ff           	moveq #-1,%d1                               
   4ad92:	2040           	moveal %d0,%a0                              
   4ad94:	7014           	moveq #20,%d0                               
   4ad96:	2080           	movel %d0,%a0@                              
   4ad98:	603c           	bras 4add6 <chdir+0xee>                     
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
   4ad9a:	2279 0005 df88 	moveal 5df88 <rtems_current_user_env>,%a1   
   4ada0:	2069 0010      	moveal %a1@(16),%a0                         
   4ada4:	4a88           	tstl %a0                                    
   4ada6:	6710           	beqs 4adb8 <chdir+0xd0>                     <== NEVER TAKEN
   4ada8:	2068 001c      	moveal %a0@(28),%a0                         
   4adac:	4a88           	tstl %a0                                    
   4adae:	6708           	beqs 4adb8 <chdir+0xd0>                     <== NEVER TAKEN
   4adb0:	4869 0004      	pea %a1@(4)                                 
   4adb4:	4e90           	jsr %a0@                                    
   4adb6:	588f           	addql #4,%sp                                
                                                                      
  rtems_filesystem_current = loc;                                     
   4adb8:	4878 0014      	pea 14 <OPER2>                              
   4adbc:	486e ffec      	pea %fp@(-20)                               
   4adc0:	2039 0005 df88 	movel 5df88 <rtems_current_user_env>,%d0    
   4adc6:	5880           	addql #4,%d0                                
   4adc8:	2f00           	movel %d0,%sp@-                             
   4adca:	4eb9 0004 f1e8 	jsr 4f1e8 <memcpy>                          
                                                                      
  return 0;                                                           
   4add0:	4fef 000c      	lea %sp@(12),%sp                            
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
  }                                                                   
                                                                      
  rtems_filesystem_freenode( &rtems_filesystem_current );             
                                                                      
  rtems_filesystem_current = loc;                                     
   4add4:	4281           	clrl %d1                                    
                                                                      
  return 0;                                                           
}                                                                     
   4add6:	242e ffe4      	movel %fp@(-28),%d2                         
   4adda:	2001           	movel %d1,%d0                               
   4addc:	262e ffe8      	movel %fp@(-24),%d3                         
   4ade0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043e10 <chmod>: int chmod( const char *path, mode_t mode ) {
   43e10:	4e56 ffec      	linkw %fp,#-20                              
   43e14:	2f03           	movel %d3,%sp@-                             
   43e16:	262e 0008      	movel %fp@(8),%d3                           
   43e1a:	2f02           	movel %d2,%sp@-                             
  int                              status;                            
  rtems_filesystem_location_info_t loc;                               
  int                              result;                            
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ), 0, &loc, true );
   43e1c:	240e           	movel %fp,%d2                               
   43e1e:	0682 ffff ffec 	addil #-20,%d2                              
   43e24:	2f03           	movel %d3,%sp@-                             
   43e26:	4eb9 0005 220c 	jsr 5220c <strlen>                          
   43e2c:	7201           	moveq #1,%d1                                
   43e2e:	2e81           	movel %d1,%sp@                              
   43e30:	2f02           	movel %d2,%sp@-                             
   43e32:	42a7           	clrl %sp@-                                  
   43e34:	2f00           	movel %d0,%sp@-                             
   43e36:	2f03           	movel %d3,%sp@-                             
   43e38:	4eb9 0004 42a8 	jsr 442a8 <rtems_filesystem_evaluate_path>  
  if ( status != 0 )                                                  
   43e3e:	4fef 0014      	lea %sp@(20),%sp                            
   43e42:	4a80           	tstl %d0                                    
   43e44:	6706           	beqs 43e4c <chmod+0x3c>                     
   43e46:	76ff           	moveq #-1,%d3                               
   43e48:	6000 0082      	braw 43ecc <chmod+0xbc>                     
    return -1;                                                        
                                                                      
  if ( !loc.handlers ){                                               
   43e4c:	206e fff4      	moveal %fp@(-12),%a0                        
   43e50:	4a88           	tstl %a0                                    
   43e52:	6626           	bnes 43e7a <chmod+0x6a>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   43e54:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   43e58:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43e5a:	670e           	beqs 43e6a <chmod+0x5a>                     <== NOT EXECUTED
   43e5c:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43e60:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43e62:	6706           	beqs 43e6a <chmod+0x5a>                     <== NOT EXECUTED
   43e64:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   43e66:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43e68:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EBADF );                    
   43e6a:	4eb9 0005 07a8 	jsr 507a8 <__errno>                         <== NOT EXECUTED
   43e70:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   43e72:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43e74:	7009           	moveq #9,%d0                                <== NOT EXECUTED
   43e76:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   43e78:	6052           	bras 43ecc <chmod+0xbc>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !loc.handlers->fchmod_h ){                                     
   43e7a:	2068 001c      	moveal %a0@(28),%a0                         
   43e7e:	4a88           	tstl %a0                                    
   43e80:	6628           	bnes 43eaa <chmod+0x9a>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   43e82:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   43e86:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43e88:	670e           	beqs 43e98 <chmod+0x88>                     <== NOT EXECUTED
   43e8a:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43e8e:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43e90:	6706           	beqs 43e98 <chmod+0x88>                     <== NOT EXECUTED
   43e92:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   43e94:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43e96:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   43e98:	4eb9 0005 07a8 	jsr 507a8 <__errno>                         <== NOT EXECUTED
   43e9e:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   43ea0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43ea2:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   43ea8:	6022           	bras 43ecc <chmod+0xbc>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
   43eaa:	2f2e 000c      	movel %fp@(12),%sp@-                        
   43eae:	2f02           	movel %d2,%sp@-                             
   43eb0:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   43eb2:	206e fff8      	moveal %fp@(-8),%a0                         
  if ( !loc.handlers->fchmod_h ){                                     
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.handlers->fchmod_h)( &loc, mode );                   
   43eb6:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   43eb8:	508f           	addql #8,%sp                                
   43eba:	4a88           	tstl %a0                                    
   43ebc:	670e           	beqs 43ecc <chmod+0xbc>                     <== NEVER TAKEN
   43ebe:	2068 001c      	moveal %a0@(28),%a0                         
   43ec2:	4a88           	tstl %a0                                    
   43ec4:	6706           	beqs 43ecc <chmod+0xbc>                     <== NEVER TAKEN
   43ec6:	2f02           	movel %d2,%sp@-                             
   43ec8:	4e90           	jsr %a0@                                    
   43eca:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   43ecc:	2003           	movel %d3,%d0                               
   43ece:	242e ffe4      	movel %fp@(-28),%d2                         
   43ed2:	262e ffe8      	movel %fp@(-24),%d3                         
   43ed6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043edc <chown>: int chown( const char *path, uid_t owner, gid_t group ) {
   43edc:	4e56 ffdc      	linkw %fp,#-36                              
   43ee0:	48d7 003c      	moveml %d2-%d5,%sp@                         
   43ee4:	262e 0008      	movel %fp@(8),%d3                           
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
   43ee8:	240e           	movel %fp,%d2                               
   43eea:	0682 ffff ffec 	addil #-20,%d2                              
   43ef0:	2f03           	movel %d3,%sp@-                             
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
   43ef2:	382e 000e      	movew %fp@(14),%d4                          
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
   43ef6:	4eb9 0005 220c 	jsr 5220c <strlen>                          
   43efc:	7201           	moveq #1,%d1                                
   43efe:	2e81           	movel %d1,%sp@                              
int chown(                                                            
  const char *path,                                                   
  uid_t       owner,                                                  
  gid_t       group                                                   
)                                                                     
{                                                                     
   43f00:	3a2e 0012      	movew %fp@(18),%d5                          
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &loc, true ) )
   43f04:	2f02           	movel %d2,%sp@-                             
   43f06:	42a7           	clrl %sp@-                                  
   43f08:	2f00           	movel %d0,%sp@-                             
   43f0a:	2f03           	movel %d3,%sp@-                             
   43f0c:	4eb9 0004 42a8 	jsr 442a8 <rtems_filesystem_evaluate_path>  
   43f12:	4fef 0014      	lea %sp@(20),%sp                            
   43f16:	4a80           	tstl %d0                                    
   43f18:	6704           	beqs 43f1e <chown+0x42>                     
   43f1a:	76ff           	moveq #-1,%d3                               
   43f1c:	6054           	bras 43f72 <chown+0x96>                     
    return -1;                                                        
                                                                      
  if ( !loc.ops->chown_h ) {                                          
   43f1e:	226e fff8      	moveal %fp@(-8),%a1                         
   43f22:	2069 0018      	moveal %a1@(24),%a0                         
   43f26:	4a88           	tstl %a0                                    
   43f28:	6620           	bnes 43f4a <chown+0x6e>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   43f2a:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   43f2e:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43f30:	6706           	beqs 43f38 <chown+0x5c>                     <== NOT EXECUTED
   43f32:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   43f34:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43f36:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   43f38:	4eb9 0005 07a8 	jsr 507a8 <__errno>                         <== NOT EXECUTED
   43f3e:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   43f40:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43f42:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   43f48:	6028           	bras 43f72 <chown+0x96>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
   43f4a:	3f05           	movew %d5,%sp@-                             
   43f4c:	4267           	clrw %sp@-                                  
   43f4e:	3f04           	movew %d4,%sp@-                             
   43f50:	4267           	clrw %sp@-                                  
   43f52:	2f02           	movel %d2,%sp@-                             
   43f54:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   43f56:	206e fff8      	moveal %fp@(-8),%a0                         
  if ( !loc.ops->chown_h ) {                                          
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->chown_h)( &loc, owner, group );                 
   43f5a:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   43f5c:	4fef 000c      	lea %sp@(12),%sp                            
   43f60:	4a88           	tstl %a0                                    
   43f62:	670e           	beqs 43f72 <chown+0x96>                     <== NEVER TAKEN
   43f64:	2068 001c      	moveal %a0@(28),%a0                         
   43f68:	4a88           	tstl %a0                                    
   43f6a:	6706           	beqs 43f72 <chown+0x96>                     <== NEVER TAKEN
   43f6c:	2f02           	movel %d2,%sp@-                             
   43f6e:	4e90           	jsr %a0@                                    
   43f70:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   43f72:	2003           	movel %d3,%d0                               
   43f74:	4cee 003c ffdc 	moveml %fp@(-36),%d2-%d5                    
   43f7a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004268c <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
   4268c:	4e56 ffec      	linkw %fp,#-20                              
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   42690:	203c 0005 f5dc 	movel #390620,%d0                           
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
   42696:	2f0b           	movel %a3,%sp@-                             
   42698:	2f0a           	movel %a2,%sp@-                             
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   4269a:	b0b9 0005 df88 	cmpl 5df88 <rtems_current_user_env>,%d0     
   426a0:	6628           	bnes 426ca <chroot+0x3e>                    <== NEVER TAKEN
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   426a2:	4eb9 0004 3c0a 	jsr 43c0a <rtems_libio_set_private_env>     
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
   426a8:	41f9 0005 f5dc 	lea 5f5dc <rtems_global_user_env>,%a0       
   426ae:	b1f9 0005 df88 	cmpal 5df88 <rtems_current_user_env>,%a0    
   426b4:	6614           	bnes 426ca <chroot+0x3e>                    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   426b6:	4eb9 0004 e9c8 	jsr 4e9c8 <__errno>                         <== NOT EXECUTED
   426bc:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   426be:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   426c0:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   426c6:	6000 0084      	braw 4274c <chroot+0xc0>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
   426ca:	2f2e 0008      	movel %fp@(8),%sp@-                         
   426ce:	4eb9 0004 ace8 	jsr 4ace8 <chdir>                           
  if (result) {                                                       
   426d4:	588f           	addql #4,%sp                                
   426d6:	4a80           	tstl %d0                                    
   426d8:	6620           	bnes 426fa <chroot+0x6e>                    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
   426da:	42a7           	clrl %sp@-                                  
   426dc:	486e ffec      	pea %fp@(-20)                               
   426e0:	42a7           	clrl %sp@-                                  
   426e2:	4878 0001      	pea 1 <ADD>                                 
   426e6:	4879 0005 cfc1 	pea 5cfc1 <__FUNCTION__.5435+0x18>          
   426ec:	4eb9 0004 2b18 	jsr 42b18 <rtems_filesystem_evaluate_path>  
   426f2:	4fef 0014      	lea %sp@(20),%sp                            
   426f6:	4a80           	tstl %d0                                    
   426f8:	6714           	beqs 4270e <chroot+0x82>                    <== ALWAYS TAKEN
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
   426fa:	45f9 0004 e9c8 	lea 4e9c8 <__errno>,%a2                     <== NOT EXECUTED
   42700:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   42702:	2640           	moveal %d0,%a3                              <== NOT EXECUTED
   42704:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   42706:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   42708:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4270a:	2690           	movel %a0@,%a3@                             <== NOT EXECUTED
   4270c:	603e           	bras 4274c <chroot+0xc0>                    <== NOT EXECUTED
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
   4270e:	2279 0005 df88 	moveal 5df88 <rtems_current_user_env>,%a1   
   42714:	2069 0024      	moveal %a1@(36),%a0                         
   42718:	4a88           	tstl %a0                                    
   4271a:	6710           	beqs 4272c <chroot+0xa0>                    <== NEVER TAKEN
   4271c:	2068 001c      	moveal %a0@(28),%a0                         
   42720:	4a88           	tstl %a0                                    
   42722:	6708           	beqs 4272c <chroot+0xa0>                    <== NEVER TAKEN
   42724:	4869 0018      	pea %a1@(24)                                
   42728:	4e90           	jsr %a0@                                    
   4272a:	588f           	addql #4,%sp                                
  rtems_filesystem_root = loc;                                        
   4272c:	4878 0014      	pea 14 <OPER2>                              
   42730:	486e ffec      	pea %fp@(-20)                               
   42734:	2079 0005 df88 	moveal 5df88 <rtems_current_user_env>,%a0   
   4273a:	41e8 0018      	lea %a0@(24),%a0                            
   4273e:	2f08           	movel %a0,%sp@-                             
   42740:	4eb9 0004 f1e8 	jsr 4f1e8 <memcpy>                          
                                                                      
  return 0;                                                           
   42746:	4fef 000c      	lea %sp@(12),%sp                            
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
   4274a:	4281           	clrl %d1                                    
                                                                      
  return 0;                                                           
}                                                                     
   4274c:	246e ffe4      	moveal %fp@(-28),%a2                        
   42750:	2001           	movel %d1,%d0                               
   42752:	266e ffe8      	moveal %fp@(-24),%a3                        
   42756:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045638 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
   45638:	4e56 0000      	linkw %fp,#0                                
   4563c:	222e 0008      	movel %fp@(8),%d1                           
   45640:	202e 000c      	movel %fp@(12),%d0                          
   45644:	2f02           	movel %d2,%sp@-                             
  if ( !tp )                                                          
   45646:	4a80           	tstl %d0                                    
   45648:	6608           	bnes 45652 <clock_gettime+0x1a>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4564a:	4eb9 0004 ee9c 	jsr 4ee9c <__errno>                         
   45650:	6044           	bras 45696 <clock_gettime+0x5e>             
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
   45652:	7401           	moveq #1,%d2                                
   45654:	b481           	cmpl %d1,%d2                                
   45656:	660a           	bnes 45662 <clock_gettime+0x2a>             
    _TOD_Get(tp);                                                     
   45658:	2f00           	movel %d0,%sp@-                             
   4565a:	4eb9 0004 72d8 	jsr 472d8 <_TOD_Get>                        
   45660:	600e           	bras 45670 <clock_gettime+0x38>             
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
   45662:	7404           	moveq #4,%d2                                
   45664:	b481           	cmpl %d1,%d2                                
   45666:	660e           	bnes 45676 <clock_gettime+0x3e>             <== ALWAYS TAKEN
    _TOD_Get_uptime_as_timespec( tp );                                
   45668:	2f00           	movel %d0,%sp@-                             
   4566a:	4eb9 0004 7344 	jsr 47344 <_TOD_Get_uptime_as_timespec>     
    return 0;                                                         
   45670:	588f           	addql #4,%sp                                
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
    _TOD_Get_uptime_as_timespec( tp );                                
   45672:	4281           	clrl %d1                                    
    return 0;                                                         
   45674:	6028           	bras 4569e <clock_gettime+0x66>             
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
   45676:	7402           	moveq #2,%d2                                
   45678:	b481           	cmpl %d1,%d2                                
   4567a:	67ec           	beqs 45668 <clock_gettime+0x30>             
   4567c:	41f9 0004 ee9c 	lea 4ee9c <__errno>,%a0                     
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
   45682:	7003           	moveq #3,%d0                                
   45684:	b081           	cmpl %d1,%d0                                
   45686:	660c           	bnes 45694 <clock_gettime+0x5c>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   45688:	4e90           	jsr %a0@                                    
   4568a:	7458           	moveq #88,%d2                               
   4568c:	72ff           	moveq #-1,%d1                               
   4568e:	2040           	moveal %d0,%a0                              
   45690:	2082           	movel %d2,%a0@                              
   45692:	600a           	bras 4569e <clock_gettime+0x66>             
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   45694:	4e90           	jsr %a0@                                    
   45696:	2040           	moveal %d0,%a0                              
   45698:	7016           	moveq #22,%d0                               
   4569a:	72ff           	moveq #-1,%d1                               
   4569c:	2080           	movel %d0,%a0@                              
                                                                      
  return 0;                                                           
}                                                                     
   4569e:	242e fffc      	movel %fp@(-4),%d2                          
   456a2:	2001           	movel %d1,%d0                               
   456a4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000456a8 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
   456a8:	4e56 0000      	linkw %fp,#0                                
   456ac:	222e 0008      	movel %fp@(8),%d1                           
   456b0:	206e 000c      	moveal %fp@(12),%a0                         
  if ( !tp )                                                          
   456b4:	4a88           	tstl %a0                                    
   456b6:	6710           	beqs 456c8 <clock_settime+0x20>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
   456b8:	7001           	moveq #1,%d0                                
   456ba:	b081           	cmpl %d1,%d0                                
   456bc:	6634           	bnes 456f2 <clock_settime+0x4a>             <== NEVER TAKEN
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
   456be:	203c 21da e4ff 	movel #567993599,%d0                        
   456c4:	b090           	cmpl %a0@,%d0                               
   456c6:	6508           	bcss 456d0 <clock_settime+0x28>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   456c8:	4eb9 0004 ee9c 	jsr 4ee9c <__errno>                         
   456ce:	604a           	bras 4571a <clock_settime+0x72>             
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   456d0:	2039 0006 0b1c 	movel 60b1c <_Thread_Dispatch_disable_level>,%d0
   456d6:	5280           	addql #1,%d0                                
   456d8:	23c0 0006 0b1c 	movel %d0,60b1c <_Thread_Dispatch_disable_level>
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
   456de:	2f08           	movel %a0,%sp@-                             
   456e0:	4eb9 0004 739c 	jsr 4739c <_TOD_Set>                        
    _Thread_Enable_dispatch();                                        
   456e6:	4eb9 0004 8462 	jsr 48462 <_Thread_Enable_dispatch>         
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
   456ec:	588f           	addql #4,%sp                                
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
   456ee:	4281           	clrl %d1                                    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
   456f0:	6030           	bras 45722 <clock_settime+0x7a>             
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
   456f2:	7002           	moveq #2,%d0                                
   456f4:	b081           	cmpl %d1,%d0                                
   456f6:	6608           	bnes 45700 <clock_settime+0x58>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   456f8:	4eb9 0004 ee9c 	jsr 4ee9c <__errno>                         
   456fe:	600e           	bras 4570e <clock_settime+0x66>             
   45700:	41f9 0004 ee9c 	lea 4ee9c <__errno>,%a0                     
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
   45706:	7003           	moveq #3,%d0                                
   45708:	b081           	cmpl %d1,%d0                                
   4570a:	660c           	bnes 45718 <clock_settime+0x70>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   4570c:	4e90           	jsr %a0@                                    
   4570e:	2040           	moveal %d0,%a0                              
   45710:	7058           	moveq #88,%d0                               
   45712:	72ff           	moveq #-1,%d1                               
   45714:	2080           	movel %d0,%a0@                              
   45716:	600a           	bras 45722 <clock_settime+0x7a>             
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45718:	4e90           	jsr %a0@                                    
   4571a:	2040           	moveal %d0,%a0                              
   4571c:	7016           	moveq #22,%d0                               
   4571e:	72ff           	moveq #-1,%d1                               
   45720:	2080           	movel %d0,%a0@                              
                                                                      
  return 0;                                                           
}                                                                     
   45722:	2001           	movel %d1,%d0                               
   45724:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a1c8 <close>: #include <rtems/libio_.h> int close( int fd ) {
   4a1c8:	4e56 0000      	linkw %fp,#0                                
   4a1cc:	202e 0008      	movel %fp@(8),%d0                           
   4a1d0:	2f0a           	movel %a2,%sp@-                             
   4a1d2:	2f02           	movel %d2,%sp@-                             
  rtems_libio_t      *iop;                                            
  rtems_status_code   rc;                                             
                                                                      
  rtems_libio_check_fd(fd);                                           
   4a1d4:	b0b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d0    
   4a1da:	6416           	bccs 4a1f2 <close+0x2a>                     
  iop = rtems_libio_iop(fd);                                          
   4a1dc:	2479 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a2         
   4a1e2:	ed88           	lsll #6,%d0                                 
   4a1e4:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open(iop);                                     
   4a1e6:	202a 0014      	movel %a2@(20),%d0                          
   4a1ea:	0280 0000 0100 	andil #256,%d0                              
   4a1f0:	6610           	bnes 4a202 <close+0x3a>                     
   4a1f2:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4a1f8:	74ff           	moveq #-1,%d2                               
   4a1fa:	2040           	moveal %d0,%a0                              
   4a1fc:	7009           	moveq #9,%d0                                
   4a1fe:	2080           	movel %d0,%a0@                              
   4a200:	603a           	bras 4a23c <close+0x74>                     
                                                                      
  rc = RTEMS_SUCCESSFUL;                                              
  if ( iop->handlers->close_h )                                       
   4a202:	206a 003c      	moveal %a2@(60),%a0                         
   4a206:	2068 0004      	moveal %a0@(4),%a0                          
   4a20a:	4a88           	tstl %a0                                    
   4a20c:	6604           	bnes 4a212 <close+0x4a>                     <== ALWAYS TAKEN
   4a20e:	4282           	clrl %d2                                    <== NOT EXECUTED
   4a210:	6008           	bras 4a21a <close+0x52>                     <== NOT EXECUTED
    rc = (*iop->handlers->close_h)( iop );                            
   4a212:	2f0a           	movel %a2,%sp@-                             
   4a214:	4e90           	jsr %a0@                                    
   4a216:	588f           	addql #4,%sp                                
   4a218:	2400           	movel %d0,%d2                               
                                                                      
  rtems_filesystem_freenode( &iop->pathinfo );                        
   4a21a:	206a 0024      	moveal %a2@(36),%a0                         
   4a21e:	4a88           	tstl %a0                                    
   4a220:	6710           	beqs 4a232 <close+0x6a>                     <== NEVER TAKEN
   4a222:	2068 001c      	moveal %a0@(28),%a0                         
   4a226:	4a88           	tstl %a0                                    
   4a228:	6708           	beqs 4a232 <close+0x6a>                     
   4a22a:	486a 0018      	pea %a2@(24)                                
   4a22e:	4e90           	jsr %a0@                                    
   4a230:	588f           	addql #4,%sp                                
  rtems_libio_free( iop );                                            
   4a232:	2f0a           	movel %a2,%sp@-                             
   4a234:	4eb9 0004 a49a 	jsr 4a49a <rtems_libio_free>                
                                                                      
  return rc;                                                          
   4a23a:	588f           	addql #4,%sp                                
}                                                                     
   4a23c:	2002           	movel %d2,%d0                               
   4a23e:	242e fff8      	movel %fp@(-8),%d2                          
   4a242:	246e fffc      	moveal %fp@(-4),%a2                         
   4a246:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000484c8 <devFS_close>: #include "devfs.h" int devFS_close( rtems_libio_t *iop ) {
   484c8:	4e56 fff4      	linkw %fp,#-12                              
   484cc:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
   484d0:	486e fff4      	pea %fp@(-12)                               
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
   484d4:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
   484d8:	42ae fff8      	clrl %fp@(-8)                               
  args.mode  = 0;                                                     
   484dc:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_close(                                            
   484e0:	2f29 000c      	movel %a1@(12),%sp@-                        
   484e4:	2f29 0008      	movel %a1@(8),%sp@-                         
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
   484e8:	2d48 fff4      	movel %a0,%fp@(-12)                         
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
   484ec:	4eb9 0004 99a8 	jsr 499a8 <rtems_io_close>                  
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
   484f2:	4fef 000c      	lea %sp@(12),%sp                            
   484f6:	4a80           	tstl %d0                                    
   484f8:	670a           	beqs 48504 <devFS_close+0x3c>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   484fa:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   484fc:	4eb9 0004 85d4 	jsr 485d4 <rtems_deviceio_errno>            <== NOT EXECUTED
   48502:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
   48504:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004851a <devFS_evaluate_path>: { int i; rtems_device_name_t *device_name_table; /* see if 'flags' is valid */ if ( !rtems_libio_is_valid_perms( flags ) )
   4851a:	70f8           	moveq #-8,%d0                               
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   4851c:	4e56 ffe4      	linkw %fp,#-28                              
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
   48520:	c0ae 0010      	andl %fp@(16),%d0                           
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   48524:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   48528:	282e 0008      	movel %fp@(8),%d4                           
   4852c:	262e 000c      	movel %fp@(12),%d3                          
   48530:	246e 0014      	moveal %fp@(20),%a2                         
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
   48534:	4a80           	tstl %d0                                    
   48536:	6710           	beqs 48548 <devFS_evaluate_path+0x2e>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
   48538:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   4853e:	7601           	moveq #1,%d3                                <== NOT EXECUTED
   48540:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   48542:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   48544:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
   48546:	607e           	bras 485c6 <devFS_evaluate_path+0xac>       <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
   48548:	2652           	moveal %a2@,%a3                             
  if (!device_name_table)                                             
   4854a:	4a8b           	tstl %a3                                    
   4854c:	670a           	beqs 48558 <devFS_evaluate_path+0x3e>       <== NEVER TAKEN
   4854e:	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)
   48550:	4bf9 0004 be08 	lea 4be08 <strncmp>,%a5                     
   48556:	6058           	bras 485b0 <devFS_evaluate_path+0x96>       
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   48558:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   4855e:	740e           	moveq #14,%d2                               <== NOT EXECUTED
   48560:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   48562:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   48564:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   48566:	605e           	bras 485c6 <devFS_evaluate_path+0xac>       <== NOT EXECUTED
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
   48568:	2853           	moveal %a3@,%a4                             
   4856a:	4a8c           	tstl %a4                                    
   4856c:	673c           	beqs 485aa <devFS_evaluate_path+0x90>       
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
   4856e:	2f03           	movel %d3,%sp@-                             
   48570:	2f0c           	movel %a4,%sp@-                             
   48572:	2f04           	movel %d4,%sp@-                             
   48574:	4e95           	jsr %a5@                                    
   48576:	4fef 000c      	lea %sp@(12),%sp                            
   4857a:	4a80           	tstl %d0                                    
   4857c:	662c           	bnes 485aa <devFS_evaluate_path+0x90>       
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
   4857e:	4a34 3800      	tstb %a4@(00000000,%d3:l)                   
   48582:	6626           	bnes 485aa <devFS_evaluate_path+0x90>       <== NEVER TAKEN
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
   48584:	2079 0005 9738 	moveal 59738 <rtems_current_user_env>,%a0   
   4858a:	4281           	clrl %d1                                    
    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;                         
   4858c:	203c 0005 96e0 	movel #366304,%d0                           
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
   48592:	2568 0028 0010 	movel %a0@(40),%a2@(16)                     
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
   48598:	41f9 0005 9698 	lea 59698 <devFS_ops>,%a0                   
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
   4859e:	2540 0008      	movel %d0,%a2@(8)                           
    pathloc->ops = &devFS_ops;                                        
   485a2:	2548 000c      	movel %a0,%a2@(12)                          
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
   485a6:	248b           	movel %a3,%a2@                              
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
   485a8:	601c           	bras 485c6 <devFS_evaluate_path+0xac>       
  /* 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++) {                     
   485aa:	5282           	addql #1,%d2                                
   485ac:	47eb 0014      	lea %a3@(20),%a3                            
   485b0:	b4b9 0005 95b8 	cmpl 595b8 <rtems_device_table_size>,%d2    
   485b6:	65b0           	bcss 48568 <devFS_evaluate_path+0x4e>       
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   485b8:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         
   485be:	72ff           	moveq #-1,%d1                               
   485c0:	2040           	moveal %d0,%a0                              
   485c2:	7002           	moveq #2,%d0                                
   485c4:	2080           	movel %d0,%a0@                              
}                                                                     
   485c6:	2001           	movel %d1,%d0                               
   485c8:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   485ce:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041c80 <devFS_initialize>: int devFS_initialize( rtems_filesystem_mount_table_entry_t *temp_mt_entry, const void *data ) {
   41c80:	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(     
   41c84:	2039 0005 95b8 	movel 595b8 <rtems_device_table_size>,%d0   
   41c8a:	2200           	movel %d0,%d1                               
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry,                
  const void                           *data                          
)                                                                     
{                                                                     
   41c8c:	2f0a           	movel %a2,%sp@-                             
   41c8e:	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(     
   41c92:	e989           	lsll #4,%d1                                 
                                                                      
int devFS_initialize(                                                 
  rtems_filesystem_mount_table_entry_t *temp_mt_entry,                
  const void                           *data                          
)                                                                     
{                                                                     
   41c94:	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(     
   41c96:	2041           	moveal %d1,%a0                              
   41c98:	4870 0c00      	pea %a0@(00000000,%d0:l:4)                  
   41c9c:	4eb9 0004 82b4 	jsr 482b4 <_Workspace_Allocate>             
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
   41ca2:	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(     
   41ca4:	2400           	movel %d0,%d2                               
        sizeof( rtems_device_name_t ) * ( rtems_device_table_size )   
        );                                                            
                                                                      
  /* no memory for device filesystem */                               
  if (!device_name_table)                                             
   41ca6:	6610           	bnes 41cb8 <devFS_initialize+0x38>          <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
   41ca8:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   41cae:	720c           	moveq #12,%d1                               <== NOT EXECUTED
   41cb0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41cb2:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41cb4:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   41cb6:	6038           	bras 41cf0 <devFS_initialize+0x70>          <== NOT EXECUTED
                                                                      
  memset(                                                             
   41cb8:	2039 0005 95b8 	movel 595b8 <rtems_device_table_size>,%d0   
   41cbe:	2200           	movel %d0,%d1                               
   41cc0:	e989           	lsll #4,%d1                                 
   41cc2:	2041           	moveal %d1,%a0                              
   41cc4:	4870 0c00      	pea %a0@(00000000,%d0:l:4)                  
   41cc8:	42a7           	clrl %sp@-                                  
   41cca:	2f02           	movel %d2,%sp@-                             
   41ccc:	4eb9 0004 b350 	jsr 4b350 <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;                                                           
   41cd2:	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;      
   41cd6:	203c 0005 96e0 	movel #366304,%d0                           
  temp_mt_entry->mt_fs_root.ops          = &devFS_ops;                
   41cdc:	41f9 0005 9698 	lea 59698 <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;      
   41ce2:	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;  
   41ce6:	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;                
   41ce8:	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;  
   41cec:	2542 001c      	movel %d2,%a2@(28)                          
                                                                      
  return 0;                                                           
}                                                                     
   41cf0:	242e fff8      	movel %fp@(-8),%d2                          
   41cf4:	246e fffc      	moveal %fp@(-4),%a2                         
   41cf8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041e30 <devFS_ioctl>: int devFS_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
   41e30:	4e56 fff0      	linkw %fp,#-16                              
   41e34:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
   41e38:	486e fff0      	pea %fp@(-16)                               
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
   41e3c:	2d6e 000c fff4 	movel %fp@(12),%fp@(-12)                    
{                                                                     
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
   41e42:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
   41e46:	2f29 000c      	movel %a1@(12),%sp@-                        
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
   41e4a:	2d6e 0010 fff8 	movel %fp@(16),%fp@(-8)                     
                                                                      
  status = rtems_io_control(                                          
   41e50:	2f29 0008      	movel %a1@(8),%sp@-                         
  rtems_status_code         status;                                   
  rtems_device_name_t      *np;                                       
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop     = iop;                                                 
   41e54:	2d48 fff0      	movel %a0,%fp@(-16)                         
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control(                                          
   41e58:	4eb9 0004 58fc 	jsr 458fc <rtems_io_control>                
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   41e5e:	4fef 000c      	lea %sp@(12),%sp                            
   41e62:	4a80           	tstl %d0                                    
   41e64:	670c           	beqs 41e72 <devFS_ioctl+0x42>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   41e66:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41e68:	4eb9 0004 85d4 	jsr 485d4 <rtems_deviceio_errno>            <== NOT EXECUTED
   41e6e:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41e70:	6004           	bras 41e76 <devFS_ioctl+0x46>               <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
   41e72:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   41e76:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041cfc <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') &&
   41cfc:	7264           	moveq #100,%d1                              
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   41cfe:	4e56 ffdc      	linkw %fp,#-36                              
   41d02:	48d7 3c7c      	moveml %d2-%d6/%a2-%a5,%sp@                 
   41d06:	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') &&                         
   41d0a:	1012           	moveb %a2@,%d0                              
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   41d0c:	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') &&                         
   41d10:	49c0           	extbl %d0                                   
  const char                        *path,                            
  mode_t                             mode,                            
  dev_t                              dev,                             
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   41d12:	2c2e 0010      	movel %fp@(16),%d6                          
   41d16:	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') &&                         
   41d1a:	b280           	cmpl %d0,%d1                                
   41d1c:	6628           	bnes 41d46 <devFS_mknod+0x4a>               <== NEVER TAKEN
   41d1e:	123c 0065      	moveb #101,%d1                              
   41d22:	102a 0001      	moveb %a2@(1),%d0                           
   41d26:	49c0           	extbl %d0                                   
   41d28:	b280           	cmpl %d0,%d1                                
   41d2a:	661a           	bnes 41d46 <devFS_mknod+0x4a>               <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
   41d2c:	123c 0076      	moveb #118,%d1                              
   41d30:	102a 0002      	moveb %a2@(2),%d0                           
   41d34:	49c0           	extbl %d0                                   
   41d36:	b280           	cmpl %d0,%d1                                
   41d38:	660c           	bnes 41d46 <devFS_mknod+0x4a>               <== NEVER TAKEN
   41d3a:	4a2a 0003      	tstb %a2@(3)                                
   41d3e:	6606           	bnes 41d46 <devFS_mknod+0x4a>               
   41d40:	4201           	clrb %d1                                    
   41d42:	6000 00d2      	braw 41e16 <devFS_mknod+0x11a>              
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
   41d46:	2004           	movel %d4,%d0                               
   41d48:	0280 0000 f000 	andil #61440,%d0                            
   41d4e:	0c80 0000 6000 	cmpil #24576,%d0                            
   41d54:	671a           	beqs 41d70 <devFS_mknod+0x74>               <== NEVER TAKEN
   41d56:	0c80 0000 2000 	cmpil #8192,%d0                             
   41d5c:	6712           	beqs 41d70 <devFS_mknod+0x74>               <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   41d5e:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   41d64:	7816           	moveq #22,%d4                               <== NOT EXECUTED
   41d66:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41d68:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41d6a:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
   41d6c:	6000 00a8      	braw 41e16 <devFS_mknod+0x11a>              <== 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;    
   41d70:	206e 0018      	moveal %fp@(24),%a0                         
   41d74:	2650           	moveal %a0@,%a3                             
  if (!device_name_table)                                             
   41d76:	4a8b           	tstl %a3                                    
   41d78:	670e           	beqs 41d88 <devFS_mknod+0x8c>               <== NEVER TAKEN
   41d7a:	284b           	moveal %a3,%a4                              
   41d7c:	74ff           	moveq #-1,%d2                               
   41d7e:	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)    
   41d80:	4bf9 0004 b92c 	lea 4b92c <strcmp>,%a5                      
   41d86:	6038           	bras 41dc0 <devFS_mknod+0xc4>               
    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 );                   
   41d88:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   41d8e:	760e           	moveq #14,%d3                               <== NOT EXECUTED
   41d90:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41d92:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   41d94:	2283           	movel %d3,%a1@                              <== NOT EXECUTED
   41d96:	607e           	bras 41e16 <devFS_mknod+0x11a>              <== NOT EXECUTED
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
   41d98:	2014           	movel %a4@,%d0                              
   41d9a:	671c           	beqs 41db8 <devFS_mknod+0xbc>               
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
   41d9c:	2f00           	movel %d0,%sp@-                             
   41d9e:	2f0a           	movel %a2,%sp@-                             
   41da0:	4e95           	jsr %a5@                                    
   41da2:	508f           	addql #8,%sp                                
   41da4:	4a80           	tstl %d0                                    
   41da6:	6612           	bnes 41dba <devFS_mknod+0xbe>               <== ALWAYS TAKEN
              rtems_set_errno_and_return_minus_one( EEXIST );         
   41da8:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   41dae:	7411           	moveq #17,%d2                               <== NOT EXECUTED
   41db0:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41db2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41db4:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   41db6:	605e           	bras 41e16 <devFS_mknod+0x11a>              <== NOT EXECUTED
   41db8:	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++){           
   41dba:	5283           	addql #1,%d3                                
   41dbc:	49ec 0014      	lea %a4@(20),%a4                            
   41dc0:	b6b9 0005 95b8 	cmpl 595b8 <rtems_device_table_size>,%d3    
   41dc6:	65d0           	bcss 41d98 <devFS_mknod+0x9c>               
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
   41dc8:	70ff           	moveq #-1,%d0                               
   41dca:	b082           	cmpl %d2,%d0                                
   41dcc:	6610           	bnes 41dde <devFS_mknod+0xe2>               <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
   41dce:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   41dd4:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   41dd6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41dd8:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   41dda:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   41ddc:	6038           	bras 41e16 <devFS_mknod+0x11a>              <== NOT EXECUTED
                                                                      
  _ISR_Disable(level);                                                
   41dde:	203c 0000 0700 	movel #1792,%d0                             
   41de4:	40c3           	movew %sr,%d3                               
   41de6:	8083           	orl %d3,%d0                                 
   41de8:	46c0           	movew %d0,%sr                               
  device_name_table[slot].device_name  = (char *)path;                
   41dea:	2002           	movel %d2,%d0                               
   41dec:	e988           	lsll #4,%d0                                 
   41dee:	2240           	moveal %d0,%a1                              
   41df0:	41f1 2c00      	lea %a1@(00000000,%d2:l:4),%a0              
   41df4:	d7c8           	addal %a0,%a3                               
   41df6:	268a           	movel %a2,%a3@                              
  device_name_table[slot].device_name_length = strlen(path);          
   41df8:	2f0a           	movel %a2,%sp@-                             
   41dfa:	4eb9 0004 bdf0 	jsr 4bdf0 <strlen>                          
   41e00:	588f           	addql #4,%sp                                
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
   41e02:	2744 0010      	movel %d4,%a3@(16)                          
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
   41e06:	2740 0004      	movel %d0,%a3@(4)                           
  device_name_table[slot].major = major;                              
   41e0a:	2746 0008      	movel %d6,%a3@(8)                           
  device_name_table[slot].minor = minor;                              
   41e0e:	2745 000c      	movel %d5,%a3@(12)                          
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
   41e12:	46c3           	movew %d3,%sr                               
   41e14:	4281           	clrl %d1                                    
                                                                      
  return 0;                                                           
}                                                                     
   41e16:	2001           	movel %d1,%d0                               
   41e18:	4cee 3c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a5            
   41e1e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041e7c <devFS_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
   41e7c:	4e56 fff4      	linkw %fp,#-12                              
   41e80:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
   41e84:	486e fff4      	pea %fp@(-12)                               
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
   41e88:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
   41e8e:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
   41e92:	2d6e 0014 fffc 	movel %fp@(20),%fp@(-4)                     
                                                                      
  status = rtems_io_open(                                             
   41e98:	2f29 000c      	movel %a1@(12),%sp@-                        
   41e9c:	2f29 0008      	movel %a1@(8),%sp@-                         
  rtems_status_code              status;                              
  rtems_device_name_t           *np;                                  
                                                                      
  np         = (rtems_device_name_t *)iop->file_info;                 
                                                                      
  args.iop   = iop;                                                   
   41ea0:	2d48 fff4      	movel %a0,%fp@(-12)                         
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
   41ea4:	4eb9 0004 5a1c 	jsr 45a1c <rtems_io_open>                   
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
   41eaa:	4fef 000c      	lea %sp@(12),%sp                            
   41eae:	4a80           	tstl %d0                                    
   41eb0:	670a           	beqs 41ebc <devFS_open+0x40>                <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   41eb2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41eb4:	4eb9 0004 85d4 	jsr 485d4 <rtems_deviceio_errno>            <== NOT EXECUTED
   41eba:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
   41ebc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041ec0 <devFS_read>: ssize_t devFS_read( rtems_libio_t *iop, void *buffer, size_t count ) {
   41ec0:	4e56 ffe4      	linkw %fp,#-28                              <== NOT EXECUTED
   41ec4:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   41ec8:	486e ffe4      	pea %fp@(-28)                               <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   41ecc:	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;           
   41ed2:	2268 0038      	moveal %a0@(56),%a1                         <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
   41ed6:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    <== NOT EXECUTED
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
   41edc:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    <== NOT EXECUTED
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   41ee2:	42ae fffc      	clrl %fp@(-4)                               <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
   41ee6:	2f29 000c      	movel %a1@(12),%sp@-                        <== NOT EXECUTED
   41eea:	2f29 0008      	movel %a1@(8),%sp@-                         <== NOT EXECUTED
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   41eee:	2028 000c      	movel %a0@(12),%d0                          <== NOT EXECUTED
   41ef2:	2228 0010      	movel %a0@(16),%d1                          <== NOT EXECUTED
  rtems_status_code       status;                                     
  rtems_device_name_t     *np;                                        
                                                                      
  np               = (rtems_device_name_t *)iop->file_info;           
                                                                      
  args.iop         = iop;                                             
   41ef6:	2d48 ffe4      	movel %a0,%fp@(-28)                         <== NOT EXECUTED
  args.offset      = iop->offset;                                     
   41efa:	2d40 ffe8      	movel %d0,%fp@(-24)                         <== NOT EXECUTED
   41efe:	2d41 ffec      	movel %d1,%fp@(-20)                         <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   41f02:	4eb9 0004 5a74 	jsr 45a74 <rtems_io_read>                   <== NOT EXECUTED
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   41f08:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   41f0c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   41f0e:	670c           	beqs 41f1c <devFS_read+0x5c>                <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
   41f10:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41f12:	4eb9 0004 85d4 	jsr 485d4 <rtems_deviceio_errno>            <== NOT EXECUTED
   41f18:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41f1a:	6004           	bras 41f20 <devFS_read+0x60>                <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   41f1c:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
}                                                                     
   41f20:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041f24 <devFS_stat>: int devFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
   41f24:	4e56 0000      	linkw %fp,#0                                
   41f28:	206e 0008      	moveal %fp@(8),%a0                          
   41f2c:	226e 000c      	moveal %fp@(12),%a1                         
  rtems_device_name_t *the_dev;                                       
                                                                      
  the_dev = (rtems_device_name_t *)loc->node_access;                  
   41f30:	2050           	moveal %a0@,%a0                             
  if (!the_dev)                                                       
   41f32:	4a88           	tstl %a0                                    
   41f34:	6610           	bnes 41f46 <devFS_stat+0x22>                <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   41f36:	4eb9 0004 ab00 	jsr 4ab00 <__errno>                         <== NOT EXECUTED
   41f3c:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   41f3e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   41f40:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   41f42:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   41f44:	6016           	bras 41f5c <devFS_stat+0x38>                <== NOT EXECUTED
                                                                      
  buf->st_rdev  = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor );
   41f46:	2228 000c      	movel %a0@(12),%d1                          
                                                                      
  buf->st_mode = the_dev->mode;                                       
   41f4a:	4280           	clrl %d0                                    
                                                                      
  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 );
   41f4c:	2368 0008 0016 	movel %a0@(8),%a1@(22)                      
                                                                      
  buf->st_mode = the_dev->mode;                                       
   41f52:	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 );
   41f58:	2341 001a      	movel %d1,%a1@(26)                          
                                                                      
  buf->st_mode = the_dev->mode;                                       
                                                                      
  return 0;                                                           
}                                                                     
   41f5c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041f60 <devFS_write>: ssize_t devFS_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   41f60:	4e56 ffe4      	linkw %fp,#-28                              
   41f64:	206e 0008      	moveal %fp@(8),%a0                          
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   41f68:	486e ffe4      	pea %fp@(-28)                               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   41f6c:	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;               
   41f72:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
   41f76:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
   41f7c:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   41f82:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_write(                                            
   41f86:	2f29 000c      	movel %a1@(12),%sp@-                        
   41f8a:	2f29 0008      	movel %a1@(8),%sp@-                         
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   41f8e:	2028 000c      	movel %a0@(12),%d0                          
   41f92:	2228 0010      	movel %a0@(16),%d1                          
  rtems_status_code       status;                                     
  rtems_device_name_t    *np;                                         
                                                                      
  np           = (rtems_device_name_t *)iop->file_info;               
                                                                      
  args.iop         = iop;                                             
   41f96:	2d48 ffe4      	movel %a0,%fp@(-28)                         
  args.offset      = iop->offset;                                     
   41f9a:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   41f9e:	2d41 ffec      	movel %d1,%fp@(-20)                         
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   41fa2:	4eb9 0004 5acc 	jsr 45acc <rtems_io_write>                  
    np->major,                                                        
    np->minor,                                                        
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   41fa8:	4fef 000c      	lea %sp@(12),%sp                            
   41fac:	4a80           	tstl %d0                                    
   41fae:	670c           	beqs 41fbc <devFS_write+0x5c>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   41fb0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41fb2:	4eb9 0004 85d4 	jsr 485d4 <rtems_deviceio_errno>            <== NOT EXECUTED
   41fb8:	588f           	addql #4,%sp                                <== NOT EXECUTED
   41fba:	6004           	bras 41fc0 <devFS_write+0x60>               <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   41fbc:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   41fc0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ce74 <device_close>: */ int device_close( rtems_libio_t *iop ) {
   4ce74:	4e56 fff4      	linkw %fp,#-12                              
   4ce78:	226e 0008      	moveal %fp@(8),%a1                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close(                                            
   4ce7c:	486e fff4      	pea %fp@(-12)                               
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode = iop->file_info;                                         
   4ce80:	2069 0038      	moveal %a1@(56),%a0                         
                                                                      
  args.iop   = iop;                                                   
   4ce84:	2d49 fff4      	movel %a1,%fp@(-12)                         
  args.flags = 0;                                                     
   4ce88:	42ae fff8      	clrl %fp@(-8)                               
  args.mode  = 0;                                                     
   4ce8c:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_close(                                            
   4ce90:	2f28 0050      	movel %a0@(80),%sp@-                        
   4ce94:	2f28 004c      	movel %a0@(76),%sp@-                        
   4ce98:	4eb9 0004 dd98 	jsr 4dd98 <rtems_io_close>                  
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status ) {                                                     
   4ce9e:	4fef 000c      	lea %sp@(12),%sp                            
   4cea2:	4a80           	tstl %d0                                    
   4cea4:	670a           	beqs 4ceb0 <device_close+0x3c>              <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4cea6:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4cea8:	4eb9 0004 e0b8 	jsr 4e0b8 <rtems_deviceio_errno>            <== NOT EXECUTED
   4ceae:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
   4ceb0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004cd62 <device_ioctl>: int device_ioctl( rtems_libio_t *iop, uint32_t command, void *buffer ) {
   4cd62:	4e56 fff0      	linkw %fp,#-16                              
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
  args.buffer  = buffer;                                              
   4cd66:	2d6e 0010 fff8 	movel %fp@(16),%fp@(-8)                     
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
   4cd6c:	486e fff0      	pea %fp@(-16)                               
int device_ioctl(                                                     
  rtems_libio_t *iop,                                                 
  uint32_t       command,                                             
  void          *buffer                                               
)                                                                     
{                                                                     
   4cd70:	226e 0008      	moveal %fp@(8),%a1                          
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
   4cd74:	2d6e 000c fff4 	movel %fp@(12),%fp@(-12)                    
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
   4cd7a:	2069 0038      	moveal %a1@(56),%a0                         
{                                                                     
  rtems_libio_ioctl_args_t  args;                                     
  rtems_status_code         status;                                   
  IMFS_jnode_t             *the_jnode;                                
                                                                      
  args.iop     = iop;                                                 
   4cd7e:	2d49 fff0      	movel %a1,%fp@(-16)                         
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  status = rtems_io_control(                                          
   4cd82:	2f28 0050      	movel %a0@(80),%sp@-                        
   4cd86:	2f28 004c      	movel %a0@(76),%sp@-                        
   4cd8a:	4eb9 0004 ddf0 	jsr 4ddf0 <rtems_io_control>                
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   4cd90:	4fef 000c      	lea %sp@(12),%sp                            
   4cd94:	4a80           	tstl %d0                                    
   4cd96:	670c           	beqs 4cda4 <device_ioctl+0x42>              <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4cd98:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4cd9a:	4eb9 0004 e0b8 	jsr 4e0b8 <rtems_deviceio_errno>            <== NOT EXECUTED
   4cda0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4cda2:	6004           	bras 4cda8 <device_ioctl+0x46>              <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
   4cda4:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   4cda8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ceb4 <device_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
   4ceb4:	4e56 fff4      	linkw %fp,#-12                              
   4ceb8:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
   4cebc:	486e fff4      	pea %fp@(-12)                               
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
   4cec0:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     
{                                                                     
  rtems_libio_open_close_args_t  args;                                
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
   4cec6:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
   4ceca:	2d6e 0014 fffc 	movel %fp@(20),%fp@(-4)                     
  rtems_status_code              status;                              
  IMFS_jnode_t                  *the_jnode;                           
                                                                      
  the_jnode  = iop->file_info;                                        
                                                                      
  args.iop   = iop;                                                   
   4ced0:	2d48 fff4      	movel %a0,%fp@(-12)                         
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open(                                             
   4ced4:	2f29 0050      	movel %a1@(80),%sp@-                        
   4ced8:	2f29 004c      	movel %a1@(76),%sp@-                        
   4cedc:	4eb9 0004 de48 	jsr 4de48 <rtems_io_open>                   
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
  if ( status )                                                       
   4cee2:	4fef 000c      	lea %sp@(12),%sp                            
   4cee6:	4a80           	tstl %d0                                    
   4cee8:	670a           	beqs 4cef4 <device_open+0x40>               <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4ceea:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4ceec:	4eb9 0004 e0b8 	jsr 4e0b8 <rtems_deviceio_errno>            <== NOT EXECUTED
   4cef2:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
   4cef4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ce10 <device_read>: ssize_t device_read( rtems_libio_t *iop, void *buffer, size_t count ) {
   4ce10:	4e56 ffe4      	linkw %fp,#-28                              <== NOT EXECUTED
   4ce14:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_read(                                             
   4ce18:	486e ffe4      	pea %fp@(-28)                               <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   4ce1c:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     <== NOT EXECUTED
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
   4ce22:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    <== NOT EXECUTED
  args.count       = count;                                           
   4ce28:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    <== NOT EXECUTED
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
   4ce2e:	2268 0038      	moveal %a0@(56),%a1                         <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   4ce32:	2028 000c      	movel %a0@(12),%d0                          <== NOT EXECUTED
   4ce36:	2228 0010      	movel %a0@(16),%d1                          <== NOT EXECUTED
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
   4ce3a:	2d48 ffe4      	movel %a0,%fp@(-28)                         <== NOT EXECUTED
  args.offset      = iop->offset;                                     
   4ce3e:	2d40 ffe8      	movel %d0,%fp@(-24)                         <== NOT EXECUTED
   4ce42:	2d41 ffec      	movel %d1,%fp@(-20)                         <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   4ce46:	42ae fffc      	clrl %fp@(-4)                               <== NOT EXECUTED
                                                                      
  status = rtems_io_read(                                             
   4ce4a:	2f29 0050      	movel %a1@(80),%sp@-                        <== NOT EXECUTED
   4ce4e:	2f29 004c      	movel %a1@(76),%sp@-                        <== NOT EXECUTED
   4ce52:	4eb9 0004 dea0 	jsr 4dea0 <rtems_io_read>                   <== NOT EXECUTED
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   4ce58:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4ce5c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4ce5e:	670c           	beqs 4ce6c <device_read+0x5c>               <== NOT EXECUTED
    return rtems_deviceio_errno(status);                              
   4ce60:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4ce62:	4eb9 0004 e0b8 	jsr 4e0b8 <rtems_deviceio_errno>            <== NOT EXECUTED
   4ce68:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4ce6a:	6004           	bras 4ce70 <device_read+0x60>               <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   4ce6c:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
}                                                                     
   4ce70:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004cdac <device_write>: ssize_t device_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   4cdac:	4e56 ffe4      	linkw %fp,#-28                              
   4cdb0:	206e 0008      	moveal %fp@(8),%a0                          
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
                                                                      
  status = rtems_io_write(                                            
   4cdb4:	486e ffe4      	pea %fp@(-28)                               
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
   4cdb8:	2d68 0014 fff8 	movel %a0@(20),%fp@(-8)                     
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
   4cdbe:	2d6e 000c fff0 	movel %fp@(12),%fp@(-16)                    
  args.count       = count;                                           
   4cdc4:	2d6e 0010 fff4 	movel %fp@(16),%fp@(-12)                    
{                                                                     
  rtems_libio_rw_args_t   args;                                       
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
   4cdca:	2268 0038      	moveal %a0@(56),%a1                         
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
   4cdce:	2028 000c      	movel %a0@(12),%d0                          
   4cdd2:	2228 0010      	movel %a0@(16),%d1                          
  rtems_status_code       status;                                     
  IMFS_jnode_t           *the_jnode;                                  
                                                                      
  the_jnode = iop->file_info;                                         
                                                                      
  args.iop         = iop;                                             
   4cdd6:	2d48 ffe4      	movel %a0,%fp@(-28)                         
  args.offset      = iop->offset;                                     
   4cdda:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   4cdde:	2d41 ffec      	movel %d1,%fp@(-20)                         
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
   4cde2:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  status = rtems_io_write(                                            
   4cde6:	2f29 0050      	movel %a1@(80),%sp@-                        
   4cdea:	2f29 004c      	movel %a1@(76),%sp@-                        
   4cdee:	4eb9 0004 def8 	jsr 4def8 <rtems_io_write>                  
    the_jnode->info.device.major,                                     
    the_jnode->info.device.minor,                                     
    (void *) &args                                                    
  );                                                                  
                                                                      
  if ( status )                                                       
   4cdf4:	4fef 000c      	lea %sp@(12),%sp                            
   4cdf8:	4a80           	tstl %d0                                    
   4cdfa:	670c           	beqs 4ce08 <device_write+0x5c>              <== ALWAYS TAKEN
    return rtems_deviceio_errno(status);                              
   4cdfc:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4cdfe:	4eb9 0004 e0b8 	jsr 4e0b8 <rtems_deviceio_errno>            <== NOT EXECUTED
   4ce04:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4ce06:	6004           	bras 4ce0c <device_write+0x60>              <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
   4ce08:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   4ce0c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000442ca <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
   442ca:	4e56 fff4      	linkw %fp,#-12                              
   442ce:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   442d2:	246e 0008      	moveal %fp@(8),%a2                          
	rtems_interrupt_level level;                                         
	rtems_status_code sc;                                                
                                                                      
	if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {            
   442d6:	4aaa 00b4      	tstl %a2@(180)                              
   442da:	674e           	beqs 4432a <drainOutput+0x60>               
		rtems_interrupt_disable (level);                                    
   442dc:	243c 0000 0700 	movel #1792,%d2                             
   442e2:	2202           	movel %d2,%d1                               
   442e4:	40c0           	movew %sr,%d0                               
   442e6:	8280           	orl %d0,%d1                                 
   442e8:	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,             
   442ea:	47f9 0004 57c0 	lea 457c0 <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) {                
   442f0:	602a           	bras 4431c <drainOutput+0x52>               
			tty->rawOutBufState = rob_wait;                                    
   442f2:	7202           	moveq #2,%d1                                
   442f4:	2541 0094      	movel %d1,%a2@(148)                         
			rtems_interrupt_enable (level);                                    
   442f8:	46c0           	movew %d0,%sr                               
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
   442fa:	42a7           	clrl %sp@-                                  
   442fc:	42a7           	clrl %sp@-                                  
   442fe:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44302:	4e93           	jsr %a3@                                    
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
   44304:	4fef 000c      	lea %sp@(12),%sp                            
   44308:	4a80           	tstl %d0                                    
   4430a:	6708           	beqs 44314 <drainOutput+0x4a>               <== ALWAYS TAKEN
				rtems_fatal_error_occurred (sc);                                  
   4430c:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4430e:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
			rtems_interrupt_disable (level);                                   
   44314:	2202           	movel %d2,%d1                               
   44316:	40c0           	movew %sr,%d0                               
   44318:	8280           	orl %d0,%d1                                 
   4431a:	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) {                
   4431c:	206a 0084      	moveal %a2@(132),%a0                        
   44320:	222a 0080      	movel %a2@(128),%d1                         
   44324:	b288           	cmpl %a0,%d1                                
   44326:	66ca           	bnes 442f2 <drainOutput+0x28>               
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
   44328:	46c0           	movew %d0,%sr                               
	}                                                                    
}                                                                     
   4432a:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   44330:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042d14 <dup2>: int dup2( int fildes, int fildes2 ) {
   42d14:	4e56 ffa8      	linkw %fp,#-88                              
   42d18:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
   42d1c:	280e           	movel %fp,%d4                               
   42d1e:	0684 ffff ffba 	addil #-70,%d4                              
   42d24:	45f9 0004 3478 	lea 43478 <fstat>,%a2                       
   42d2a:	2f04           	movel %d4,%sp@-                             
                                                                      
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
   42d2c:	242e 0008      	movel %fp@(8),%d2                           
   42d30:	262e 000c      	movel %fp@(12),%d3                          
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
   42d34:	2f02           	movel %d2,%sp@-                             
   42d36:	4e92           	jsr %a2@                                    
  if ( status == -1 )                                                 
   42d38:	508f           	addql #8,%sp                                
   42d3a:	72ff           	moveq #-1,%d1                               
   42d3c:	b280           	cmpl %d0,%d1                                
   42d3e:	6720           	beqs 42d60 <dup2+0x4c>                      <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
   42d40:	2f04           	movel %d4,%sp@-                             
   42d42:	2f03           	movel %d3,%sp@-                             
   42d44:	4e92           	jsr %a2@                                    
  if ( status == -1 )                                                 
   42d46:	508f           	addql #8,%sp                                
   42d48:	72ff           	moveq #-1,%d1                               
   42d4a:	b280           	cmpl %d0,%d1                                
   42d4c:	6712           	beqs 42d60 <dup2+0x4c>                      <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
   42d4e:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42d50:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   42d52:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42d54:	4eb9 0004 3128 	jsr 43128 <fcntl>                           <== NOT EXECUTED
   42d5a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   42d5e:	6002           	bras 42d62 <dup2+0x4e>                      <== NOT EXECUTED
   42d60:	70ff           	moveq #-1,%d0                               
}                                                                     
   42d62:	4cee 041c ffa8 	moveml %fp@(-88),%d2-%d4/%a2                
   42d68:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043e30 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
   43e30:	4e56 fff0      	linkw %fp,#-16                              <== NOT EXECUTED
   43e34:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     <== NOT EXECUTED
   43e38:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   43e3c:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
   43e40:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   43e44:	0280 0000 0200 	andil #512,%d0                              <== NOT EXECUTED
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
   43e4a:	1202           	moveb %d2,%d1                               <== NOT EXECUTED
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
   43e4c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43e4e:	674c           	beqs 43e9c <echo+0x6c>                      <== NOT EXECUTED
   43e50:	4280           	clrl %d0                                    <== NOT EXECUTED
   43e52:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   43e54:	2079 0005 d8a4 	moveal 5d8a4 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   43e5a:	1630 0801      	moveb %a0@(00000001,%d0:l),%d3              <== NOT EXECUTED
   43e5e:	49c3           	extbl %d3                                   <== NOT EXECUTED
   43e60:	0803 0005      	btst #5,%d3                                 <== NOT EXECUTED
   43e64:	6736           	beqs 43e9c <echo+0x6c>                      <== NOT EXECUTED
   43e66:	7609           	moveq #9,%d3                                <== NOT EXECUTED
   43e68:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   43e6a:	6730           	beqs 43e9c <echo+0x6c>                      <== NOT EXECUTED
   43e6c:	163c 000a      	moveb #10,%d3                               <== NOT EXECUTED
   43e70:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   43e72:	6728           	beqs 43e9c <echo+0x6c>                      <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
   43e74:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43e76:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        <== NOT EXECUTED
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
   43e7a:	7040           	moveq #64,%d0                               <== NOT EXECUTED
		rtems_termios_puts (echobuf, 2, tty);                               
   43e7c:	486e fffe      	pea %fp@(-2)                                <== NOT EXECUTED
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
   43e80:	b182           	eorl %d0,%d2                                <== NOT EXECUTED
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
   43e82:	765e           	moveq #94,%d3                               <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
   43e84:	1d42 ffff      	moveb %d2,%fp@(-1)                          <== NOT EXECUTED
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
	if ((tty->termios.c_lflag & ECHOCTL) && iscntrl(c) && (c != '\t') && (c != '\n')) {
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
   43e88:	1d43 fffe      	moveb %d3,%fp@(-2)                          <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
   43e8c:	4eb9 0004 3bee 	jsr 43bee <rtems_termios_puts>              <== NOT EXECUTED
 * 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')) {
   43e92:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
		char echobuf[2];                                                    
                                                                      
		echobuf[0] = '^';                                                   
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
   43e96:	54aa 0028      	addql #2,%a2@(40)                           <== NOT EXECUTED
 * 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')) {
   43e9a:	6010           	bras 43eac <echo+0x7c>                      <== NOT EXECUTED
		echobuf[1] = c ^ 0x40;                                              
		rtems_termios_puts (echobuf, 2, tty);                               
		tty->column += 2;                                                   
	}                                                                    
	else {                                                               
		oproc (c, tty);                                                     
   43e9c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43e9e:	0281 0000 00ff 	andil #255,%d1                              <== NOT EXECUTED
   43ea4:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   43ea6:	4eba fe40      	jsr %pc@(43ce8 <oproc>)                     <== NOT EXECUTED
   43eaa:	508f           	addql #8,%sp                                <== NOT EXECUTED
	}                                                                    
}                                                                     
   43eac:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                <== NOT EXECUTED
   43eb2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000429ec <endgrent>: fclose(group_fp); group_fp = fopen("/etc/group", "r"); } void endgrent(void) {
   429ec:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  if (group_fp != NULL)                                               
   429f0:	2039 0005 fb36 	movel 5fb36 <group_fp>,%d0                  <== NOT EXECUTED
   429f6:	670a           	beqs 42a02 <endgrent+0x16>                  <== NOT EXECUTED
    fclose(group_fp);                                                 
   429f8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   429fa:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
   42a00:	588f           	addql #4,%sp                                <== NOT EXECUTED
}                                                                     
   42a02:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042a06 <endpwent>: fclose(passwd_fp); passwd_fp = fopen("/etc/passwd", "r"); } void endpwent(void) {
   42a06:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  if (passwd_fp != NULL)                                              
   42a0a:	2039 0005 fa4e 	movel 5fa4e <passwd_fp>,%d0                 <== NOT EXECUTED
   42a10:	670a           	beqs 42a1c <endpwent+0x16>                  <== NOT EXECUTED
    fclose(passwd_fp);                                                
   42a12:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42a14:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
   42a1a:	588f           	addql #4,%sp                                <== NOT EXECUTED
}                                                                     
   42a1c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043eb6 <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) {
   43eb6:	4e56 ffe4      	linkw %fp,#-28                              <== NOT EXECUTED
   43eba:	48d7 1c3c      	moveml %d2-%d5/%a2-%a4,%sp@                 <== NOT EXECUTED
   43ebe:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
   43ec2:	262e 000c      	movel %fp@(12),%d3                          <== NOT EXECUTED
	if (tty->ccount == 0)                                                
   43ec6:	4aaa 0020      	tstl %a2@(32)                               <== NOT EXECUTED
   43eca:	6700 0178      	beqw 44044 <erase+0x18e>                    <== NOT EXECUTED
		return;                                                             
	if (lineFlag) {                                                      
   43ece:	4a83           	tstl %d3                                    <== NOT EXECUTED
   43ed0:	6700 0162      	beqw 44034 <erase+0x17e>                    <== NOT EXECUTED
		if (!(tty->termios.c_lflag & ECHO)) {                               
   43ed4:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
   43ed8:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   43eda:	6b08           	bmis 43ee4 <erase+0x2e>                     <== NOT EXECUTED
			tty->ccount = 0;                                                   
   43edc:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
			return;                                                            
   43ee0:	6000 0162      	braw 44044 <erase+0x18e>                    <== NOT EXECUTED
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
   43ee4:	0800 0004      	btst #4,%d0                                 <== NOT EXECUTED
   43ee8:	6600 014a      	bnew 44034 <erase+0x17e>                    <== NOT EXECUTED
			tty->ccount = 0;                                                   
			echo (tty->termios.c_cc[VKILL], tty);                              
   43eec:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43eee:	4280           	clrl %d0                                    <== NOT EXECUTED
   43ef0:	102a 0044      	moveb %a2@(68),%d0                          <== NOT EXECUTED
		if (!(tty->termios.c_lflag & ECHO)) {                               
			tty->ccount = 0;                                                   
			return;                                                            
		}                                                                   
		if (!(tty->termios.c_lflag & ECHOE)) {                              
			tty->ccount = 0;                                                   
   43ef4:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
			echo (tty->termios.c_cc[VKILL], tty);                              
   43ef8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43efa:	4eba ff34      	jsr %pc@(43e30 <echo>)                      <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
   43efe:	508f           	addql #8,%sp                                <== NOT EXECUTED
   43f00:	7020           	moveq #32,%d0                               <== NOT EXECUTED
   43f02:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   43f06:	6700 013c      	beqw 44044 <erase+0x18e>                    <== NOT EXECUTED
				echo ('\n', tty);                                                 
   43f0a:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
   43f0e:	700a           	moveq #10,%d0                               <== NOT EXECUTED
   43f10:	602c           	bras 43f3e <erase+0x88>                     <== NOT EXECUTED
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
   43f12:	5388           	subql #1,%a0                                <== NOT EXECUTED
   43f14:	226a 001c      	moveal %a2@(28),%a1                         <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
   43f18:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
		unsigned char c = tty->cbuf[--tty->ccount];                         
   43f1c:	2548 0020      	movel %a0,%a2@(32)                          <== NOT EXECUTED
   43f20:	1431 8800      	moveb %a1@(00000000,%a0:l),%d2              <== NOT EXECUTED
                                                                      
		if (tty->termios.c_lflag & ECHO) {                                  
   43f24:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   43f26:	6a00 0106      	bplw 4402e <erase+0x178>                    <== NOT EXECUTED
			if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {                
   43f2a:	4a83           	tstl %d3                                    <== NOT EXECUTED
   43f2c:	6620           	bnes 43f4e <erase+0x98>                     <== NOT EXECUTED
   43f2e:	0800 0004      	btst #4,%d0                                 <== NOT EXECUTED
   43f32:	661a           	bnes 43f4e <erase+0x98>                     <== NOT EXECUTED
				echo (tty->termios.c_cc[VERASE], tty);                            
   43f34:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
   43f38:	4280           	clrl %d0                                    <== NOT EXECUTED
   43f3a:	102a 0043      	moveb %a2@(67),%d0                          <== NOT EXECUTED
   43f3e:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
   43f42:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            <== NOT EXECUTED
   43f48:	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);                            
   43f4a:	6000 fee4      	braw 43e30 <echo>                           <== NOT EXECUTED
   43f4e:	2279 0005 d8a4 	moveal 5d8a4 <__ctype_ptr__>,%a1            <== NOT EXECUTED
			}                                                                  
			else if (c == '\t') {                                              
   43f54:	7209           	moveq #9,%d1                                <== NOT EXECUTED
   43f56:	0282 0000 00ff 	andil #255,%d2                              <== NOT EXECUTED
   43f5c:	b282           	cmpl %d2,%d1                                <== NOT EXECUTED
   43f5e:	6660           	bnes 43fc0 <erase+0x10a>                    <== NOT EXECUTED
				int col = tty->read_start_column;                                 
   43f60:	242a 002c      	movel %a2@(44),%d2                          <== NOT EXECUTED
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
					if (c == '\t') {                                                 
						col = (col | 7) + 1;                                            
					}                                                                
					else if (iscntrl (c)) {                                          
   43f64:	4201           	clrb %d1                                    <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
   43f66:	0280 0000 0200 	andil #512,%d0                              <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
   43f6c:	602e           	bras 43f9c <erase+0xe6>                     <== NOT EXECUTED
					c = tty->cbuf[i++];                                              
   43f6e:	286a 001c      	moveal %a2@(28),%a4                         <== NOT EXECUTED
					if (c == '\t') {                                                 
   43f72:	4284           	clrl %d4                                    <== NOT EXECUTED
   43f74:	1834 1800      	moveb %a4@(00000000,%d1:l),%d4              <== NOT EXECUTED
   43f78:	7a09           	moveq #9,%d5                                <== NOT EXECUTED
   43f7a:	ba84           	cmpl %d4,%d5                                <== NOT EXECUTED
   43f7c:	6606           	bnes 43f84 <erase+0xce>                     <== NOT EXECUTED
						col = (col | 7) + 1;                                            
   43f7e:	7807           	moveq #7,%d4                                <== NOT EXECUTED
   43f80:	8484           	orl %d4,%d2                                 <== NOT EXECUTED
   43f82:	6014           	bras 43f98 <erase+0xe2>                     <== NOT EXECUTED
					}                                                                
					else if (iscntrl (c)) {                                          
   43f84:	1831 4801      	moveb %a1@(00000001,%d4:l),%d4              <== NOT EXECUTED
   43f88:	49c4           	extbl %d4                                   <== NOT EXECUTED
   43f8a:	0804 0005      	btst #5,%d4                                 <== NOT EXECUTED
   43f8e:	6708           	beqs 43f98 <erase+0xe2>                     <== NOT EXECUTED
						if (tty->termios.c_lflag & ECHOCTL)                             
   43f90:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43f92:	6706           	beqs 43f9a <erase+0xe4>                     <== NOT EXECUTED
							col += 2;                                                      
   43f94:	5482           	addql #2,%d2                                <== NOT EXECUTED
   43f96:	6002           	bras 43f9a <erase+0xe4>                     <== NOT EXECUTED
					}                                                                
					else {                                                           
						col++;                                                          
   43f98:	5282           	addql #1,%d2                                <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
					c = tty->cbuf[i++];                                              
   43f9a:	5281           	addql #1,%d1                                <== NOT EXECUTED
				int i = 0;                                                        
                                                                      
				/*                                                                
				 * Find the character before the tab                              
				 */                                                               
				while (i != tty->ccount) {                                        
   43f9c:	b1c1           	cmpal %d1,%a0                               <== NOT EXECUTED
   43f9e:	66ce           	bnes 43f6e <erase+0xb8>                     <== NOT EXECUTED
   43fa0:	6016           	bras 43fb8 <erase+0x102>                    <== NOT EXECUTED
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
					rtems_termios_puts ("\b", 1, tty);                               
   43fa2:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43fa4:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   43fa8:	4879 0005 c423 	pea 5c423 <rtems_filesystem_default_pathconf+0x3f><== NOT EXECUTED
   43fae:	4e93           	jsr %a3@                                    <== NOT EXECUTED
					tty->column--;                                                   
   43fb0:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43fb4:	53aa 0028      	subql #1,%a2@(40)                           <== NOT EXECUTED
				}                                                                 
                                                                      
				/*                                                                
				 * Back up over the tab                                           
				 */                                                               
				while (tty->column > col) {                                       
   43fb8:	b4aa 0028      	cmpl %a2@(40),%d2                           <== NOT EXECUTED
   43fbc:	6de4           	blts 43fa2 <erase+0xec>                     <== NOT EXECUTED
   43fbe:	606e           	bras 4402e <erase+0x178>                    <== NOT EXECUTED
					rtems_termios_puts ("\b", 1, tty);                               
					tty->column--;                                                   
				}                                                                 
			}                                                                  
			else {                                                             
				if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {            
   43fc0:	5282           	addql #1,%d2                                <== NOT EXECUTED
   43fc2:	1231 2800      	moveb %a1@(00000000,%d2:l),%d1              <== NOT EXECUTED
   43fc6:	49c1           	extbl %d1                                   <== NOT EXECUTED
   43fc8:	0801 0005      	btst #5,%d1                                 <== NOT EXECUTED
   43fcc:	6724           	beqs 43ff2 <erase+0x13c>                    <== NOT EXECUTED
   43fce:	0800 0009      	btst #9,%d0                                 <== NOT EXECUTED
   43fd2:	671e           	beqs 43ff2 <erase+0x13c>                    <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
   43fd4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43fd6:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   43fda:	4879 0005 c421 	pea 5c421 <rtems_filesystem_default_pathconf+0x3d><== NOT EXECUTED
   43fe0:	4e93           	jsr %a3@                                    <== NOT EXECUTED
					if (tty->column)                                                 
   43fe2:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   43fe6:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43fea:	6706           	beqs 43ff2 <erase+0x13c>                    <== NOT EXECUTED
						tty->column--;                                                  
   43fec:	5380           	subql #1,%d0                                <== NOT EXECUTED
   43fee:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
   43ff2:	2079 0005 d8a4 	moveal 5d8a4 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   43ff8:	1030 2800      	moveb %a0@(00000000,%d2:l),%d0              <== NOT EXECUTED
   43ffc:	49c0           	extbl %d0                                   <== NOT EXECUTED
   43ffe:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   44002:	670c           	beqs 44010 <erase+0x15a>                    <== NOT EXECUTED
   44004:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
   44008:	0280 0000 0200 	andil #512,%d0                              <== NOT EXECUTED
   4400e:	671e           	beqs 4402e <erase+0x178>                    <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
   44010:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44012:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   44016:	4879 0005 c421 	pea 5c421 <rtems_filesystem_default_pathconf+0x3d><== NOT EXECUTED
   4401c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
					if (tty->column)                                                 
   4401e:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   44022:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44026:	6706           	beqs 4402e <erase+0x178>                    <== NOT EXECUTED
						tty->column--;                                                  
   44028:	5380           	subql #1,%d0                                <== NOT EXECUTED
   4402a:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
   4402e:	4a83           	tstl %d3                                    <== NOT EXECUTED
   44030:	6608           	bnes 4403a <erase+0x184>                    <== NOT EXECUTED
   44032:	6010           	bras 44044 <erase+0x18e>                    <== NOT EXECUTED
					rtems_termios_puts ("\b \b", 3, tty);                            
					if (tty->column)                                                 
						tty->column--;                                                  
				}                                                                 
				if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {           
					rtems_termios_puts ("\b \b", 3, tty);                            
   44034:	47f9 0004 3bee 	lea 43bee <rtems_termios_puts>,%a3          <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHOK)                                  
				echo ('\n', tty);                                                 
			return;                                                            
		}                                                                   
	}                                                                    
	while (tty->ccount) {                                                
   4403a:	206a 0020      	moveal %a2@(32),%a0                         <== NOT EXECUTED
   4403e:	4a88           	tstl %a0                                    <== NOT EXECUTED
   44040:	6600 fed0      	bnew 43f12 <erase+0x5c>                     <== NOT EXECUTED
			}                                                                  
		}                                                                   
		if (!lineFlag)                                                      
			break;                                                             
	}                                                                    
}                                                                     
   44044:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            <== NOT EXECUTED
   4404a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043128 <fcntl>: int fcntl( int fd, int cmd, ... ) {
   43128:	4e56 fff0      	linkw %fp,#-16                              
   4312c:	202e 0008      	movel %fp@(8),%d0                           
#include <sys/types.h>                                                
#include <sys/stat.h>		/* sigh. for the mode bits for open/creat */   
                                                                      
extern int open _PARAMS ((const char *, int, ...));                   
extern int creat _PARAMS ((const char *, mode_t));                    
extern int fcntl _PARAMS ((int, int, ...));                           
   43130:	41ee 0010      	lea %fp@(16),%a0                            
   43134:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   43138:	262e 000c      	movel %fp@(12),%d3                          
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   4313c:	2279 0005 f1d4 	moveal 5f1d4 <rtems_libio_number_iops>,%a1  
   43142:	b3c0           	cmpal %d0,%a1                               
   43144:	6316           	blss 4315c <fcntl+0x34>                     <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   43146:	2239 0006 08fc 	movel 608fc <rtems_libio_iops>,%d1          
   4314c:	2441           	moveal %d1,%a2                              
   4314e:	ed88           	lsll #6,%d0                                 
   43150:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open(iop);                                     
   43152:	202a 0014      	movel %a2@(20),%d0                          
   43156:	0800 0008      	btst #8,%d0                                 
   4315a:	6612           	bnes 4316e <fcntl+0x46>                     <== ALWAYS TAKEN
   4315c:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         <== NOT EXECUTED
   43162:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   43164:	7209           	moveq #9,%d1                                <== NOT EXECUTED
   43166:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43168:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   4316a:	6000 011e      	braw 4328a <fcntl+0x162>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
   4316e:	7409           	moveq #9,%d2                                
   43170:	b483           	cmpl %d3,%d2                                
   43172:	6500 00de      	bcsw 43252 <fcntl+0x12a>                    
   43176:	343b 3a08      	movew %pc@(43180 <fcntl+0x58>,%d3:l:2),%d2  
   4317a:	48c2           	extl %d2                                    
   4317c:	4efb 2802      	jmp %pc@(43180 <fcntl+0x58>,%d2:l)          
   43180:	0014           	024                                         <== NOT EXECUTED
   43182:	006e           	0156                                        <== NOT EXECUTED
   43184:	007a           	0172                                        <== NOT EXECUTED
   43186:	0092 00a0 00c0 	oril #10485952,%d2                          <== NOT EXECUTED
   4318c:	00c0           	bitrev %d0                                  <== NOT EXECUTED
   4318e:	00c0           	bitrev %d0                                  <== NOT EXECUTED
   43190:	00c0           	bitrev %d0                                  <== NOT EXECUTED
   43192:	00c0           	bitrev %d0                                  <== NOT EXECUTED
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
   43194:	2410           	movel %a0@,%d2                              
      if ( fd2 )                                                      
   43196:	6710           	beqs 431a8 <fcntl+0x80>                     <== ALWAYS TAKEN
        diop = rtems_libio_iop( fd2 );                                
   43198:	b3c2           	cmpal %d2,%a1                               <== NOT EXECUTED
   4319a:	6204           	bhis 431a0 <fcntl+0x78>                     <== NOT EXECUTED
   4319c:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
   4319e:	601a           	bras 431ba <fcntl+0x92>                     <== NOT EXECUTED
   431a0:	2641           	moveal %d1,%a3                              <== NOT EXECUTED
   431a2:	ed8a           	lsll #6,%d2                                 <== NOT EXECUTED
   431a4:	d7c2           	addal %d2,%a3                               <== NOT EXECUTED
   431a6:	6012           	bras 431ba <fcntl+0x92>                     <== NOT EXECUTED
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
   431a8:	4eb9 0004 3848 	jsr 43848 <rtems_libio_allocate>            
   431ae:	2640           	moveal %d0,%a3                              
        if ( diop == 0 ) {                                            
   431b0:	4a80           	tstl %d0                                    
   431b2:	6606           	bnes 431ba <fcntl+0x92>                     <== ALWAYS TAKEN
   431b4:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   431b6:	6000 00d2      	braw 4328a <fcntl+0x162>                    <== 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);                          
   431ba:	240b           	movel %a3,%d2                               
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->handlers   = iop->handlers;                               
   431bc:	276a 003c 003c 	movel %a2@(60),%a3@(60)                     
      diop->file_info  = iop->file_info;                              
   431c2:	276a 0038 0038 	movel %a2@(56),%a3@(56)                     
      diop->flags      = iop->flags;                                  
   431c8:	276a 0014 0014 	movel %a2@(20),%a3@(20)                     
      diop->pathinfo   = iop->pathinfo;                               
   431ce:	4878 0014      	pea 14 <OPER2>                              
   431d2:	486a 0018      	pea %a2@(24)                                
   431d6:	486b 0018      	pea %a3@(24)                                
   431da:	4eb9 0005 039c 	jsr 5039c <memcpy>                          
      ret = (int) (diop - rtems_libio_iops);                          
   431e0:	4fef 000c      	lea %sp@(12),%sp                            
   431e4:	94b9 0006 08fc 	subl 608fc <rtems_libio_iops>,%d2           
   431ea:	ec82           	asrl #6,%d2                                 
   431ec:	6074           	bras 43262 <fcntl+0x13a>                    
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
   431ee:	2400           	movel %d0,%d2                               
   431f0:	720b           	moveq #11,%d1                               
   431f2:	e2aa           	lsrl %d1,%d2                                
   431f4:	7001           	moveq #1,%d0                                
   431f6:	c480           	andl %d0,%d2                                
   431f8:	606c           	bras 43266 <fcntl+0x13e>                    
       *  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 ) )                                        
   431fa:	4a90           	tstl %a0@                                   
   431fc:	6708           	beqs 43206 <fcntl+0xde>                     <== NEVER TAKEN
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
   431fe:	4282           	clrl %d2                                    
   43200:	08c0 000b      	bset #11,%d0                                
   43204:	6006           	bras 4320c <fcntl+0xe4>                     
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
   43206:	4282           	clrl %d2                                    <== NOT EXECUTED
   43208:	0880 000b      	bclr #11,%d0                                <== NOT EXECUTED
   4320c:	2540 0014      	movel %d0,%a2@(20)                          
   43210:	6054           	bras 43266 <fcntl+0x13e>                    
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
   43212:	2f00           	movel %d0,%sp@-                             
   43214:	4eb9 0004 36c0 	jsr 436c0 <rtems_libio_to_fcntl_flags>      
   4321a:	588f           	addql #4,%sp                                
   4321c:	2400           	movel %d0,%d2                               
   4321e:	6042           	bras 43262 <fcntl+0x13a>                    
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
   43220:	2f10           	movel %a0@,%sp@-                            
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
   43222:	4282           	clrl %d2                                    
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
   43224:	4eb9 0004 38e8 	jsr 438e8 <rtems_libio_fcntl_flags>         
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
   4322a:	222a 0014      	movel %a2@(20),%d1                          
   4322e:	588f           	addql #4,%sp                                
   43230:	0280 0000 0201 	andil #513,%d0                              
   43236:	0281 ffff fdfe 	andil #-514,%d1                             
   4323c:	8081           	orl %d1,%d0                                 
   4323e:	60cc           	bras 4320c <fcntl+0xe4>                     
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
   43240:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   43246:	74ff           	moveq #-1,%d2                               
   43248:	2040           	moveal %d0,%a0                              
   4324a:	20bc 0000 0086 	movel #134,%a0@                             
   43250:	6038           	bras 4328a <fcntl+0x162>                    
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
   43252:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   43258:	74ff           	moveq #-1,%d2                               
   4325a:	2040           	moveal %d0,%a0                              
   4325c:	7016           	moveq #22,%d0                               
   4325e:	2080           	movel %d0,%a0@                              
   43260:	6028           	bras 4328a <fcntl+0x162>                    
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
   43262:	4a82           	tstl %d2                                    
   43264:	6d24           	blts 4328a <fcntl+0x162>                    <== NEVER TAKEN
    if (iop->handlers->fcntl_h) {                                     
   43266:	206a 003c      	moveal %a2@(60),%a0                         
   4326a:	2068 0030      	moveal %a0@(48),%a0                         
   4326e:	4a88           	tstl %a0                                    
   43270:	6718           	beqs 4328a <fcntl+0x162>                    <== NEVER TAKEN
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
   43272:	2f0a           	movel %a2,%sp@-                             
   43274:	2f03           	movel %d3,%sp@-                             
   43276:	4e90           	jsr %a0@                                    
      if (err) {                                                      
   43278:	508f           	addql #8,%sp                                
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    if (iop->handlers->fcntl_h) {                                     
      int err = (*iop->handlers->fcntl_h)( cmd, iop );                
   4327a:	2600           	movel %d0,%d3                               
      if (err) {                                                      
   4327c:	670c           	beqs 4328a <fcntl+0x162>                    <== ALWAYS TAKEN
        errno = err;                                                  
   4327e:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         <== NOT EXECUTED
   43284:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   43286:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43288:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   4328a:	2002           	movel %d2,%d0                               
   4328c:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   43292:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000432b8 <fdatasync>: #include <rtems/seterr.h> int fdatasync( int fd ) {
   432b8:	4e56 0000      	linkw %fp,#0                                
   432bc:	202e 0008      	movel %fp@(8),%d0                           
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   432c0:	b0b9 0005 f1d4 	cmpl 5f1d4 <rtems_libio_number_iops>,%d0    
   432c6:	6414           	bccs 432dc <fdatasync+0x24>                 
  iop = rtems_libio_iop( fd );                                        
   432c8:	2079 0006 08fc 	moveal 608fc <rtems_libio_iops>,%a0         
   432ce:	ed88           	lsll #6,%d0                                 
   432d0:	d1c0           	addal %d0,%a0                               
  rtems_libio_check_is_open(iop);                                     
   432d2:	2028 0014      	movel %a0@(20),%d0                          
   432d6:	0800 0008      	btst #8,%d0                                 
   432da:	660e           	bnes 432ea <fdatasync+0x32>                 <== ALWAYS TAKEN
   432dc:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   432e2:	7209           	moveq #9,%d1                                
   432e4:	2040           	moveal %d0,%a0                              
   432e6:	2081           	movel %d1,%a0@                              
   432e8:	6036           	bras 43320 <fdatasync+0x68>                 
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   432ea:	44c0           	movew %d0,%ccr                              
   432ec:	670e           	beqs 432fc <fdatasync+0x44>                 
   432ee:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   432f4:	2040           	moveal %d0,%a0                              
   432f6:	7016           	moveq #22,%d0                               
   432f8:	2080           	movel %d0,%a0@                              
   432fa:	6024           	bras 43320 <fdatasync+0x68>                 
                                                                      
  /*                                                                  
   *  Now process the fdatasync().                                    
   */                                                                 
                                                                      
  if ( !iop->handlers->fdatasync_h )                                  
   432fc:	2268 003c      	moveal %a0@(60),%a1                         
   43300:	2269 002c      	moveal %a1@(44),%a1                         
   43304:	4a89           	tstl %a1                                    
   43306:	6610           	bnes 43318 <fdatasync+0x60>                 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   43308:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   4330e:	2040           	moveal %d0,%a0                              
   43310:	20bc 0000 0086 	movel #134,%a0@                             
   43316:	6008           	bras 43320 <fdatasync+0x68>                 
                                                                      
  return (*iop->handlers->fdatasync_h)( iop );                        
   43318:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   4331c:	4e5e           	unlk %fp                                    
   */                                                                 
                                                                      
  if ( !iop->handlers->fdatasync_h )                                  
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fdatasync_h)( iop );                        
   4331e:	4ed1           	jmp %a1@                                    
}                                                                     
   43320:	70ff           	moveq #-1,%d0                               
   43322:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048f3c <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
   48f3c:	4e56 ffd8      	linkw %fp,#-40                              
   48f40:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
   48f44:	42a7           	clrl %sp@-                                  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
   48f46:	266e 0008      	moveal %fp@(8),%a3                          
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
   48f4a:	42a7           	clrl %sp@-                                  
   48f4c:	2f39 0005 e6e4 	movel 5e6e4 <rtems_pipe_semaphore>,%sp@-    
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
   48f52:	286e 000c      	moveal %fp@(12),%a4                         
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  if (rtems_semaphore_obtain(rtems_pipe_semaphore,                    
   48f56:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
   48f5c:	4fef 000c      	lea %sp@(12),%sp                            
   48f60:	4a80           	tstl %d0                                    
   48f62:	6706           	beqs 48f6a <fifo_open+0x2e>                 <== NEVER TAKEN
   48f64:	74fc           	moveq #-4,%d2                               
   48f66:	6000 0350      	braw 492b8 <fifo_open+0x37c>                
        RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)            
    return -EINTR;                                                    
                                                                      
  pipe = *pipep;                                                      
   48f6a:	2453           	moveal %a3@,%a2                             <== NOT EXECUTED
  if (pipe == NULL) {                                                 
   48f6c:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   48f6e:	6600 0166      	bnew 490d6 <fifo_open+0x19a>                <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
   48f72:	4878 0034      	pea 34 <OPER2+0x20>                         <== NOT EXECUTED
   48f76:	243c 0004 2b08 	movel #273160,%d2                           <== NOT EXECUTED
   48f7c:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
   48f7e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
  if (pipe == NULL)                                                   
   48f80:	588f           	addql #4,%sp                                <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
   48f82:	2440           	moveal %d0,%a2                              <== NOT EXECUTED
   48f84:	2a40           	moveal %d0,%a5                              <== NOT EXECUTED
  if (pipe == NULL)                                                   
   48f86:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48f88:	6700 0148      	beqw 490d2 <fifo_open+0x196>                <== NOT EXECUTED
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
   48f8c:	4878 0034      	pea 34 <OPER2+0x20>                         <== NOT EXECUTED
   48f90:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48f92:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48f94:	4eb9 0004 ea34 	jsr 4ea34 <memset>                          <== NOT EXECUTED
                                                                      
  pipe->Size = PIPE_BUF;                                              
   48f9a:	203c 0000 0200 	movel #512,%d0                              <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
   48fa0:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
   48fa2:	2540 0004      	movel %d0,%a2@(4)                           <== NOT EXECUTED
  pipe->Buffer = malloc(pipe->Size);                                  
   48fa6:	4878 0200      	pea 200 <DBL_MANT_DIG+0x1cb>                <== NOT EXECUTED
   48faa:	4e90           	jsr %a0@                                    <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
   48fac:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
   48fb0:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
  if (! pipe->Buffer)                                                 
   48fb2:	6700 0114      	beqw 490c8 <fifo_open+0x18c>                <== NOT EXECUTED
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
  if (rtems_barrier_create(                                           
   48fb6:	486a 002c      	pea %a2@(44)                                <== NOT EXECUTED
   48fba:	243c 0004 af40 	movel #307008,%d2                           <== NOT EXECUTED
   48fc0:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
   48fc2:	1039 0005 d7d4 	moveb 5d7d4 <c.6783>,%d0                    <== NOT EXECUTED
   48fc8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48fca:	49c0           	extbl %d0                                   <== NOT EXECUTED
   48fcc:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48fce:	0080 5049 7200 	oril #1346990592,%d0                        <== NOT EXECUTED
   48fd4:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48fd6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   48fd8:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   48fdc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48fde:	6600 00de      	bnew 490be <fifo_open+0x182>                <== NOT EXECUTED
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
   48fe2:	486a 0030      	pea %a2@(48)                                <== NOT EXECUTED
   48fe6:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
   48fe8:	1039 0005 d7d4 	moveb 5d7d4 <c.6783>,%d0                    <== NOT EXECUTED
   48fee:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48ff0:	49c0           	extbl %d0                                   <== NOT EXECUTED
   48ff2:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48ff4:	0080 5049 7700 	oril #1346991872,%d0                        <== NOT EXECUTED
   48ffa:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48ffc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   48ffe:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   49002:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49004:	6600 00ac      	bnew 490b2 <fifo_open+0x176>                <== NOT EXECUTED
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
   49008:	486a 0028      	pea %a2@(40)                                <== NOT EXECUTED
   4900c:	1039 0005 d7d4 	moveb 5d7d4 <c.6783>,%d0                    <== NOT EXECUTED
   49012:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   49014:	4878 0010      	pea 10 <INVALID_OPERATION>                  <== NOT EXECUTED
   49018:	49c0           	extbl %d0                                   <== NOT EXECUTED
   4901a:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   4901e:	0080 5049 7300 	oril #1346990848,%d0                        <== NOT EXECUTED
   49024:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   49026:	4eb9 0004 5588 	jsr 45588 <rtems_semaphore_create>          <== NOT EXECUTED
   4902c:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   49030:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49032:	6672           	bnes 490a6 <fifo_open+0x16a>                <== NOT EXECUTED
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Get (                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
   49034:	260e           	movel %fp,%d3                               <== NOT EXECUTED
   49036:	5183           	subql #8,%d3                                <== NOT EXECUTED
   49038:	243c 0004 6e40 	movel #290368,%d2                           <== NOT EXECUTED
   4903e:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
   49040:	4bf9 0004 76b2 	lea 476b2 <_Thread_Enable_dispatch>,%a5     <== NOT EXECUTED
   49046:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   49048:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   4904c:	4879 0005 f77e 	pea 5f77e <_Barrier_Information>            <== NOT EXECUTED
   49052:	4e90           	jsr %a0@                                    <== NOT EXECUTED
/* 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
   49054:	223c 1000 0000 	movel #268435456,%d1                        <== NOT EXECUTED
   4905a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4905c:	83a8 004c      	orl %d1,%a0@(76)                            <== NOT EXECUTED
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
   49060:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   49062:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
   49064:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   49066:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   4906a:	4879 0005 f77e 	pea 5f77e <_Barrier_Information>            <== NOT EXECUTED
   49070:	4e90           	jsr %a0@                                    <== NOT EXECUTED
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
   49072:	223c 1000 0000 	movel #268435456,%d1                        <== NOT EXECUTED
   49078:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4907a:	83a8 004c      	orl %d1,%a0@(76)                            <== NOT EXECUTED
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
   4907e:	4e95           	jsr %a5@                                    <== NOT EXECUTED
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
   49080:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   49084:	1039 0005 d7d4 	moveb 5d7d4 <c.6783>,%d0                    <== NOT EXECUTED
   4908a:	49c0           	extbl %d0                                   <== NOT EXECUTED
   4908c:	2200           	movel %d0,%d1                               <== NOT EXECUTED
   4908e:	5281           	addql #1,%d1                                <== NOT EXECUTED
   49090:	13c1 0005 d7d4 	moveb %d1,5d7d4 <c.6783>                    <== NOT EXECUTED
   49096:	727a           	moveq #122,%d1                              <== NOT EXECUTED
   49098:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4909a:	663a           	bnes 490d6 <fifo_open+0x19a>                <== NOT EXECUTED
    c = 'a';                                                          
   4909c:	7061           	moveq #97,%d0                               <== NOT EXECUTED
   4909e:	13c0 0005 d7d4 	moveb %d0,5d7d4 <c.6783>                    <== NOT EXECUTED
   490a4:	6030           	bras 490d6 <fifo_open+0x19a>                <== NOT EXECUTED
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
   490a6:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   490aa:	4eb9 0004 aff4 	jsr 4aff4 <rtems_barrier_delete>            <== NOT EXECUTED
   490b0:	588f           	addql #4,%sp                                <== NOT EXECUTED
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
   490b2:	2f2d 002c      	movel %a5@(44),%sp@-                        <== NOT EXECUTED
   490b6:	4eb9 0004 aff4 	jsr 4aff4 <rtems_barrier_delete>            <== NOT EXECUTED
   490bc:	588f           	addql #4,%sp                                <== NOT EXECUTED
err_rbar:                                                             
  free(pipe->Buffer);                                                 
   490be:	2f15           	movel %a5@,%sp@-                            <== NOT EXECUTED
   490c0:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
   490c6:	588f           	addql #4,%sp                                <== NOT EXECUTED
err_buf:                                                              
  free(pipe);                                                         
   490c8:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   490ca:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
   490d0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   490d2:	74f4           	moveq #-12,%d2                              <== NOT EXECUTED
   490d4:	6030           	bras 49106 <fifo_open+0x1ca>                <== NOT EXECUTED
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   490d6:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   490d8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   490da:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   490de:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
   490e4:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   490e8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   490ea:	6704           	beqs 490f0 <fifo_open+0x1b4>                <== NOT EXECUTED
   490ec:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
   490ee:	6002           	bras 490f2 <fifo_open+0x1b6>                <== NOT EXECUTED
   490f0:	4282           	clrl %d2                                    <== NOT EXECUTED
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
   490f2:	4a93           	tstl %a3@                                   <== NOT EXECUTED
   490f4:	6610           	bnes 49106 <fifo_open+0x1ca>                <== NOT EXECUTED
    if (err)                                                          
   490f6:	4a82           	tstl %d2                                    <== NOT EXECUTED
   490f8:	670a           	beqs 49104 <fifo_open+0x1c8>                <== NOT EXECUTED
      pipe_free(pipe);                                                
   490fa:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   490fc:	4eba fd2e      	jsr %pc@(48e2c <pipe_free>)                 <== NOT EXECUTED
   49100:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49102:	6002           	bras 49106 <fifo_open+0x1ca>                <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
   49104:	268a           	movel %a2,%a3@                              <== NOT EXECUTED
  }                                                                   
                                                                      
out:                                                                  
  rtems_semaphore_release(rtems_pipe_semaphore);                      
   49106:	2f39 0005 e6e4 	movel 5e6e4 <rtems_pipe_semaphore>,%sp@-    <== NOT EXECUTED
   4910c:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
   49112:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49114:	4a82           	tstl %d2                                    <== NOT EXECUTED
   49116:	6600 01a0      	bnew 492b8 <fifo_open+0x37c>                <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
   4911a:	7006           	moveq #6,%d0                                <== NOT EXECUTED
   4911c:	7204           	moveq #4,%d1                                <== NOT EXECUTED
   4911e:	c0ac 0014      	andl %a4@(20),%d0                           <== NOT EXECUTED
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
   49122:	2453           	moveal %a3@,%a2                             <== NOT EXECUTED
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
   49124:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   49126:	6700 009c      	beqw 491c4 <fifo_open+0x288>                <== NOT EXECUTED
   4912a:	123c 0006      	moveb #6,%d1                                <== NOT EXECUTED
   4912e:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   49130:	6700 0122      	beqw 49254 <fifo_open+0x318>                <== NOT EXECUTED
   49134:	123c 0002      	moveb #2,%d1                                <== NOT EXECUTED
   49138:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4913a:	6600 0160      	bnew 4929c <fifo_open+0x360>                <== NOT EXECUTED
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
   4913e:	202a 0010      	movel %a2@(16),%d0                          <== NOT EXECUTED
   49142:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   49144:	5288           	addql #1,%a0                                <== NOT EXECUTED
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
   49146:	52aa 0020      	addql #1,%a2@(32)                           <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
   4914a:	2548 0010      	movel %a0,%a2@(16)                          <== NOT EXECUTED
   4914e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49150:	6610           	bnes 49162 <fifo_open+0x226>                <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
   49152:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   49156:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   4915a:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   49160:	508f           	addql #8,%sp                                <== NOT EXECUTED
                                                                      
      if (pipe->Writers == 0) {                                       
   49162:	4aaa 0014      	tstl %a2@(20)                               <== NOT EXECUTED
   49166:	6600 0134      	bnew 4929c <fifo_open+0x360>                <== NOT EXECUTED
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
   4916a:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4916c:	c0ac 0014      	andl %a4@(20),%d0                           <== NOT EXECUTED
   49170:	6600 012a      	bnew 4929c <fifo_open+0x360>                <== NOT EXECUTED
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
   49174:	2a2a 0024      	movel %a2@(36),%d5                          <== NOT EXECUTED
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   49178:	4bf9 0004 57c0 	lea 457c0 <rtems_semaphore_obtain>,%a5      <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4917e:	283c 0004 58c4 	movel #284868,%d4                           <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
   49184:	263c 0004 b0f4 	movel #307444,%d3                           <== NOT EXECUTED
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4918a:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4918e:	2044           	moveal %d4,%a0                              <== NOT EXECUTED
   49190:	4e90           	jsr %a0@                                    <== NOT EXECUTED
          if (! PIPE_READWAIT(pipe))                                  
   49192:	2043           	moveal %d3,%a0                              <== NOT EXECUTED
   49194:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   49196:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   4919a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4919c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   491a0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   491a2:	6600 0106      	bnew 492aa <fifo_open+0x36e>                <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   491a6:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   491a8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   491aa:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   491ae:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   491b0:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   491b4:	4a80           	tstl %d0                                    <== NOT EXECUTED
   491b6:	6600 00f2      	bnew 492aa <fifo_open+0x36e>                <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
   491ba:	baaa 0024      	cmpl %a2@(36),%d5                           <== NOT EXECUTED
   491be:	67ca           	beqs 4918a <fifo_open+0x24e>                <== NOT EXECUTED
   491c0:	6000 00da      	braw 4929c <fifo_open+0x360>                <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
   491c4:	202a 0014      	movel %a2@(20),%d0                          <== NOT EXECUTED
   491c8:	2200           	movel %d0,%d1                               <== NOT EXECUTED
   491ca:	5281           	addql #1,%d1                                <== NOT EXECUTED
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
   491cc:	52aa 0024      	addql #1,%a2@(36)                           <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
   491d0:	2541 0014      	movel %d1,%a2@(20)                          <== NOT EXECUTED
   491d4:	4a80           	tstl %d0                                    <== NOT EXECUTED
   491d6:	6610           	bnes 491e8 <fifo_open+0x2ac>                <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
   491d8:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   491dc:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   491e0:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   491e6:	508f           	addql #8,%sp                                <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
   491e8:	4aaa 0010      	tstl %a2@(16)                               <== NOT EXECUTED
   491ec:	6600 00ae      	bnew 4929c <fifo_open+0x360>                <== NOT EXECUTED
   491f0:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   491f2:	c0ac 0014      	andl %a4@(20),%d0                           <== NOT EXECUTED
   491f6:	6712           	beqs 4920a <fifo_open+0x2ce>                <== NOT EXECUTED
	PIPE_UNLOCK(pipe);                                                   
   491f8:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   491fc:	74fa           	moveq #-6,%d2                               <== NOT EXECUTED
   491fe:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
        err = -ENXIO;                                                 
        goto out_error;                                               
   49204:	588f           	addql #4,%sp                                <== NOT EXECUTED
   49206:	6000 00a4      	braw 492ac <fifo_open+0x370>                <== NOT EXECUTED
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
   4920a:	2a2a 0020      	movel %a2@(32),%d5                          <== NOT EXECUTED
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4920e:	4bf9 0004 57c0 	lea 457c0 <rtems_semaphore_obtain>,%a5      <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   49214:	283c 0004 58c4 	movel #284868,%d4                           <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
   4921a:	263c 0004 b0f4 	movel #307444,%d3                           <== NOT EXECUTED
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   49220:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   49224:	2044           	moveal %d4,%a0                              <== NOT EXECUTED
   49226:	4e90           	jsr %a0@                                    <== NOT EXECUTED
          if (! PIPE_WRITEWAIT(pipe))                                 
   49228:	2043           	moveal %d3,%a0                              <== NOT EXECUTED
   4922a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4922c:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   49230:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   49232:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   49236:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49238:	6670           	bnes 492aa <fifo_open+0x36e>                <== NOT EXECUTED
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4923a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4923c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4923e:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   49242:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   49244:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   49248:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4924a:	665e           	bnes 492aa <fifo_open+0x36e>                <== NOT EXECUTED
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
   4924c:	baaa 0020      	cmpl %a2@(32),%d5                           <== NOT EXECUTED
   49250:	67ce           	beqs 49220 <fifo_open+0x2e4>                <== NOT EXECUTED
   49252:	6048           	bras 4929c <fifo_open+0x360>                <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
   49254:	202a 0010      	movel %a2@(16),%d0                          <== NOT EXECUTED
   49258:	2200           	movel %d0,%d1                               <== NOT EXECUTED
   4925a:	5281           	addql #1,%d1                                <== NOT EXECUTED
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
   4925c:	52aa 0020      	addql #1,%a2@(32)                           <== NOT EXECUTED
      if (pipe->Readers ++ == 0)                                      
   49260:	2541 0010      	movel %d1,%a2@(16)                          <== NOT EXECUTED
   49264:	4a80           	tstl %d0                                    <== NOT EXECUTED
   49266:	6610           	bnes 49278 <fifo_open+0x33c>                <== NOT EXECUTED
        PIPE_WAKEUPWRITERS(pipe);                                     
   49268:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   4926c:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   49270:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   49276:	508f           	addql #8,%sp                                <== NOT EXECUTED
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
   49278:	202a 0014      	movel %a2@(20),%d0                          <== NOT EXECUTED
   4927c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4927e:	5288           	addql #1,%a0                                <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
   49280:	52aa 0024      	addql #1,%a2@(36)                           <== NOT EXECUTED
      if (pipe->Writers ++ == 0)                                      
   49284:	2548 0014      	movel %a0,%a2@(20)                          <== NOT EXECUTED
   49288:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4928a:	6610           	bnes 4929c <fifo_open+0x360>                <== NOT EXECUTED
        PIPE_WAKEUPREADERS(pipe);                                     
   4928c:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   49290:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   49294:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   4929a:	508f           	addql #8,%sp                                <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4929c:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   492a0:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
  return 0;                                                           
   492a6:	588f           	addql #4,%sp                                <== NOT EXECUTED
   492a8:	600e           	bras 492b8 <fifo_open+0x37c>                <== NOT EXECUTED
   492aa:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
   492ac:	2f0c           	movel %a4,%sp@-                             <== NOT EXECUTED
   492ae:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   492b0:	4eb9 0004 8e74 	jsr 48e74 <pipe_release>                    <== NOT EXECUTED
  return err;                                                         
   492b6:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   492b8:	2002           	movel %d2,%d0                               
   492ba:	4cee 3c3c ffd8 	moveml %fp@(-40),%d2-%d5/%a2-%a5            
   492c0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043328 <fpathconf>: long fpathconf( int fd, int name ) {
   43328:	4e56 0000      	linkw %fp,#0                                
   4332c:	222e 0008      	movel %fp@(8),%d1                           
   43330:	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);                                           
   43334:	b2b9 0005 f1d4 	cmpl 5f1d4 <rtems_libio_number_iops>,%d1    
   4333a:	6414           	bccs 43350 <fpathconf+0x28>                 
  iop = rtems_libio_iop(fd);                                          
   4333c:	2079 0006 08fc 	moveal 608fc <rtems_libio_iops>,%a0         
   43342:	ed89           	lsll #6,%d1                                 
   43344:	d1c1           	addal %d1,%a0                               
  rtems_libio_check_is_open(iop);                                     
   43346:	2228 0014      	movel %a0@(20),%d1                          
   4334a:	0801 0008      	btst #8,%d1                                 
   4334e:	6612           	bnes 43362 <fpathconf+0x3a>                 <== ALWAYS TAKEN
   43350:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   43356:	72ff           	moveq #-1,%d1                               
   43358:	2040           	moveal %d0,%a0                              
   4335a:	7009           	moveq #9,%d0                                
   4335c:	2080           	movel %d0,%a0@                              
   4335e:	6000 008a      	braw 433ea <fpathconf+0xc2>                 
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
   43362:	0801 0001      	btst #1,%d1                                 
   43366:	6774           	beqs 433dc <fpathconf+0xb4>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
   43368:	2068 0028      	moveal %a0@(40),%a0                         
                                                                      
  switch ( name ) {                                                   
   4336c:	720b           	moveq #11,%d1                               
   4336e:	b280           	cmpl %d0,%d1                                
   43370:	656a           	bcss 433dc <fpathconf+0xb4>                 
   43372:	303b 0a08      	movew %pc@(4337c <fpathconf+0x54>,%d0:l:2),%d0
   43376:	48c0           	extl %d0                                    
   43378:	4efb 0802      	jmp %pc@(4337c <fpathconf+0x54>,%d0:l)      
   4337c:	0018           	030                                         <== NOT EXECUTED
   4337e:	001e           	036                                         <== NOT EXECUTED
   43380:	0024           	044                                         <== NOT EXECUTED
   43382:	002a           	052                                         <== NOT EXECUTED
   43384:	0030           	060                                         <== NOT EXECUTED
   43386:	0036           	066                                         <== NOT EXECUTED
   43388:	003c           	074                                         <== NOT EXECUTED
   4338a:	0042           	0102                                        <== NOT EXECUTED
   4338c:	0048           	0110                                        <== NOT EXECUTED
   4338e:	004e           	0116                                        <== NOT EXECUTED
   43390:	0054           	0124                                        <== NOT EXECUTED
   43392:	005a           	0132                                        <== NOT EXECUTED
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
   43394:	2228 0038      	movel %a0@(56),%d1                          
      break;                                                          
   43398:	6050           	bras 433ea <fpathconf+0xc2>                 
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
   4339a:	2228 003c      	movel %a0@(60),%d1                          
      break;                                                          
   4339e:	604a           	bras 433ea <fpathconf+0xc2>                 
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
   433a0:	2228 0040      	movel %a0@(64),%d1                          
      break;                                                          
   433a4:	6044           	bras 433ea <fpathconf+0xc2>                 
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
   433a6:	2228 0044      	movel %a0@(68),%d1                          
      break;                                                          
   433aa:	603e           	bras 433ea <fpathconf+0xc2>                 
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
   433ac:	2228 0048      	movel %a0@(72),%d1                          
      break;                                                          
   433b0:	6038           	bras 433ea <fpathconf+0xc2>                 
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
   433b2:	2228 004c      	movel %a0@(76),%d1                          
      break;                                                          
   433b6:	6032           	bras 433ea <fpathconf+0xc2>                 
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
   433b8:	2228 0054      	movel %a0@(84),%d1                          
      break;                                                          
   433bc:	602c           	bras 433ea <fpathconf+0xc2>                 
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
   433be:	2228 0058      	movel %a0@(88),%d1                          
      break;                                                          
   433c2:	6026           	bras 433ea <fpathconf+0xc2>                 
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
   433c4:	2228 0064      	movel %a0@(100),%d1                         
      break;                                                          
   433c8:	6020           	bras 433ea <fpathconf+0xc2>                 
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
   433ca:	2228 0050      	movel %a0@(80),%d1                          
      break;                                                          
   433ce:	601a           	bras 433ea <fpathconf+0xc2>                 
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
   433d0:	2228 005c      	movel %a0@(92),%d1                          
      break;                                                          
   433d4:	6014           	bras 433ea <fpathconf+0xc2>                 
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
   433d6:	2228 0060      	movel %a0@(96),%d1                          
      break;                                                          
   433da:	600e           	bras 433ea <fpathconf+0xc2>                 
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   433dc:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   433e2:	72ff           	moveq #-1,%d1                               
   433e4:	2040           	moveal %d0,%a0                              
   433e6:	7016           	moveq #22,%d0                               
   433e8:	2080           	movel %d0,%a0@                              
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   433ea:	2001           	movel %d1,%d0                               
   433ec:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042828 <free>: void free( void *ptr ) { MSBUMP(free_calls, 1);
   42828:	4e56 0000      	linkw %fp,#0                                
   4282c:	52b9 0005 ee00 	addql #1,5ee00 <rtems_malloc_statistics+0xc>
   42832:	2f02           	movel %d2,%sp@-                             
   42834:	242e 0008      	movel %fp@(8),%d2                           
                                                                      
  if ( !ptr )                                                         
   42838:	676c           	beqs 428a6 <free+0x7e>                      
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4283a:	7003           	moveq #3,%d0                                
   4283c:	b0b9 0005 f0c4 	cmpl 5f0c4 <_System_state_Current>,%d0      
   42842:	661a           	bnes 4285e <free+0x36>                      <== NEVER TAKEN
   42844:	4eb9 0004 29c0 	jsr 429c0 <malloc_is_system_state_OK>       
   4284a:	4a00           	tstb %d0                                    
   4284c:	6610           	bnes 4285e <free+0x36>                      <== ALWAYS TAKEN
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
   4284e:	2d42 0008      	movel %d2,%fp@(8)                           <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   42852:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   42856:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
                                                                      
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
   42858:	4ef9 0004 29fe 	jmp 429fe <malloc_deferred_free>            <== NOT EXECUTED
  #endif                                                              
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   4285e:	2079 0005 dd66 	moveal 5dd66 <rtems_malloc_statistics_helpers>,%a0
   42864:	4a88           	tstl %a0                                    
   42866:	670a           	beqs 42872 <free+0x4a>                      <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
   42868:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4286a:	2068 0008      	moveal %a0@(8),%a0                          <== NOT EXECUTED
   4286e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42870:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
   42872:	2f02           	movel %d2,%sp@-                             
   42874:	2f39 0005 d6c0 	movel 5d6c0 <RTEMS_Malloc_Heap>,%sp@-       
   4287a:	4eb9 0004 7120 	jsr 47120 <_Protected_heap_Free>            
   42880:	508f           	addql #8,%sp                                
   42882:	4a00           	tstb %d0                                    
   42884:	6620           	bnes 428a6 <free+0x7e>                      <== ALWAYS TAKEN
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
   42886:	2079 0005 d6c0 	moveal 5d6c0 <RTEMS_Malloc_Heap>,%a0        <== NOT EXECUTED
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
   4288c:	2f28 001c      	movel %a0@(28),%sp@-                        <== NOT EXECUTED
   42890:	2f28 0018      	movel %a0@(24),%sp@-                        <== NOT EXECUTED
   42894:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42896:	4879 0005 c3ac 	pea 5c3ac <rtems_status_assoc+0x168>        <== NOT EXECUTED
   4289c:	4eb9 0004 3528 	jsr 43528 <printk>                          <== NOT EXECUTED
   428a2:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   428a6:	242e fffc      	movel %fp@(-4),%d2                          
   428aa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043b14 <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
   43b14:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   43b18:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43b1a:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
	if (env != &rtems_global_user_env                                    
   43b1e:	b5fc 0005 f5dc 	cmpal #390620,%a2                           <== NOT EXECUTED
   43b24:	6740           	beqs 43b66 <free_user_env+0x52>             <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
   43b26:	206a 0010      	moveal %a2@(16),%a0                         <== NOT EXECUTED
   43b2a:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43b2c:	6710           	beqs 43b3e <free_user_env+0x2a>             <== NOT EXECUTED
   43b2e:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43b32:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43b34:	6708           	beqs 43b3e <free_user_env+0x2a>             <== NOT EXECUTED
   43b36:	486a 0004      	pea %a2@(4)                                 <== NOT EXECUTED
   43b3a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43b3c:	588f           	addql #4,%sp                                <== NOT EXECUTED
		rtems_filesystem_freenode( &env->root_directory);                   
   43b3e:	206a 0024      	moveal %a2@(36),%a0                         <== NOT EXECUTED
   43b42:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43b44:	6710           	beqs 43b56 <free_user_env+0x42>             <== NOT EXECUTED
   43b46:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43b4a:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43b4c:	6708           	beqs 43b56 <free_user_env+0x42>             <== NOT EXECUTED
   43b4e:	486a 0018      	pea %a2@(24)                                <== NOT EXECUTED
   43b52:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43b54:	588f           	addql #4,%sp                                <== NOT EXECUTED
		free(env);                                                          
   43b56:	2d4a 0008      	movel %a2,%fp@(8)                           <== NOT EXECUTED
	}                                                                    
}                                                                     
   43b5a:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   43b5e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
		&& --env->refcnt <= 0                                               
#endif                                                                
		) {                                                                 
		rtems_filesystem_freenode( &env->current_directory);                
		rtems_filesystem_freenode( &env->root_directory);                   
		free(env);                                                          
   43b60:	4ef9 0004 2b94 	jmp 42b94 <free>                            <== NOT EXECUTED
	}                                                                    
}                                                                     
   43b66:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   43b6a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005b198 <fstat>: int fstat( int fd, struct stat *sbuf ) {
   5b198:	4e56 0000      	linkw %fp,#0                                
   5b19c:	202e 0008      	movel %fp@(8),%d0                           
   5b1a0:	2f0a           	movel %a2,%sp@-                             
   5b1a2:	2f02           	movel %d2,%sp@-                             
   5b1a4:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !sbuf )                                                        
   5b1a8:	660e           	bnes 5b1b8 <fstat+0x20>                     
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   5b1aa:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   5b1b0:	720e           	moveq #14,%d1                               
   5b1b2:	2040           	moveal %d0,%a0                              
   5b1b4:	2081           	movel %d1,%a0@                              
   5b1b6:	607c           	bras 5b234 <fstat+0x9c>                     
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
                                                                      
  iop = rtems_libio_iop( fd );                                        
   5b1b8:	b0b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d0    
   5b1be:	641e           	bccs 5b1de <fstat+0x46>                     
   5b1c0:	2479 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a2         
   5b1c6:	ed88           	lsll #6,%d0                                 
   5b1c8:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   5b1ca:	202a 0014      	movel %a2@(20),%d0                          
   5b1ce:	0280 0000 0100 	andil #256,%d0                              
   5b1d4:	6708           	beqs 5b1de <fstat+0x46>                     <== NEVER TAKEN
                                                                      
  if ( !iop->handlers )                                               
   5b1d6:	206a 003c      	moveal %a2@(60),%a0                         
   5b1da:	4a88           	tstl %a0                                    
   5b1dc:	660e           	bnes 5b1ec <fstat+0x54>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EBADF );                    
   5b1de:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   5b1e4:	2040           	moveal %d0,%a0                              
   5b1e6:	7009           	moveq #9,%d0                                
   5b1e8:	2080           	movel %d0,%a0@                              
   5b1ea:	6048           	bras 5b234 <fstat+0x9c>                     
                                                                      
  if ( !iop->handlers->fstat_h )                                      
   5b1ec:	4aa8 0018      	tstl %a0@(24)                               
   5b1f0:	6610           	bnes 5b202 <fstat+0x6a>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   5b1f2:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b1f8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b1fa:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   5b200:	6032           	bras 5b234 <fstat+0x9c>                     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
   5b202:	4878 0046      	pea 46 <DBL_MANT_DIG+0x11>                  
   5b206:	42a7           	clrl %sp@-                                  
   5b208:	2f02           	movel %d2,%sp@-                             
   5b20a:	4eb9 0004 ea34 	jsr 4ea34 <memset>                          
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
   5b210:	206a 003c      	moveal %a2@(60),%a0                         
   5b214:	45ea 0018      	lea %a2@(24),%a2                            
   5b218:	4fef 000c      	lea %sp@(12),%sp                            
   5b21c:	2d42 000c      	movel %d2,%fp@(12)                          
}                                                                     
   5b220:	242e fff8      	movel %fp@(-8),%d2                          
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
   5b224:	2d4a 0008      	movel %a2,%fp@(8)                           
}                                                                     
   5b228:	246e fffc      	moveal %fp@(-4),%a2                         
   5b22c:	4e5e           	unlk %fp                                    
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->handlers->fstat_h)( &iop->pathinfo, sbuf );           
   5b22e:	2268 0018      	moveal %a0@(24),%a1                         
   5b232:	4ed1           	jmp %a1@                                    
}                                                                     
   5b234:	242e fff8      	movel %fp@(-8),%d2                          
   5b238:	70ff           	moveq #-1,%d0                               
   5b23a:	246e fffc      	moveal %fp@(-4),%a2                         
   5b23e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004353c <fsync>: #include <rtems/seterr.h> int fsync( int fd ) {
   4353c:	4e56 0000      	linkw %fp,#0                                
   43540:	202e 0008      	movel %fp@(8),%d0                           
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   43544:	b0b9 0005 f1d4 	cmpl 5f1d4 <rtems_libio_number_iops>,%d0    
   4354a:	642e           	bccs 4357a <fsync+0x3e>                     <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   4354c:	2079 0006 08fc 	moveal 608fc <rtems_libio_iops>,%a0         
   43552:	ed88           	lsll #6,%d0                                 
   43554:	d1c0           	addal %d0,%a0                               
  rtems_libio_check_is_open(iop);                                     
   43556:	2028 0014      	movel %a0@(20),%d0                          
   4355a:	0800 0008      	btst #8,%d0                                 
   4355e:	671a           	beqs 4357a <fsync+0x3e>                     <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   43560:	44c0           	movew %d0,%ccr                              
   43562:	670e           	beqs 43572 <fsync+0x36>                     
   43564:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   4356a:	7216           	moveq #22,%d1                               
   4356c:	2040           	moveal %d0,%a0                              
   4356e:	2081           	movel %d1,%a0@                              
   43570:	6036           	bras 435a8 <fsync+0x6c>                     
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
   43572:	2268 003c      	moveal %a0@(60),%a1                         
   43576:	4a89           	tstl %a1                                    
   43578:	660e           	bnes 43588 <fsync+0x4c>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EBADF );                    
   4357a:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         <== NOT EXECUTED
   43580:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43582:	7009           	moveq #9,%d0                                <== NOT EXECUTED
   43584:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   43586:	6020           	bras 435a8 <fsync+0x6c>                     <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->fsync_h )                                      
   43588:	2269 0028      	moveal %a1@(40),%a1                         
   4358c:	4a89           	tstl %a1                                    
   4358e:	6610           	bnes 435a0 <fsync+0x64>                     
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   43590:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   43596:	2040           	moveal %d0,%a0                              
   43598:	20bc 0000 0086 	movel #134,%a0@                             
   4359e:	6008           	bras 435a8 <fsync+0x6c>                     
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
   435a0:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   435a4:	4e5e           	unlk %fp                                    
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->fsync_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  return (*iop->handlers->fsync_h)( iop );                            
   435a6:	4ed1           	jmp %a1@                                    
}                                                                     
   435a8:	70ff           	moveq #-1,%d0                               
   435aa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004a25c <ftruncate>: int ftruncate( int fd, off_t length ) {
   4a25c:	4e56 ffec      	linkw %fp,#-20                              
   4a260:	202e 0008      	movel %fp@(8),%d0                           
   4a264:	2f0a           	movel %a2,%sp@-                             
   4a266:	2f02           	movel %d2,%sp@-                             
  rtems_libio_t                    *iop;                              
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  rtems_libio_check_fd( fd );                                         
   4a268:	b0b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d0    
   4a26e:	6416           	bccs 4a286 <ftruncate+0x2a>                 <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   4a270:	2479 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a2         
   4a276:	ed88           	lsll #6,%d0                                 
   4a278:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open(iop);                                     
   4a27a:	202a 0014      	movel %a2@(20),%d0                          
   4a27e:	0280 0000 0100 	andil #256,%d0                              
   4a284:	6612           	bnes 4a298 <ftruncate+0x3c>                 <== ALWAYS TAKEN
   4a286:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a28c:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a28e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a290:	7009           	moveq #9,%d0                                <== NOT EXECUTED
   4a292:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4a294:	6000 008e      	braw 4a324 <ftruncate+0xc8>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Make sure we are not working on a directory                     
   */                                                                 
                                                                      
  loc = iop->pathinfo;                                                
   4a298:	4878 0014      	pea 14 <OPER2>                              
   4a29c:	240e           	movel %fp,%d2                               
   4a29e:	486a 0018      	pea %a2@(24)                                
   4a2a2:	0682 ffff ffec 	addil #-20,%d2                              
   4a2a8:	2f02           	movel %d2,%sp@-                             
   4a2aa:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
  if ( !loc.ops->node_type_h )                                        
   4a2b0:	206e fff8      	moveal %fp@(-8),%a0                         
   4a2b4:	4fef 000c      	lea %sp@(12),%sp                            
   4a2b8:	2068 0010      	moveal %a0@(16),%a0                         
   4a2bc:	4a88           	tstl %a0                                    
   4a2be:	6740           	beqs 4a300 <ftruncate+0xa4>                 <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY )
   4a2c0:	2f02           	movel %d2,%sp@-                             
   4a2c2:	4e90           	jsr %a0@                                    
   4a2c4:	588f           	addql #4,%sp                                
   4a2c6:	7201           	moveq #1,%d1                                
   4a2c8:	b280           	cmpl %d0,%d1                                
   4a2ca:	6610           	bnes 4a2dc <ftruncate+0x80>                 
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   4a2cc:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4a2d2:	7415           	moveq #21,%d2                               
   4a2d4:	72ff           	moveq #-1,%d1                               
   4a2d6:	2040           	moveal %d0,%a0                              
   4a2d8:	2082           	movel %d2,%a0@                              
   4a2da:	6048           	bras 4a324 <ftruncate+0xc8>                 
                                                                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   4a2dc:	7004           	moveq #4,%d0                                
   4a2de:	c0aa 0014      	andl %a2@(20),%d0                           
   4a2e2:	6610           	bnes 4a2f4 <ftruncate+0x98>                 <== ALWAYS TAKEN
   4a2e4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a2ea:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a2ec:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a2ee:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   4a2f0:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4a2f2:	6030           	bras 4a324 <ftruncate+0xc8>                 <== NOT EXECUTED
                                                                      
  if ( !iop->handlers->ftruncate_h )                                  
   4a2f4:	206a 003c      	moveal %a2@(60),%a0                         
   4a2f8:	2068 0020      	moveal %a0@(32),%a0                         
   4a2fc:	4a88           	tstl %a0                                    
   4a2fe:	6612           	bnes 4a312 <ftruncate+0xb6>                 <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4a300:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a306:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a308:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a30a:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4a310:	6012           	bras 4a324 <ftruncate+0xc8>                 <== NOT EXECUTED
                                                                      
  return (*iop->handlers->ftruncate_h)( iop, length );                
   4a312:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4a316:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4a31a:	2f0a           	movel %a2,%sp@-                             
   4a31c:	4e90           	jsr %a0@                                    
   4a31e:	4fef 000c      	lea %sp@(12),%sp                            
   4a322:	2200           	movel %d0,%d1                               
}                                                                     
   4a324:	242e ffe4      	movel %fp@(-28),%d2                         
   4a328:	2001           	movel %d1,%d0                               
   4a32a:	246e ffe8      	moveal %fp@(-24),%a2                        
   4a32e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0005ca68 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
   5ca68:	4e56 ffec      	linkw %fp,#-20                              
   5ca6c:	202e 0008      	movel %fp@(8),%d0                           
   5ca70:	2f0a           	movel %a2,%sp@-                             
   5ca72:	2f02           	movel %d2,%sp@-                             
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
                                                                      
  iop = rtems_libio_iop( dd_fd );                                     
   5ca74:	b0b9 0005 f804 	cmpl 5f804 <rtems_libio_number_iops>,%d0    
   5ca7a:	6504           	bcss 5ca80 <getdents+0x18>                  <== ALWAYS TAKEN
   5ca7c:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
   5ca7e:	600a           	bras 5ca8a <getdents+0x22>                  <== NOT EXECUTED
   5ca80:	2479 0006 103c 	moveal 6103c <rtems_libio_iops>,%a2         
   5ca86:	ed88           	lsll #6,%d0                                 
   5ca88:	d5c0           	addal %d0,%a2                               
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   5ca8a:	4878 0014      	pea 14 <OPER2>                              
   5ca8e:	240e           	movel %fp,%d2                               
   5ca90:	486a 0018      	pea %a2@(24)                                
   5ca94:	0682 ffff ffec 	addil #-20,%d2                              
   5ca9a:	2f02           	movel %d2,%sp@-                             
   5ca9c:	4eb9 0004 faa4 	jsr 4faa4 <memcpy>                          
  if ( !loc.ops->node_type_h )                                        
   5caa2:	206e fff8      	moveal %fp@(-8),%a0                         
   5caa6:	4fef 000c      	lea %sp@(12),%sp                            
   5caaa:	2068 0010      	moveal %a0@(16),%a0                         
   5caae:	4a88           	tstl %a0                                    
   5cab0:	6728           	beqs 5cada <getdents+0x72>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
   5cab2:	2f02           	movel %d2,%sp@-                             
   5cab4:	4e90           	jsr %a0@                                    
   5cab6:	588f           	addql #4,%sp                                
   5cab8:	7201           	moveq #1,%d1                                
   5caba:	b280           	cmpl %d0,%d1                                
   5cabc:	6710           	beqs 5cace <getdents+0x66>                  
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   5cabe:	4eb9 0004 f284 	jsr 4f284 <__errno>                         
   5cac4:	72ff           	moveq #-1,%d1                               
   5cac6:	2040           	moveal %d0,%a0                              
   5cac8:	7014           	moveq #20,%d0                               
   5caca:	2080           	movel %d0,%a0@                              
   5cacc:	6030           	bras 5cafe <getdents+0x96>                  
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
   5cace:	206a 003c      	moveal %a2@(60),%a0                         
   5cad2:	2068 0008      	moveal %a0@(8),%a0                          
   5cad6:	4a88           	tstl %a0                                    
   5cad8:	6612           	bnes 5caec <getdents+0x84>                  <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   5cada:	4eb9 0004 f284 	jsr 4f284 <__errno>                         <== NOT EXECUTED
   5cae0:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   5cae2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5cae4:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   5caea:	6012           	bras 5cafe <getdents+0x96>                  <== NOT EXECUTED
                                                                      
  return (*iop->handlers->read_h)( iop, dd_buf, dd_len  );            
   5caec:	2f2e 0010      	movel %fp@(16),%sp@-                        
   5caf0:	2f2e 000c      	movel %fp@(12),%sp@-                        
   5caf4:	2f0a           	movel %a2,%sp@-                             
   5caf6:	4e90           	jsr %a0@                                    
   5caf8:	4fef 000c      	lea %sp@(12),%sp                            
   5cafc:	2200           	movel %d0,%d1                               
}                                                                     
   5cafe:	242e ffe4      	movel %fp@(-28),%d2                         
   5cb02:	2001           	movel %d1,%d0                               
   5cb04:	246e ffe8      	moveal %fp@(-24),%a2                        
   5cb08:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042eda <getgr_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
   42eda:	4e56 ffe0      	linkw %fp,#-32                              
   42ede:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   42ee2:	262e 0008      	movel %fp@(8),%d3                           
   42ee6:	282e 000c      	movel %fp@(12),%d4                          
   42eea:	246e 0010      	moveal %fp@(16),%a2                         
   42eee:	2a2e 0014      	movel %fp@(20),%d5                          
   42ef2:	2c2e 0018      	movel %fp@(24),%d6                          
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
   42ef6:	4eb9 0004 2dc0 	jsr 42dc0 <init_etc_passwd_group>           
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
   42efc:	4879 0005 e3d9 	pea 5e3d9 <_global_impure_ptr+0xbf>         
   42f02:	4879 0005 d822 	pea 5d822 <rtems_status_assoc+0x218>        
   42f08:	4eb9 0004 f1f8 	jsr 4f1f8 <fopen>                           
   42f0e:	508f           	addql #8,%sp                                
   42f10:	2400           	movel %d0,%d2                               
   42f12:	6610           	bnes 42f24 <getgr_r+0x4a>                   <== ALWAYS TAKEN
    errno = EINVAL;                                                   
   42f14:	4eb9 0004 ea38 	jsr 4ea38 <__errno>                         <== NOT EXECUTED
   42f1a:	7216           	moveq #22,%d1                               <== NOT EXECUTED
   42f1c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42f1e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   42f20:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
    return -1;                                                        
   42f22:	606a           	bras 42f8e <getgr_r+0xb4>                   <== NOT EXECUTED
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
   42f24:	49fa fc3c      	lea %pc@(42b62 <scangr>),%a4                
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
   42f28:	47f9 0005 09fc 	lea 509fc <strcmp>,%a3                      
  if ((fp = fopen("/etc/group", "r")) == NULL) {                      
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
   42f2e:	2f06           	movel %d6,%sp@-                             
   42f30:	2f05           	movel %d5,%sp@-                             
   42f32:	2f0a           	movel %a2,%sp@-                             
   42f34:	2f02           	movel %d2,%sp@-                             
   42f36:	4e94           	jsr %a4@                                    
   42f38:	4fef 0010      	lea %sp@(16),%sp                            
   42f3c:	4a80           	tstl %d0                                    
   42f3e:	661a           	bnes 42f5a <getgr_r+0x80>                   <== ALWAYS TAKEN
      errno = EINVAL;                                                 
   42f40:	4eb9 0004 ea38 	jsr 4ea38 <__errno>                         <== NOT EXECUTED
   42f46:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42f48:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   42f4a:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
      fclose(fp);                                                     
   42f4c:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42f4e:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
      return -1;                                                      
   42f54:	588f           	addql #4,%sp                                <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
      fclose(fp);                                                     
   42f56:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
      return -1;                                                      
   42f58:	6034           	bras 42f8e <getgr_r+0xb4>                   <== NOT EXECUTED
    }                                                                 
    if (name) {                                                       
   42f5a:	4a83           	tstl %d3                                    
   42f5c:	670e           	beqs 42f6c <getgr_r+0x92>                   <== NEVER TAKEN
      match = (strcmp(grp->gr_name, name) == 0);                      
   42f5e:	2f03           	movel %d3,%sp@-                             
   42f60:	2f12           	movel %a2@,%sp@-                            
   42f62:	4e93           	jsr %a3@                                    
   42f64:	508f           	addql #8,%sp                                
   42f66:	4a80           	tstl %d0                                    
   42f68:	57c0           	seq %d0                                     
   42f6a:	600a           	bras 42f76 <getgr_r+0x9c>                   
    }                                                                 
    else {                                                            
      match = (grp->gr_gid == gid);                                   
   42f6c:	4280           	clrl %d0                                    <== NOT EXECUTED
   42f6e:	302a 0008      	movew %a2@(8),%d0                           <== NOT EXECUTED
   42f72:	b880           	cmpl %d0,%d4                                <== NOT EXECUTED
   42f74:	57c0           	seq %d0                                     <== NOT EXECUTED
   42f76:	49c0           	extbl %d0                                   
   42f78:	4480           	negl %d0                                    
    }                                                                 
    if (match) {                                                      
   42f7a:	67b2           	beqs 42f2e <getgr_r+0x54>                   
      fclose(fp);                                                     
   42f7c:	2f02           	movel %d2,%sp@-                             
   42f7e:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          
      *result = grp;                                                  
   42f84:	206e 001c      	moveal %fp@(28),%a0                         
      return 0;                                                       
   42f88:	588f           	addql #4,%sp                                
    else {                                                            
      match = (grp->gr_gid == gid);                                   
    }                                                                 
    if (match) {                                                      
      fclose(fp);                                                     
      *result = grp;                                                  
   42f8a:	4280           	clrl %d0                                    
   42f8c:	208a           	movel %a2,%a0@                              
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
   42f8e:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   42f94:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042c68 <getgrent>: return NULL; return p; } struct group *getgrent(void) {
   42c68:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  if (group_fp == NULL)                                               
   42c6c:	2039 0005 fb36 	movel 5fb36 <group_fp>,%d0                  <== NOT EXECUTED
   42c72:	6724           	beqs 42c98 <getgrent+0x30>                  <== NOT EXECUTED
    return NULL;                                                      
  if (!scangr(group_fp, &grent, grbuf, sizeof grbuf))                 
   42c74:	4878 00c8      	pea c8 <DBL_MANT_DIG+0x93>                  <== NOT EXECUTED
   42c78:	4879 0005 fb3a 	pea 5fb3a <grbuf>                           <== NOT EXECUTED
   42c7e:	4879 0005 fc02 	pea 5fc02 <grent>                           <== NOT EXECUTED
   42c84:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42c86:	4eba feda      	jsr %pc@(42b62 <scangr>)                    <== NOT EXECUTED
   42c8a:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   42c8e:	223c 0005 fc02 	movel #392194,%d1                           <== NOT EXECUTED
   42c94:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42c96:	6602           	bnes 42c9a <getgrent+0x32>                  <== NOT EXECUTED
   42c98:	4281           	clrl %d1                                    <== NOT EXECUTED
    return NULL;                                                      
  return &grent;                                                      
}                                                                     
   42c9a:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   42c9c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042fbe <getgrgid>: gid_t gid ) { struct group *p; if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))
   42fbe:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
                                                                      
struct group *getgrgid(                                               
  gid_t gid                                                           
)                                                                     
{                                                                     
   42fc0:	4e56 fffc      	linkw %fp,#-4                               <== NOT EXECUTED
  struct group *p;                                                    
                                                                      
  if(getgrgid_r(gid, &grent, grbuf, sizeof grbuf, &p))                
   42fc4:	302e 000a      	movew %fp@(10),%d0                          <== NOT EXECUTED
   42fc8:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   42fcc:	4878 00c8      	pea c8 <DBL_MANT_DIG+0x93>                  <== NOT EXECUTED
   42fd0:	4879 0005 fb3a 	pea 5fb3a <grbuf>                           <== NOT EXECUTED
   42fd6:	4879 0005 fc02 	pea 5fc02 <grent>                           <== NOT EXECUTED
   42fdc:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42fde:	4eb9 0004 2f98 	jsr 42f98 <getgrgid_r>                      <== NOT EXECUTED
   42fe4:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   42fe8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42fea:	6704           	beqs 42ff0 <getgrgid+0x32>                  <== NOT EXECUTED
   42fec:	4280           	clrl %d0                                    <== NOT EXECUTED
   42fee:	6004           	bras 42ff4 <getgrgid+0x36>                  <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
   42ff0:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
}                                                                     
   42ff4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042f98 <getgrgid_r>: char *buffer, size_t bufsize, struct group **result ) { return getgr_r(NULL, gid, grp, buffer, bufsize, result);
   42f98:	4280           	clrl %d0                                    <== NOT EXECUTED
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
   42f9a:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return getgr_r(NULL, gid, grp, buffer, bufsize, result);            
   42f9e:	2f2e 0018      	movel %fp@(24),%sp@-                        <== NOT EXECUTED
   42fa2:	2f2e 0014      	movel %fp@(20),%sp@-                        <== NOT EXECUTED
   42fa6:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   42faa:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   42fae:	302e 000a      	movew %fp@(10),%d0                          <== NOT EXECUTED
   42fb2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42fb4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   42fb6:	4eba ff22      	jsr %pc@(42eda <getgr_r>)                   <== NOT EXECUTED
}                                                                     
   42fba:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004301a <getgrnam>: struct group *getgrnam( const char *name ) {
   4301a:	4e56 fffc      	linkw %fp,#-4                               
  struct group *p;                                                    
                                                                      
  if(getgrnam_r(name, &grent, grbuf, sizeof grbuf, &p))               
   4301e:	486e fffc      	pea %fp@(-4)                                
   43022:	4878 00c8      	pea c8 <DBL_MANT_DIG+0x93>                  
   43026:	4879 0005 fb3a 	pea 5fb3a <grbuf>                           
   4302c:	4879 0005 fc02 	pea 5fc02 <grent>                           
   43032:	2f2e 0008      	movel %fp@(8),%sp@-                         
   43036:	4eb9 0004 2ff8 	jsr 42ff8 <getgrnam_r>                      
   4303c:	4fef 0014      	lea %sp@(20),%sp                            
   43040:	4a80           	tstl %d0                                    
   43042:	6704           	beqs 43048 <getgrnam+0x2e>                  <== ALWAYS TAKEN
   43044:	4280           	clrl %d0                                    <== NOT EXECUTED
   43046:	6004           	bras 4304c <getgrnam+0x32>                  <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
   43048:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   4304c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004308a <getpw_r>: struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result ) {
   4308a:	4e56 ffe0      	linkw %fp,#-32                              
   4308e:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   43092:	262e 0008      	movel %fp@(8),%d3                           
   43096:	282e 000c      	movel %fp@(12),%d4                          
   4309a:	246e 0010      	moveal %fp@(16),%a2                         
   4309e:	2a2e 0014      	movel %fp@(20),%d5                          
   430a2:	2c2e 0018      	movel %fp@(24),%d6                          
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
   430a6:	4eb9 0004 2dc0 	jsr 42dc0 <init_etc_passwd_group>           
                                                                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
   430ac:	4879 0005 e3d9 	pea 5e3d9 <_global_impure_ptr+0xbf>         
   430b2:	4879 0005 d7af 	pea 5d7af <rtems_status_assoc+0x1a5>        
   430b8:	4eb9 0004 f1f8 	jsr 4f1f8 <fopen>                           
   430be:	508f           	addql #8,%sp                                
   430c0:	2400           	movel %d0,%d2                               
   430c2:	6610           	bnes 430d4 <getpw_r+0x4a>                   <== ALWAYS TAKEN
    errno = EINVAL;                                                   
   430c4:	4eb9 0004 ea38 	jsr 4ea38 <__errno>                         <== NOT EXECUTED
   430ca:	7816           	moveq #22,%d4                               <== NOT EXECUTED
   430cc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   430ce:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   430d0:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
    return -1;                                                        
   430d2:	606a           	bras 4313e <getpw_r+0xb4>                   <== NOT EXECUTED
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
   430d4:	49fa fbca      	lea %pc@(42ca0 <scanpw>),%a4                
      errno = EINVAL;                                                 
      fclose(fp);                                                     
      return -1;                                                      
    }                                                                 
    if (name) {                                                       
      match = (strcmp(pwd->pw_name, name) == 0);                      
   430d8:	47f9 0005 09fc 	lea 509fc <strcmp>,%a3                      
  if ((fp = fopen("/etc/passwd", "r")) == NULL) {                     
    errno = EINVAL;                                                   
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
   430de:	2f06           	movel %d6,%sp@-                             
   430e0:	2f05           	movel %d5,%sp@-                             
   430e2:	2f0a           	movel %a2,%sp@-                             
   430e4:	2f02           	movel %d2,%sp@-                             
   430e6:	4e94           	jsr %a4@                                    
   430e8:	4fef 0010      	lea %sp@(16),%sp                            
   430ec:	4a80           	tstl %d0                                    
   430ee:	661a           	bnes 4310a <getpw_r+0x80>                   <== ALWAYS TAKEN
      errno = EINVAL;                                                 
   430f0:	4eb9 0004 ea38 	jsr 4ea38 <__errno>                         <== NOT EXECUTED
   430f6:	7616           	moveq #22,%d3                               <== NOT EXECUTED
   430f8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   430fa:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
      fclose(fp);                                                     
   430fc:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   430fe:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
      return -1;                                                      
   43104:	588f           	addql #4,%sp                                <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
  for(;;) {                                                           
    if (!scanpw(fp, pwd, buffer, bufsize)) {                          
      errno = EINVAL;                                                 
      fclose(fp);                                                     
   43106:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
      return -1;                                                      
   43108:	6034           	bras 4313e <getpw_r+0xb4>                   <== NOT EXECUTED
    }                                                                 
    if (name) {                                                       
   4310a:	4a83           	tstl %d3                                    
   4310c:	670e           	beqs 4311c <getpw_r+0x92>                   <== NEVER TAKEN
      match = (strcmp(pwd->pw_name, name) == 0);                      
   4310e:	2f03           	movel %d3,%sp@-                             
   43110:	2f12           	movel %a2@,%sp@-                            
   43112:	4e93           	jsr %a3@                                    
   43114:	508f           	addql #8,%sp                                
   43116:	4a80           	tstl %d0                                    
   43118:	57c0           	seq %d0                                     
   4311a:	600a           	bras 43126 <getpw_r+0x9c>                   
    }                                                                 
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
   4311c:	4280           	clrl %d0                                    <== NOT EXECUTED
   4311e:	302a 0008      	movew %a2@(8),%d0                           <== NOT EXECUTED
   43122:	b880           	cmpl %d0,%d4                                <== NOT EXECUTED
   43124:	57c0           	seq %d0                                     <== NOT EXECUTED
   43126:	49c0           	extbl %d0                                   
   43128:	4480           	negl %d0                                    
    }                                                                 
    if (match) {                                                      
   4312a:	67b2           	beqs 430de <getpw_r+0x54>                   
      fclose(fp);                                                     
   4312c:	2f02           	movel %d2,%sp@-                             
   4312e:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          
      *result = pwd;                                                  
   43134:	206e 001c      	moveal %fp@(28),%a0                         
      return 0;                                                       
   43138:	588f           	addql #4,%sp                                
    else {                                                            
      match = (pwd->pw_uid == uid);                                   
    }                                                                 
    if (match) {                                                      
      fclose(fp);                                                     
      *result = pwd;                                                  
   4313a:	4280           	clrl %d0                                    
   4313c:	208a           	movel %a2,%a0@                              
    }                                                                 
  }                                                                   
  fclose(fp);                                                         
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
   4313e:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   43144:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042d88 <getpwent>: return NULL; return p; } struct passwd *getpwent(void) {
   42d88:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  if (passwd_fp == NULL)                                              
   42d8c:	2039 0005 fa4e 	movel 5fa4e <passwd_fp>,%d0                 <== NOT EXECUTED
   42d92:	6724           	beqs 42db8 <getpwent+0x30>                  <== NOT EXECUTED
    return NULL;                                                      
  if (!scanpw(passwd_fp, &pwent, pwbuf, sizeof pwbuf))                
   42d94:	4878 00c8      	pea c8 <DBL_MANT_DIG+0x93>                  <== NOT EXECUTED
   42d98:	4879 0005 fa52 	pea 5fa52 <pwbuf>                           <== NOT EXECUTED
   42d9e:	4879 0005 fb1a 	pea 5fb1a <pwent>                           <== NOT EXECUTED
   42da4:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42da6:	4eba fef8      	jsr %pc@(42ca0 <scanpw>)                    <== NOT EXECUTED
   42daa:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   42dae:	223c 0005 fb1a 	movel #391962,%d1                           <== NOT EXECUTED
   42db4:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42db6:	6602           	bnes 42dba <getpwent+0x32>                  <== NOT EXECUTED
   42db8:	4281           	clrl %d1                                    <== NOT EXECUTED
    return NULL;                                                      
  return &pwent;                                                      
}                                                                     
   42dba:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   42dbc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000431ca <getpwnam>: struct passwd *getpwnam( const char *name ) {
   431ca:	4e56 fffc      	linkw %fp,#-4                               
  struct passwd *p;                                                   
                                                                      
  if(getpwnam_r(name, &pwent, pwbuf, sizeof pwbuf, &p))               
   431ce:	486e fffc      	pea %fp@(-4)                                
   431d2:	4878 00c8      	pea c8 <DBL_MANT_DIG+0x93>                  
   431d6:	4879 0005 fa52 	pea 5fa52 <pwbuf>                           
   431dc:	4879 0005 fb1a 	pea 5fb1a <pwent>                           
   431e2:	2f2e 0008      	movel %fp@(8),%sp@-                         
   431e6:	4eb9 0004 31a8 	jsr 431a8 <getpwnam_r>                      
   431ec:	4fef 0014      	lea %sp@(20),%sp                            
   431f0:	4a80           	tstl %d0                                    
   431f2:	6704           	beqs 431f8 <getpwnam+0x2e>                  <== ALWAYS TAKEN
   431f4:	4280           	clrl %d0                                    <== NOT EXECUTED
   431f6:	6004           	bras 431fc <getpwnam+0x32>                  <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
   431f8:	202e fffc      	movel %fp@(-4),%d0                          
}                                                                     
   431fc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004316e <getpwuid>: uid_t uid ) { struct passwd *p; if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))
   4316e:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
                                                                      
struct passwd *getpwuid(                                              
  uid_t uid                                                           
)                                                                     
{                                                                     
   43170:	4e56 fffc      	linkw %fp,#-4                               <== NOT EXECUTED
  struct passwd *p;                                                   
                                                                      
  if(getpwuid_r(uid, &pwent, pwbuf, sizeof pwbuf, &p))                
   43174:	302e 000a      	movew %fp@(10),%d0                          <== NOT EXECUTED
   43178:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   4317c:	4878 00c8      	pea c8 <DBL_MANT_DIG+0x93>                  <== NOT EXECUTED
   43180:	4879 0005 fa52 	pea 5fa52 <pwbuf>                           <== NOT EXECUTED
   43186:	4879 0005 fb1a 	pea 5fb1a <pwent>                           <== NOT EXECUTED
   4318c:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4318e:	4eb9 0004 3148 	jsr 43148 <getpwuid_r>                      <== NOT EXECUTED
   43194:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   43198:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4319a:	6704           	beqs 431a0 <getpwuid+0x32>                  <== NOT EXECUTED
   4319c:	4280           	clrl %d0                                    <== NOT EXECUTED
   4319e:	6004           	bras 431a4 <getpwuid+0x36>                  <== NOT EXECUTED
    return NULL;                                                      
  return p;                                                           
   431a0:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
}                                                                     
   431a4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043148 <getpwuid_r>: char *buffer, size_t bufsize, struct passwd **result ) { return getpw_r(NULL, uid, pwd, buffer, bufsize, result);
   43148:	4280           	clrl %d0                                    <== NOT EXECUTED
  struct passwd  *pwd,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct passwd **result                                              
)                                                                     
{                                                                     
   4314a:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  return getpw_r(NULL, uid, pwd, buffer, bufsize, result);            
   4314e:	2f2e 0018      	movel %fp@(24),%sp@-                        <== NOT EXECUTED
   43152:	2f2e 0014      	movel %fp@(20),%sp@-                        <== NOT EXECUTED
   43156:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   4315a:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4315e:	302e 000a      	movew %fp@(10),%d0                          <== NOT EXECUTED
   43162:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43164:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43166:	4eba ff22      	jsr %pc@(4308a <getpw_r>)                   <== NOT EXECUTED
}                                                                     
   4316a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000428b0 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
   428b0:	4e56 ffec      	linkw %fp,#-20                              
   428b4:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   428b8:	246e 0008      	moveal %fp@(8),%a2                          
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp ) {                                                        
   428bc:	4a8a           	tstl %a2                                    
   428be:	6610           	bnes 428d0 <gettimeofday+0x20>              <== ALWAYS TAKEN
    errno = EFAULT;                                                   
   428c0:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   428c6:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   428c8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   428ca:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   428cc:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
    return -1;                                                        
   428ce:	6032           	bras 42902 <gettimeofday+0x52>              <== NOT EXECUTED
{                                                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
   428d0:	203c 0000 0700 	movel #1792,%d0                             
   428d6:	40c2           	movew %sr,%d2                               
   428d8:	8082           	orl %d2,%d0                                 
   428da:	46c0           	movew %d0,%sr                               
    _TOD_Get( &now );                                                 
   428dc:	486e fff8      	pea %fp@(-8)                                
   428e0:	4eb9 0004 6548 	jsr 46548 <_TOD_Get>                        
  _ISR_Enable(level);                                                 
   428e6:	46c2           	movew %d2,%sr                               
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
   428e8:	263c 0000 03e8 	movel #1000,%d3                             
   *  Timezone information ignored by the OS proper.   Per email      
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
   428ee:	588f           	addql #4,%sp                                
   428f0:	4280           	clrl %d0                                    
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
   428f2:	222e fffc      	movel %fp@(-4),%d1                          
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
   428f6:	4c43 1801      	remsl %d3,%d1,%d1                           
   428fa:	2541 0004      	movel %d1,%a2@(4)                           
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
   428fe:	24ae fff8      	movel %fp@(-8),%a2@                         
}                                                                     
   42902:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   42908:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004cef8 <imfs_dir_open>: ) { IMFS_jnode_t *the_jnode; /* Is the node a directory ? */ the_jnode = (IMFS_jnode_t *) iop->file_info;
   4cef8:	7001           	moveq #1,%d0                                
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
   4cefa:	4e56 0000      	linkw %fp,#0                                
   4cefe:	206e 0008      	moveal %fp@(8),%a0                          
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
   4cf02:	2268 0038      	moveal %a0@(56),%a1                         
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
   4cf06:	2f02           	movel %d2,%sp@-                             
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->file_info;                        
   4cf08:	b0a9 0048      	cmpl %a1@(72),%d0                           
   4cf0c:	6704           	beqs 4cf12 <imfs_dir_open+0x1a>             <== ALWAYS TAKEN
   4cf0e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4cf10:	600e           	bras 4cf20 <imfs_dir_open+0x28>             <== NOT EXECUTED
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
   4cf12:	4280           	clrl %d0                                    
   4cf14:	4281           	clrl %d1                                    
   4cf16:	4282           	clrl %d2                                    
   4cf18:	2141 000c      	movel %d1,%a0@(12)                          
   4cf1c:	2142 0010      	movel %d2,%a0@(16)                          
  return 0;                                                           
}                                                                     
   4cf20:	241f           	movel %sp@+,%d2                             
   4cf22:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d04c <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
   4d04c:	4e56 fff8      	linkw %fp,#-8                               
   4d050:	2f0b           	movel %a3,%sp@-                             
   4d052:	266e 000c      	moveal %fp@(12),%a3                         
   4d056:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
   4d058:	2453           	moveal %a3@,%a2                             
   4d05a:	200a           	movel %a2,%d0                               
   4d05c:	0680 0000 0050 	addil #80,%d0                               
   4d062:	b0aa 004c      	cmpl %a2@(76),%d0                           
   4d066:	6712           	beqs 4d07a <imfs_dir_rmnod+0x2e>            
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
   4d068:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4d06e:	72ff           	moveq #-1,%d1                               
   4d070:	2040           	moveal %d0,%a0                              
   4d072:	705a           	moveq #90,%d0                               
   4d074:	2080           	movel %d0,%a0@                              
   4d076:	6000 0086      	braw 4d0fe <imfs_dir_rmnod+0xb2>            
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
   4d07a:	206b 0010      	moveal %a3@(16),%a0                         
   4d07e:	b5e8 001c      	cmpal %a0@(28),%a2                          
   4d082:	6706           	beqs 4d08a <imfs_dir_rmnod+0x3e>            
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
   4d084:	4aaa 0058      	tstl %a2@(88)                               
   4d088:	6710           	beqs 4d09a <imfs_dir_rmnod+0x4e>            <== ALWAYS TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
   4d08a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4d090:	72ff           	moveq #-1,%d1                               
   4d092:	2040           	moveal %d0,%a0                              
   4d094:	7010           	moveq #16,%d0                               
   4d096:	2080           	movel %d0,%a0@                              
   4d098:	6064           	bras 4d0fe <imfs_dir_rmnod+0xb2>            
                                                                      
  /*                                                                  
   * Take the node out of the parent's chain that contains this node  
   */                                                                 
                                                                      
  if ( the_jnode->Parent != NULL ) {                                  
   4d09a:	4aaa 0008      	tstl %a2@(8)                                
   4d09e:	670e           	beqs 4d0ae <imfs_dir_rmnod+0x62>            
   4d0a0:	2f0a           	movel %a2,%sp@-                             
   4d0a2:	4eb9 0004 6198 	jsr 46198 <_Chain_Extract>                  
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
    the_jnode->Parent = NULL;                                         
   4d0a8:	588f           	addql #4,%sp                                
   4d0aa:	42aa 0008      	clrl %a2@(8)                                
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
   4d0ae:	302a 0032      	movew %a2@(50),%d0                          
   4d0b2:	5380           	subql #1,%d0                                
   4d0b4:	3540 0032      	movew %d0,%a2@(50)                          
  IMFS_update_ctime( the_jnode );                                     
   4d0b8:	42a7           	clrl %sp@-                                  
   4d0ba:	486e fff8      	pea %fp@(-8)                                
   4d0be:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4d0c4:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  /*                                                                  
   * The file cannot be open and the link must be less than 1 to free.
   */                                                                 
                                                                      
  if ( !rtems_libio_is_file_open( the_jnode ) && (the_jnode->st_nlink < 1) ) {
   4d0ca:	2f0a           	movel %a2,%sp@-                             
   4d0cc:	4eb9 0004 a3be 	jsr 4a3be <rtems_libio_is_file_open>        
   4d0d2:	4fef 000c      	lea %sp@(12),%sp                            
   4d0d6:	4a80           	tstl %d0                                    
   4d0d8:	6622           	bnes 4d0fc <imfs_dir_rmnod+0xb0>            
   4d0da:	4a6a 0032      	tstw %a2@(50)                               
   4d0de:	661c           	bnes 4d0fc <imfs_dir_rmnod+0xb0>            
                                                                      
    /*                                                                
     * Is the rtems_filesystem_current is this node?                  
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == pathloc->node_access )
   4d0e0:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   4d0e6:	2653           	moveal %a3@,%a3                             
   4d0e8:	b7e8 0004      	cmpal %a0@(4),%a3                           
   4d0ec:	6604           	bnes 4d0f2 <imfs_dir_rmnod+0xa6>            <== ALWAYS TAKEN
       rtems_filesystem_current.node_access = NULL;                   
   4d0ee:	42a8 0004      	clrl %a0@(4)                                <== NOT EXECUTED
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
                                                                      
    free( the_jnode );                                                
   4d0f2:	2f0a           	movel %a2,%sp@-                             
   4d0f4:	4eb9 0004 2828 	jsr 42828 <free>                            
   4d0fa:	588f           	addql #4,%sp                                
   4d0fc:	4281           	clrl %d1                                    
  }                                                                   
                                                                      
  return 0;                                                           
                                                                      
}                                                                     
   4d0fe:	246e fff0      	moveal %fp@(-16),%a2                        
   4d102:	2001           	movel %d1,%d0                               
   4d104:	266e fff4      	moveal %fp@(-12),%a3                        
   4d108:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042dc0 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
   42dc0:	4e56 0000      	linkw %fp,#0                                
   42dc4:	2f0a           	movel %a2,%sp@-                             
   42dc6:	2f02           	movel %d2,%sp@-                             
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
   42dc8:	4a39 0005 fa4c 	tstb 5fa4c <etc_passwd_initted.6362>        
   42dce:	6600 00c4      	bnew 42e94 <init_etc_passwd_group+0xd4>     
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
   42dd2:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
   42dd6:	45f9 0004 f1f8 	lea 4f1f8 <fopen>,%a2                       
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
   42ddc:	4879 0005 d7aa 	pea 5d7aa <rtems_status_assoc+0x1a0>        
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
   42de2:	7001           	moveq #1,%d0                                
   42de4:	13c0 0005 fa4c 	moveb %d0,5fa4c <etc_passwd_initted.6362>   
  mkdir("/etc", 0777);                                                
   42dea:	4eb9 0004 3508 	jsr 43508 <mkdir>                           
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
   42df0:	4879 0005 e3d9 	pea 5e3d9 <_global_impure_ptr+0xbf>         
   42df6:	4879 0005 d7af 	pea 5d7af <rtems_status_assoc+0x1a5>        
   42dfc:	4e92           	jsr %a2@                                    
   42dfe:	4fef 0010      	lea %sp@(16),%sp                            
   42e02:	4a80           	tstl %d0                                    
   42e04:	670c           	beqs 42e12 <init_etc_passwd_group+0x52>     <== ALWAYS TAKEN
    fclose(fp);                                                       
   42e06:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42e08:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
   42e0e:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42e10:	602e           	bras 42e40 <init_etc_passwd_group+0x80>     <== NOT EXECUTED
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
   42e12:	4879 0005 ceb2 	pea 5ceb2 <_rodata_start+0xf2>              
   42e18:	4879 0005 d7af 	pea 5d7af <rtems_status_assoc+0x1a5>        
   42e1e:	4e92           	jsr %a2@                                    
   42e20:	508f           	addql #8,%sp                                
   42e22:	2400           	movel %d0,%d2                               
   42e24:	671a           	beqs 42e40 <init_etc_passwd_group+0x80>     <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
   42e26:	2f00           	movel %d0,%sp@-                             
   42e28:	4879 0005 d7bb 	pea 5d7bb <rtems_status_assoc+0x1b1>        
   42e2e:	4eb9 0004 f2d8 	jsr 4f2d8 <fputs>                           
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
   42e34:	2f02           	movel %d2,%sp@-                             
   42e36:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          
   42e3c:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
   42e40:	4879 0005 e3d9 	pea 5e3d9 <_global_impure_ptr+0xbf>         
   42e46:	45f9 0004 f1f8 	lea 4f1f8 <fopen>,%a2                       
   42e4c:	4879 0005 d822 	pea 5d822 <rtems_status_assoc+0x218>        
   42e52:	4e92           	jsr %a2@                                    
   42e54:	508f           	addql #8,%sp                                
   42e56:	4a80           	tstl %d0                                    
   42e58:	670c           	beqs 42e66 <init_etc_passwd_group+0xa6>     <== ALWAYS TAKEN
    fclose(fp);                                                       
   42e5a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42e5c:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
   42e62:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42e64:	602e           	bras 42e94 <init_etc_passwd_group+0xd4>     <== NOT EXECUTED
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
   42e66:	4879 0005 ceb2 	pea 5ceb2 <_rodata_start+0xf2>              
   42e6c:	4879 0005 d822 	pea 5d822 <rtems_status_assoc+0x218>        
   42e72:	4e92           	jsr %a2@                                    
   42e74:	508f           	addql #8,%sp                                
   42e76:	2400           	movel %d0,%d2                               
   42e78:	671a           	beqs 42e94 <init_etc_passwd_group+0xd4>     <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
   42e7a:	2f00           	movel %d0,%sp@-                             
   42e7c:	4879 0005 d82d 	pea 5d82d <rtems_status_assoc+0x223>        
   42e82:	4eb9 0004 f2d8 	jsr 4f2d8 <fputs>                           
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
   42e88:	2f02           	movel %d2,%sp@-                             
   42e8a:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          
   42e90:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
}                                                                     
   42e94:	242e fff8      	movel %fp@(-8),%d2                          
   42e98:	246e fffc      	moveal %fp@(-4),%a2                         
   42e9c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045654 <ioctl>: int ioctl( int fd, ioctl_command_t command, ... ) {
   45654:	4e56 0000      	linkw %fp,#0                                
   45658:	202e 0008      	movel %fp@(8),%d0                           
  va_list            ap;                                              
  rtems_status_code  rc;                                              
  rtems_libio_t     *iop;                                             
  void              *buffer;                                          
                                                                      
  rtems_libio_check_fd( fd );                                         
   4565c:	b0b9 0006 0df4 	cmpl 60df4 <rtems_libio_number_iops>,%d0    
   45662:	6422           	bccs 45686 <ioctl+0x32>                     
  iop = rtems_libio_iop( fd );                                        
   45664:	2079 0006 25e8 	moveal 625e8 <rtems_libio_iops>,%a0         
   4566a:	ed88           	lsll #6,%d0                                 
   4566c:	d1c0           	addal %d0,%a0                               
  rtems_libio_check_is_open(iop);                                     
   4566e:	2028 0014      	movel %a0@(20),%d0                          
   45672:	0280 0000 0100 	andil #256,%d0                              
   45678:	670c           	beqs 45686 <ioctl+0x32>                     <== NEVER TAKEN
                                                                      
  va_start(ap, command);                                              
                                                                      
  buffer = va_arg(ap, void *);                                        
   4567a:	202e 0010      	movel %fp@(16),%d0                          
                                                                      
  /*                                                                  
   *  Now process the ioctl().                                        
   */                                                                 
                                                                      
  if ( !iop->handlers )                                               
   4567e:	2268 003c      	moveal %a0@(60),%a1                         
   45682:	4a89           	tstl %a1                                    
   45684:	6610           	bnes 45696 <ioctl+0x42>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EBADF );                    
   45686:	4eb9 0005 1a6c 	jsr 51a6c <__errno>                         
   4568c:	72ff           	moveq #-1,%d1                               
   4568e:	2040           	moveal %d0,%a0                              
   45690:	7009           	moveq #9,%d0                                
   45692:	2080           	movel %d0,%a0@                              
   45694:	602a           	bras 456c0 <ioctl+0x6c>                     
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
   45696:	2269 0010      	moveal %a1@(16),%a1                         
   4569a:	4a89           	tstl %a1                                    
   4569c:	6612           	bnes 456b0 <ioctl+0x5c>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4569e:	4eb9 0005 1a6c 	jsr 51a6c <__errno>                         <== NOT EXECUTED
   456a4:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   456a6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   456a8:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   456ae:	6010           	bras 456c0 <ioctl+0x6c>                     <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
   456b0:	2f00           	movel %d0,%sp@-                             
   456b2:	2f2e 000c      	movel %fp@(12),%sp@-                        
   456b6:	2f08           	movel %a0,%sp@-                             
   456b8:	4e91           	jsr %a1@                                    
                                                                      
  return rc;                                                          
   456ba:	4fef 000c      	lea %sp@(12),%sp                            
    rtems_set_errno_and_return_minus_one( EBADF );                    
                                                                      
  if ( !iop->handlers->ioctl_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->ioctl_h)( iop, command, buffer );             
   456be:	2200           	movel %d0,%d1                               
                                                                      
  return rc;                                                          
}                                                                     
   456c0:	2001           	movel %d1,%d0                               
   456c2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004404e <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
   4404e:	4e56 fff4      	linkw %fp,#-12                              <== NOT EXECUTED
   44052:	222e 0008      	movel %fp@(8),%d1                           <== NOT EXECUTED
   44056:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     <== NOT EXECUTED
   4405a:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
   4405e:	202a 0030      	movel %a2@(48),%d0                          <== NOT EXECUTED
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
   44062:	1401           	moveb %d1,%d2                               <== NOT EXECUTED
	if (tty->termios.c_iflag & ISTRIP)                                   
   44064:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   44068:	6704           	beqs 4406e <iproc+0x20>                     <== NOT EXECUTED
		c &= 0x7f;                                                          
   4406a:	747f           	moveq #127,%d2                              <== NOT EXECUTED
   4406c:	c481           	andl %d1,%d2                                <== NOT EXECUTED
	if (tty->termios.c_iflag & IUCLC)                                    
   4406e:	0800 0009      	btst #9,%d0                                 <== NOT EXECUTED
   44072:	6724           	beqs 44098 <iproc+0x4a>                     <== NOT EXECUTED
		c = tolower (c);                                                    
   44074:	2079 0005 d8a4 	moveal 5d8a4 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   4407a:	7603           	moveq #3,%d3                                <== NOT EXECUTED
   4407c:	0282 0000 00ff 	andil #255,%d2                              <== NOT EXECUTED
   44082:	1230 2801      	moveb %a0@(00000001,%d2:l),%d1              <== NOT EXECUTED
   44086:	49c1           	extbl %d1                                   <== NOT EXECUTED
   44088:	c283           	andl %d3,%d1                                <== NOT EXECUTED
   4408a:	163c 0001      	moveb #1,%d3                                <== NOT EXECUTED
   4408e:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   44090:	6606           	bnes 44098 <iproc+0x4a>                     <== NOT EXECUTED
   44092:	0682 0000 0020 	addil #32,%d2                               <== NOT EXECUTED
	if (c == '\r') {                                                     
   44098:	4281           	clrl %d1                                    <== NOT EXECUTED
   4409a:	1202           	moveb %d2,%d1                               <== NOT EXECUTED
   4409c:	760d           	moveq #13,%d3                               <== NOT EXECUTED
   4409e:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   440a0:	6610           	bnes 440b2 <iproc+0x64>                     <== NOT EXECUTED
		if (tty->termios.c_iflag & IGNCR)                                   
   440a2:	4a00           	tstb %d0                                    <== NOT EXECUTED
   440a4:	6d00 00f8      	bltw 4419e <iproc+0x150>                    <== NOT EXECUTED
			return 0;                                                          
		if (tty->termios.c_iflag & ICRNL)                                   
   440a8:	0800 0008      	btst #8,%d0                                 <== NOT EXECUTED
   440ac:	671a           	beqs 440c8 <iproc+0x7a>                     <== NOT EXECUTED
   440ae:	740a           	moveq #10,%d2                               <== NOT EXECUTED
   440b0:	6016           	bras 440c8 <iproc+0x7a>                     <== NOT EXECUTED
			c = '\n';                                                          
	}                                                                    
	else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {            
   440b2:	760a           	moveq #10,%d3                               <== NOT EXECUTED
   440b4:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   440b6:	660a           	bnes 440c2 <iproc+0x74>                     <== NOT EXECUTED
   440b8:	0800 0006      	btst #6,%d0                                 <== NOT EXECUTED
   440bc:	670a           	beqs 440c8 <iproc+0x7a>                     <== NOT EXECUTED
   440be:	740d           	moveq #13,%d2                               <== NOT EXECUTED
   440c0:	6006           	bras 440c8 <iproc+0x7a>                     <== NOT EXECUTED
		c = '\r';                                                           
	}                                                                    
	if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {                
   440c2:	4a02           	tstb %d2                                    <== NOT EXECUTED
   440c4:	6700 009e      	beqw 44164 <iproc+0x116>                    <== NOT EXECUTED
   440c8:	222a 003c      	movel %a2@(60),%d1                          <== NOT EXECUTED
   440cc:	0801 0001      	btst #1,%d1                                 <== NOT EXECUTED
   440d0:	6700 0092      	beqw 44164 <iproc+0x116>                    <== NOT EXECUTED
		if (c == tty->termios.c_cc[VERASE]) {                               
   440d4:	4283           	clrl %d3                                    <== NOT EXECUTED
   440d6:	162a 0043      	moveb %a2@(67),%d3                          <== NOT EXECUTED
   440da:	4280           	clrl %d0                                    <== NOT EXECUTED
   440dc:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   440de:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   440e0:	6604           	bnes 440e6 <iproc+0x98>                     <== NOT EXECUTED
			erase (tty, 0);                                                    
   440e2:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   440e4:	600e           	bras 440f4 <iproc+0xa6>                     <== NOT EXECUTED
			return 0;                                                          
		}                                                                   
		else if (c == tty->termios.c_cc[VKILL]) {                           
   440e6:	4283           	clrl %d3                                    <== NOT EXECUTED
   440e8:	162a 0044      	moveb %a2@(68),%d3                          <== NOT EXECUTED
   440ec:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   440ee:	6610           	bnes 44100 <iproc+0xb2>                     <== NOT EXECUTED
			erase (tty, 1);                                                    
   440f0:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   440f4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   440f6:	4eba fdbe      	jsr %pc@(43eb6 <erase>)                     <== NOT EXECUTED
			return 0;                                                          
   440fa:	508f           	addql #8,%sp                                <== NOT EXECUTED
   440fc:	6000 00a0      	braw 4419e <iproc+0x150>                    <== NOT EXECUTED
		}                                                                   
		else if (c == tty->termios.c_cc[VEOF]) {                            
   44100:	4283           	clrl %d3                                    <== NOT EXECUTED
   44102:	162a 0045      	moveb %a2@(69),%d3                          <== NOT EXECUTED
   44106:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   44108:	6606           	bnes 44110 <iproc+0xc2>                     <== NOT EXECUTED
   4410a:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4410c:	6000 0092      	braw 441a0 <iproc+0x152>                    <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if (c == '\n') {                                               
   44110:	760a           	moveq #10,%d3                               <== NOT EXECUTED
   44112:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   44114:	6620           	bnes 44136 <iproc+0xe8>                     <== NOT EXECUTED
			if (tty->termios.c_lflag & (ECHO | ECHONL))                        
   44116:	7048           	moveq #72,%d0                               <== NOT EXECUTED
   44118:	c280           	andl %d0,%d1                                <== NOT EXECUTED
   4411a:	670c           	beqs 44128 <iproc+0xda>                     <== NOT EXECUTED
				echo (c, tty);                                                    
   4411c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4411e:	4878 000a      	pea a <LASTO>                               <== NOT EXECUTED
   44122:	4eba fd0c      	jsr %pc@(43e30 <echo>)                      <== NOT EXECUTED
   44126:	508f           	addql #8,%sp                                <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
   44128:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   4412c:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4412e:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
   44132:	740a           	moveq #10,%d2                               <== NOT EXECUTED
   44134:	605c           	bras 44192 <iproc+0x144>                    <== NOT EXECUTED
			return 1;                                                          
		}                                                                   
		else if ((c == tty->termios.c_cc[VEOL])                             
   44136:	4283           	clrl %d3                                    <== NOT EXECUTED
   44138:	162a 004c      	moveb %a2@(76),%d3                          <== NOT EXECUTED
   4413c:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   4413e:	670a           	beqs 4414a <iproc+0xfc>                     <== NOT EXECUTED
		      || (c == tty->termios.c_cc[VEOL2])) {                         
   44140:	4283           	clrl %d3                                    <== NOT EXECUTED
   44142:	162a 0051      	moveb %a2@(81),%d3                          <== NOT EXECUTED
   44146:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   44148:	661a           	bnes 44164 <iproc+0x116>                    <== NOT EXECUTED
			if (tty->termios.c_lflag & ECHO)                                   
   4414a:	44c1           	movew %d1,%ccr                              <== NOT EXECUTED
   4414c:	6a0e           	bpls 4415c <iproc+0x10e>                    <== NOT EXECUTED
				echo (c, tty);                                                    
   4414e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44150:	4280           	clrl %d0                                    <== NOT EXECUTED
   44152:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   44154:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44156:	4eba fcd8      	jsr %pc@(43e30 <echo>)                      <== NOT EXECUTED
   4415a:	508f           	addql #8,%sp                                <== NOT EXECUTED
			tty->cbuf[tty->ccount++] = c;                                      
   4415c:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   44160:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   44162:	602a           	bras 4418e <iproc+0x140>                    <== NOT EXECUTED
	}                                                                    
                                                                      
	/*                                                                   
	 * FIXME: Should do IMAXBEL handling somehow                         
	 */                                                                  
	if (tty->ccount < (CBUFSIZE-1)) {                                    
   44164:	2039 0005 d7c0 	movel 5d7c0 <rtems_termios_cbufsize>,%d0    <== NOT EXECUTED
   4416a:	5380           	subql #1,%d0                                <== NOT EXECUTED
   4416c:	b0aa 0020      	cmpl %a2@(32),%d0                           <== NOT EXECUTED
   44170:	6f2c           	bles 4419e <iproc+0x150>                    <== NOT EXECUTED
		if (tty->termios.c_lflag & ECHO)                                    
   44172:	7008           	moveq #8,%d0                                <== NOT EXECUTED
   44174:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   44178:	670e           	beqs 44188 <iproc+0x13a>                    <== NOT EXECUTED
			echo (c, tty);                                                     
   4417a:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4417c:	4280           	clrl %d0                                    <== NOT EXECUTED
   4417e:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   44180:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44182:	4eba fcac      	jsr %pc@(43e30 <echo>)                      <== NOT EXECUTED
   44186:	508f           	addql #8,%sp                                <== NOT EXECUTED
		tty->cbuf[tty->ccount++] = c;                                       
   44188:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   4418c:	4280           	clrl %d0                                    <== NOT EXECUTED
   4418e:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
   44192:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              <== NOT EXECUTED
   44196:	5281           	addql #1,%d1                                <== NOT EXECUTED
   44198:	2541 0020      	movel %d1,%a2@(32)                          <== NOT EXECUTED
   4419c:	6002           	bras 441a0 <iproc+0x152>                    <== NOT EXECUTED
   4419e:	4280           	clrl %d0                                    <== NOT EXECUTED
	}                                                                    
	return 0;                                                            
}                                                                     
   441a0:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   441a6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d624 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
   4d624:	4e56 ffd0      	linkw %fp,#-48                              
   4d628:	48d7 1cfc      	moveml %d2-%d7/%a2-%a4,%sp@                 
   4d62c:	242e 000c      	movel %fp@(12),%d2                          
   4d630:	246e 0010      	moveal %fp@(16),%a2                         
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
   4d634:	4eb9 0004 a35c 	jsr 4a35c <getpid>                          
   4d63a:	b0ae 0008      	cmpl %fp@(8),%d0                            
   4d63e:	6712           	beqs 4d652 <killinfo+0x2e>                  
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   4d640:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4d646:	7603           	moveq #3,%d3                                
   4d648:	72ff           	moveq #-1,%d1                               
   4d64a:	2040           	moveal %d0,%a0                              
   4d64c:	2083           	movel %d3,%a0@                              
   4d64e:	6000 01ec      	braw 4d83c <killinfo+0x218>                 
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
   4d652:	4a82           	tstl %d2                                    
   4d654:	670a           	beqs 4d660 <killinfo+0x3c>                  
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   4d656:	2202           	movel %d2,%d1                               
   4d658:	5381           	subql #1,%d1                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   4d65a:	701f           	moveq #31,%d0                               
   4d65c:	b081           	cmpl %d1,%d0                                
   4d65e:	6412           	bccs 4d672 <killinfo+0x4e>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4d660:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4d666:	7416           	moveq #22,%d2                               
   4d668:	72ff           	moveq #-1,%d1                               
   4d66a:	2040           	moveal %d0,%a0                              
   4d66c:	2082           	movel %d2,%a0@                              
   4d66e:	6000 01cc      	braw 4d83c <killinfo+0x218>                 
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
   4d672:	2602           	movel %d2,%d3                               
   4d674:	2002           	movel %d2,%d0                               
   4d676:	e58b           	lsll #2,%d3                                 
   4d678:	e988           	lsll #4,%d0                                 
   4d67a:	9083           	subl %d3,%d0                                
   4d67c:	0680 0005 f3e6 	addil #390118,%d0                           
   4d682:	7601           	moveq #1,%d3                                
   4d684:	2040           	moveal %d0,%a0                              
   4d686:	b690           	cmpl %a0@,%d3                               
   4d688:	6700 01b0      	beqw 4d83a <killinfo+0x216>                 
  /*                                                                  
   *  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 ) )      
   4d68c:	7008           	moveq #8,%d0                                
   4d68e:	b082           	cmpl %d2,%d0                                
   4d690:	670e           	beqs 4d6a0 <killinfo+0x7c>                  
   4d692:	7604           	moveq #4,%d3                                
   4d694:	b682           	cmpl %d2,%d3                                
   4d696:	6708           	beqs 4d6a0 <killinfo+0x7c>                  
   4d698:	103c 000b      	moveb #11,%d0                               
   4d69c:	b082           	cmpl %d2,%d0                                
   4d69e:	6618           	bnes 4d6b8 <killinfo+0x94>                  
      return pthread_kill( pthread_self(), sig );                     
   4d6a0:	4eb9 0004 dc48 	jsr 4dc48 <pthread_self>                    
   4d6a6:	2f02           	movel %d2,%sp@-                             
   4d6a8:	2f00           	movel %d0,%sp@-                             
   4d6aa:	4eb9 0004 db88 	jsr 4db88 <pthread_kill>                    
   4d6b0:	508f           	addql #8,%sp                                
   4d6b2:	2200           	movel %d0,%d1                               
   4d6b4:	6000 0186      	braw 4d83c <killinfo+0x218>                 
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
   4d6b8:	7601           	moveq #1,%d3                                
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
   4d6ba:	7001           	moveq #1,%d0                                
   4d6bc:	e3ab           	lsll %d1,%d3                                
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
   4d6be:	2d42 fff4      	movel %d2,%fp@(-12)                         
  siginfo->si_code = SI_USER;                                         
   4d6c2:	2d40 fff8      	movel %d0,%fp@(-8)                          
  if ( !value ) {                                                     
   4d6c6:	4a8a           	tstl %a2                                    
   4d6c8:	6606           	bnes 4d6d0 <killinfo+0xac>                  <== NEVER TAKEN
    siginfo->si_value.sival_int = 0;                                  
   4d6ca:	42ae fffc      	clrl %fp@(-4)                               
   4d6ce:	6004           	bras 4d6d4 <killinfo+0xb0>                  
  } else {                                                            
    siginfo->si_value = *value;                                       
   4d6d0:	2d52 fffc      	movel %a2@,%fp@(-4)                         
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   4d6d4:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   4d6da:	5280           	addql #1,%d0                                
   4d6dc:	23c0 0005 ef3c 	movel %d0,5ef3c <_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;                                     
   4d6e2:	2279 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a1        
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4d6e8:	2069 010e      	moveal %a1@(270),%a0                        
   4d6ec:	2028 00cc      	movel %a0@(204),%d0                         
   4d6f0:	4680           	notl %d0                                    
   4d6f2:	c083           	andl %d3,%d0                                
   4d6f4:	6600 00b2      	bnew 4d7a8 <killinfo+0x184>                 
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = the_chain->first ;                                 
   4d6f8:	2079 0005 f56a 	moveal 5f56a <_POSIX_signals_Wait_queue>,%a0
   4d6fe:	601c           	bras 4d71c <killinfo+0xf8>                  
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   4d700:	2003           	movel %d3,%d0                               
   4d702:	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 ];             
   4d706:	2468 010e      	moveal %a0@(270),%a2                        
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   4d70a:	6600 009c      	bnew 4d7a8 <killinfo+0x184>                 
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
   4d70e:	202a 00cc      	movel %a2@(204),%d0                         
   4d712:	4680           	notl %d0                                    
   4d714:	c083           	andl %d3,%d0                                
   4d716:	6600 0090      	bnew 4d7a8 <killinfo+0x184>                 
                                                                      
  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 ) {                                 
   4d71a:	2050           	moveal %a0@,%a0                             
                                                                      
    the_thread = (Thread_Control *)the_node;                          
   4d71c:	2248           	moveal %a0,%a1                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4d71e:	b1fc 0005 f56e 	cmpal #390510,%a0                           
   4d724:	66da           	bnes 4d700 <killinfo+0xdc>                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
   4d726:	4280           	clrl %d0                                    
   4d728:	1039 0005 d762 	moveb 5d762 <rtems_maximum_priority>,%d0    
   4d72e:	45f9 0005 eefc 	lea 5eefc <_Objects_Information_table+0x8>,%a2
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
   4d734:	93c9           	subal %a1,%a1                               
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
   4d736:	5280           	addql #1,%d0                                
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and ITRON is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
   4d738:	2052           	moveal %a2@,%a0                             
   4d73a:	4a88           	tstl %a0                                    
   4d73c:	675c           	beqs 4d79a <killinfo+0x176>                 
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
   4d73e:	2068 0004      	moveal %a0@(4),%a0                          
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
   4d742:	4287           	clrl %d7                                    
   4d744:	7801           	moveq #1,%d4                                
   4d746:	2668 0018      	moveal %a0@(24),%a3                         
   4d74a:	588b           	addql #4,%a3                                
   4d74c:	3e28 000e      	movew %a0@(14),%d7                          
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   4d750:	6044           	bras 4d796 <killinfo+0x172>                 
      the_thread = (Thread_Control *) object_table[ index ];          
   4d752:	2053           	moveal %a3@,%a0                             
                                                                      
      if ( !the_thread )                                              
   4d754:	4a88           	tstl %a0                                    
   4d756:	6732           	beqs 4d78a <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 )       
   4d758:	2228 0014      	movel %a0@(20),%d1                          
   4d75c:	b081           	cmpl %d1,%d0                                
   4d75e:	652a           	bcss 4d78a <killinfo+0x166>                 
      DEBUG_STEP("2");                                                
                                                                      
      /*                                                              
       *  If this thread is not interested, then go on to the next thread.
       */                                                             
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   4d760:	2868 010e      	moveal %a0@(270),%a4                        
   4d764:	2a2c 00cc      	movel %a4@(204),%d5                         
   4d768:	4685           	notl %d5                                    
   4d76a:	ca83           	andl %d3,%d5                                
   4d76c:	671c           	beqs 4d78a <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 ) {     
   4d76e:	b081           	cmpl %d1,%d0                                
   4d770:	621c           	bhis 4d78e <killinfo+0x16a>                 
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( !_States_Is_ready( interested->current_state ) ) {         
   4d772:	2c29 0010      	movel %a1@(16),%d6                          
   4d776:	6712           	beqs 4d78a <killinfo+0x166>                 <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
   4d778:	2a28 0010      	movel %a0@(16),%d5                          
   4d77c:	6710           	beqs 4d78e <killinfo+0x16a>                 
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
   4d77e:	0806 001c      	btst #28,%d6                                
   4d782:	6606           	bnes 4d78a <killinfo+0x166>                 
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
   4d784:	0805 001c      	btst #28,%d5                                
   4d788:	6604           	bnes 4d78e <killinfo+0x16a>                 
   4d78a:	2200           	movel %d0,%d1                               
   4d78c:	6002           	bras 4d790 <killinfo+0x16c>                 
   4d78e:	2248           	moveal %a0,%a1                              
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   4d790:	5284           	addql #1,%d4                                
   4d792:	588b           	addql #4,%a3                                
   4d794:	2001           	movel %d1,%d0                               
   4d796:	be84           	cmpl %d4,%d7                                
   4d798:	64b8           	bccs 4d752 <killinfo+0x12e>                 
   4d79a:	588a           	addql #4,%a2                                
   *    + 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++) {
   4d79c:	b5fc 0005 ef08 	cmpal #388872,%a2                           
   4d7a2:	6694           	bnes 4d738 <killinfo+0x114>                 
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
   4d7a4:	4a89           	tstl %a1                                    
   4d7a6:	671c           	beqs 4d7c4 <killinfo+0x1a0>                 
   *  thread needs to do the post context switch extension so it can  
   *  evaluate the signals pending.                                   
   */                                                                 
process_it:                                                           
                                                                      
  the_thread->do_post_task_switch_extension = true;                   
   4d7a8:	7001           	moveq #1,%d0                                
   4d7aa:	1340 0074      	moveb %d0,%a1@(116)                         
                                                                      
  /*                                                                  
   *  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 ) ) {  
   4d7ae:	486e fff4      	pea %fp@(-12)                               
   4d7b2:	2f02           	movel %d2,%sp@-                             
   4d7b4:	2f09           	movel %a1,%sp@-                             
   4d7b6:	4eb9 0004 da00 	jsr 4da00 <_POSIX_signals_Unblock_thread>   
   4d7bc:	4fef 000c      	lea %sp@(12),%sp                            
   4d7c0:	4a00           	tstb %d0                                    
   4d7c2:	6670           	bnes 4d834 <killinfo+0x210>                 
                                                                      
  /*                                                                  
   *  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 );                         
   4d7c4:	2f03           	movel %d3,%sp@-                             
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
   4d7c6:	2602           	movel %d2,%d3                               
   4d7c8:	e58a           	lsll #2,%d2                                 
   4d7ca:	e98b           	lsll #4,%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 );                         
   4d7cc:	4eb9 0004 d9d0 	jsr 4d9d0 <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
   4d7d2:	588f           	addql #4,%sp                                
   4d7d4:	9682           	subl %d2,%d3                                
   4d7d6:	41f9 0005 f3de 	lea 5f3de <_POSIX_signals_Vectors>,%a0      
   4d7dc:	7002           	moveq #2,%d0                                
   4d7de:	b0b0 3800      	cmpl %a0@(00000000,%d3:l),%d0               
   4d7e2:	6650           	bnes 4d834 <killinfo+0x210>                 
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
   4d7e4:	4879 0005 f55e 	pea 5f55e <_POSIX_signals_Inactive_siginfo> 
   4d7ea:	4eb9 0004 61c0 	jsr 461c0 <_Chain_Get>                      
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
   4d7f0:	588f           	addql #4,%sp                                
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
   4d7f2:	2440           	moveal %d0,%a2                              
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
   4d7f4:	4a80           	tstl %d0                                    
   4d7f6:	6616           	bnes 4d80e <killinfo+0x1ea>                 
      _Thread_Enable_dispatch();                                      
   4d7f8:	4eb9 0004 76b2 	jsr 476b2 <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
   4d7fe:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4d804:	72ff           	moveq #-1,%d1                               
   4d806:	2040           	moveal %d0,%a0                              
   4d808:	700b           	moveq #11,%d0                               
   4d80a:	2080           	movel %d0,%a0@                              
   4d80c:	602e           	bras 4d83c <killinfo+0x218>                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
   4d80e:	4878 000c      	pea c <OPER1>                               
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   4d812:	0683 0005 f5d6 	addil #390614,%d3                           
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
   4d818:	486e fff4      	pea %fp@(-12)                               
   4d81c:	486a 0008      	pea %a2@(8)                                 
   4d820:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   4d826:	2f0a           	movel %a2,%sp@-                             
   4d828:	2f03           	movel %d3,%sp@-                             
   4d82a:	4eb9 0004 6160 	jsr 46160 <_Chain_Append>                   
   4d830:	4fef 0014      	lea %sp@(20),%sp                            
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
   4d834:	4eb9 0004 76b2 	jsr 476b2 <_Thread_Enable_dispatch>         
   4d83a:	4281           	clrl %d1                                    
  return 0;                                                           
}                                                                     
   4d83c:	2001           	movel %d1,%d0                               
   4d83e:	4cee 1cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a4            
   4d844:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004390c <link>: int link( const char *existing, const char *new ) {
   4390c:	4e56 ffc4      	linkw %fp,#-60                              
   43910:	48d7 001c      	moveml %d2-%d4,%sp@                         
   43914:	262e 0008      	movel %fp@(8),%d3                           
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
   43918:	240e           	movel %fp,%d2                               
   4391a:	0682 ffff ffe4 	addil #-28,%d2                              
   43920:	2f03           	movel %d3,%sp@-                             
                                                                      
int link(                                                             
  const char *existing,                                               
  const char *new                                                     
)                                                                     
{                                                                     
   43922:	282e 000c      	movel %fp@(12),%d4                          
                                                                      
  /*                                                                  
   * Get the node we are linking to.                                  
   */                                                                 
                                                                      
  result = rtems_filesystem_evaluate_path( existing, strlen( existing ),
   43926:	4eb9 0005 0750 	jsr 50750 <strlen>                          
   4392c:	7201           	moveq #1,%d1                                
   4392e:	2e81           	movel %d1,%sp@                              
   43930:	2f02           	movel %d2,%sp@-                             
   43932:	42a7           	clrl %sp@-                                  
   43934:	2f00           	movel %d0,%sp@-                             
   43936:	2f03           	movel %d3,%sp@-                             
   43938:	4eb9 0004 3490 	jsr 43490 <rtems_filesystem_evaluate_path>  
                                           0, &existing_loc, true );  
  if ( result != 0 )                                                  
   4393e:	4fef 0014      	lea %sp@(20),%sp                            
   43942:	4a80           	tstl %d0                                    
   43944:	6706           	beqs 4394c <link+0x40>                      
   43946:	76ff           	moveq #-1,%d3                               
   43948:	6000 0152      	braw 43a9c <link+0x190>                     
                                                                      
  /*                                                                  
   * Get the parent of the node we are creating.                      
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &parent_loc );             
   4394c:	260e           	movel %fp,%d3                               
   4394e:	0683 ffff ffd0 	addil #-48,%d3                              
   43954:	2f03           	movel %d3,%sp@-                             
   43956:	486e fffc      	pea %fp@(-4)                                
   4395a:	2f04           	movel %d4,%sp@-                             
   4395c:	4eb9 0004 4728 	jsr 44728 <rtems_filesystem_get_start_loc>  
                                                                      
  if ( !parent_loc.ops->evalformake_h ) {                             
   43962:	206e ffdc      	moveal %fp@(-36),%a0                        
   43966:	4fef 000c      	lea %sp@(12),%sp                            
   4396a:	2068 0004      	moveal %a0@(4),%a0                          
   4396e:	4a88           	tstl %a0                                    
   43970:	661a           	bnes 4398c <link+0x80>                      <== ALWAYS TAKEN
    rtems_filesystem_freenode( &existing_loc );                       
   43972:	206e fff0      	moveal %fp@(-16),%a0                        <== NOT EXECUTED
   43976:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43978:	6700 00d2      	beqw 43a4c <link+0x140>                     <== NOT EXECUTED
   4397c:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43980:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43982:	6700 00c8      	beqw 43a4c <link+0x140>                     <== NOT EXECUTED
   43986:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   43988:	6000 00be      	braw 43a48 <link+0x13c>                     <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
   4398c:	486e fff8      	pea %fp@(-8)                                
   43990:	d8ae fffc      	addl %fp@(-4),%d4                           
   43994:	2f03           	movel %d3,%sp@-                             
   43996:	2f04           	movel %d4,%sp@-                             
   43998:	4e90           	jsr %a0@                                    
  if ( result != 0 ) {                                                
   4399a:	4fef 000c      	lea %sp@(12),%sp                            
  if ( !parent_loc.ops->evalformake_h ) {                             
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start );
   4399e:	2800           	movel %d0,%d4                               
  if ( result != 0 ) {                                                
   439a0:	6726           	beqs 439c8 <link+0xbc>                      
    rtems_filesystem_freenode( &existing_loc );                       
   439a2:	206e fff0      	moveal %fp@(-16),%a0                        
   439a6:	4a88           	tstl %a0                                    
   439a8:	670e           	beqs 439b8 <link+0xac>                      <== NEVER TAKEN
   439aa:	2068 001c      	moveal %a0@(28),%a0                         
   439ae:	4a88           	tstl %a0                                    
   439b0:	6706           	beqs 439b8 <link+0xac>                      <== NEVER TAKEN
   439b2:	2f02           	movel %d2,%sp@-                             
   439b4:	4e90           	jsr %a0@                                    
   439b6:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( result );                   
   439b8:	4eb9 0004 f284 	jsr 4f284 <__errno>                         
   439be:	76ff           	moveq #-1,%d3                               
   439c0:	2040           	moveal %d0,%a0                              
   439c2:	2084           	movel %d4,%a0@                              
   439c4:	6000 00d6      	braw 43a9c <link+0x190>                     
  /*                                                                  
   *  Check to see if the caller is trying to link across file system 
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( parent_loc.mt_entry != existing_loc.mt_entry ) {               
   439c8:	202e fff4      	movel %fp@(-12),%d0                         
   439cc:	b0ae ffe0      	cmpl %fp@(-32),%d0                          
   439d0:	6740           	beqs 43a12 <link+0x106>                     
    rtems_filesystem_freenode( &existing_loc );                       
   439d2:	206e fff0      	moveal %fp@(-16),%a0                        
   439d6:	4a88           	tstl %a0                                    
   439d8:	670e           	beqs 439e8 <link+0xdc>                      <== NEVER TAKEN
   439da:	2068 001c      	moveal %a0@(28),%a0                         
   439de:	4a88           	tstl %a0                                    
   439e0:	6706           	beqs 439e8 <link+0xdc>                      <== NEVER TAKEN
   439e2:	2f02           	movel %d2,%sp@-                             
   439e4:	4e90           	jsr %a0@                                    
   439e6:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &parent_loc );                         
   439e8:	206e ffdc      	moveal %fp@(-36),%a0                        
   439ec:	4a88           	tstl %a0                                    
   439ee:	6710           	beqs 43a00 <link+0xf4>                      <== NEVER TAKEN
   439f0:	2068 001c      	moveal %a0@(28),%a0                         
   439f4:	4a88           	tstl %a0                                    
   439f6:	6708           	beqs 43a00 <link+0xf4>                      <== NEVER TAKEN
   439f8:	486e ffd0      	pea %fp@(-48)                               
   439fc:	4e90           	jsr %a0@                                    
   439fe:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   43a00:	4eb9 0004 f284 	jsr 4f284 <__errno>                         
   43a06:	76ff           	moveq #-1,%d3                               
   43a08:	2040           	moveal %d0,%a0                              
   43a0a:	7012           	moveq #18,%d0                               
   43a0c:	2080           	movel %d0,%a0@                              
   43a0e:	6000 008c      	braw 43a9c <link+0x190>                     
  }                                                                   
                                                                      
  if ( !parent_loc.ops->link_h ) {                                    
   43a12:	206e ffdc      	moveal %fp@(-36),%a0                        
   43a16:	2068 0008      	moveal %a0@(8),%a0                          
   43a1a:	4a88           	tstl %a0                                    
   43a1c:	6640           	bnes 43a5e <link+0x152>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &existing_loc );                       
   43a1e:	206e fff0      	moveal %fp@(-16),%a0                        <== NOT EXECUTED
   43a22:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43a24:	670e           	beqs 43a34 <link+0x128>                     <== NOT EXECUTED
   43a26:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43a2a:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43a2c:	6706           	beqs 43a34 <link+0x128>                     <== NOT EXECUTED
   43a2e:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   43a30:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43a32:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_filesystem_freenode( &parent_loc );                         
   43a34:	206e ffdc      	moveal %fp@(-36),%a0                        <== NOT EXECUTED
   43a38:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43a3a:	6710           	beqs 43a4c <link+0x140>                     <== NOT EXECUTED
   43a3c:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   43a40:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43a42:	6708           	beqs 43a4c <link+0x140>                     <== NOT EXECUTED
   43a44:	486e ffd0      	pea %fp@(-48)                               <== NOT EXECUTED
   43a48:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43a4a:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   43a4c:	4eb9 0004 f284 	jsr 4f284 <__errno>                         <== NOT EXECUTED
   43a52:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   43a54:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43a56:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   43a5c:	603e           	bras 43a9c <link+0x190>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
   43a5e:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   43a62:	2f03           	movel %d3,%sp@-                             
   43a64:	2f02           	movel %d2,%sp@-                             
   43a66:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
   43a68:	206e fff0      	moveal %fp@(-16),%a0                        
    rtems_filesystem_freenode( &existing_loc );                       
    rtems_filesystem_freenode( &parent_loc );                         
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*parent_loc.ops->link_h)( &existing_loc, &parent_loc, name_start );
   43a6c:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &existing_loc );                         
   43a6e:	4fef 000c      	lea %sp@(12),%sp                            
   43a72:	4a88           	tstl %a0                                    
   43a74:	670e           	beqs 43a84 <link+0x178>                     <== NEVER TAKEN
   43a76:	2068 001c      	moveal %a0@(28),%a0                         
   43a7a:	4a88           	tstl %a0                                    
   43a7c:	6706           	beqs 43a84 <link+0x178>                     <== NEVER TAKEN
   43a7e:	2f02           	movel %d2,%sp@-                             
   43a80:	4e90           	jsr %a0@                                    
   43a82:	588f           	addql #4,%sp                                
  rtems_filesystem_freenode( &parent_loc );                           
   43a84:	206e ffdc      	moveal %fp@(-36),%a0                        
   43a88:	4a88           	tstl %a0                                    
   43a8a:	6710           	beqs 43a9c <link+0x190>                     <== NEVER TAKEN
   43a8c:	2068 001c      	moveal %a0@(28),%a0                         
   43a90:	4a88           	tstl %a0                                    
   43a92:	6708           	beqs 43a9c <link+0x190>                     <== NEVER TAKEN
   43a94:	486e ffd0      	pea %fp@(-48)                               
   43a98:	4e90           	jsr %a0@                                    
   43a9a:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   43a9c:	2003           	movel %d3,%d0                               
   43a9e:	4cee 001c ffc4 	moveml %fp@(-60),%d2-%d4                    
   43aa4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005b270 <lseek>: off_t lseek( int fd, off_t offset, int whence ) {
   5b270:	4e56 ffec      	linkw %fp,#-20                              
   5b274:	206e 0014      	moveal %fp@(20),%a0                         
   5b278:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   5b27c:	242e 0008      	movel %fp@(8),%d2                           
   5b280:	202e 000c      	movel %fp@(12),%d0                          
   5b284:	222e 0010      	movel %fp@(16),%d1                          
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
   5b288:	b4b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d2    
   5b28e:	6416           	bccs 5b2a6 <lseek+0x36>                     <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   5b290:	2479 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a2         
   5b296:	ed8a           	lsll #6,%d2                                 
   5b298:	d5c2           	addal %d2,%a2                               
  rtems_libio_check_is_open(iop);                                     
   5b29a:	242a 0014      	movel %a2@(20),%d2                          
   5b29e:	0282 0000 0100 	andil #256,%d2                              
   5b2a4:	660e           	bnes 5b2b4 <lseek+0x44>                     <== ALWAYS TAKEN
   5b2a6:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b2ac:	7209           	moveq #9,%d1                                <== NOT EXECUTED
   5b2ae:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b2b0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   5b2b2:	6068           	bras 5b31c <lseek+0xac>                     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Check as many errors as possible before touching iop->offset.   
   */                                                                 
                                                                      
  if ( !iop->handlers->lseek_h )                                      
   5b2b4:	226a 003c      	moveal %a2@(60),%a1                         
   5b2b8:	4aa9 0014      	tstl %a1@(20)                               
   5b2bc:	6610           	bnes 5b2ce <lseek+0x5e>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   5b2be:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b2c4:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b2c6:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   5b2cc:	604e           	bras 5b31c <lseek+0xac>                     <== NOT EXECUTED
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
   5b2ce:	7801           	moveq #1,%d4                                
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
   5b2d0:	242a 000c      	movel %a2@(12),%d2                          
   5b2d4:	262a 0010      	movel %a2@(16),%d3                          
  switch ( whence ) {                                                 
   5b2d8:	b888           	cmpl %a0,%d4                                
   5b2da:	6714           	beqs 5b2f0 <lseek+0x80>                     
   5b2dc:	7a02           	moveq #2,%d5                                
   5b2de:	ba88           	cmpl %a0,%d5                                
   5b2e0:	6718           	beqs 5b2fa <lseek+0x8a>                     
   5b2e2:	4a88           	tstl %a0                                    
   5b2e4:	662a           	bnes 5b310 <lseek+0xa0>                     
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
   5b2e6:	2540 000c      	movel %d0,%a2@(12)                          
   5b2ea:	2541 0010      	movel %d1,%a2@(16)                          
      break;                                                          
   5b2ee:	6032           	bras 5b322 <lseek+0xb2>                     
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
   5b2f0:	2800           	movel %d0,%d4                               
   5b2f2:	2a01           	movel %d1,%d5                               
   5b2f4:	da83           	addl %d3,%d5                                
   5b2f6:	d982           	addxl %d2,%d4                               
   5b2f8:	600c           	bras 5b306 <lseek+0x96>                     
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
   5b2fa:	282a 0004      	movel %a2@(4),%d4                           
   5b2fe:	2a2a 0008      	movel %a2@(8),%d5                           
   5b302:	da81           	addl %d1,%d5                                
   5b304:	d980           	addxl %d0,%d4                               
   5b306:	2544 000c      	movel %d4,%a2@(12)                          
   5b30a:	2545 0010      	movel %d5,%a2@(16)                          
      break;                                                          
   5b30e:	6012           	bras 5b322 <lseek+0xb2>                     
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   5b310:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   5b316:	2040           	moveal %d0,%a0                              
   5b318:	7016           	moveq #22,%d0                               
   5b31a:	2080           	movel %d0,%a0@                              
   5b31c:	78ff           	moveq #-1,%d4                               
   5b31e:	7aff           	moveq #-1,%d5                               
   5b320:	602c           	bras 5b34e <lseek+0xde>                     
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
   5b322:	226a 003c      	moveal %a2@(60),%a1                         
   5b326:	2f08           	movel %a0,%sp@-                             
   5b328:	2f01           	movel %d1,%sp@-                             
   5b32a:	2f00           	movel %d0,%sp@-                             
   5b32c:	2f0a           	movel %a2,%sp@-                             
   5b32e:	2069 0014      	moveal %a1@(20),%a0                         
   5b332:	4e90           	jsr %a0@                                    
  if ( status == (off_t) -1 )                                         
   5b334:	4fef 0010      	lea %sp@(16),%sp                            
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->handlers->lseek_h)( iop, offset, whence );          
   5b338:	2800           	movel %d0,%d4                               
   5b33a:	2a01           	movel %d1,%d5                               
  if ( status == (off_t) -1 )                                         
   5b33c:	70ff           	moveq #-1,%d0                               
   5b33e:	72ff           	moveq #-1,%d1                               
   5b340:	9285           	subl %d5,%d1                                
   5b342:	9184           	subxl %d4,%d0                               
   5b344:	6608           	bnes 5b34e <lseek+0xde>                     
    iop->offset = old_offset;                                         
   5b346:	2542 000c      	movel %d2,%a2@(12)                          
   5b34a:	2543 0010      	movel %d3,%a2@(16)                          
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
   5b34e:	2205           	movel %d5,%d1                               
   5b350:	2004           	movel %d4,%d0                               
   5b352:	4cee 043c ffec 	moveml %fp@(-20),%d2-%d5/%a2                
   5b358:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042b08 <malloc>: size_t size ) { void *return_this; MSBUMP(malloc_calls, 1);
   42b08:	4e56 fff4      	linkw %fp,#-12                              
   42b0c:	52b9 0005 edf8 	addql #1,5edf8 <rtems_malloc_statistics+0x4>
   42b12:	48d7 001c      	moveml %d2-%d4,%sp@                         
   42b16:	262e 0008      	movel %fp@(8),%d3                           
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
   42b1a:	4eb9 0004 2a18 	jsr 42a18 <malloc_deferred_frees_process>   
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
   42b20:	4a83           	tstl %d3                                    
   42b22:	6700 0086      	beqw 42baa <malloc+0xa2>                    
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   42b26:	7003           	moveq #3,%d0                                
   42b28:	b0b9 0005 f0c4 	cmpl 5f0c4 <_System_state_Current>,%d0      
   42b2e:	660a           	bnes 42b3a <malloc+0x32>                    
   42b30:	4eb9 0004 29c0 	jsr 429c0 <malloc_is_system_state_OK>       
   42b36:	4a00           	tstb %d0                                    
   42b38:	6770           	beqs 42baa <malloc+0xa2>                    <== 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 );
   42b3a:	42a7           	clrl %sp@-                                  
   42b3c:	42a7           	clrl %sp@-                                  
   42b3e:	2f03           	movel %d3,%sp@-                             
   42b40:	2f39 0005 d6c0 	movel 5d6c0 <RTEMS_Malloc_Heap>,%sp@-       
   42b46:	4eb9 0004 70e0 	jsr 470e0 <_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 ) {                                               
   42b4c:	4fef 0010      	lea %sp@(16),%sp                            
   42b50:	2400           	movel %d0,%d2                               
   42b52:	6626           	bnes 42b7a <malloc+0x72>                    
    if (rtems_malloc_sbrk_helpers)                                    
   42b54:	2079 0005 dd6a 	moveal 5dd6a <rtems_malloc_sbrk_helpers>,%a0
   42b5a:	4a88           	tstl %a0                                    
   42b5c:	670e           	beqs 42b6c <malloc+0x64>                    <== ALWAYS TAKEN
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
   42b5e:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42b60:	2068 0004      	moveal %a0@(4),%a0                          <== NOT EXECUTED
   42b64:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    if ( !return_this ) {                                             
   42b66:	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 );     
   42b68:	2800           	movel %d0,%d4                               <== NOT EXECUTED
    if ( !return_this ) {                                             
   42b6a:	6610           	bnes 42b7c <malloc+0x74>                    <== NOT EXECUTED
      errno = ENOMEM;                                                 
   42b6c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   42b72:	2040           	moveal %d0,%a0                              
   42b74:	700c           	moveq #12,%d0                               
   42b76:	2080           	movel %d0,%a0@                              
      return (void *) 0;                                              
   42b78:	6032           	bras 42bac <malloc+0xa4>                    
   42b7a:	2800           	movel %d0,%d4                               
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
   42b7c:	2079 0005 dd6e 	moveal 5dd6e <rtems_malloc_dirty_helper>,%a0
   42b82:	4a88           	tstl %a0                                    
   42b84:	6708           	beqs 42b8e <malloc+0x86>                    <== ALWAYS TAKEN
    (*rtems_malloc_dirty_helper)( return_this, size );                
   42b86:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42b88:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   42b8a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42b8c:	508f           	addql #8,%sp                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   42b8e:	2079 0005 dd66 	moveal 5dd66 <rtems_malloc_statistics_helpers>,%a0
   42b94:	4a88           	tstl %a0                                    
   42b96:	6604           	bnes 42b9c <malloc+0x94>                    <== NEVER TAKEN
   42b98:	2404           	movel %d4,%d2                               
   42b9a:	6010           	bras 42bac <malloc+0xa4>                    
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
   42b9c:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   42b9e:	2068 0004      	moveal %a0@(4),%a0                          <== NOT EXECUTED
   42ba2:	2404           	movel %d4,%d2                               <== NOT EXECUTED
   42ba4:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42ba6:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42ba8:	6002           	bras 42bac <malloc+0xa4>                    <== NOT EXECUTED
   42baa:	4282           	clrl %d2                                    <== NOT EXECUTED
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  return return_this;                                                 
}                                                                     
   42bac:	2002           	movel %d2,%d0                               
   42bae:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    
   42bb4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000429fe <malloc_deferred_free>: } void malloc_deferred_free( void *pointer ) {
   429fe:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
   42a02:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   42a06:	4879 0005 ede8 	pea 5ede8 <RTEMS_Malloc_GC_list>            <== NOT EXECUTED
   42a0c:	4eb9 0004 6160 	jsr 46160 <_Chain_Append>                   <== NOT EXECUTED
   42a12:	508f           	addql #8,%sp                                <== NOT EXECUTED
  rtems_chain_append(&RTEMS_Malloc_GC_list, (rtems_chain_node *)pointer);
}                                                                     
   42a14:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042a18 <malloc_deferred_frees_process>: { rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list); } void malloc_deferred_frees_process(void) {
   42a18:	4e56 0000      	linkw %fp,#0                                
   42a1c:	2f0b           	movel %a3,%sp@-                             
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
   42a1e:	47f9 0004 61c0 	lea 461c0 <_Chain_Get>,%a3                  
   42a24:	2f0a           	movel %a2,%sp@-                             
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
    free(to_be_freed);                                                
   42a26:	45f9 0004 2828 	lea 42828 <free>,%a2                        
  rtems_chain_node  *to_be_freed;                                     
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
   42a2c:	6006           	bras 42a34 <malloc_deferred_frees_process+0x1c>
    free(to_be_freed);                                                
   42a2e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42a30:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   42a32:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42a34:	4879 0005 ede8 	pea 5ede8 <RTEMS_Malloc_GC_list>            
   42a3a:	4e93           	jsr %a3@                                    
  rtems_chain_node  *to_be_freed;                                     
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  while ((to_be_freed = rtems_chain_get(&RTEMS_Malloc_GC_list)) != NULL)
   42a3c:	588f           	addql #4,%sp                                
   42a3e:	4a80           	tstl %d0                                    
   42a40:	66ec           	bnes 42a2e <malloc_deferred_frees_process+0x16><== NEVER TAKEN
    free(to_be_freed);                                                
}                                                                     
   42a42:	246e fff8      	moveal %fp@(-8),%a2                         
   42a46:	266e fffc      	moveal %fp@(-4),%a3                         
   42a4a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000429c0 <malloc_is_system_state_OK>: #include "malloc_p.h" rtems_chain_control RTEMS_Malloc_GC_list; bool malloc_is_system_state_OK(void) {
   429c0:	4e56 0000      	linkw %fp,#0                                
  if ( _Thread_Dispatch_disable_level > 0 )                           
   429c4:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   429ca:	6704           	beqs 429d0 <malloc_is_system_state_OK+0x10> <== ALWAYS TAKEN
   429cc:	4200           	clrb %d0                                    <== NOT EXECUTED
   429ce:	600a           	bras 429da <malloc_is_system_state_OK+0x1a> <== NOT EXECUTED
    return false;                                                     
                                                                      
  if ( _ISR_Nest_level > 0 )                                          
   429d0:	2039 0005 efd6 	movel 5efd6 <_ISR_Nest_level>,%d0           
                                                                      
#include "malloc_p.h"                                                 
                                                                      
rtems_chain_control RTEMS_Malloc_GC_list;                             
                                                                      
bool malloc_is_system_state_OK(void)                                  
   429d6:	57c0           	seq %d0                                     
   429d8:	4480           	negl %d0                                    
                                                                      
  if ( _ISR_Nest_level > 0 )                                          
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
   429da:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bfac <memfile_alloc_block>: */ int memfile_blocks_allocated = 0; void *memfile_alloc_block(void) {
   4bfac:	4e56 0000      	linkw %fp,#0                                
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
   4bfb0:	2f39 0005 e5d4 	movel 5e5d4 <imfs_memfile_bytes_per_block>,%sp@-
   4bfb6:	4878 0001      	pea 1 <ADD>                                 
   4bfba:	4eb9 0004 2438 	jsr 42438 <calloc>                          
  if ( memory )                                                       
   4bfc0:	508f           	addql #8,%sp                                
   4bfc2:	4a80           	tstl %d0                                    
   4bfc4:	6706           	beqs 4bfcc <memfile_alloc_block+0x20>       <== NEVER TAKEN
    memfile_blocks_allocated++;                                       
   4bfc6:	52b9 0005 e6e8 	addql #1,5e6e8 <memfile_blocks_allocated>   
                                                                      
  return memory;                                                      
}                                                                     
   4bfcc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c316 <memfile_check_rmnod>: return memfile_check_rmnod( the_jnode ); } int memfile_check_rmnod( IMFS_jnode_t *the_jnode ){
   4c316:	4e56 0000      	linkw %fp,#0                                
   4c31a:	2f0a           	movel %a2,%sp@-                             
   4c31c:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  /*                                                                  
   * The file cannot be open and the link must be less than 1 to free.
   */                                                                 
                                                                      
  if ( !rtems_libio_is_file_open( the_jnode ) && (the_jnode->st_nlink < 1) ) {
   4c320:	2f0a           	movel %a2,%sp@-                             
   4c322:	4eb9 0004 a3be 	jsr 4a3be <rtems_libio_is_file_open>        
   4c328:	588f           	addql #4,%sp                                
   4c32a:	4a80           	tstl %d0                                    
   4c32c:	6632           	bnes 4c360 <memfile_check_rmnod+0x4a>       
   4c32e:	4a6a 0032      	tstw %a2@(50)                               
   4c332:	662c           	bnes 4c360 <memfile_check_rmnod+0x4a>       <== NEVER TAKEN
                                                                      
    /*                                                                
     * Is the rtems_filesystem_current is this node?                  
     */                                                               
                                                                      
    if ( rtems_filesystem_current.node_access == the_jnode )          
   4c334:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   4c33a:	b5e8 0004      	cmpal %a0@(4),%a2                           
   4c33e:	6604           	bnes 4c344 <memfile_check_rmnod+0x2e>       <== ALWAYS TAKEN
       rtems_filesystem_current.node_access = NULL;                   
   4c340:	42a8 0004      	clrl %a0@(4)                                <== NOT EXECUTED
                                                                      
    /*                                                                
     * Free memory associated with a memory file.                     
     */                                                               
    if (the_jnode->type != IMFS_LINEAR_FILE)                          
   4c344:	7006           	moveq #6,%d0                                
   4c346:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4c34a:	670a           	beqs 4c356 <memfile_check_rmnod+0x40>       <== NEVER TAKEN
      IMFS_memfile_remove( the_jnode );                               
   4c34c:	2f0a           	movel %a2,%sp@-                             
   4c34e:	4eb9 0004 c1fc 	jsr 4c1fc <IMFS_memfile_remove>             
   4c354:	588f           	addql #4,%sp                                
                                                                      
    free( the_jnode );                                                
   4c356:	2f0a           	movel %a2,%sp@-                             
   4c358:	4eb9 0004 2828 	jsr 42828 <free>                            
   4c35e:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4c360:	246e fffc      	moveal %fp@(-4),%a2                         
   4c364:	4280           	clrl %d0                                    
   4c366:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c14a <memfile_free_blocks_in_table>: void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
   4c14a:	4e56 ffec      	linkw %fp,#-20                              
   4c14e:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4c152:	246e 0008      	moveal %fp@(8),%a2                          
   4c156:	262e 000c      	movel %fp@(12),%d3                          
                                                                      
  /*                                                                  
   *  Perform internal consistency checks                             
   */                                                                 
                                                                      
  assert( block_table );                                              
   4c15a:	4a8a           	tstl %a2                                    
   4c15c:	661c           	bnes 4c17a <memfile_free_blocks_in_table+0x30><== ALWAYS TAKEN
   4c15e:	4879 0005 cb5a 	pea 5cb5a <CSWTCH.8+0x88>                   <== NOT EXECUTED
   4c164:	4879 0005 cc41 	pea 5cc41 <__FUNCTION__.6118>               <== NOT EXECUTED
   4c16a:	4878 01b3      	pea 1b3 <DBL_MANT_DIG+0x17e>                <== NOT EXECUTED
   4c16e:	4879 0005 caec 	pea 5caec <CSWTCH.8+0x1a>                   <== NOT EXECUTED
   4c174:	4eb9 0004 a104 	jsr 4a104 <__assert_func>                   <== NOT EXECUTED
   4c17a:	2652           	moveal %a2@,%a3                             
   4c17c:	4282           	clrl %d2                                    
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
   4c17e:	49f9 0004 bf92 	lea 4bf92 <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++ ) {                                     
   4c184:	6010           	bras 4c196 <memfile_free_blocks_in_table+0x4c>
    if ( b[i] ) {                                                     
   4c186:	2013           	movel %a3@,%d0                              
   4c188:	6708           	beqs 4c192 <memfile_free_blocks_in_table+0x48>
      memfile_free_block( b[i] );                                     
   4c18a:	2f00           	movel %d0,%sp@-                             
   4c18c:	4e94           	jsr %a4@                                    
      b[i] = 0;                                                       
   4c18e:	588f           	addql #4,%sp                                
   4c190:	4293           	clrl %a3@                                   
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
                                                                      
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4c192:	5282           	addql #1,%d2                                
   4c194:	588b           	addql #4,%a3                                
   4c196:	b682           	cmpl %d2,%d3                                
   4c198:	6eec           	bgts 4c186 <memfile_free_blocks_in_table+0x3c>
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
                                                                      
  memfile_free_block( *block_table );                                 
   4c19a:	2f12           	movel %a2@,%sp@-                            
   4c19c:	4eb9 0004 bf92 	jsr 4bf92 <memfile_free_block>              
  *block_table = 0;                                                   
   4c1a2:	588f           	addql #4,%sp                                
   4c1a4:	4292           	clrl %a2@                                   
}                                                                     
   4c1a6:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4c1ac:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c58e <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
   4c58e:	4e56 ffec      	linkw %fp,#-20                              
   4c592:	206e 0008      	moveal %fp@(8),%a0                          
   4c596:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
   4c59a:	2468 0038      	moveal %a0@(56),%a2                         
                                                                      
int memfile_ftruncate(                                                
  rtems_libio_t        *iop,                                          
  rtems_off64_t         length                                        
)                                                                     
{                                                                     
   4c59e:	202e 000c      	movel %fp@(12),%d0                          
   4c5a2:	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 )                           
   4c5a6:	242a 004c      	movel %a2@(76),%d2                          
   4c5aa:	262a 0050      	movel %a2@(80),%d3                          
   4c5ae:	9681           	subl %d1,%d3                                
   4c5b0:	9580           	subxl %d0,%d2                               
   4c5b2:	6c12           	bges 4c5c6 <memfile_ftruncate+0x38>         <== ALWAYS TAKEN
    return IMFS_memfile_extend( the_jnode, length );                  
   4c5b4:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4c5b6:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4c5b8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4c5ba:	4eb9 0004 c466 	jsr 4c466 <IMFS_memfile_extend>             <== NOT EXECUTED
   4c5c0:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4c5c4:	6026           	bras 4c5ec <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;                                 
   4c5c6:	2540 004c      	movel %d0,%a2@(76)                          
   4c5ca:	2541 0050      	movel %d1,%a2@(80)                          
  iop->size = the_jnode->info.file.size;                              
   4c5ce:	2140 0004      	movel %d0,%a0@(4)                           
   4c5d2:	2141 0008      	movel %d1,%a0@(8)                           
                                                                      
  IMFS_update_atime( the_jnode );                                     
   4c5d6:	42a7           	clrl %sp@-                                  
   4c5d8:	486e fff8      	pea %fp@(-8)                                
   4c5dc:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4c5e2:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
                                                                      
  return 0;                                                           
   4c5e8:	508f           	addql #8,%sp                                
   */                                                                 
                                                                      
  the_jnode->info.file.size = length;                                 
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
   4c5ea:	4280           	clrl %d0                                    
                                                                      
  return 0;                                                           
}                                                                     
   4c5ec:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   4c5f2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c5f6 <memfile_lseek>: { IMFS_jnode_t *the_jnode; the_jnode = iop->file_info; if (the_jnode->type == IMFS_LINEAR_FILE) {
   4c5f6:	7006           	moveq #6,%d0                                
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
   4c5f8:	4e56 fff0      	linkw %fp,#-16                              
   4c5fc:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4c600:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->file_info;                                         
   4c604:	266a 0038      	moveal %a2@(56),%a3                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4c608:	b0ab 0048      	cmpl %a3@(72),%d0                           
   4c60c:	6620           	bnes 4c62e <memfile_lseek+0x38>             <== ALWAYS TAKEN
    if (iop->offset > the_jnode->info.linearfile.size)                
   4c60e:	202b 004c      	movel %a3@(76),%d0                          <== NOT EXECUTED
   4c612:	222b 0050      	movel %a3@(80),%d1                          <== NOT EXECUTED
   4c616:	242a 000c      	movel %a2@(12),%d2                          <== NOT EXECUTED
   4c61a:	262a 0010      	movel %a2@(16),%d3                          <== NOT EXECUTED
   4c61e:	9681           	subl %d1,%d3                                <== NOT EXECUTED
   4c620:	9580           	subxl %d0,%d2                               <== NOT EXECUTED
   4c622:	6f48           	bles 4c66c <memfile_lseek+0x76>             <== NOT EXECUTED
      iop->offset = the_jnode->info.linearfile.size;                  
   4c624:	2540 000c      	movel %d0,%a2@(12)                          <== NOT EXECUTED
   4c628:	2541 0010      	movel %d1,%a2@(16)                          <== NOT EXECUTED
   4c62c:	603e           	bras 4c66c <memfile_lseek+0x76>             <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
   4c62e:	2f2a 0010      	movel %a2@(16),%sp@-                        
   4c632:	2f2a 000c      	movel %a2@(12),%sp@-                        
   4c636:	2f0b           	movel %a3,%sp@-                             
   4c638:	4eb9 0004 c466 	jsr 4c466 <IMFS_memfile_extend>             
   4c63e:	4fef 000c      	lea %sp@(12),%sp                            
   4c642:	4a80           	tstl %d0                                    
   4c644:	6716           	beqs 4c65c <memfile_lseek+0x66>             <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   4c646:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4c64c:	761c           	moveq #28,%d3                               <== NOT EXECUTED
   4c64e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c650:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
   4c652:	307c ffff      	moveaw #-1,%a0                              <== NOT EXECUTED
   4c656:	327c ffff      	moveaw #-1,%a1                              <== NOT EXECUTED
   4c65a:	6018           	bras 4c674 <memfile_lseek+0x7e>             <== NOT EXECUTED
                                                                      
    iop->size = the_jnode->info.file.size;                            
   4c65c:	202b 004c      	movel %a3@(76),%d0                          
   4c660:	222b 0050      	movel %a3@(80),%d1                          
   4c664:	2540 0004      	movel %d0,%a2@(4)                           
   4c668:	2541 0008      	movel %d1,%a2@(8)                           
  }                                                                   
  return iop->offset;                                                 
   4c66c:	206a 000c      	moveal %a2@(12),%a0                         
   4c670:	226a 0010      	moveal %a2@(16),%a1                         
}                                                                     
   4c674:	2209           	movel %a1,%d1                               
   4c676:	2008           	movel %a0,%d0                               
   4c678:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4c67e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c8ce <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
   4c8ce:	4e56 fff0      	linkw %fp,#-16                              
   4c8d2:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4c8d6:	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))         
   4c8da:	202b 0014      	movel %a3@(20),%d0                          
   4c8de:	0280 0000 0204 	andil #516,%d0                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->file_info;                                         
   4c8e4:	246b 0038      	moveal %a3@(56),%a2                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   4c8e8:	6750           	beqs 4c93a <memfile_open+0x6c>              
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
   4c8ea:	7006           	moveq #6,%d0                                
   4c8ec:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4c8f0:	6648           	bnes 4c93a <memfile_open+0x6c>              <== ALWAYS TAKEN
    uint32_t   count = the_jnode->info.linearfile.size;               
   4c8f2:	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;                         
   4c8f6:	4282           	clrl %d2                                    <== NOT EXECUTED
   4c8f8:	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;  
   4c8fa:	222a 0054      	movel %a2@(84),%d1                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
   4c8fe:	2542 004c      	movel %d2,%a2@(76)                          <== NOT EXECUTED
   4c902:	2543 0050      	movel %d3,%a2@(80)                          <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
   4c906:	7605           	moveq #5,%d3                                <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
   4c908:	42aa 0054      	clrl %a2@(84)                               <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
   4c90c:	2543 0048      	movel %d3,%a2@(72)                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
   4c910:	42aa 0058      	clrl %a2@(88)                               <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
   4c914:	42aa 005c      	clrl %a2@(92)                               <== NOT EXECUTED
    if ((count != 0)                                                  
   4c918:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4c91a:	671e           	beqs 4c93a <memfile_open+0x6c>              <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
   4c91c:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4c91e:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4c920:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4c922:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4c924:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4c926:	4eb9 0004 c682 	jsr 4c682 <IMFS_memfile_write>              <== NOT EXECUTED
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
   4c92c:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   4c930:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4c932:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4c934:	6604           	bnes 4c93a <memfile_open+0x6c>              <== NOT EXECUTED
   4c936:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4c938:	602e           	bras 4c968 <memfile_open+0x9a>              <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
   4c93a:	202b 0014      	movel %a3@(20),%d0                          
   4c93e:	0280 0000 0200 	andil #512,%d0                              
   4c944:	6710           	beqs 4c956 <memfile_open+0x88>              
    iop->offset = the_jnode->info.file.size;                          
   4c946:	242a 004c      	movel %a2@(76),%d2                          
   4c94a:	262a 0050      	movel %a2@(80),%d3                          
   4c94e:	2742 000c      	movel %d2,%a3@(12)                          
   4c952:	2743 0010      	movel %d3,%a3@(16)                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
   4c956:	4280           	clrl %d0                                    
   4c958:	222a 004c      	movel %a2@(76),%d1                          
   4c95c:	242a 0050      	movel %a2@(80),%d2                          
   4c960:	2741 0004      	movel %d1,%a3@(4)                           
   4c964:	2742 0008      	movel %d2,%a3@(8)                           
  return 0;                                                           
}                                                                     
   4c968:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4c96e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c36a <memfile_rmnod>: int memfile_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
   4c36a:	4e56 fff8      	linkw %fp,#-8                               
   4c36e:	206e 000c      	moveal %fp@(12),%a0                         
   4c372:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
   4c374:	2450           	moveal %a0@,%a2                             
                                                                      
  /*                                                                  
   * Take the node out of the parent's chain that contains this node  
   */                                                                 
                                                                      
  if ( the_jnode->Parent != NULL ) {                                  
   4c376:	4aaa 0008      	tstl %a2@(8)                                
   4c37a:	670e           	beqs 4c38a <memfile_rmnod+0x20>             <== NEVER TAKEN
   4c37c:	2f0a           	movel %a2,%sp@-                             
   4c37e:	4eb9 0004 6198 	jsr 46198 <_Chain_Extract>                  
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
    the_jnode->Parent = NULL;                                         
   4c384:	588f           	addql #4,%sp                                
   4c386:	42aa 0008      	clrl %a2@(8)                                
                                                                      
  /*                                                                  
   * Decrement the link counter and see if we can free the space.     
   */                                                                 
                                                                      
  the_jnode->st_nlink--;                                              
   4c38a:	302a 0032      	movew %a2@(50),%d0                          
   4c38e:	5380           	subql #1,%d0                                
   4c390:	3540 0032      	movew %d0,%a2@(50)                          
  IMFS_update_ctime( the_jnode );                                     
   4c394:	42a7           	clrl %sp@-                                  
   4c396:	486e fff8      	pea %fp@(-8)                                
   4c39a:	4eb9 0004 28b0 	jsr 428b0 <gettimeofday>                    
   4c3a0:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return memfile_check_rmnod( the_jnode );                            
   4c3a6:	2f0a           	movel %a2,%sp@-                             
   4c3a8:	4eb9 0004 c316 	jsr 4c316 <memfile_check_rmnod>             
}                                                                     
   4c3ae:	246e fff4      	moveal %fp@(-12),%a2                        
   4c3b2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042bd8 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
   42bd8:	4e56 ffd8      	linkw %fp,#-40                              
   42bdc:	48d7 001c      	moveml %d2-%d4,%sp@                         
   42be0:	242e 000c      	movel %fp@(12),%d2                          
  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) ) )                 
   42be4:	2002           	movel %d2,%d0                               
   42be6:	0280 0000 f000 	andil #61440,%d0                            
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
   42bec:	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) ) )                 
   42bf0:	4a80           	tstl %d0                                    
   42bf2:	6612           	bnes 42c06 <mknod+0x2e>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   42bf4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42bfa:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   42bfc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42bfe:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   42c00:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42c02:	6000 009c      	braw 42ca0 <mknod+0xc8>                     <== NOT EXECUTED
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
   42c06:	260e           	movel %fp,%d3                               
   42c08:	0683 ffff ffe4 	addil #-28,%d3                              
   42c0e:	2f03           	movel %d3,%sp@-                             
   42c10:	486e fffc      	pea %fp@(-4)                                
   42c14:	2f04           	movel %d4,%sp@-                             
   42c16:	4eb9 0004 3540 	jsr 43540 <rtems_filesystem_get_start_loc>  
                                                                      
  if ( !temp_loc.ops->evalformake_h ) {                               
   42c1c:	206e fff0      	moveal %fp@(-16),%a0                        
   42c20:	4fef 000c      	lea %sp@(12),%sp                            
   42c24:	2068 0004      	moveal %a0@(4),%a0                          
   42c28:	4a88           	tstl %a0                                    
   42c2a:	6734           	beqs 42c60 <mknod+0x88>                     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
   42c2c:	486e fff8      	pea %fp@(-8)                                
   42c30:	d8ae fffc      	addl %fp@(-4),%d4                           
   42c34:	2f03           	movel %d3,%sp@-                             
   42c36:	2f04           	movel %d4,%sp@-                             
   42c38:	4e90           	jsr %a0@                                    
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
   42c3a:	4fef 000c      	lea %sp@(12),%sp                            
   42c3e:	4a80           	tstl %d0                                    
   42c40:	6704           	beqs 42c46 <mknod+0x6e>                     
   42c42:	74ff           	moveq #-1,%d2                               
   42c44:	605a           	bras 42ca0 <mknod+0xc8>                     
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->mknod_h ) {                                     
   42c46:	226e fff0      	moveal %fp@(-16),%a1                        
   42c4a:	2069 0014      	moveal %a1@(20),%a0                         
   42c4e:	4a88           	tstl %a0                                    
   42c50:	6620           	bnes 42c72 <mknod+0x9a>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &temp_loc );                           
   42c52:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   42c56:	4a88           	tstl %a0                                    <== NOT EXECUTED
   42c58:	6706           	beqs 42c60 <mknod+0x88>                     <== NOT EXECUTED
   42c5a:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42c5c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42c5e:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   42c60:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42c66:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   42c68:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42c6a:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   42c70:	602e           	bras 42ca0 <mknod+0xc8>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
   42c72:	2f03           	movel %d3,%sp@-                             
   42c74:	2f2e 0014      	movel %fp@(20),%sp@-                        
   42c78:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42c7c:	2f02           	movel %d2,%sp@-                             
   42c7e:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   42c82:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   42c84:	206e fff0      	moveal %fp@(-16),%a0                        
  if ( !temp_loc.ops->mknod_h ) {                                     
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
   42c88:	2400           	movel %d0,%d2                               
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   42c8a:	4fef 0014      	lea %sp@(20),%sp                            
   42c8e:	4a88           	tstl %a0                                    
   42c90:	670e           	beqs 42ca0 <mknod+0xc8>                     <== NEVER TAKEN
   42c92:	2068 001c      	moveal %a0@(28),%a0                         
   42c96:	4a88           	tstl %a0                                    
   42c98:	6706           	beqs 42ca0 <mknod+0xc8>                     
   42c9a:	2f03           	movel %d3,%sp@-                             
   42c9c:	4e90           	jsr %a0@                                    
   42c9e:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   42ca0:	2002           	movel %d2,%d0                               
   42ca2:	4cee 001c ffd8 	moveml %fp@(-40),%d2-%d4                    
   42ca8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042d22 <mount>: /* * Are the file system options valid? */ if ( options != RTEMS_FILESYSTEM_READ_ONLY &&
   42d22:	7001           	moveq #1,%d0                                
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
   42d24:	4e56 ffc0      	linkw %fp,#-64                              
   42d28:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   42d2c:	242e 0008      	movel %fp@(8),%d2                           
   42d30:	262e 000c      	movel %fp@(12),%d3                          
   42d34:	2a2e 0010      	movel %fp@(16),%d5                          
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
   42d38:	b0ae 0014      	cmpl %fp@(20),%d0                           
   42d3c:	6510           	bcss 42d4e <mount+0x2c>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
   42d3e:	2f05           	movel %d5,%sp@-                             
   42d40:	4eb9 0004 a736 	jsr 4a736 <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
   42d46:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
   42d48:	2a40           	moveal %d0,%a5                              
  if ( !mount_h )                                                     
   42d4a:	4a80           	tstl %d0                                    
   42d4c:	6612           	bnes 42d60 <mount+0x3e>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   42d4e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   42d54:	7816           	moveq #22,%d4                               
   42d56:	72ff           	moveq #-1,%d1                               
   42d58:	2040           	moveal %d0,%a0                              
   42d5a:	2084           	movel %d4,%a0@                              
   42d5c:	6000 0252      	braw 42fb0 <mount+0x28e>                    
{                                                                     
  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;                                   
   42d60:	4a83           	tstl %d3                                    
   42d62:	56c0           	sne %d0                                     
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
   42d64:	283c 0005 bf30 	movel #376624,%d4                           
{                                                                     
  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;                                   
   42d6a:	4480           	negl %d0                                    
   42d6c:	1c00           	moveb %d0,%d6                               
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
   42d6e:	6702           	beqs 42d72 <mount+0x50>                     
   42d70:	2803           	movel %d3,%d4                               
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
   42d72:	2f05           	movel %d5,%sp@-                             
   42d74:	45f9 0004 f5d0 	lea 4f5d0 <strlen>,%a2                      
   42d7a:	4e92           	jsr %a2@                                    
   42d7c:	588f           	addql #4,%sp                                
   42d7e:	2640           	moveal %d0,%a3                              
   42d80:	528b           	addql #1,%a3                                
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
   42d82:	4a82           	tstl %d2                                    
   42d84:	6604           	bnes 42d8a <mount+0x68>                     
   42d86:	99cc           	subal %a4,%a4                               
   42d88:	600a           	bras 42d94 <mount+0x72>                     
   42d8a:	2f02           	movel %d2,%sp@-                             
   42d8c:	4e92           	jsr %a2@                                    
   42d8e:	588f           	addql #4,%sp                                
   42d90:	2840           	moveal %d0,%a4                              
   42d92:	528c           	addql #1,%a4                                
  size_t target_length = strlen( target );                            
   42d94:	2f04           	movel %d4,%sp@-                             
   42d96:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
   42d9c:	588f           	addql #4,%sp                                
   42d9e:	2e00           	movel %d0,%d7                               
  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 ); 
   42da0:	41f3 0875      	lea %a3@(00000075,%d0:l),%a0                
   42da4:	4870 c800      	pea %a0@(00000000,%a4:l)                    
   42da8:	4878 0001      	pea 1 <ADD>                                 
   42dac:	4eb9 0004 2438 	jsr 42438 <calloc>                          
                                                                      
  if ( mt_entry != NULL ) {                                           
   42db2:	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 ); 
   42db4:	2440           	moveal %d0,%a2                              
                                                                      
  if ( mt_entry != NULL ) {                                           
   42db6:	4a80           	tstl %d0                                    
   42db8:	6772           	beqs 42e2c <mount+0x10a>                    <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
   42dba:	2f05           	movel %d5,%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 );              
   42dbc:	2a00           	movel %d0,%d5                               
   42dbe:	0685 0000 0074 	addil #116,%d5                              
                                                                      
    strcpy( str, filesystemtype );                                    
   42dc4:	41f9 0004 f124 	lea 4f124 <strcpy>,%a0                      
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
   42dca:	47f3 5800      	lea %a3@(00000000,%d5:l),%a3                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
   42dce:	2f05           	movel %d5,%sp@-                             
   42dd0:	2d48 ffe8      	movel %a0,%fp@(-24)                         
   42dd4:	4e90           	jsr %a0@                                    
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
   42dd6:	206e ffe8      	moveal %fp@(-24),%a0                        
   42dda:	508f           	addql #8,%sp                                
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    strcpy( str, filesystemtype );                                    
    mt_entry->type = str;                                             
   42ddc:	2545 006c      	movel %d5,%a2@(108)                         
    str += filesystemtype_size;                                       
                                                                      
    if ( source_or_null != NULL ) {                                   
   42de0:	4a82           	tstl %d2                                    
   42de2:	670e           	beqs 42df2 <mount+0xd0>                     
      strcpy( str, source_or_null );                                  
   42de4:	2f02           	movel %d2,%sp@-                             
   42de6:	2f0b           	movel %a3,%sp@-                             
   42de8:	4e90           	jsr %a0@                                    
      mt_entry->dev = str;                                            
      str += source_size;                                             
   42dea:	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;                                            
   42dec:	254b 0070      	movel %a3,%a2@(112)                         
      str += source_size;                                             
   42df0:	d7cc           	addal %a4,%a3                               
    }                                                                 
                                                                      
    strcpy( str, target );                                            
   42df2:	2f04           	movel %d4,%sp@-                             
   42df4:	2f0b           	movel %a3,%sp@-                             
   42df6:	4eb9 0004 f124 	jsr 4f124 <strcpy>                          
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   42dfc:	4878 0030      	pea 30 <OPER2+0x1c>                         
   42e00:	4879 0005 c3e4 	pea 5c3e4 <rtems_filesystem_default_pathconf>
   42e06:	486a 0038      	pea %a2@(56)                                
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
   42e0a:	202e 0014      	movel %fp@(20),%d0                          
      mt_entry->dev = str;                                            
      str += source_size;                                             
    }                                                                 
                                                                      
    strcpy( str, target );                                            
    mt_entry->target = str;                                           
   42e0e:	254b 0068      	movel %a3,%a2@(104)                         
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
   42e12:	2540 0030      	movel %d0,%a2@(48)                          
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
   42e16:	254a 002c      	movel %a2,%a2@(44)                          
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   42e1a:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
   42e20:	4fef 0014      	lea %sp@(20),%sp                            
   42e24:	4a06           	tstb %d6                                    
   42e26:	6700 00c8      	beqw 42ef0 <mount+0x1ce>                    
   42e2a:	6012           	bras 42e3e <mount+0x11c>                    
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   42e2c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42e32:	760c           	moveq #12,%d3                               <== NOT EXECUTED
   42e34:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   42e36:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42e38:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
   42e3a:	6000 0174      	braw 42fb0 <mount+0x28e>                    <== 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(                              
   42e3e:	4878 0001      	pea 1 <ADD>                                 
   42e42:	47ee ffec      	lea %fp@(-20),%a3                           
   42e46:	2f0b           	movel %a3,%sp@-                             
   42e48:	4878 0007      	pea 7 <TRUNCDFSF>                           
   42e4c:	2f07           	movel %d7,%sp@-                             
   42e4e:	2f03           	movel %d3,%sp@-                             
   42e50:	4eb9 0004 27ac 	jsr 427ac <rtems_filesystem_evaluate_path>  
   42e56:	4fef 0014      	lea %sp@(20),%sp                            
   42e5a:	72ff           	moveq #-1,%d1                               
   42e5c:	b280           	cmpl %d0,%d1                                
   42e5e:	6700 0128      	beqw 42f88 <mount+0x266>                    
                                                                      
    /*                                                                
     * Test for node_type_h                                           
     */                                                               
                                                                      
    if (!loc.ops->node_type_h) {                                      
   42e62:	206e fff8      	moveal %fp@(-8),%a0                         
   42e66:	2068 0010      	moveal %a0@(16),%a0                         
   42e6a:	4a88           	tstl %a0                                    
   42e6c:	6762           	beqs 42ed0 <mount+0x1ae>                    <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
   42e6e:	2f0b           	movel %a3,%sp@-                             
   42e70:	4e90           	jsr %a0@                                    
   42e72:	588f           	addql #4,%sp                                
   42e74:	7201           	moveq #1,%d1                                
   42e76:	b280           	cmpl %d0,%d1                                
   42e78:	6710           	beqs 42e8a <mount+0x168>                    
      errno = ENOTDIR;                                                
   42e7a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   42e80:	7414           	moveq #20,%d2                               
   42e82:	2040           	moveal %d0,%a0                              
   42e84:	2082           	movel %d2,%a0@                              
      goto cleanup_and_bail;                                          
   42e86:	6000 0102      	braw 42f8a <mount+0x268>                    
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
   42e8a:	2f2e ffec      	movel %fp@(-20),%sp@-                       
   42e8e:	487a fe1c      	pea %pc@(42cac <is_node_fs_root>)           
   42e92:	4eb9 0004 2cc4 	jsr 42cc4 <rtems_filesystem_mount_iterate>  
   42e98:	508f           	addql #8,%sp                                
   42e9a:	4a00           	tstb %d0                                    
   42e9c:	6710           	beqs 42eae <mount+0x18c>                    
      errno = EBUSY;                                                  
   42e9e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   42ea4:	7210           	moveq #16,%d1                               
   42ea6:	2040           	moveal %d0,%a0                              
   42ea8:	2081           	movel %d1,%a0@                              
      goto cleanup_and_bail;                                          
   42eaa:	6000 00de      	braw 42f8a <mount+0x268>                    
     *  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;                            
   42eae:	226e fff8      	moveal %fp@(-8),%a1                         
     *  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;            
   42eb2:	256e ffec 0008 	movel %fp@(-20),%a2@(8)                     
    mt_entry->mt_point_node.handlers = loc.handlers;                  
   42eb8:	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;                  
   42ebe:	256e fffc 0018 	movel %fp@(-4),%a2@(24)                     
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( !loc.ops->mount_h ){                                         
   42ec4:	2069 0020      	moveal %a1@(32),%a0                         
     *  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;                            
   42ec8:	2549 0014      	movel %a1,%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 ){                                         
   42ecc:	4a88           	tstl %a0                                    
   42ece:	6612           	bnes 42ee2 <mount+0x1c0>                    <== ALWAYS TAKEN
      errno = ENOTSUP;                                                
   42ed0:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42ed6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42ed8:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
      goto cleanup_and_bail;                                          
   42ede:	6000 00aa      	braw 42f8a <mount+0x268>                    <== NOT EXECUTED
    }                                                                 
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
   42ee2:	2f0a           	movel %a2,%sp@-                             
   42ee4:	4e90           	jsr %a0@                                    
   42ee6:	588f           	addql #4,%sp                                
   42ee8:	4a80           	tstl %d0                                    
   42eea:	6726           	beqs 42f12 <mount+0x1f0>                    <== ALWAYS TAKEN
   42eec:	6000 009c      	braw 42f8a <mount+0x268>                    <== NOT EXECUTED
   42ef0:	203c 0005 d7b4 	movel #382900,%d0                           
   42ef6:	b0b9 0005 d7b0 	cmpl 5d7b0 <mount_chain>,%d0                
   42efc:	6604           	bnes 42f02 <mount+0x1e0>                    <== NEVER TAKEN
   42efe:	97cb           	subal %a3,%a3                               
   42f00:	6010           	bras 42f12 <mount+0x1f0>                    
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
   42f02:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42f08:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
   42f0a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42f0c:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   42f0e:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
      goto cleanup_and_bail;                                          
   42f10:	6078           	bras 42f8a <mount+0x268>                    <== NOT EXECUTED
     *  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 ) ) {                               
   42f12:	2f2e 0018      	movel %fp@(24),%sp@-                        
   42f16:	2f0a           	movel %a2,%sp@-                             
   42f18:	4e95           	jsr %a5@                                    
   42f1a:	508f           	addql #8,%sp                                
   42f1c:	4a80           	tstl %d0                                    
   42f1e:	6714           	beqs 42f34 <mount+0x212>                    <== ALWAYS TAKEN
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    if ( loc.ops->unmount_h ) {                                       
   42f20:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   42f24:	2068 0028      	moveal %a0@(40),%a0                         <== NOT EXECUTED
   42f28:	4a88           	tstl %a0                                    <== NOT EXECUTED
   42f2a:	675e           	beqs 42f8a <mount+0x268>                    <== NOT EXECUTED
      loc.ops->unmount_h( mt_entry );                                 
   42f2c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42f2e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42f30:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42f32:	6056           	bras 42f8a <mount+0x268>                    <== 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 );
   42f34:	42a7           	clrl %sp@-                                  
   42f36:	42a7           	clrl %sp@-                                  
   42f38:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   42f3e:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
   42f44:	2f0a           	movel %a2,%sp@-                             
   42f46:	4879 0005 d7b0 	pea 5d7b0 <mount_chain>                     
   42f4c:	4eb9 0004 6160 	jsr 46160 <_Chain_Append>                   
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   42f52:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   42f58:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
   42f5e:	4fef 0018      	lea %sp@(24),%sp                            
   42f62:	4a06           	tstb %d6                                    
   42f64:	661e           	bnes 42f84 <mount+0x262>                    
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
   42f66:	4878 0014      	pea 14 <OPER2>                              
   42f6a:	486a 001c      	pea %a2@(28)                                
   42f6e:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   42f74:	41e8 0018      	lea %a0@(24),%a0                            
   42f78:	2f08           	movel %a0,%sp@-                             
   42f7a:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
   42f80:	4fef 000c      	lea %sp@(12),%sp                            
   42f84:	4281           	clrl %d1                                    
   42f86:	6028           	bras 42fb0 <mount+0x28e>                    
   42f88:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   42f8a:	2f0a           	movel %a2,%sp@-                             
   42f8c:	4eb9 0004 2828 	jsr 42828 <free>                            
                                                                      
  if ( loc_to_free )                                                  
   42f92:	588f           	addql #4,%sp                                
   42f94:	4a8b           	tstl %a3                                    
   42f96:	6716           	beqs 42fae <mount+0x28c>                    <== NEVER TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
   42f98:	206b 000c      	moveal %a3@(12),%a0                         
   42f9c:	4a88           	tstl %a0                                    
   42f9e:	670e           	beqs 42fae <mount+0x28c>                    <== NEVER TAKEN
   42fa0:	2068 001c      	moveal %a0@(28),%a0                         
   42fa4:	4a88           	tstl %a0                                    
   42fa6:	6706           	beqs 42fae <mount+0x28c>                    <== NEVER TAKEN
   42fa8:	2f0b           	movel %a3,%sp@-                             
   42faa:	4e90           	jsr %a0@                                    
   42fac:	588f           	addql #4,%sp                                
   42fae:	72ff           	moveq #-1,%d1                               
                                                                      
  return -1;                                                          
}                                                                     
   42fb0:	2001           	movel %d1,%d0                               
   42fb2:	4cee 3cfc ffc0 	moveml %fp@(-64),%d2-%d7/%a2-%a5            
   42fb8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005bf84 <nanosleep>: int nanosleep( const struct timespec *rqtp, struct timespec *rmtp ) {
   5bf84:	4e56 fff4      	linkw %fp,#-12                              
   5bf88:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   5bf8c:	266e 0008      	moveal %fp@(8),%a3                          
   5bf90:	246e 000c      	moveal %fp@(12),%a2                         
  Watchdog_Interval  ticks;                                           
                                                                      
  if ( !_Timespec_Is_valid( rqtp ) )                                  
   5bf94:	2f0b           	movel %a3,%sp@-                             
   5bf96:	4eb9 0005 c0d4 	jsr 5c0d4 <_Timespec_Is_valid>              
   5bf9c:	588f           	addql #4,%sp                                
   5bf9e:	4a00           	tstb %d0                                    
   5bfa0:	670a           	beqs 5bfac <nanosleep+0x28>                 
   *  Return EINVAL if the delay interval is negative.                
   *                                                                  
   *  NOTE:  This behavior is beyond the POSIX specification.         
   *         FSU and GNU/Linux pthreads shares this behavior.         
   */                                                                 
  if ( rqtp->tv_sec < 0 || rqtp->tv_nsec < 0 )                        
   5bfa2:	4a93           	tstl %a3@                                   
   5bfa4:	6d06           	blts 5bfac <nanosleep+0x28>                 <== NEVER TAKEN
   5bfa6:	4aab 0004      	tstl %a3@(4)                                
   5bfaa:	6c12           	bges 5bfbe <nanosleep+0x3a>                 <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   5bfac:	4eb9 0004 e5e4 	jsr 4e5e4 <__errno>                         
   5bfb2:	7416           	moveq #22,%d2                               
   5bfb4:	72ff           	moveq #-1,%d1                               
   5bfb6:	2040           	moveal %d0,%a0                              
   5bfb8:	2082           	movel %d2,%a0@                              
   5bfba:	6000 00ce      	braw 5c08a <nanosleep+0x106>                
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
   5bfbe:	2f0b           	movel %a3,%sp@-                             
   5bfc0:	47f9 0004 7a4e 	lea 47a4e <_Thread_Enable_dispatch>,%a3     
   5bfc6:	4eb9 0004 c310 	jsr 4c310 <_Timespec_To_ticks>              
   *  A nanosleep for zero time is implemented as a yield.            
   *  This behavior is also beyond the POSIX specification but is     
   *  consistent with the RTEMS API and yields desirable behavior.    
   */                                                                 
                                                                      
  if ( !ticks ) {                                                     
   5bfcc:	588f           	addql #4,%sp                                
   *         FSU and GNU/Linux pthreads shares this behavior.         
   */                                                                 
  if ( rqtp->tv_sec < 0 || rqtp->tv_nsec < 0 )                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  ticks = _Timespec_To_ticks( rqtp );                                 
   5bfce:	2400           	movel %d0,%d2                               
   *  A nanosleep for zero time is implemented as a yield.            
   *  This behavior is also beyond the POSIX specification but is     
   *  consistent with the RTEMS API and yields desirable behavior.    
   */                                                                 
                                                                      
  if ( !ticks ) {                                                     
   5bfd0:	6628           	bnes 5bffa <nanosleep+0x76>                 
   5bfd2:	2039 0005 fd64 	movel 5fd64 <_Thread_Dispatch_disable_level>,%d0
   5bfd8:	5280           	addql #1,%d0                                
   5bfda:	23c0 0005 fd64 	movel %d0,5fd64 <_Thread_Dispatch_disable_level>
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
   5bfe0:	4eb9 0004 8658 	jsr 48658 <_Thread_Yield_processor>         
    _Thread_Enable_dispatch();                                        
   5bfe6:	4e93           	jsr %a3@                                    
    if ( rmtp ) {                                                     
   5bfe8:	4a8a           	tstl %a2                                    
   5bfea:	6700 009c      	beqw 5c088 <nanosleep+0x104>                
       rmtp->tv_sec = 0;                                              
       rmtp->tv_nsec = 0;                                             
   5bfee:	42aa 0004      	clrl %a2@(4)                                
   5bff2:	4281           	clrl %d1                                    
  if ( !ticks ) {                                                     
    _Thread_Disable_dispatch();                                       
      _Thread_Yield_processor();                                      
    _Thread_Enable_dispatch();                                        
    if ( rmtp ) {                                                     
       rmtp->tv_sec = 0;                                              
   5bff4:	4292           	clrl %a2@                                   
   5bff6:	6000 0092      	braw 5c08a <nanosleep+0x106>                
   5bffa:	2039 0005 fd64 	movel 5fd64 <_Thread_Dispatch_disable_level>,%d0
   5c000:	5280           	addql #1,%d0                                
   5c002:	23c0 0005 fd64 	movel %d0,5fd64 <_Thread_Dispatch_disable_level>
                                                                      
  /*                                                                  
   *  Block for the desired amount of time                            
   */                                                                 
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
   5c008:	2f3c 1000 0008 	movel #268435464,%sp@-                      
   5c00e:	2f39 0005 fe1e 	movel 5fe1e <_Thread_Executing>,%sp@-       
   5c014:	4eb9 0004 827c 	jsr 4827c <_Thread_Set_state>               
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
      &_Thread_Executing->Timer,                                      
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
   5c01a:	2079 0005 fe1e 	moveal 5fe1e <_Thread_Executing>,%a0        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   5c020:	203c 0004 78c0 	movel #293056,%d0                           
   5c026:	2140 0064      	movel %d0,%a0@(100)                         
  _Thread_Disable_dispatch();                                         
    _Thread_Set_state(                                                
      _Thread_Executing,                                              
      STATES_DELAYING | STATES_INTERRUPTIBLE_BY_SIGNAL                
    );                                                                
    _Watchdog_Initialize(                                             
   5c02a:	2028 0008      	movel %a0@(8),%d0                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   5c02e:	42a8 0050      	clrl %a0@(80)                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   5c032:	2140 0068      	movel %d0,%a0@(104)                         
  the_watchdog->user_data = user_data;                                
   5c036:	42a8 006c      	clrl %a0@(108)                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   5c03a:	2142 0054      	movel %d2,%a0@(84)                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   5c03e:	4868 0048      	pea %a0@(72)                                
   5c042:	4879 0005 fe3c 	pea 5fe3c <_Watchdog_Ticks_chain>           
   5c048:	4eb9 0004 8a3c 	jsr 48a3c <_Watchdog_Insert>                
      _Thread_Delay_ended,                                            
      _Thread_Executing->Object.id,                                   
      NULL                                                            
    );                                                                
    _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );       
  _Thread_Enable_dispatch();                                          
   5c04e:	4e93           	jsr %a3@                                    
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
   5c050:	4fef 0010      	lea %sp@(16),%sp                            
   5c054:	4a8a           	tstl %a2                                    
   5c056:	6730           	beqs 5c088 <nanosleep+0x104>                
    ticks -=                                                          
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
   5c058:	2079 0005 fe1e 	moveal 5fe1e <_Thread_Executing>,%a0        
  _Thread_Enable_dispatch();                                          
                                                                      
  /* calculate time remaining */                                      
                                                                      
  if ( rmtp ) {                                                       
    ticks -=                                                          
   5c05e:	2028 005c      	movel %a0@(92),%d0                          
   5c062:	90a8 0060      	subl %a0@(96),%d0                           
   5c066:	d480           	addl %d0,%d2                                
      _Thread_Executing->Timer.stop_time - _Thread_Executing->Timer.start_time;
                                                                      
    _Timespec_From_ticks( ticks, rmtp );                              
   5c068:	2f0a           	movel %a2,%sp@-                             
   5c06a:	2f02           	movel %d2,%sp@-                             
   5c06c:	4eb9 0005 c098 	jsr 5c098 <_Timespec_From_ticks>            
     */                                                               
    #if defined(RTEMS_POSIX_API)                                      
        /*                                                            
         *  If there is time remaining, then we were interrupted by a signal.
         */                                                           
        if ( ticks )                                                  
   5c072:	508f           	addql #8,%sp                                
   5c074:	4a82           	tstl %d2                                    
   5c076:	6710           	beqs 5c088 <nanosleep+0x104>                
          rtems_set_errno_and_return_minus_one( EINTR );              
   5c078:	4eb9 0004 e5e4 	jsr 4e5e4 <__errno>                         
   5c07e:	72ff           	moveq #-1,%d1                               
   5c080:	2040           	moveal %d0,%a0                              
   5c082:	7004           	moveq #4,%d0                                
   5c084:	2080           	movel %d0,%a0@                              
   5c086:	6002           	bras 5c08a <nanosleep+0x106>                
   5c088:	4281           	clrl %d1                                    
    #endif                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   5c08a:	2001           	movel %d1,%d0                               
   5c08c:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   5c092:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043048 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
   43048:	4e56 fff4      	linkw %fp,#-12                              
   4304c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   43050:	262e 0008      	movel %fp@(8),%d3                           
   43054:	246e 000c      	moveal %fp@(12),%a2                         
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
   43058:	b5c3           	cmpal %d3,%a2                               
   4305a:	6608           	bnes 43064 <newlib_delete_hook+0x1c>        
    ptr = _REENT;                                                     
   4305c:	2439 0005 d8a8 	movel 5d8a8 <_impure_ptr>,%d2               
   43062:	6004           	bras 43068 <newlib_delete_hook+0x20>        
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
   43064:	242a 0106      	movel %a2@(262),%d2                         
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
   43068:	4a82           	tstl %d2                                    
   4306a:	6722           	beqs 4308e <newlib_delete_hook+0x46>        <== NEVER TAKEN
   4306c:	b4b9 0005 ceaa 	cmpl 5ceaa <_global_impure_ptr>,%d2         
   43072:	671a           	beqs 4308e <newlib_delete_hook+0x46>        
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
   43074:	4879 0004 30a6 	pea 430a6 <newlib_free_buffers>             
   4307a:	2f02           	movel %d2,%sp@-                             
   4307c:	4eb9 0004 e94a 	jsr 4e94a <_fwalk>                          
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
   43082:	2f02           	movel %d2,%sp@-                             
   43084:	4eb9 0004 8884 	jsr 48884 <_Workspace_Free>                 
   4308a:	4fef 000c      	lea %sp@(12),%sp                            
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
   4308e:	42aa 0106      	clrl %a2@(262)                              
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
   43092:	b5c3           	cmpal %d3,%a2                               
   43094:	6606           	bnes 4309c <newlib_delete_hook+0x54>        
    _REENT = 0;                                                       
   43096:	42b9 0005 d8a8 	clrl 5d8a8 <_impure_ptr>                    
  }                                                                   
}                                                                     
   4309c:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   430a2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000430a6 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
   430a6:	4e56 0000      	linkw %fp,#0                                
   430aa:	2f0a           	movel %a2,%sp@-                             
   430ac:	246e 0008      	moveal %fp@(8),%a2                          
  switch ( fileno(fp) ) {                                             
   430b0:	2f0a           	movel %a2,%sp@-                             
   430b2:	4eb9 0004 e538 	jsr 4e538 <fileno>                          
   430b8:	588f           	addql #4,%sp                                
   430ba:	7202           	moveq #2,%d1                                
   430bc:	b280           	cmpl %d0,%d1                                
   430be:	652a           	bcss 430ea <newlib_free_buffers+0x44>       <== NEVER TAKEN
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
   430c0:	302a 000c      	movew %a2@(12),%d0                          
   430c4:	48c0           	extl %d0                                    
   430c6:	4a00           	tstb %d0                                    
   430c8:	6c2a           	bges 430f4 <newlib_free_buffers+0x4e>       <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
   430ca:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   430ce:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   430d4:	588f           	addql #4,%sp                                <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   430d6:	302a 000c      	movew %a2@(12),%d0                          <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   430da:	42aa 0010      	clrl %a2@(16)                               <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   430de:	0880 0007      	bclr #7,%d0                                 <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   430e2:	4292           	clrl %a2@                                   <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   430e4:	3540 000c      	movew %d0,%a2@(12)                          <== NOT EXECUTED
   430e8:	600a           	bras 430f4 <newlib_free_buffers+0x4e>       <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
   430ea:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   430ec:	4eb9 0004 e2e2 	jsr 4e2e2 <fclose>                          <== NOT EXECUTED
   430f2:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
   430f4:	246e fffc      	moveal %fp@(-4),%a2                         
   430f8:	4280           	clrl %d0                                    
   430fa:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000427f8 <null_initialize>: rtems_device_driver null_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *pargp __attribute__((unused)) ) {
   427f8:	4e56 0000      	linkw %fp,#0                                
   427fc:	2f02           	movel %d2,%sp@-                             
   427fe:	242e 0008      	movel %fp@(8),%d2                           
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
   42802:	4a39 0005 f8ac 	tstb 5f8ac <initialized>                    
   42808:	662e           	bnes 42838 <null_initialize+0x40>           
    initialized = 1;                                                  
                                                                      
    status = rtems_io_register_name(                                  
   4280a:	42a7           	clrl %sp@-                                  
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
   4280c:	7001           	moveq #1,%d0                                
                                                                      
    status = rtems_io_register_name(                                  
   4280e:	2f02           	movel %d2,%sp@-                             
   42810:	4879 0005 d160 	pea 5d160 <IntUartPollCallbacks.6645+0x20>  
)                                                                     
{                                                                     
  rtems_device_driver status;                                         
                                                                      
  if ( !initialized ) {                                               
    initialized = 1;                                                  
   42816:	13c0 0005 f8ac 	moveb %d0,5f8ac <initialized>               
                                                                      
    status = rtems_io_register_name(                                  
   4281c:	4eb9 0004 2e50 	jsr 42e50 <rtems_io_register_name>          
      "/dev/null",                                                    
      major,                                                          
      (rtems_device_minor_number) 0                                   
    );                                                                
                                                                      
    if (status != RTEMS_SUCCESSFUL)                                   
   42822:	4fef 000c      	lea %sp@(12),%sp                            
   42826:	4a80           	tstl %d0                                    
   42828:	6708           	beqs 42832 <null_initialize+0x3a>           <== ALWAYS TAKEN
      rtems_fatal_error_occurred(status);                             
   4282a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4282c:	4eb9 0004 6938 	jsr 46938 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
    NULL_major = major;                                               
   42832:	23c2 0006 00d4 	movel %d2,600d4 <NULL_major>                
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   42838:	242e fffc      	movel %fp@(-4),%d2                          
   4283c:	4280           	clrl %d0                                    
   4283e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000427d6 <null_write>: rtems_device_driver null_write( rtems_device_major_number major __attribute__((unused)), rtems_device_minor_number minor __attribute__((unused)), void *pargp ) {
   427d6:	4e56 0000      	linkw %fp,#0                                
   427da:	206e 0010      	moveal %fp@(16),%a0                         
  rtems_libio_rw_args_t *rw_args = (rtems_libio_rw_args_t *) pargp;   
                                                                      
  if ( rw_args )                                                      
   427de:	4a88           	tstl %a0                                    
   427e0:	6706           	beqs 427e8 <null_write+0x12>                <== ALWAYS TAKEN
    rw_args->bytes_moved = rw_args->count;                            
   427e2:	2168 0010 0018 	movel %a0@(16),%a0@(24)                     
                                                                      
  return NULL_SUCCESSFUL;                                             
}                                                                     
   427e8:	4280           	clrl %d0                                    
   427ea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043308 <open>: int open( const char *pathname, int flags, ... ) {
   43308:	4e56 ffc8      	linkw %fp,#-56                              
   4330c:	48d7 3c7c      	moveml %d2-%d6/%a2-%a5,%sp@                 
   43310:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
   43314:	2002           	movel %d2,%d0                               
   43316:	5280           	addql #1,%d0                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
   43318:	262e 0008      	movel %fp@(8),%d3                           
   * Set the Evaluation flags                                         
   */                                                                 
                                                                      
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
   4331c:	0800 0000      	btst #0,%d0                                 
   43320:	6604           	bnes 43326 <open+0x1e>                      
   43322:	4284           	clrl %d4                                    
   43324:	6002           	bras 43328 <open+0x20>                      
   43326:	7804           	moveq #4,%d4                                
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
  if ( ( status & _FWRITE ) == _FWRITE )                              
   43328:	0800 0001      	btst #1,%d0                                 
   4332c:	6704           	beqs 43332 <open+0x2a>                      
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
   4332e:	7002           	moveq #2,%d0                                
   43330:	8880           	orl %d0,%d4                                 
                                                                      
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
   43332:	2a2e 0010      	movel %fp@(16),%d5                          
   *             code does not require changes here since network file
   *             descriptors are obtained using socket(), not open(). 
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
   43336:	4eb9 0004 a4f8 	jsr 4a4f8 <rtems_libio_allocate>            
   4333c:	2440           	moveal %d0,%a2                              
  if ( iop == 0 ) {                                                   
   4333e:	4a80           	tstl %d0                                    
   43340:	6606           	bnes 43348 <open+0x40>                      
   43342:	7417           	moveq #23,%d2                               
   43344:	6000 0190      	braw 434d6 <open+0x1ce>                     
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
                                                                      
  status = rtems_filesystem_evaluate_path(                            
   43348:	2f03           	movel %d3,%sp@-                             
   4334a:	2c3c 0004 f5d0 	movel #325072,%d6                           
   43350:	2046           	moveal %d6,%a0                              
   43352:	47ee ffec      	lea %fp@(-20),%a3                           
   43356:	4bf9 0004 27ac 	lea 427ac <rtems_filesystem_evaluate_path>,%a5
   4335c:	4e90           	jsr %a0@                                    
   4335e:	7201           	moveq #1,%d1                                
   43360:	2e81           	movel %d1,%sp@                              
   43362:	2f0b           	movel %a3,%sp@-                             
   43364:	2f04           	movel %d4,%sp@-                             
   43366:	2f00           	movel %d0,%sp@-                             
   43368:	2f03           	movel %d3,%sp@-                             
   4336a:	4e95           	jsr %a5@                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
   4336c:	4fef 0014      	lea %sp@(20),%sp                            
   43370:	72ff           	moveq #-1,%d1                               
   43372:	b280           	cmpl %d0,%d1                                
   43374:	6666           	bnes 433dc <open+0xd4>                      
    if ( errno != ENOENT ) {                                          
   43376:	49f9 0004 e1a4 	lea 4e1a4 <__errno>,%a4                     
   4337c:	4e94           	jsr %a4@                                    
   4337e:	7202           	moveq #2,%d1                                
   43380:	2040           	moveal %d0,%a0                              
   43382:	b290           	cmpl %a0@,%d1                               
   43384:	662a           	bnes 433b0 <open+0xa8>                      
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
   43386:	0802 0009      	btst #9,%d2                                 
   4338a:	6608           	bnes 43394 <open+0x8c>                      
   4338c:	97cb           	subal %a3,%a3                               
   4338e:	7402           	moveq #2,%d2                                
   43390:	6000 011c      	braw 434ae <open+0x1a6>                     
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
   43394:	42a7           	clrl %sp@-                                  
   43396:	2005           	movel %d5,%d0                               
   43398:	42a7           	clrl %sp@-                                  
   4339a:	08c0 000f      	bset #15,%d0                                
   4339e:	2f00           	movel %d0,%sp@-                             
   433a0:	2f03           	movel %d3,%sp@-                             
   433a2:	4eb9 0004 2bd8 	jsr 42bd8 <mknod>                           
    if ( rc ) {                                                       
   433a8:	4fef 0010      	lea %sp@(16),%sp                            
   433ac:	4a80           	tstl %d0                                    
   433ae:	6708           	beqs 433b8 <open+0xb0>                      <== ALWAYS TAKEN
      rc = errno;                                                     
   433b0:	4e94           	jsr %a4@                                    
   433b2:	97cb           	subal %a3,%a3                               
   433b4:	6000 009c      	braw 43452 <open+0x14a>                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* Sanity check to see if the file name exists after the mknod() */
    status = rtems_filesystem_evaluate_path( pathname, strlen( pathname ), 0x0, &loc, true );
   433b8:	2f03           	movel %d3,%sp@-                             
   433ba:	2046           	moveal %d6,%a0                              
   433bc:	4e90           	jsr %a0@                                    
   433be:	7201           	moveq #1,%d1                                
   433c0:	2e81           	movel %d1,%sp@                              
   433c2:	2f0b           	movel %a3,%sp@-                             
   433c4:	42a7           	clrl %sp@-                                  
   433c6:	2f00           	movel %d0,%sp@-                             
   433c8:	2f03           	movel %d3,%sp@-                             
   433ca:	4e95           	jsr %a5@                                    
    if ( status != 0 ) {   /* The file did not exist */               
   433cc:	4fef 0014      	lea %sp@(20),%sp                            
   433d0:	4a80           	tstl %d0                                    
   433d2:	671e           	beqs 433f2 <open+0xea>                      <== ALWAYS TAKEN
   433d4:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
   433d6:	740d           	moveq #13,%d2                               <== NOT EXECUTED
   433d8:	6000 00d4      	braw 434ae <open+0x1a6>                     <== NOT EXECUTED
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
   433dc:	2002           	movel %d2,%d0                               
   433de:	0280 0000 0a00 	andil #2560,%d0                             
   433e4:	0c80 0000 0a00 	cmpil #2560,%d0                             
   433ea:	6606           	bnes 433f2 <open+0xea>                      
   433ec:	7411           	moveq #17,%d2                               
   433ee:	6000 00be      	braw 434ae <open+0x1a6>                     
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
  iop->file_info  = loc.node_access;                                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
   433f2:	282a 0014      	movel %a2@(20),%d4                          
  iop->pathinfo   = loc;                                              
   433f6:	47ee ffec      	lea %fp@(-20),%a3                           
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
                                                                      
  iop->handlers   = loc.handlers;                                     
   433fa:	256e fff4 003c 	movel %fp@(-12),%a2@(60)                    
  iop->file_info  = loc.node_access;                                  
   43400:	256e ffec 0038 	movel %fp@(-20),%a2@(56)                    
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
   43406:	2f02           	movel %d2,%sp@-                             
   43408:	4eb9 0004 a598 	jsr 4a598 <rtems_libio_fcntl_flags>         
   4340e:	8084           	orl %d4,%d0                                 
   43410:	2540 0014      	movel %d0,%a2@(20)                          
  iop->pathinfo   = loc;                                              
   43414:	4878 0014      	pea 14 <OPER2>                              
   43418:	2f0b           	movel %a3,%sp@-                             
   4341a:	486a 0018      	pea %a2@(24)                                
   4341e:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
                                                                      
  if ( !iop->handlers || !iop->handlers->open_h ) {                   
   43424:	206a 003c      	moveal %a2@(60),%a0                         
   43428:	4fef 0010      	lea %sp@(16),%sp                            
   4342c:	4a88           	tstl %a0                                    
   4342e:	6700 00c8      	beqw 434f8 <open+0x1f0>                     
   43432:	2050           	moveal %a0@,%a0                             
   43434:	4a88           	tstl %a0                                    
   43436:	6700 00c0      	beqw 434f8 <open+0x1f0>                     
    rc = ENOTSUP;                                                     
    goto done;                                                        
  }                                                                   
                                                                      
  rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );        
   4343a:	2f05           	movel %d5,%sp@-                             
   4343c:	2f02           	movel %d2,%sp@-                             
   4343e:	2f03           	movel %d3,%sp@-                             
   43440:	2f0a           	movel %a2,%sp@-                             
   43442:	4e90           	jsr %a0@                                    
  if ( rc ) {                                                         
   43444:	4fef 0010      	lea %sp@(16),%sp                            
   43448:	4a80           	tstl %d0                                    
   4344a:	670c           	beqs 43458 <open+0x150>                     
    rc = errno;                                                       
   4344c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   43452:	2040           	moveal %d0,%a0                              
   43454:	2410           	movel %a0@,%d2                              
    goto done;                                                        
   43456:	6052           	bras 434aa <open+0x1a2>                     
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
   43458:	0802 000a      	btst #10,%d2                                
   4345c:	6700 0086      	beqw 434e4 <open+0x1dc>                     
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
   43460:	42a7           	clrl %sp@-                                  
   43462:	200a           	movel %a2,%d0                               
   43464:	90b9 0005 eddc 	subl 5eddc <rtems_libio_iops>,%d0           
   4346a:	ec80           	asrl #6,%d0                                 
   4346c:	42a7           	clrl %sp@-                                  
   4346e:	2f00           	movel %d0,%sp@-                             
   43470:	4eb9 0004 a25c 	jsr 4a25c <ftruncate>                       
    if ( rc ) {                                                       
   43476:	4fef 000c      	lea %sp@(12),%sp                            
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
                                                                      
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
   4347a:	2400           	movel %d0,%d2                               
    if ( rc ) {                                                       
   4347c:	6766           	beqs 434e4 <open+0x1dc>                     <== ALWAYS TAKEN
      if(errno) rc = errno;                                           
   4347e:	47f9 0004 e1a4 	lea 4e1a4 <__errno>,%a3                     <== NOT EXECUTED
   43484:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   43486:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43488:	4a90           	tstl %a0@                                   <== NOT EXECUTED
   4348a:	6706           	beqs 43492 <open+0x18a>                     <== NOT EXECUTED
   4348c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4348e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43490:	2410           	movel %a0@,%d2                              <== NOT EXECUTED
      close( iop - rtems_libio_iops );                                
   43492:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   43494:	90b9 0005 eddc 	subl 5eddc <rtems_libio_iops>,%d0           <== NOT EXECUTED
   4349a:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
   4349c:	ec80           	asrl #6,%d0                                 <== NOT EXECUTED
   4349e:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
   434a0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   434a2:	4eb9 0004 a1c8 	jsr 4a1c8 <close>                           <== NOT EXECUTED
   434a8:	588f           	addql #4,%sp                                <== NOT EXECUTED
   */                                                                 
                                                                      
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
   434aa:	4a82           	tstl %d2                                    
   434ac:	6736           	beqs 434e4 <open+0x1dc>                     <== NEVER TAKEN
    if ( iop )                                                        
   434ae:	4a8a           	tstl %a2                                    
   434b0:	670a           	beqs 434bc <open+0x1b4>                     <== NEVER TAKEN
      rtems_libio_free( iop );                                        
   434b2:	2f0a           	movel %a2,%sp@-                             
   434b4:	4eb9 0004 a49a 	jsr 4a49a <rtems_libio_free>                
   434ba:	588f           	addql #4,%sp                                
    if ( loc_to_free )                                                
   434bc:	4a8b           	tstl %a3                                    
   434be:	6716           	beqs 434d6 <open+0x1ce>                     
      rtems_filesystem_freenode( loc_to_free );                       
   434c0:	206b 000c      	moveal %a3@(12),%a0                         
   434c4:	4a88           	tstl %a0                                    
   434c6:	670e           	beqs 434d6 <open+0x1ce>                     <== NEVER TAKEN
   434c8:	2068 001c      	moveal %a0@(28),%a0                         
   434cc:	4a88           	tstl %a0                                    
   434ce:	6706           	beqs 434d6 <open+0x1ce>                     <== NEVER TAKEN
   434d0:	2f0b           	movel %a3,%sp@-                             
   434d2:	4e90           	jsr %a0@                                    
   434d4:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( rc );                       
   434d6:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   434dc:	2040           	moveal %d0,%a0                              
   434de:	70ff           	moveq #-1,%d0                               
   434e0:	2082           	movel %d2,%a0@                              
   434e2:	600a           	bras 434ee <open+0x1e6>                     
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
   434e4:	200a           	movel %a2,%d0                               
   434e6:	90b9 0005 eddc 	subl 5eddc <rtems_libio_iops>,%d0           
   434ec:	ec80           	asrl #6,%d0                                 
}                                                                     
   434ee:	4cee 3c7c ffc8 	moveml %fp@(-56),%d2-%d6/%a2-%a5            
   434f4:	4e5e           	unlk %fp                                    
   434f6:	4e75           	rts                                         
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
   434f8:	47ee ffec      	lea %fp@(-20),%a3                           <== NOT EXECUTED
   434fc:	243c 0000 0086 	movel #134,%d2                              <== NOT EXECUTED
   43502:	60aa           	bras 434ae <open+0x1a6>                     <== NOT EXECUTED
                                                                      

00043298 <open_dev_console>: /* * This is a replaceable stub which opens the console, if present. */ void open_dev_console(void) {
   43298:	4e56 0000      	linkw %fp,#0                                
   4329c:	2f0a           	movel %a2,%sp@-                             
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
   4329e:	45f9 0004 3308 	lea 43308 <open>,%a2                        
   432a4:	42a7           	clrl %sp@-                                  
   432a6:	42a7           	clrl %sp@-                                  
   432a8:	4879 0005 be52 	pea 5be52 <CSWTCH.59+0x100>                 
   432ae:	4e92           	jsr %a2@                                    
   432b0:	4fef 000c      	lea %sp@(12),%sp                            
   432b4:	72ff           	moveq #-1,%d1                               
   432b6:	b280           	cmpl %d0,%d1                                
   432b8:	6744           	beqs 432fe <open_dev_console+0x66>          
                                                                      
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
   432ba:	42a7           	clrl %sp@-                                  
   432bc:	4878 0001      	pea 1 <ADD>                                 
   432c0:	4879 0005 be52 	pea 5be52 <CSWTCH.59+0x100>                 
   432c6:	4e92           	jsr %a2@                                    
   432c8:	4fef 000c      	lea %sp@(12),%sp                            
   432cc:	72ff           	moveq #-1,%d1                               
   432ce:	b280           	cmpl %d0,%d1                                
   432d0:	6608           	bnes 432da <open_dev_console+0x42>          <== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
   432d2:	2f3c 5554 4431 	movel #1431585841,%sp@-                     <== NOT EXECUTED
   432d8:	601e           	bras 432f8 <open_dev_console+0x60>          <== NOT EXECUTED
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
   432da:	42a7           	clrl %sp@-                                  
   432dc:	4878 0001      	pea 1 <ADD>                                 
   432e0:	4879 0005 be52 	pea 5be52 <CSWTCH.59+0x100>                 
   432e6:	4e92           	jsr %a2@                                    
   432e8:	4fef 000c      	lea %sp@(12),%sp                            
   432ec:	72ff           	moveq #-1,%d1                               
   432ee:	b280           	cmpl %d0,%d1                                
   432f0:	660c           	bnes 432fe <open_dev_console+0x66>          <== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
   432f2:	2f3c 5554 4432 	movel #1431585842,%sp@-                     <== NOT EXECUTED
   432f8:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
}                                                                     
   432fe:	246e fffc      	moveal %fp@(-4),%a2                         
   43302:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043ce8 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
   43ce8:	4e56 fff0      	linkw %fp,#-16                              
   43cec:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   43cf0:	246e 000c      	moveal %fp@(12),%a2                         
   43cf4:	242e 0008      	movel %fp@(8),%d2                           
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
   43cf8:	202a 0034      	movel %a2@(52),%d0                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
   43cfc:	1d42 fffe      	moveb %d2,%fp@(-2)                          
	int	i;                                                               
                                                                      
	if (tty->termios.c_oflag & OPOST) {                                  
   43d00:	0800 0000      	btst #0,%d0                                 
   43d04:	6700 010c      	beqw 43e12 <oproc+0x12a>                    
		switch (c) {                                                        
   43d08:	4281           	clrl %d1                                    
   43d0a:	1202           	moveb %d2,%d1                               
   43d0c:	7609           	moveq #9,%d3                                
   43d0e:	b681           	cmpl %d1,%d3                                
   43d10:	6776           	beqs 43d88 <oproc+0xa0>                     
   43d12:	650e           	bcss 43d22 <oproc+0x3a>                     <== ALWAYS TAKEN
   43d14:	163c 0008      	moveb #8,%d3                                <== NOT EXECUTED
   43d18:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   43d1a:	6600 00b0      	bnew 43dcc <oproc+0xe4>                     <== NOT EXECUTED
   43d1e:	6000 009e      	braw 43dbe <oproc+0xd6>                     <== NOT EXECUTED
   43d22:	760a           	moveq #10,%d3                               
   43d24:	b681           	cmpl %d1,%d3                                
   43d26:	670c           	beqs 43d34 <oproc+0x4c>                     
   43d28:	163c 000d      	moveb #13,%d3                               
   43d2c:	b681           	cmpl %d1,%d3                                
   43d2e:	6600 009c      	bnew 43dcc <oproc+0xe4>                     
   43d32:	602c           	bras 43d60 <oproc+0x78>                     <== NOT EXECUTED
		case '\n':                                                          
			if (tty->termios.c_oflag & ONLRET)                                 
   43d34:	0800 0005      	btst #5,%d0                                 
   43d38:	6704           	beqs 43d3e <oproc+0x56>                     <== ALWAYS TAKEN
				tty->column = 0;                                                  
   43d3a:	42aa 0028      	clrl %a2@(40)                               <== NOT EXECUTED
			if (tty->termios.c_oflag & ONLCR) {                                
   43d3e:	7004           	moveq #4,%d0                                
   43d40:	c0aa 0034      	andl %a2@(52),%d0                           
   43d44:	6700 00cc      	beqw 43e12 <oproc+0x12a>                    
				rtems_termios_puts ("\r", 1, tty);                                
   43d48:	2f0a           	movel %a2,%sp@-                             
   43d4a:	4878 0001      	pea 1 <ADD>                                 
   43d4e:	4879 0005 c416 	pea 5c416 <rtems_filesystem_default_pathconf+0x32>
   43d54:	4eb9 0004 3bee 	jsr 43bee <rtems_termios_puts>              
				tty->column = 0;                                                  
   43d5a:	4fef 000c      	lea %sp@(12),%sp                            
   43d5e:	6020           	bras 43d80 <oproc+0x98>                     
			}                                                                  
			break;                                                             
                                                                      
		case '\r':                                                          
			if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))          
   43d60:	0800 0004      	btst #4,%d0                                 <== NOT EXECUTED
   43d64:	6708           	beqs 43d6e <oproc+0x86>                     <== NOT EXECUTED
   43d66:	4aaa 0028      	tstl %a2@(40)                               <== NOT EXECUTED
   43d6a:	6700 00ba      	beqw 43e26 <oproc+0x13e>                    <== NOT EXECUTED
				return;                                                           
			if (tty->termios.c_oflag & OCRNL) {                                
   43d6e:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   43d70:	6a0e           	bpls 43d80 <oproc+0x98>                     <== NOT EXECUTED
				c = '\n';                                                         
   43d72:	720a           	moveq #10,%d1                               <== NOT EXECUTED
   43d74:	1d41 fffe      	moveb %d1,%fp@(-2)                          <== NOT EXECUTED
				if (tty->termios.c_oflag & ONLRET)                                
   43d78:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   43d7c:	6700 0094      	beqw 43e12 <oproc+0x12a>                    <== NOT EXECUTED
					tty->column = 0;                                                 
				break;                                                            
			}                                                                  
			tty->column = 0;                                                   
   43d80:	42aa 0028      	clrl %a2@(40)                               
			break;                                                             
   43d84:	6000 008c      	braw 43e12 <oproc+0x12a>                    
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
   43d88:	222a 0028      	movel %a2@(40),%d1                          
   43d8c:	7407           	moveq #7,%d2                                
   43d8e:	307c 0008      	moveaw #8,%a0                               
   43d92:	c481           	andl %d1,%d2                                
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
   43d94:	0280 0000 1800 	andil #6144,%d0                             
			}                                                                  
			tty->column = 0;                                                   
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
   43d9a:	91c2           	subal %d2,%a0                               
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
   43d9c:	0c80 0000 1800 	cmpil #6144,%d0                             
   43da2:	6612           	bnes 43db6 <oproc+0xce>                     <== NEVER TAKEN
				tty->column += i;                                                 
				rtems_termios_puts ( "        ",  i, tty);                        
   43da4:	2f0a           	movel %a2,%sp@-                             
			break;                                                             
                                                                      
		case '\t':                                                          
			i = 8 - (tty->column & 7);                                         
			if ((tty->termios.c_oflag & TABDLY) == XTABS) {                    
				tty->column += i;                                                 
   43da6:	d288           	addl %a0,%d1                                
   43da8:	2541 0028      	movel %d1,%a2@(40)                          
				rtems_termios_puts ( "        ",  i, tty);                        
   43dac:	2f08           	movel %a0,%sp@-                             
   43dae:	4879 0005 c418 	pea 5c418 <rtems_filesystem_default_pathconf+0x34>
   43db4:	6066           	bras 43e1c <oproc+0x134>                    
				return;                                                           
			}                                                                  
			tty->column += i;                                                  
   43db6:	d1c1           	addal %d1,%a0                               <== NOT EXECUTED
   43db8:	2548 0028      	movel %a0,%a2@(40)                          <== NOT EXECUTED
			break;                                                             
   43dbc:	6054           	bras 43e12 <oproc+0x12a>                    <== NOT EXECUTED
                                                                      
		case '\b':                                                          
			if (tty->column > 0)                                               
   43dbe:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   43dc2:	6f4e           	bles 43e12 <oproc+0x12a>                    <== NOT EXECUTED
				tty->column--;                                                    
   43dc4:	5380           	subql #1,%d0                                <== NOT EXECUTED
   43dc6:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
   43dca:	6046           	bras 43e12 <oproc+0x12a>                    <== NOT EXECUTED
			break;                                                             
                                                                      
		default:                                                            
			if (tty->termios.c_oflag & OLCUC)                                  
   43dcc:	0800 0001      	btst #1,%d0                                 
   43dd0:	6724           	beqs 43df6 <oproc+0x10e>                    <== ALWAYS TAKEN
				c = toupper(c);                                                   
   43dd2:	4280           	clrl %d0                                    <== NOT EXECUTED
   43dd4:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   43dd6:	7403           	moveq #3,%d2                                <== NOT EXECUTED
   43dd8:	7602           	moveq #2,%d3                                <== NOT EXECUTED
   43dda:	2079 0005 d8a4 	moveal 5d8a4 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   43de0:	1230 0801      	moveb %a0@(00000001,%d0:l),%d1              <== NOT EXECUTED
   43de4:	49c1           	extbl %d1                                   <== NOT EXECUTED
   43de6:	c282           	andl %d2,%d1                                <== NOT EXECUTED
   43de8:	b681           	cmpl %d1,%d3                                <== NOT EXECUTED
   43dea:	6606           	bnes 43df2 <oproc+0x10a>                    <== NOT EXECUTED
   43dec:	0680 ffff ffe0 	addil #-32,%d0                              <== NOT EXECUTED
   43df2:	1d40 fffe      	moveb %d0,%fp@(-2)                          <== NOT EXECUTED
			if (!iscntrl(c))                                                   
   43df6:	4280           	clrl %d0                                    
   43df8:	102e fffe      	moveb %fp@(-2),%d0                          
   43dfc:	2079 0005 d8a4 	moveal 5d8a4 <__ctype_ptr__>,%a0            
   43e02:	1030 0801      	moveb %a0@(00000001,%d0:l),%d0              
   43e06:	49c0           	extbl %d0                                   
   43e08:	0800 0005      	btst #5,%d0                                 
   43e0c:	6604           	bnes 43e12 <oproc+0x12a>                    <== NEVER TAKEN
				tty->column++;                                                    
   43e0e:	52aa 0028      	addql #1,%a2@(40)                           
			break;                                                             
		}                                                                   
	}                                                                    
	rtems_termios_puts (&c, 1, tty);                                     
   43e12:	2f0a           	movel %a2,%sp@-                             
   43e14:	4878 0001      	pea 1 <ADD>                                 
   43e18:	486e fffe      	pea %fp@(-2)                                
   43e1c:	4eb9 0004 3bee 	jsr 43bee <rtems_termios_puts>              
   43e22:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   43e26:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                
   43e2c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004cbe8 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
   4cbe8:	4e56 ffd0      	linkw %fp,#-48                              
   4cbec:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  rtems_filesystem_location_info_t loc;                               
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
   4cbf0:	4878 0001      	pea 1 <ADD>                                 
   4cbf4:	240e           	movel %fp,%d2                               
   4cbf6:	0682 ffff ffdc 	addil #-36,%d2                              
   4cbfc:	2f02           	movel %d2,%sp@-                             
   4cbfe:	4878 0007      	pea 7 <TRUNCDFSF>                           
   4cc02:	4878 0003      	pea 3 <DIVIDE>                              
   4cc06:	4879 0005 cca2 	pea 5cca2 <__FUNCTION__.6030+0x14>          
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
   4cc0c:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_filesystem_location_info_t loc;                               
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
  /* Create /tmp if not exists */                                     
  if (rtems_filesystem_evaluate_path("/tmp", 3, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE)
   4cc10:	4eb9 0004 27ac 	jsr 427ac <rtems_filesystem_evaluate_path>  
   4cc16:	4fef 0014      	lea %sp@(20),%sp                            
   4cc1a:	4a80           	tstl %d0                                    
   4cc1c:	672a           	beqs 4cc48 <pipe_create+0x60>               <== NEVER TAKEN
      != 0) {                                                         
    if (errno != ENOENT)                                              
   4cc1e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4cc24:	7202           	moveq #2,%d1                                
   4cc26:	2040           	moveal %d0,%a0                              
   4cc28:	b290           	cmpl %a0@,%d1                               
   4cc2a:	6600 010e      	bnew 4cd3a <pipe_create+0x152>              
      return -1;                                                      
    if (mkdir("/tmp", S_IRWXU|S_IRWXG|S_IRWXO|S_ISVTX) != 0)          
   4cc2e:	4878 03ff      	pea 3ff <D_BIAS+0x1>                        
   4cc32:	4879 0005 cca2 	pea 5cca2 <__FUNCTION__.6030+0x14>          
   4cc38:	4eb9 0004 2bb8 	jsr 42bb8 <mkdir>                           
   4cc3e:	508f           	addql #8,%sp                                
   4cc40:	4a80           	tstl %d0                                    
   4cc42:	671a           	beqs 4cc5e <pipe_create+0x76>               <== ALWAYS TAKEN
   4cc44:	6000 00f4      	braw 4cd3a <pipe_create+0x152>              <== NOT EXECUTED
      return -1;                                                      
  }                                                                   
  else                                                                
    rtems_filesystem_freenode(&loc);                                  
   4cc48:	206e ffe8      	moveal %fp@(-24),%a0                        <== NOT EXECUTED
   4cc4c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4cc4e:	670e           	beqs 4cc5e <pipe_create+0x76>               <== NOT EXECUTED
   4cc50:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   4cc54:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4cc56:	6706           	beqs 4cc5e <pipe_create+0x76>               <== NOT EXECUTED
   4cc58:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4cc5a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4cc5c:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   4cc5e:	4878 000a      	pea a <LASTO>                               
   4cc62:	240e           	movel %fp,%d2                               
   4cc64:	4879 0005 cca7 	pea 5cca7 <__FUNCTION__.6030+0x19>          
   4cc6a:	0682 ffff fff1 	addil #-15,%d2                              
   4cc70:	2f02           	movel %d2,%sp@-                             
   4cc72:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   4cc78:	3039 0005 e6ec 	movew 5e6ec <rtems_pipe_no>,%d0             
   4cc7e:	2200           	movel %d0,%d1                               
   4cc80:	5281           	addql #1,%d1                                
   4cc82:	3f00           	movew %d0,%sp@-                             
   4cc84:	33c1 0005 e6ec 	movew %d1,5e6ec <rtems_pipe_no>             
   4cc8a:	4267           	clrw %sp@-                                  
   4cc8c:	4879 0005 ccb2 	pea 5ccb2 <__FUNCTION__.6030+0x24>          
   4cc92:	486e fffb      	pea %fp@(-5)                                
   4cc96:	4eb9 0004 ee9c 	jsr 4ee9c <sprintf>                         
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
   4cc9c:	4878 0180      	pea 180 <DBL_MANT_DIG+0x14b>                
   4cca0:	2f02           	movel %d2,%sp@-                             
   4cca2:	4eb9 0004 d354 	jsr 4d354 <mkfifo>                          
   4cca8:	4fef 0020      	lea %sp@(32),%sp                            
   4ccac:	4a80           	tstl %d0                                    
   4ccae:	670a           	beqs 4ccba <pipe_create+0xd2>               <== ALWAYS TAKEN
    if (errno != EEXIST){                                             
   4ccb0:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4ccb6:	6000 0082      	braw 4cd3a <pipe_create+0x152>              <== 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);                 
   4ccba:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   4ccbe:	2f02           	movel %d2,%sp@-                             
   4ccc0:	4eb9 0004 3308 	jsr 43308 <open>                            
  if (filsdes[0] < 0) {                                               
   4ccc6:	508f           	addql #8,%sp                                
    return -1;                                                        
    sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                 
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
   4ccc8:	2480           	movel %d0,%a2@                              
  if (filsdes[0] < 0) {                                               
   4ccca:	6c0e           	bges 4ccda <pipe_create+0xf2>               <== NEVER TAKEN
    err = errno;                                                      
   4cccc:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4ccd2:	2040           	moveal %d0,%a0                              
   4ccd4:	2610           	movel %a0@,%d3                              
    /* 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);                                                 
   4ccd6:	2f02           	movel %d2,%sp@-                             
   4ccd8:	604e           	bras 4cd28 <pipe_create+0x140>              
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
   4ccda:	b0b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d0    <== NOT EXECUTED
   4cce0:	6504           	bcss 4cce6 <pipe_create+0xfe>               <== NOT EXECUTED
   4cce2:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
   4cce4:	600a           	bras 4ccf0 <pipe_create+0x108>              <== NOT EXECUTED
   4cce6:	2079 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a0         <== NOT EXECUTED
   4ccec:	ed88           	lsll #6,%d0                                 <== NOT EXECUTED
   4ccee:	d1c0           	addal %d0,%a0                               <== NOT EXECUTED
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
   4ccf0:	70fe           	moveq #-2,%d0                               <== NOT EXECUTED
   4ccf2:	c1a8 0014      	andl %d0,%a0@(20)                           <== NOT EXECUTED
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
   4ccf6:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   4ccfa:	486e fff1      	pea %fp@(-15)                               <== NOT EXECUTED
   4ccfe:	4eb9 0004 3308 	jsr 43308 <open>                            <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
   4cd04:	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);                            
   4cd06:	2540 0004      	movel %d0,%a2@(4)                           <== NOT EXECUTED
                                                                      
    if (filsdes[1] < 0) {                                             
   4cd0a:	6d04           	blts 4cd10 <pipe_create+0x128>              <== NOT EXECUTED
   4cd0c:	4283           	clrl %d3                                    <== NOT EXECUTED
   4cd0e:	6014           	bras 4cd24 <pipe_create+0x13c>              <== NOT EXECUTED
    err = errno;                                                      
   4cd10:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4cd16:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4cd18:	2610           	movel %a0@,%d3                              <== NOT EXECUTED
    close(filsdes[0]);                                                
   4cd1a:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   4cd1c:	4eb9 0004 a1c8 	jsr 4a1c8 <close>                           <== NOT EXECUTED
   4cd22:	588f           	addql #4,%sp                                <== NOT EXECUTED
    }                                                                 
  unlink(fifopath);                                                   
   4cd24:	486e fff1      	pea %fp@(-15)                               <== NOT EXECUTED
   4cd28:	4eb9 0004 d374 	jsr 4d374 <unlink>                          
   4cd2e:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one(err);                          
   4cd30:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4cd36:	2040           	moveal %d0,%a0                              
   4cd38:	2083           	movel %d3,%a0@                              
}                                                                     
   4cd3a:	70ff           	moveq #-1,%d0                               
   4cd3c:	4cee 040c ffd0 	moveml %fp@(-48),%d2-%d3/%a2                
   4cd42:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048e2c <pipe_free>: /* Called with rtems_pipe_semaphore held. */ static inline void pipe_free( pipe_control_t *pipe ) {
   48e2c:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   48e30:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
  rtems_barrier_delete(pipe->readBarrier);                            
   48e32:	47f9 0004 aff4 	lea 4aff4 <rtems_barrier_delete>,%a3        <== NOT EXECUTED
                                                                      
/* Called with rtems_pipe_semaphore held. */                          
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
   48e38:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   48e3a:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  rtems_barrier_delete(pipe->readBarrier);                            
   48e3e:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   48e42:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
   48e44:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   48e48:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
   48e4a:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48e4e:	4eb9 0004 5724 	jsr 45724 <rtems_semaphore_delete>          <== NOT EXECUTED
  free(pipe->Buffer);                                                 
   48e54:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   48e56:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
  free(pipe);                                                         
}                                                                     
   48e5c:	266e fffc      	moveal %fp@(-4),%a3                         <== NOT EXECUTED
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
  free(pipe);                                                         
   48e60:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   48e64:	2d4a 0008      	movel %a2,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   48e68:	246e fff8      	moveal %fp@(-8),%a2                         <== NOT EXECUTED
   48e6c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
  free(pipe);                                                         
   48e6e:	4ef9 0004 2828 	jmp 42828 <free>                            <== NOT EXECUTED
                                                                      

00048ad6 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
   48ad6:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
   48ada:	203c 4004 667f 	movel #1074030207,%d0                       <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   48ae0:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   48ae2:	266e 0010      	moveal %fp@(16),%a3                         <== NOT EXECUTED
   48ae6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   48ae8:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  if (cmd == FIONREAD) {                                              
   48aec:	b0ae 000c      	cmpl %fp@(12),%d0                           <== NOT EXECUTED
   48af0:	6704           	beqs 48af6 <pipe_ioctl+0x20>                <== NOT EXECUTED
   48af2:	70ea           	moveq #-22,%d0                              <== NOT EXECUTED
   48af4:	6034           	bras 48b2a <pipe_ioctl+0x54>                <== NOT EXECUTED
    if (buffer == NULL)                                               
   48af6:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   48af8:	6604           	bnes 48afe <pipe_ioctl+0x28>                <== NOT EXECUTED
   48afa:	70f2           	moveq #-14,%d0                              <== NOT EXECUTED
   48afc:	602c           	bras 48b2a <pipe_ioctl+0x54>                <== NOT EXECUTED
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
   48afe:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48b00:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48b02:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48b06:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
   48b0c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48b10:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48b12:	6704           	beqs 48b18 <pipe_ioctl+0x42>                <== NOT EXECUTED
   48b14:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
   48b16:	6012           	bras 48b2a <pipe_ioctl+0x54>                <== NOT EXECUTED
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
   48b18:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
   48b1c:	26aa 000c      	movel %a2@(12),%a3@                         <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
   48b20:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
    return 0;                                                         
   48b26:	588f           	addql #4,%sp                                <== NOT EXECUTED
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
   48b28:	4280           	clrl %d0                                    <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
   48b2a:	246e fff8      	moveal %fp@(-8),%a2                         <== NOT EXECUTED
   48b2e:	266e fffc      	moveal %fp@(-4),%a3                         <== NOT EXECUTED
   48b32:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

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

00048b36 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
   48b36:	4e56 ffd0      	linkw %fp,#-48                              <== NOT EXECUTED
   48b3a:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   48b3e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   48b40:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   48b44:	47f9 0004 57c0 	lea 457c0 <rtems_semaphore_obtain>,%a3      <== NOT EXECUTED
   48b4a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48b4c:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   48b50:	286e 000c      	moveal %fp@(12),%a4                         <== NOT EXECUTED
   48b54:	2a2e 0010      	movel %fp@(16),%d5                          <== NOT EXECUTED
   48b58:	2e2e 0014      	movel %fp@(20),%d7                          <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   48b5c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   48b5e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48b62:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48b64:	6706           	beqs 48b6c <pipe_read+0x36>                 <== NOT EXECUTED
   48b66:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
   48b68:	6000 0128      	braw 48c92 <pipe_read+0x15c>                <== NOT EXECUTED
   48b6c:	4282           	clrl %d2                                    <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
   48b6e:	2c3c 0004 58c4 	movel #284868,%d6                           <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
   48b74:	4bf9 0004 b0f4 	lea 4b0f4 <rtems_barrier_wait>,%a5          <== NOT EXECUTED
   48b7a:	6000 00fc      	braw 48c78 <pipe_read+0x142>                <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
   48b7e:	4aaa 0014      	tstl %a2@(20)                               <== NOT EXECUTED
   48b82:	6700 00fa      	beqw 48c7e <pipe_read+0x148>                <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
   48b86:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   48b88:	2047           	moveal %d7,%a0                              <== NOT EXECUTED
   48b8a:	c0a8 0014      	andl %a0@(20),%d0                           <== NOT EXECUTED
   48b8e:	6706           	beqs 48b96 <pipe_read+0x60>                 <== NOT EXECUTED
   48b90:	78f5           	moveq #-11,%d4                              <== NOT EXECUTED
   48b92:	6000 00ec      	braw 48c80 <pipe_read+0x14a>                <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
   48b96:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
   48b9a:	52aa 0018      	addql #1,%a2@(24)                           <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
   48b9e:	2246           	moveal %d6,%a1                              <== NOT EXECUTED
   48ba0:	4e91           	jsr %a1@                                    <== NOT EXECUTED
      if (! PIPE_READWAIT(pipe))                                      
   48ba2:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48ba4:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   48ba8:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   48baa:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48bae:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48bb0:	6602           	bnes 48bb4 <pipe_read+0x7e>                 <== NOT EXECUTED
   48bb2:	4284           	clrl %d4                                    <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
   48bb4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48bb6:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48bb8:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48bbc:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
   48bc2:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48bc6:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48bc8:	6706           	beqs 48bd0 <pipe_read+0x9a>                 <== NOT EXECUTED
   48bca:	78fc           	moveq #-4,%d4                               <== NOT EXECUTED
   48bcc:	6000 00be      	braw 48c8c <pipe_read+0x156>                <== NOT EXECUTED
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
   48bd0:	53aa 0018      	subql #1,%a2@(24)                           <== NOT EXECUTED
      if (ret != 0)                                                   
   48bd4:	4a84           	tstl %d4                                    <== NOT EXECUTED
   48bd6:	6600 00a8      	bnew 48c80 <pipe_read+0x14a>                <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
   48bda:	262a 000c      	movel %a2@(12),%d3                          <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
   48bde:	78fc           	moveq #-4,%d4                               <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
   48be0:	4a83           	tstl %d3                                    <== NOT EXECUTED
   48be2:	679a           	beqs 48b7e <pipe_read+0x48>                 <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
   48be4:	2005           	movel %d5,%d0                               <== NOT EXECUTED
   48be6:	9082           	subl %d2,%d0                                <== NOT EXECUTED
   48be8:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   48bea:	6402           	bccs 48bee <pipe_read+0xb8>                 <== NOT EXECUTED
   48bec:	2600           	movel %d0,%d3                               <== NOT EXECUTED
    chunk1 = pipe->Size - pipe->Start;                                
   48bee:	206a 0008      	moveal %a2@(8),%a0                          <== NOT EXECUTED
   48bf2:	200c           	movel %a4,%d0                               <== NOT EXECUTED
   48bf4:	d082           	addl %d2,%d0                                <== NOT EXECUTED
   48bf6:	47f9 0004 e9c4 	lea 4e9c4 <memcpy>,%a3                      <== NOT EXECUTED
   48bfc:	2212           	movel %a2@,%d1                              <== NOT EXECUTED
   48bfe:	d288           	addl %a0,%d1                                <== NOT EXECUTED
   48c00:	226a 0004      	moveal %a2@(4),%a1                          <== NOT EXECUTED
   48c04:	93c8           	subal %a0,%a1                               <== NOT EXECUTED
    if (chunk > chunk1) {                                             
   48c06:	b3c3           	cmpal %d3,%a1                               <== NOT EXECUTED
   48c08:	6c28           	bges 48c32 <pipe_read+0xfc>                 <== NOT EXECUTED
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
   48c0a:	2f09           	movel %a1,%sp@-                             <== NOT EXECUTED
   48c0c:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   48c0e:	2d49 fff8      	movel %a1,%fp@(-8)                          <== NOT EXECUTED
   48c12:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48c14:	4e93           	jsr %a3@                                    <== NOT EXECUTED
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
   48c16:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   48c1a:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   48c1c:	9288           	subl %a0,%d1                                <== NOT EXECUTED
   48c1e:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   48c20:	d088           	addl %a0,%d0                                <== NOT EXECUTED
   48c22:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   48c24:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   48c26:	4874 0800      	pea %a4@(00000000,%d0:l)                    <== NOT EXECUTED
   48c2a:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   48c2c:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   48c30:	600c           	bras 48c3e <pipe_read+0x108>                <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
   48c32:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   48c34:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   48c36:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48c38:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   48c3a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
                                                                      
    pipe->Start += chunk;                                             
   48c3e:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   48c40:	d2aa 0008      	addl %a2@(8),%d1                            <== NOT EXECUTED
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
   48c44:	202a 000c      	movel %a2@(12),%d0                          <== NOT EXECUTED
   48c48:	9083           	subl %d3,%d0                                <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
   48c4a:	4c6a 1004 0004 	remul %a2@(4),%d4,%d1                       <== NOT EXECUTED
    pipe->Length -= chunk;                                            
   48c50:	2540 000c      	movel %d0,%a2@(12)                          <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
   48c54:	2544 0008      	movel %d4,%a2@(8)                           <== NOT EXECUTED
    pipe->Length -= chunk;                                            
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
   48c58:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48c5a:	6604           	bnes 48c60 <pipe_read+0x12a>                <== NOT EXECUTED
      pipe->Start = 0;                                                
   48c5c:	42aa 0008      	clrl %a2@(8)                                <== NOT EXECUTED
                                                                      
    if (pipe->waitingWriters > 0)                                     
   48c60:	4aaa 001c      	tstl %a2@(28)                               <== NOT EXECUTED
   48c64:	6710           	beqs 48c76 <pipe_read+0x140>                <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
   48c66:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   48c6a:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   48c6e:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   48c74:	508f           	addql #8,%sp                                <== NOT EXECUTED
    read += chunk;                                                    
   48c76:	d483           	addl %d3,%d2                                <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
   48c78:	ba82           	cmpl %d2,%d5                                <== NOT EXECUTED
   48c7a:	6200 ff5e      	bhiw 48bda <pipe_read+0xa4>                 <== NOT EXECUTED
   48c7e:	4284           	clrl %d4                                    <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   48c80:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48c84:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
   48c8a:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
   48c8c:	4a82           	tstl %d2                                    <== NOT EXECUTED
   48c8e:	6e02           	bgts 48c92 <pipe_read+0x15c>                <== NOT EXECUTED
   48c90:	2404           	movel %d4,%d2                               <== NOT EXECUTED
    return read;                                                      
  return ret;                                                         
}                                                                     
   48c92:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   48c94:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   48c9a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048e74 <pipe_release>: */ int pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
   48e74:	4e56 fff0      	linkw %fp,#-16                              <== NOT EXECUTED
   48e78:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     <== NOT EXECUTED
   48e7c:	266e 0008      	moveal %fp@(8),%a3                          <== NOT EXECUTED
  pipe_control_t *pipe = *pipep;                                      
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
   48e80:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
int pipe_release(                                                     
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
   48e82:	2453           	moveal %a3@,%a2                             <== NOT EXECUTED
  uint32_t mode;                                                      
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_obtain(pipe->Semaphore,                        
   48e84:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48e86:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48e8a:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not released! */                                       
  if(sc != RTEMS_SUCCESSFUL)                                          
   48e90:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48e94:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48e96:	6634           	bnes 48ecc <pipe_release+0x58>              <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
   48e98:	206e 000c      	moveal %fp@(12),%a0                         <== NOT EXECUTED
   48e9c:	7406           	moveq #6,%d2                                <== NOT EXECUTED
   48e9e:	c4a8 0014      	andl %a0@(20),%d2                           <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_READ)                                        
   48ea2:	0802 0001      	btst #1,%d2                                 <== NOT EXECUTED
   48ea6:	6704           	beqs 48eac <pipe_release+0x38>              <== NOT EXECUTED
     pipe->Readers --;                                                
   48ea8:	53aa 0010      	subql #1,%a2@(16)                           <== NOT EXECUTED
  if (mode & LIBIO_FLAGS_WRITE)                                       
   48eac:	44c2           	movew %d2,%ccr                              <== NOT EXECUTED
   48eae:	6604           	bnes 48eb4 <pipe_release+0x40>              <== NOT EXECUTED
     pipe->Writers --;                                                
   48eb0:	53aa 0014      	subql #1,%a2@(20)                           <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain(rtems_pipe_semaphore,                   
   48eb4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48eb6:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48eb8:	2f39 0005 e6e4 	movel 5e6e4 <rtems_pipe_semaphore>,%sp@-    <== NOT EXECUTED
   48ebe:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
                              RTEMS_WAIT, RTEMS_NO_TIMEOUT);          
  /* WARN pipe not freed and pipep not set to NULL! */                
  if(sc != RTEMS_SUCCESSFUL)                                          
   48ec4:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48ec8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48eca:	6708           	beqs 48ed4 <pipe_release+0x60>              <== NOT EXECUTED
    rtems_fatal_error_occurred(sc);                                   
   48ecc:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48ece:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   48ed4:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48ed8:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
   48ede:	588f           	addql #4,%sp                                <== NOT EXECUTED
   48ee0:	4aaa 0010      	tstl %a2@(16)                               <== NOT EXECUTED
   48ee4:	6622           	bnes 48f08 <pipe_release+0x94>              <== NOT EXECUTED
   48ee6:	4aaa 0014      	tstl %a2@(20)                               <== NOT EXECUTED
   48eea:	660c           	bnes 48ef8 <pipe_release+0x84>              <== NOT EXECUTED
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
   48eec:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   48eee:	4eba ff3c      	jsr %pc@(48e2c <pipe_free>)                 <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
   48ef2:	588f           	addql #4,%sp                                <== NOT EXECUTED
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
   48ef4:	4293           	clrl %a3@                                   <== NOT EXECUTED
  if(sc != RTEMS_SUCCESSFUL)                                          
    rtems_fatal_error_occurred(sc);                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
   48ef6:	602c           	bras 48f24 <pipe_release+0xb0>              <== NOT EXECUTED
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
   48ef8:	7004           	moveq #4,%d0                                <== NOT EXECUTED
   48efa:	b082           	cmpl %d2,%d0                                <== NOT EXECUTED
   48efc:	670a           	beqs 48f08 <pipe_release+0x94>              <== NOT EXECUTED
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
   48efe:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   48f02:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   48f06:	6014           	bras 48f1c <pipe_release+0xa8>              <== NOT EXECUTED
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
   48f08:	4aaa 0014      	tstl %a2@(20)                               <== NOT EXECUTED
   48f0c:	6616           	bnes 48f24 <pipe_release+0xb0>              <== NOT EXECUTED
   48f0e:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   48f10:	b082           	cmpl %d2,%d0                                <== NOT EXECUTED
   48f12:	6710           	beqs 48f24 <pipe_release+0xb0>              <== NOT EXECUTED
    PIPE_WAKEUPREADERS(pipe);                                         
   48f14:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   48f18:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   48f1c:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   48f22:	508f           	addql #8,%sp                                <== NOT EXECUTED
                                                                      
  rtems_semaphore_release(rtems_pipe_semaphore);                      
   48f24:	2f39 0005 e6e4 	movel 5e6e4 <rtems_pipe_semaphore>,%sp@-    <== NOT EXECUTED
   48f2a:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return -errno;                                                    
#endif                                                                
                                                                      
  return 0;                                                           
}                                                                     
   48f30:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                <== NOT EXECUTED
   48f36:	4280           	clrl %d0                                    <== NOT EXECUTED
   48f38:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048c9e <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
   48c9e:	4e56 ffd4      	linkw %fp,#-44                              <== NOT EXECUTED
   48ca2:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 <== NOT EXECUTED
   48ca6:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
   48caa:	266e 000c      	moveal %fp@(12),%a3                         <== NOT EXECUTED
   48cae:	282e 0010      	movel %fp@(16),%d4                          <== NOT EXECUTED
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
   48cb2:	6606           	bnes 48cba <pipe_write+0x1c>                <== NOT EXECUTED
   48cb4:	4282           	clrl %d2                                    <== NOT EXECUTED
   48cb6:	6000 0168      	braw 48e20 <pipe_write+0x182>               <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   48cba:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48cbc:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48cbe:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48cc2:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
   48cc8:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48ccc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48cce:	6706           	beqs 48cd6 <pipe_write+0x38>                <== NOT EXECUTED
   48cd0:	74fc           	moveq #-4,%d2                               <== NOT EXECUTED
   48cd2:	6000 014c      	braw 48e20 <pipe_write+0x182>               <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
   48cd6:	4aaa 0010      	tstl %a2@(16)                               <== NOT EXECUTED
   48cda:	6608           	bnes 48ce4 <pipe_write+0x46>                <== NOT EXECUTED
   48cdc:	76e0           	moveq #-32,%d3                              <== NOT EXECUTED
   48cde:	4282           	clrl %d2                                    <== NOT EXECUTED
   48ce0:	6000 0112      	braw 48df4 <pipe_write+0x156>               <== NOT EXECUTED
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
   48ce4:	b8aa 0004      	cmpl %a2@(4),%d4                            <== NOT EXECUTED
   48ce8:	6304           	blss 48cee <pipe_write+0x50>                <== NOT EXECUTED
   48cea:	7c01           	moveq #1,%d6                                <== NOT EXECUTED
   48cec:	6002           	bras 48cf0 <pipe_write+0x52>                <== NOT EXECUTED
   48cee:	2c04           	movel %d4,%d6                               <== NOT EXECUTED
   48cf0:	4282           	clrl %d2                                    <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
   48cf2:	4bf9 0004 b0f4 	lea 4b0f4 <rtems_barrier_wait>,%a5          <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
   48cf8:	49f9 0004 57c0 	lea 457c0 <rtems_semaphore_obtain>,%a4      <== NOT EXECUTED
   48cfe:	6000 00ec      	braw 48dec <pipe_write+0x14e>               <== 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) {                                
      if (LIBIO_NODELAY(iop)) {                                       
   48d02:	206e 0014      	moveal %fp@(20),%a0                         <== NOT EXECUTED
   48d06:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   48d08:	c0a8 0014      	andl %a0@(20),%d0                           <== NOT EXECUTED
   48d0c:	6706           	beqs 48d14 <pipe_write+0x76>                <== NOT EXECUTED
   48d0e:	76f5           	moveq #-11,%d3                              <== NOT EXECUTED
   48d10:	6000 00e2      	braw 48df4 <pipe_write+0x156>               <== NOT EXECUTED
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
   48d14:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
   48d18:	52aa 001c      	addql #1,%a2@(28)                           <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
   48d1c:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
      if (! PIPE_WRITEWAIT(pipe))                                     
   48d22:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48d24:	2f2a 0030      	movel %a2@(48),%sp@-                        <== NOT EXECUTED
   48d28:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   48d2a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48d2e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48d30:	6602           	bnes 48d34 <pipe_write+0x96>                <== NOT EXECUTED
   48d32:	4283           	clrl %d3                                    <== NOT EXECUTED
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
   48d34:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48d36:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48d38:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48d3c:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   48d3e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   48d42:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48d44:	6706           	beqs 48d4c <pipe_write+0xae>                <== NOT EXECUTED
   48d46:	76fc           	moveq #-4,%d3                               <== NOT EXECUTED
   48d48:	6000 00d0      	braw 48e1a <pipe_write+0x17c>               <== NOT EXECUTED
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
   48d4c:	53aa 001c      	subql #1,%a2@(28)                           <== NOT EXECUTED
      if (ret != 0)                                                   
   48d50:	4a83           	tstl %d3                                    <== NOT EXECUTED
   48d52:	6600 00a0      	bnew 48df4 <pipe_write+0x156>               <== NOT EXECUTED
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
   48d56:	4aaa 0010      	tstl %a2@(16)                               <== NOT EXECUTED
   48d5a:	6606           	bnes 48d62 <pipe_write+0xc4>                <== NOT EXECUTED
   48d5c:	76e0           	moveq #-32,%d3                              <== NOT EXECUTED
   48d5e:	6000 0094      	braw 48df4 <pipe_write+0x156>               <== 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) {                                
   48d62:	2a2a 0004      	movel %a2@(4),%d5                           <== NOT EXECUTED
   48d66:	2005           	movel %d5,%d0                               <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
   48d68:	76fc           	moveq #-4,%d3                               <== 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) {                                
   48d6a:	206a 000c      	moveal %a2@(12),%a0                         <== NOT EXECUTED
   48d6e:	9088           	subl %a0,%d0                                <== NOT EXECUTED
   48d70:	bc80           	cmpl %d0,%d6                                <== NOT EXECUTED
   48d72:	628e           	bhis 48d02 <pipe_write+0x64>                <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
   48d74:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   48d76:	2004           	movel %d4,%d0                               <== NOT EXECUTED
   48d78:	9082           	subl %d2,%d0                                <== NOT EXECUTED
   48d7a:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   48d7c:	6402           	bccs 48d80 <pipe_write+0xe2>                <== NOT EXECUTED
   48d7e:	2600           	movel %d0,%d3                               <== NOT EXECUTED
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
   48d80:	d1ea 0008      	addal %a2@(8),%a0                           <== NOT EXECUTED
   48d84:	220b           	movel %a3,%d1                               <== NOT EXECUTED
   48d86:	2e08           	movel %a0,%d7                               <== NOT EXECUTED
   48d88:	2c3c 0004 e9c4 	movel #321988,%d6                           <== NOT EXECUTED
   48d8e:	d282           	addl %d2,%d1                                <== NOT EXECUTED
   48d90:	4c45 7000      	remul %d5,%d0,%d7                           <== NOT EXECUTED
   48d94:	9a80           	subl %d0,%d5                                <== NOT EXECUTED
   48d96:	d092           	addl %a2@,%d0                               <== NOT EXECUTED
    if (chunk > chunk1) {                                             
   48d98:	ba83           	cmpl %d3,%d5                                <== NOT EXECUTED
   48d9a:	6c24           	bges 48dc0 <pipe_write+0x122>               <== NOT EXECUTED
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
   48d9c:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   48d9e:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   48da0:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   48da2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48da4:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
   48da6:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   48da8:	9285           	subl %d5,%d1                                <== NOT EXECUTED
   48daa:	2005           	movel %d5,%d0                               <== NOT EXECUTED
   48dac:	d082           	addl %d2,%d0                                <== NOT EXECUTED
   48dae:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   48db0:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   48db2:	4873 0800      	pea %a3@(00000000,%d0:l)                    <== NOT EXECUTED
   48db6:	2f12           	movel %a2@,%sp@-                            <== NOT EXECUTED
   48db8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   48dba:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   48dbe:	600e           	bras 48dce <pipe_write+0x130>               <== NOT EXECUTED
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
   48dc0:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   48dc2:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   48dc4:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   48dc6:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48dc8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   48dca:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
                                                                      
    pipe->Length += chunk;                                            
   48dce:	d7aa 000c      	addl %d3,%a2@(12)                           <== NOT EXECUTED
    if (pipe->waitingReaders > 0)                                     
   48dd2:	4aaa 0018      	tstl %a2@(24)                               <== NOT EXECUTED
   48dd6:	6710           	beqs 48de8 <pipe_write+0x14a>               <== NOT EXECUTED
      PIPE_WAKEUPREADERS(pipe);                                       
   48dd8:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   48ddc:	2f2a 002c      	movel %a2@(44),%sp@-                        <== NOT EXECUTED
   48de0:	4eb9 0004 b090 	jsr 4b090 <rtems_barrier_release>           <== NOT EXECUTED
   48de6:	508f           	addql #8,%sp                                <== NOT EXECUTED
    written += chunk;                                                 
   48de8:	d483           	addl %d3,%d2                                <== NOT EXECUTED
   48dea:	7c01           	moveq #1,%d6                                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
   48dec:	b882           	cmpl %d2,%d4                                <== NOT EXECUTED
   48dee:	6200 ff72      	bhiw 48d62 <pipe_write+0xc4>                <== NOT EXECUTED
   48df2:	4283           	clrl %d3                                    <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   48df4:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   48df8:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
   48dfe:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
   48e00:	70e0           	moveq #-32,%d0                              <== NOT EXECUTED
   48e02:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   48e04:	6614           	bnes 48e1a <pipe_write+0x17c>               <== NOT EXECUTED
    kill(getpid(), SIGPIPE);                                          
   48e06:	4eb9 0004 a35c 	jsr 4a35c <getpid>                          <== NOT EXECUTED
   48e0c:	4878 000d      	pea d <OPER1+0x1>                           <== NOT EXECUTED
   48e10:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48e12:	4eb9 0004 a8e0 	jsr 4a8e0 <kill>                            <== NOT EXECUTED
   48e18:	508f           	addql #8,%sp                                <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
   48e1a:	4a82           	tstl %d2                                    <== NOT EXECUTED
   48e1c:	6e02           	bgts 48e20 <pipe_write+0x182>               <== NOT EXECUTED
   48e1e:	2403           	movel %d3,%d2                               <== NOT EXECUTED
    return written;                                                   
  return ret;                                                         
}                                                                     
   48e20:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   48e22:	4cee 3cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   48e28:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046984 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
   46984:	4e56 0000      	linkw %fp,#0                                
   46988:	202e 000c      	movel %fp@(12),%d0                          
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
   4698c:	2200           	movel %d0,%d1                               
   4698e:	5381           	subql #1,%d1                                
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
   46990:	52b9 0006 415c 	addql #1,6415c <rtems_malloc_statistics+0x8>
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
   46996:	c280           	andl %d0,%d1                                
   46998:	6610           	bnes 469aa <posix_memalign+0x26>            <== NEVER TAKEN
   4699a:	123c 0003      	moveb #3,%d1                                
   4699e:	b280           	cmpl %d0,%d1                                
   469a0:	6408           	bccs 469aa <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 );                  
}                                                                     
   469a2:	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 );                  
   469a4:	4ef9 0004 6ac0 	jmp 46ac0 <rtems_memalign>                  
}                                                                     
   469aa:	7016           	moveq #22,%d0                               
   469ac:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000499f0 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
   499f0:	4e56 0000      	linkw %fp,#0                                
   499f4:	206e 0008      	moveal %fp@(8),%a0                          
   499f8:	222e 000c      	movel %fp@(12),%d1                          
   499fc:	2f02           	movel %d2,%sp@-                             
  if ( !attr || !attr->is_initialized )                               
   499fe:	4a88           	tstl %a0                                    
   49a00:	6726           	beqs 49a28 <pthread_attr_setschedpolicy+0x38>
   49a02:	4a90           	tstl %a0@                                   
   49a04:	6722           	beqs 49a28 <pthread_attr_setschedpolicy+0x38>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
   49a06:	7004           	moveq #4,%d0                                
   49a08:	b081           	cmpl %d1,%d0                                
   49a0a:	650c           	bcss 49a18 <pthread_attr_setschedpolicy+0x28>
   49a0c:	103c 0001      	moveb #1,%d0                                
   49a10:	7417           	moveq #23,%d2                               
   49a12:	e3a8           	lsll %d1,%d0                                
   49a14:	c082           	andl %d2,%d0                                
   49a16:	6608           	bnes 49a20 <pthread_attr_setschedpolicy+0x30><== ALWAYS TAKEN
   49a18:	203c 0000 0086 	movel #134,%d0                              
   49a1e:	600a           	bras 49a2a <pthread_attr_setschedpolicy+0x3a>
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
   49a20:	2141 0014      	movel %d1,%a0@(20)                          
   49a24:	4280           	clrl %d0                                    
      return 0;                                                       
   49a26:	6002           	bras 49a2a <pthread_attr_setschedpolicy+0x3a>
   49a28:	7016           	moveq #22,%d0                               
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
   49a2a:	241f           	movel %sp@+,%d2                             
   49a2c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045b44 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
   45b44:	4e56 ffe0      	linkw %fp,#-32                              
   45b48:	206e 000c      	moveal %fp@(12),%a0                         
   45b4c:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   45b50:	266e 0008      	moveal %fp@(8),%a3                          
   45b54:	246e 0010      	moveal %fp@(16),%a2                         
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
   45b58:	4a8b           	tstl %a3                                    
   45b5a:	6700 008e      	beqw 45bea <pthread_barrier_init+0xa6>      
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
   45b5e:	4a8a           	tstl %a2                                    
   45b60:	6700 0088      	beqw 45bea <pthread_barrier_init+0xa6>      
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
   45b64:	4a88           	tstl %a0                                    
   45b66:	6614           	bnes 45b7c <pthread_barrier_init+0x38>      
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
   45b68:	240e           	movel %fp,%d2                               
   45b6a:	0682 ffff fff0 	addil #-16,%d2                              
   45b70:	2f02           	movel %d2,%sp@-                             
   45b72:	4eb9 0004 5a88 	jsr 45a88 <pthread_barrierattr_init>        
   45b78:	588f           	addql #4,%sp                                
   45b7a:	2042           	moveal %d2,%a0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   45b7c:	4a90           	tstl %a0@                                   
   45b7e:	676a           	beqs 45bea <pthread_barrier_init+0xa6>      
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
   45b80:	4aa8 0004      	tstl %a0@(4)                                
   45b84:	6664           	bnes 45bea <pthread_barrier_init+0xa6>      <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   45b86:	2039 0006 03f0 	movel 603f0 <_Thread_Dispatch_disable_level>,%d0
   45b8c:	5280           	addql #1,%d0                                
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
  the_attributes.maximum_count = count;                               
   45b8e:	2d4a fffc      	movel %a2,%fp@(-4)                          
   45b92:	23c0 0006 03f0 	movel %d0,603f0 <_Thread_Dispatch_disable_level>
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
   45b98:	42ae fff8      	clrl %fp@(-8)                               
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
   45b9c:	4879 0006 0732 	pea 60732 <_POSIX_Barrier_Information>      
   45ba2:	45f9 0004 8672 	lea 48672 <_Thread_Enable_dispatch>,%a2     
   45ba8:	4eb9 0004 7a24 	jsr 47a24 <_Objects_Allocate>               
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
   45bae:	588f           	addql #4,%sp                                
   45bb0:	2840           	moveal %d0,%a4                              
   45bb2:	4a80           	tstl %d0                                    
   45bb4:	6606           	bnes 45bbc <pthread_barrier_init+0x78>      
    _Thread_Enable_dispatch();                                        
   45bb6:	4e92           	jsr %a2@                                    
   45bb8:	700b           	moveq #11,%d0                               
    return EAGAIN;                                                    
   45bba:	6030           	bras 45bec <pthread_barrier_init+0xa8>      
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
   45bbc:	486e fff8      	pea %fp@(-8)                                
   45bc0:	486c 0010      	pea %a4@(16)                                
   45bc4:	4eb9 0004 7154 	jsr 47154 <_CORE_barrier_Initialize>        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   45bca:	202c 0008      	movel %a4@(8),%d0                           
   45bce:	4281           	clrl %d1                                    
   45bd0:	2079 0006 074a 	moveal 6074a <_POSIX_Barrier_Information+0x18>,%a0
   45bd6:	3200           	movew %d0,%d1                               
   45bd8:	218c 1c00      	movel %a4,%a0@(00000000,%d1:l:4)            
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   45bdc:	42ac 000c      	clrl %a4@(12)                               
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
   45be0:	2680           	movel %d0,%a3@                              
  _Thread_Enable_dispatch();                                          
   45be2:	4e92           	jsr %a2@                                    
  return 0;                                                           
   45be4:	508f           	addql #8,%sp                                
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  _Thread_Enable_dispatch();                                          
   45be6:	4280           	clrl %d0                                    
  return 0;                                                           
   45be8:	6002           	bras 45bec <pthread_barrier_init+0xa8>      
   45bea:	7016           	moveq #22,%d0                               
}                                                                     
   45bec:	4cee 1c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a4                
   45bf2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045588 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
   45588:	4e56 0000      	linkw %fp,#0                                
   4558c:	2f03           	movel %d3,%sp@-                             
   4558e:	262e 000c      	movel %fp@(12),%d3                          
   45592:	2f02           	movel %d2,%sp@-                             
   45594:	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 )                                                     
   45598:	6754           	beqs 455ee <pthread_cleanup_push+0x66>      <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   4559a:	2039 0005 fe68 	movel 5fe68 <_Thread_Dispatch_disable_level>,%d0
   455a0:	5280           	addql #1,%d0                                
   455a2:	23c0 0005 fe68 	movel %d0,5fe68 <_Thread_Dispatch_disable_level>
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
   455a8:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   455ac:	4eb9 0004 9344 	jsr 49344 <_Workspace_Allocate>             
                                                                      
  if ( handler ) {                                                    
   455b2:	588f           	addql #4,%sp                                
   455b4:	4a80           	tstl %d0                                    
   455b6:	6726           	beqs 455de <pthread_cleanup_push+0x56>      <== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
   455b8:	2079 0005 ff22 	moveal 5ff22 <_Thread_Executing>,%a0        
   455be:	2228 010e      	movel %a0@(270),%d1                         
                                                                      
    handler->routine = routine;                                       
   455c2:	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;           
   455c4:	0681 0000 00e0 	addil #224,%d1                              
                                                                      
    handler->routine = routine;                                       
   455ca:	2142 0008      	movel %d2,%a0@(8)                           
    handler->arg = arg;                                               
   455ce:	2143 000c      	movel %d3,%a0@(12)                          
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
   455d2:	2f00           	movel %d0,%sp@-                             
   455d4:	2f01           	movel %d1,%sp@-                             
   455d6:	4eb9 0004 6c18 	jsr 46c18 <_Chain_Append>                   
   455dc:	508f           	addql #8,%sp                                
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
   455de:	242e fff8      	movel %fp@(-8),%d2                          
   455e2:	262e fffc      	movel %fp@(-4),%d3                          
   455e6:	4e5e           	unlk %fp                                    
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
   455e8:	4ef9 0004 80fa 	jmp 480fa <_Thread_Enable_dispatch>         
}                                                                     
   455ee:	242e fff8      	movel %fp@(-8),%d2                          
   455f2:	262e fffc      	movel %fp@(-4),%d3                          
   455f6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000462d0 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
   462d0:	4e56 fff4      	linkw %fp,#-12                              
   462d4:	202e 000c      	movel %fp@(12),%d0                          
   462d8:	48d7 1c00      	moveml %a2-%a4,%sp@                         
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
   462dc:	45f9 0005 e952 	lea 5e952 <_POSIX_Condition_variables_Default_attributes>,%a2
   462e2:	4a80           	tstl %d0                                    
   462e4:	6702           	beqs 462e8 <pthread_cond_init+0x18>         
   462e6:	2440           	moveal %d0,%a2                              
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
                                                                      
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
   462e8:	7001           	moveq #1,%d0                                
   462ea:	b0aa 0004      	cmpl %a2@(4),%d0                            
   462ee:	6776           	beqs 46366 <pthread_cond_init+0x96>         <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
   462f0:	4a92           	tstl %a2@                                   
   462f2:	6772           	beqs 46366 <pthread_cond_init+0x96>         
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   462f4:	2039 0006 146c 	movel 6146c <_Thread_Dispatch_disable_level>,%d0
   462fa:	5280           	addql #1,%d0                                
   462fc:	23c0 0006 146c 	movel %d0,6146c <_Thread_Dispatch_disable_level>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
   46302:	4879 0006 183a 	pea 6183a <_POSIX_Condition_variables_Information>
   46308:	47f9 0004 930a 	lea 4930a <_Thread_Enable_dispatch>,%a3     
   4630e:	4eb9 0004 86bc 	jsr 486bc <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
   46314:	588f           	addql #4,%sp                                
   46316:	2840           	moveal %d0,%a4                              
   46318:	4a80           	tstl %d0                                    
   4631a:	6606           	bnes 46322 <pthread_cond_init+0x52>         
    _Thread_Enable_dispatch();                                        
   4631c:	4e93           	jsr %a3@                                    
   4631e:	700c           	moveq #12,%d0                               
    return ENOMEM;                                                    
   46320:	6046           	bras 46368 <pthread_cond_init+0x98>         
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
   46322:	42ac 0014      	clrl %a4@(20)                               
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
   46326:	296a 0004 0010 	movel %a2@(4),%a4@(16)                      
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
/* XXX some more initialization might need to go here */              
  _Thread_queue_Initialize(                                           
   4632c:	4878 0074      	pea 74 <DBL_MANT_DIG+0x3f>                  
   46330:	4878 0800      	pea 800 <D_MAX_EXP+0x1>                     
   46334:	42a7           	clrl %sp@-                                  
   46336:	486c 0018      	pea %a4@(24)                                
   4633a:	4eb9 0004 9a2c 	jsr 49a2c <_Thread_queue_Initialize>        
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46340:	202c 0008      	movel %a4@(8),%d0                           
   46344:	4281           	clrl %d1                                    
   46346:	2079 0006 1852 	moveal 61852 <_POSIX_Condition_variables_Information+0x18>,%a0
   4634c:	3200           	movew %d0,%d1                               
   4634e:	218c 1c00      	movel %a4,%a0@(00000000,%d1:l:4)            
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   46352:	42ac 000c      	clrl %a4@(12)                               
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
   46356:	206e 0008      	moveal %fp@(8),%a0                          
   4635a:	2080           	movel %d0,%a0@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   4635c:	4e93           	jsr %a3@                                    
                                                                      
  return 0;                                                           
   4635e:	4fef 0010      	lea %sp@(16),%sp                            
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
   46362:	4280           	clrl %d0                                    
                                                                      
  return 0;                                                           
   46364:	6002           	bras 46368 <pthread_cond_init+0x98>         
   46366:	7016           	moveq #22,%d0                               
}                                                                     
   46368:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   4636e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046168 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
   46168:	4e56 0000      	linkw %fp,#0                                
   4616c:	206e 0008      	moveal %fp@(8),%a0                          
  if ( !attr || attr->is_initialized == false )                       
   46170:	4a88           	tstl %a0                                    
   46172:	670a           	beqs 4617e <pthread_condattr_destroy+0x16>  
   46174:	4a90           	tstl %a0@                                   
   46176:	6706           	beqs 4617e <pthread_condattr_destroy+0x16>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
   46178:	4290           	clrl %a0@                                   
   4617a:	4280           	clrl %d0                                    
  return 0;                                                           
   4617c:	6002           	bras 46180 <pthread_condattr_destroy+0x18>  
   4617e:	7016           	moveq #22,%d0                               
}                                                                     
   46180:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004db6c <pthread_exit>: } void pthread_exit( void *value_ptr ) {
   4db6c:	4e56 0000      	linkw %fp,#0                                
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
   4db70:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4db74:	2f39 0005 eff6 	movel 5eff6 <_Thread_Executing>,%sp@-       
   4db7a:	4eb9 0004 dafc 	jsr 4dafc <_POSIX_Thread_Exit>              
   4db80:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   4db82:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

000453e8 <pthread_mutexattr_gettype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) {
   453e8:	4e56 0000      	linkw %fp,#0                                
   453ec:	206e 0008      	moveal %fp@(8),%a0                          
   453f0:	226e 000c      	moveal %fp@(12),%a1                         
  if ( !attr )                                                        
   453f4:	4a88           	tstl %a0                                    
   453f6:	6710           	beqs 45408 <pthread_mutexattr_gettype+0x20> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
   453f8:	4a90           	tstl %a0@                                   
   453fa:	670c           	beqs 45408 <pthread_mutexattr_gettype+0x20> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
   453fc:	4a89           	tstl %a1                                    
   453fe:	6708           	beqs 45408 <pthread_mutexattr_gettype+0x20> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
   45400:	22a8 0010      	movel %a0@(16),%a1@                         
   45404:	4280           	clrl %d0                                    
  return 0;                                                           
   45406:	6002           	bras 4540a <pthread_mutexattr_gettype+0x22> 
   45408:	7016           	moveq #22,%d0                               
}                                                                     
   4540a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047184 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
   47184:	4e56 0000      	linkw %fp,#0                                
   47188:	206e 0008      	moveal %fp@(8),%a0                          
   4718c:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr || !attr->is_initialized )                               
   47190:	4a88           	tstl %a0                                    
   47192:	6712           	beqs 471a6 <pthread_mutexattr_setpshared+0x22>
   47194:	4a90           	tstl %a0@                                   
   47196:	670e           	beqs 471a6 <pthread_mutexattr_setpshared+0x22>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
   47198:	7201           	moveq #1,%d1                                
   4719a:	b280           	cmpl %d0,%d1                                
   4719c:	6508           	bcss 471a6 <pthread_mutexattr_setpshared+0x22><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
   4719e:	2140 0004      	movel %d0,%a0@(4)                           
   471a2:	4280           	clrl %d0                                    
      return 0;                                                       
   471a4:	6002           	bras 471a8 <pthread_mutexattr_setpshared+0x24>
   471a6:	7016           	moveq #22,%d0                               
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
   471a8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004543c <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
   4543c:	4e56 0000      	linkw %fp,#0                                
   45440:	206e 0008      	moveal %fp@(8),%a0                          
   45444:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr || !attr->is_initialized )                               
   45448:	4a88           	tstl %a0                                    
   4544a:	6712           	beqs 4545e <pthread_mutexattr_settype+0x22> 
   4544c:	4a90           	tstl %a0@                                   
   4544e:	670e           	beqs 4545e <pthread_mutexattr_settype+0x22> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
   45450:	7203           	moveq #3,%d1                                
   45452:	b280           	cmpl %d0,%d1                                
   45454:	6508           	bcss 4545e <pthread_mutexattr_settype+0x22> 
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
   45456:	2140 0010      	movel %d0,%a0@(16)                          
   4545a:	4280           	clrl %d0                                    
      return 0;                                                       
   4545c:	6002           	bras 45460 <pthread_mutexattr_settype+0x24> 
   4545e:	7016           	moveq #22,%d0                               
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
   45460:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045ebc <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
   45ebc:	4e56 fffc      	linkw %fp,#-4                               
   45ec0:	2f0b           	movel %a3,%sp@-                             
   45ec2:	266e 000c      	moveal %fp@(12),%a3                         
   45ec6:	2f0a           	movel %a2,%sp@-                             
   45ec8:	246e 0008      	moveal %fp@(8),%a2                          
  if ( !once_control || !init_routine )                               
   45ecc:	4a8a           	tstl %a2                                    
   45ece:	674a           	beqs 45f1a <pthread_once+0x5e>              
   45ed0:	4a8b           	tstl %a3                                    
   45ed2:	6746           	beqs 45f1a <pthread_once+0x5e>              
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
   45ed4:	4aaa 0004      	tstl %a2@(4)                                
   45ed8:	663c           	bnes 45f16 <pthread_once+0x5a>              
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
   45eda:	486e fffc      	pea %fp@(-4)                                
   45ede:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   45ee2:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   45ee6:	4eb9 0004 69c4 	jsr 469c4 <rtems_task_mode>                 
    if ( !once_control->init_executed ) {                             
   45eec:	4fef 000c      	lea %sp@(12),%sp                            
   45ef0:	4aaa 0004      	tstl %a2@(4)                                
   45ef4:	660a           	bnes 45f00 <pthread_once+0x44>              <== NEVER TAKEN
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
   45ef6:	7001           	moveq #1,%d0                                
   45ef8:	2540 0004      	movel %d0,%a2@(4)                           
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
   45efc:	2480           	movel %d0,%a2@                              
      once_control->init_executed = true;                             
      (*init_routine)();                                              
   45efe:	4e93           	jsr %a3@                                    
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   45f00:	486e fffc      	pea %fp@(-4)                                
   45f04:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   45f08:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   45f0c:	4eb9 0004 69c4 	jsr 469c4 <rtems_task_mode>                 
   45f12:	4fef 000c      	lea %sp@(12),%sp                            
   45f16:	4280           	clrl %d0                                    
   45f18:	6002           	bras 45f1c <pthread_once+0x60>              
   45f1a:	7016           	moveq #22,%d0                               
  }                                                                   
  return 0;                                                           
}                                                                     
   45f1c:	246e fff4      	moveal %fp@(-12),%a2                        
   45f20:	266e fff8      	moveal %fp@(-8),%a3                         
   45f24:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046484 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
   46484:	4e56 ffe8      	linkw %fp,#-24                              
   46488:	48d7 1c00      	moveml %a2-%a4,%sp@                         
   4648c:	266e 0008      	moveal %fp@(8),%a3                          
   46490:	246e 000c      	moveal %fp@(12),%a2                         
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
   46494:	4a8b           	tstl %a3                                    
   46496:	6778           	beqs 46510 <pthread_rwlock_init+0x8c>       
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
   46498:	4a8a           	tstl %a2                                    
   4649a:	660e           	bnes 464aa <pthread_rwlock_init+0x26>       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
   4649c:	45ee fff4      	lea %fp@(-12),%a2                           
   464a0:	2f0a           	movel %a2,%sp@-                             
   464a2:	4eb9 0004 6d90 	jsr 46d90 <pthread_rwlockattr_init>         
   464a8:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   464aa:	4a92           	tstl %a2@                                   
   464ac:	6762           	beqs 46510 <pthread_rwlock_init+0x8c>       <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
   464ae:	4aaa 0004      	tstl %a2@(4)                                
   464b2:	665c           	bnes 46510 <pthread_rwlock_init+0x8c>       <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   464b4:	2039 0006 18c0 	movel 618c0 <_Thread_Dispatch_disable_level>,%d0
   464ba:	5280           	addql #1,%d0                                
   464bc:	23c0 0006 18c0 	movel %d0,618c0 <_Thread_Dispatch_disable_level>
 *  This function allocates a RWLock control block from               
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
   464c2:	4879 0006 1a6c 	pea 61a6c <_POSIX_RWLock_Information>       
   464c8:	45f9 0004 94ca 	lea 494ca <_Thread_Enable_dispatch>,%a2     
   464ce:	4eb9 0004 887c 	jsr 4887c <_Objects_Allocate>               
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
   464d4:	588f           	addql #4,%sp                                
   464d6:	2840           	moveal %d0,%a4                              
   464d8:	4a80           	tstl %d0                                    
   464da:	6606           	bnes 464e2 <pthread_rwlock_init+0x5e>       
    _Thread_Enable_dispatch();                                        
   464dc:	4e92           	jsr %a2@                                    
   464de:	700b           	moveq #11,%d0                               
    return EAGAIN;                                                    
   464e0:	6030           	bras 46512 <pthread_rwlock_init+0x8e>       
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
   464e2:	486e fffc      	pea %fp@(-4)                                
   464e6:	486c 0010      	pea %a4@(16)                                
   464ea:	4eb9 0004 80b0 	jsr 480b0 <_CORE_RWLock_Initialize>         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   464f0:	202c 0008      	movel %a4@(8),%d0                           
   464f4:	4281           	clrl %d1                                    
   464f6:	2079 0006 1a84 	moveal 61a84 <_POSIX_RWLock_Information+0x18>,%a0
   464fc:	3200           	movew %d0,%d1                               
   464fe:	218c 1c00      	movel %a4,%a0@(00000000,%d1:l:4)            
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   46502:	42ac 000c      	clrl %a4@(12)                               
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
   46506:	2680           	movel %d0,%a3@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   46508:	4e92           	jsr %a2@                                    
  return 0;                                                           
   4650a:	508f           	addql #8,%sp                                
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
                                                                      
  _Thread_Enable_dispatch();                                          
   4650c:	4280           	clrl %d0                                    
  return 0;                                                           
   4650e:	6002           	bras 46512 <pthread_rwlock_init+0x8e>       
   46510:	7016           	moveq #22,%d0                               
}                                                                     
   46512:	4cee 1c00 ffe8 	moveml %fp@(-24),%a2-%a4                    
   46518:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046584 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
   46584:	4e56 ffec      	linkw %fp,#-20                              
   46588:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4658c:	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 )                                                      
   46590:	4a8a           	tstl %a2                                    
   46592:	6700 008e      	beqw 46622 <pthread_rwlock_timedrdlock+0x9e>
   *                                                                  
   *  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 );       
   46596:	486e fff8      	pea %fp@(-8)                                
   4659a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4659e:	4eb9 0004 cb1c 	jsr 4cb1c <_POSIX_Absolute_timeout_to_ticks>
   465a4:	486e fffc      	pea %fp@(-4)                                
   465a8:	2400           	movel %d0,%d2                               
   465aa:	2f12           	movel %a2@,%sp@-                            
   465ac:	4879 0006 1a6c 	pea 61a6c <_POSIX_RWLock_Information>       
   465b2:	4eb9 0004 8cc8 	jsr 48cc8 <_Objects_Get>                    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   465b8:	4fef 0014      	lea %sp@(20),%sp                            
   465bc:	4aae fffc      	tstl %fp@(-4)                               
   465c0:	6660           	bnes 46622 <pthread_rwlock_timedrdlock+0x9e>
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,                                
   465c2:	7203           	moveq #3,%d1                                
   465c4:	b282           	cmpl %d2,%d1                                
   465c6:	57c3           	seq %d3                                     
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
   465c8:	42a7           	clrl %sp@-                                  
   465ca:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   465ce:	4483           	negl %d3                                    
   465d0:	4281           	clrl %d1                                    
   465d2:	1203           	moveb %d3,%d1                               
   465d4:	2040           	moveal %d0,%a0                              
   465d6:	2f01           	movel %d1,%sp@-                             
   465d8:	2f12           	movel %a2@,%sp@-                            
   465da:	4868 0010      	pea %a0@(16)                                
   465de:	4eb9 0004 80e4 	jsr 480e4 <_CORE_RWLock_Obtain_for_reading> 
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   465e4:	4eb9 0004 94ca 	jsr 494ca <_Thread_Enable_dispatch>         
      if ( !do_wait ) {                                               
   465ea:	4fef 0014      	lea %sp@(20),%sp                            
   465ee:	4a03           	tstb %d3                                    
   465f0:	661c           	bnes 4660e <pthread_rwlock_timedrdlock+0x8a>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
   465f2:	2079 0006 197a 	moveal 6197a <_Thread_Executing>,%a0        
   465f8:	7002           	moveq #2,%d0                                
   465fa:	b0a8 0034      	cmpl %a0@(52),%d0                           
   465fe:	660e           	bnes 4660e <pthread_rwlock_timedrdlock+0x8a>
	  switch (status) {                                                  
   46600:	4a82           	tstl %d2                                    
   46602:	671e           	beqs 46622 <pthread_rwlock_timedrdlock+0x9e><== NEVER TAKEN
   46604:	b082           	cmpl %d2,%d0                                
   46606:	6506           	bcss 4660e <pthread_rwlock_timedrdlock+0x8a><== NEVER TAKEN
   46608:	103c 0074      	moveb #116,%d0                              
   4660c:	6016           	bras 46624 <pthread_rwlock_timedrdlock+0xa0>
	      break;                                                         
	  }                                                                  
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   4660e:	2079 0006 197a 	moveal 6197a <_Thread_Executing>,%a0        
   46614:	2f28 0034      	movel %a0@(52),%sp@-                        
   46618:	4eb9 0004 66dc 	jsr 466dc <_POSIX_RWLock_Translate_core_RWLock_return_code>
   4661e:	588f           	addql #4,%sp                                
   46620:	6002           	bras 46624 <pthread_rwlock_timedrdlock+0xa0>
   46622:	7016           	moveq #22,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   46624:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   4662a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046630 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
   46630:	4e56 ffec      	linkw %fp,#-20                              
   46634:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   46638:	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 )                                                      
   4663c:	4a8a           	tstl %a2                                    
   4663e:	6700 008e      	beqw 466ce <pthread_rwlock_timedwrlock+0x9e>
   *                                                                  
   *  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 );       
   46642:	486e fff8      	pea %fp@(-8)                                
   46646:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4664a:	4eb9 0004 cb1c 	jsr 4cb1c <_POSIX_Absolute_timeout_to_ticks>
   46650:	486e fffc      	pea %fp@(-4)                                
   46654:	2400           	movel %d0,%d2                               
   46656:	2f12           	movel %a2@,%sp@-                            
   46658:	4879 0006 1a6c 	pea 61a6c <_POSIX_RWLock_Information>       
   4665e:	4eb9 0004 8cc8 	jsr 48cc8 <_Objects_Get>                    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   46664:	4fef 0014      	lea %sp@(20),%sp                            
   46668:	4aae fffc      	tstl %fp@(-4)                               
   4666c:	6660           	bnes 466ce <pthread_rwlock_timedwrlock+0x9e>
        (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,                                
   4666e:	7203           	moveq #3,%d1                                
   46670:	b282           	cmpl %d2,%d1                                
   46672:	57c3           	seq %d3                                     
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
   46674:	42a7           	clrl %sp@-                                  
   46676:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   4667a:	4483           	negl %d3                                    
   4667c:	4281           	clrl %d1                                    
   4667e:	1203           	moveb %d3,%d1                               
   46680:	2040           	moveal %d0,%a0                              
   46682:	2f01           	movel %d1,%sp@-                             
   46684:	2f12           	movel %a2@,%sp@-                            
   46686:	4868 0010      	pea %a0@(16)                                
   4668a:	4eb9 0004 8194 	jsr 48194 <_CORE_RWLock_Obtain_for_writing> 
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   46690:	4eb9 0004 94ca 	jsr 494ca <_Thread_Enable_dispatch>         
      if ( !do_wait &&                                                
   46696:	4fef 0014      	lea %sp@(20),%sp                            
   4669a:	4a03           	tstb %d3                                    
   4669c:	661c           	bnes 466ba <pthread_rwlock_timedwrlock+0x8a>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
   4669e:	2079 0006 197a 	moveal 6197a <_Thread_Executing>,%a0        
   466a4:	7002           	moveq #2,%d0                                
   466a6:	b0a8 0034      	cmpl %a0@(52),%d0                           
   466aa:	660e           	bnes 466ba <pthread_rwlock_timedwrlock+0x8a>
	switch (status) {                                                    
   466ac:	4a82           	tstl %d2                                    
   466ae:	671e           	beqs 466ce <pthread_rwlock_timedwrlock+0x9e><== NEVER TAKEN
   466b0:	b082           	cmpl %d2,%d0                                
   466b2:	6506           	bcss 466ba <pthread_rwlock_timedwrlock+0x8a><== NEVER TAKEN
   466b4:	103c 0074      	moveb #116,%d0                              
   466b8:	6016           	bras 466d0 <pthread_rwlock_timedwrlock+0xa0>
	  case POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE:                          
	    break;                                                           
	}                                                                    
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   466ba:	2079 0006 197a 	moveal 6197a <_Thread_Executing>,%a0        
   466c0:	2f28 0034      	movel %a0@(52),%sp@-                        
   466c4:	4eb9 0004 66dc 	jsr 466dc <_POSIX_RWLock_Translate_core_RWLock_return_code>
   466ca:	588f           	addql #4,%sp                                
   466cc:	6002           	bras 466d0 <pthread_rwlock_timedwrlock+0xa0>
   466ce:	7016           	moveq #22,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   466d0:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   466d6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000467bc <pthread_rwlock_unlock>: */ int pthread_rwlock_unlock( pthread_rwlock_t *rwlock ) {
   467bc:	4e56 fffc      	linkw %fp,#-4                               
   467c0:	206e 0008      	moveal %fp@(8),%a0                          
   467c4:	2f02           	movel %d2,%sp@-                             
  POSIX_RWLock_Control  *the_rwlock;                                  
  Objects_Locations      location;                                    
  CORE_RWLock_Status     status;                                      
                                                                      
  if ( !rwlock )                                                      
   467c6:	4a88           	tstl %a0                                    
   467c8:	673c           	beqs 46806 <pthread_rwlock_unlock+0x4a>     <== NEVER TAKEN
   467ca:	486e fffc      	pea %fp@(-4)                                
   467ce:	2f10           	movel %a0@,%sp@-                            
   467d0:	4879 0006 1a6c 	pea 61a6c <_POSIX_RWLock_Information>       
   467d6:	4eb9 0004 8cc8 	jsr 48cc8 <_Objects_Get>                    
    return EINVAL;                                                    
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   467dc:	4fef 000c      	lea %sp@(12),%sp                            
   467e0:	4aae fffc      	tstl %fp@(-4)                               
   467e4:	6620           	bnes 46806 <pthread_rwlock_unlock+0x4a>     <== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      status = _CORE_RWLock_Release( &the_rwlock->RWLock );           
   467e6:	2040           	moveal %d0,%a0                              
   467e8:	4868 0010      	pea %a0@(16)                                
   467ec:	4eb9 0004 8220 	jsr 48220 <_CORE_RWLock_Release>            
   467f2:	2400           	movel %d0,%d2                               
      _Thread_Enable_dispatch();                                      
   467f4:	4eb9 0004 94ca 	jsr 494ca <_Thread_Enable_dispatch>         
      return _POSIX_RWLock_Translate_core_RWLock_return_code( status );
   467fa:	2f02           	movel %d2,%sp@-                             
   467fc:	4eb9 0004 66dc 	jsr 466dc <_POSIX_RWLock_Translate_core_RWLock_return_code>
   46802:	508f           	addql #8,%sp                                
   46804:	6002           	bras 46808 <pthread_rwlock_unlock+0x4c>     
   46806:	7016           	moveq #22,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   46808:	242e fff8      	movel %fp@(-8),%d2                          
   4680c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046db0 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
   46db0:	4e56 0000      	linkw %fp,#0                                
   46db4:	206e 0008      	moveal %fp@(8),%a0                          
   46db8:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr )                                                        
   46dbc:	4a88           	tstl %a0                                    
   46dbe:	6712           	beqs 46dd2 <pthread_rwlockattr_setpshared+0x22>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
   46dc0:	4a90           	tstl %a0@                                   
   46dc2:	670e           	beqs 46dd2 <pthread_rwlockattr_setpshared+0x22>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
   46dc4:	7201           	moveq #1,%d1                                
   46dc6:	b280           	cmpl %d0,%d1                                
   46dc8:	6508           	bcss 46dd2 <pthread_rwlockattr_setpshared+0x22><== NEVER TAKEN
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
   46dca:	2140 0004      	movel %d0,%a0@(4)                           
   46dce:	4280           	clrl %d0                                    
      return 0;                                                       
   46dd0:	6002           	bras 46dd4 <pthread_rwlockattr_setpshared+0x24>
   46dd2:	7016           	moveq #22,%d0                               
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
   46dd4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047d10 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
   47d10:	4e56 ffe0      	linkw %fp,#-32                              
   47d14:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   47d18:	282e 000c      	movel %fp@(12),%d4                          
   47d1c:	262e 0010      	movel %fp@(16),%d3                          
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
   47d20:	6606           	bnes 47d28 <pthread_setschedparam+0x18>     
   47d22:	7416           	moveq #22,%d2                               
   47d24:	6000 00e6      	braw 47e0c <pthread_setschedparam+0xfc>     
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
   47d28:	486e fff8      	pea %fp@(-8)                                
   47d2c:	486e fffc      	pea %fp@(-4)                                
   47d30:	2f03           	movel %d3,%sp@-                             
   47d32:	2f04           	movel %d4,%sp@-                             
   47d34:	4eb9 0004 da1c 	jsr 4da1c <_POSIX_Thread_Translate_sched_param>
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
   47d3a:	4fef 0010      	lea %sp@(16),%sp                            
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
   47d3e:	2400           	movel %d0,%d2                               
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
   47d40:	6600 00ca      	bnew 47e0c <pthread_setschedparam+0xfc>     
   47d44:	486e fff4      	pea %fp@(-12)                               
   47d48:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47d4c:	4879 0006 3c22 	pea 63c22 <_POSIX_Threads_Information>      
   47d52:	4eb9 0004 9aa0 	jsr 49aa0 <_Objects_Get>                    
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  switch ( location ) {                                               
   47d58:	4fef 000c      	lea %sp@(12),%sp                            
   47d5c:	2640           	moveal %d0,%a3                              
   47d5e:	4aae fff4      	tstl %fp@(-12)                              
   47d62:	6708           	beqs 47d6c <pthread_setschedparam+0x5c>     
   47d64:	143c 0003      	moveb #3,%d2                                
   47d68:	6000 00a2      	braw 47e0c <pthread_setschedparam+0xfc>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   47d6c:	246b 010e      	moveal %a3@(270),%a2                        
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
   47d70:	7004           	moveq #4,%d0                                
   47d72:	b0aa 0080      	cmpl %a2@(128),%d0                          
   47d76:	660c           	bnes 47d84 <pthread_setschedparam+0x74>     
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
   47d78:	486a 00a4      	pea %a2@(164)                               
   47d7c:	4eb9 0004 b498 	jsr 4b498 <_Watchdog_Remove>                
   47d82:	588f           	addql #4,%sp                                
                                                                      
      api->schedpolicy = policy;                                      
   47d84:	2544 0080      	movel %d4,%a2@(128)                         
      api->schedparam  = *param;                                      
   47d88:	4878 001c      	pea 1c <OPER2+0x8>                          
   47d8c:	2f03           	movel %d3,%sp@-                             
   47d8e:	486a 0084      	pea %a2@(132)                               
   47d92:	4eb9 0005 1460 	jsr 51460 <memcpy>                          
      the_thread->budget_algorithm = budget_algorithm;                
   47d98:	276e fffc 007a 	movel %fp@(-4),%a3@(122)                    
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
   47d9e:	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;                  
   47da2:	276e fff8 007e 	movel %fp@(-8),%a3@(126)                    
                                                                      
      switch ( api->schedpolicy ) {                                   
   47da8:	202a 0080      	movel %a2@(128),%d0                         
   47dac:	6d58           	blts 47e06 <pthread_setschedparam+0xf6>     <== NEVER TAKEN
   47dae:	7202           	moveq #2,%d1                                
   47db0:	b280           	cmpl %d0,%d1                                
   47db2:	6c0a           	bges 47dbe <pthread_setschedparam+0xae>     
   47db4:	123c 0004      	moveb #4,%d1                                
   47db8:	b280           	cmpl %d0,%d1                                
   47dba:	664a           	bnes 47e06 <pthread_setschedparam+0xf6>     <== NEVER TAKEN
   47dbc:	602a           	bras 47de8 <pthread_setschedparam+0xd8>     
   47dbe:	4280           	clrl %d0                                    
   47dc0:	1039 0006 2236 	moveb 62236 <rtems_maximum_priority>,%d0    
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
   47dc6:	41f9 0006 39ec 	lea 639ec <_Thread_Ticks_per_timeslice>,%a0 
   47dcc:	90aa 0084      	subl %a2@(132),%d0                          
   47dd0:	2750 0076      	movel %a0@,%a3@(118)                        
                                                                      
          the_thread->real_priority =                                 
   47dd4:	2740 0018      	movel %d0,%a3@(24)                          
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
   47dd8:	4878 0001      	pea 1 <ADD>                                 
   47ddc:	2f00           	movel %d0,%sp@-                             
   47dde:	2f0b           	movel %a3,%sp@-                             
   47de0:	4eb9 0004 9da8 	jsr 49da8 <_Thread_Change_priority>         
   47de6:	601a           	bras 47e02 <pthread_setschedparam+0xf2>     
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
   47de8:	256a 0084 00a0 	movel %a2@(132),%a2@(160)                   
          _Watchdog_Remove( &api->Sporadic_timer );                   
   47dee:	486a 00a4      	pea %a2@(164)                               
   47df2:	4eb9 0004 b498 	jsr 4b498 <_Watchdog_Remove>                
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
   47df8:	2f0b           	movel %a3,%sp@-                             
   47dfa:	42a7           	clrl %sp@-                                  
   47dfc:	4eb9 0004 7c7c 	jsr 47c7c <_POSIX_Threads_Sporadic_budget_TSR>
   47e02:	4fef 000c      	lea %sp@(12),%sp                            
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
   47e06:	4eb9 0004 a2a2 	jsr 4a2a2 <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   47e0c:	2002           	movel %d2,%d0                               
   47e0e:	4cee 0c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a3            
   47e14:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045cb0 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
   45cb0:	4e56 0000      	linkw %fp,#0                                
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
   45cb4:	2039 0005 ff02 	movel 5ff02 <_ISR_Nest_level>,%d0           
 *                                                                    
 *  18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183     
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
   45cba:	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() )                                        
   45cbc:	4a80           	tstl %d0                                    
   45cbe:	6646           	bnes 45d06 <pthread_testcancel+0x56>        <== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
   45cc0:	2079 0005 ff22 	moveal 5ff22 <_Thread_Executing>,%a0        
   45cc6:	2039 0005 fe68 	movel 5fe68 <_Thread_Dispatch_disable_level>,%d0
   45ccc:	5280           	addql #1,%d0                                
   45cce:	2068 010e      	moveal %a0@(270),%a0                        
   45cd2:	23c0 0005 fe68 	movel %d0,5fe68 <_Thread_Dispatch_disable_level>
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   45cd8:	4aa8 00d4      	tstl %a0@(212)                              
   45cdc:	6704           	beqs 45ce2 <pthread_testcancel+0x32>        <== ALWAYS TAKEN
   45cde:	4202           	clrb %d2                                    <== NOT EXECUTED
   45ce0:	6008           	bras 45cea <pthread_testcancel+0x3a>        <== NOT EXECUTED
                                                                      
/* 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));                             
   45ce2:	4aa8 00dc      	tstl %a0@(220)                              
   45ce6:	56c2           	sne %d2                                     
   45ce8:	4482           	negl %d2                                    
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
   45cea:	4eb9 0004 80fa 	jsr 480fa <_Thread_Enable_dispatch>         
                                                                      
  if ( cancel )                                                       
   45cf0:	4a02           	tstb %d2                                    
   45cf2:	6712           	beqs 45d06 <pthread_testcancel+0x56>        
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
   45cf4:	4878 ffff      	pea ffffffff <LESS>                         
   45cf8:	2f39 0005 ff22 	movel 5ff22 <_Thread_Executing>,%sp@-       
   45cfe:	4eb9 0004 b950 	jsr 4b950 <_POSIX_Thread_Exit>              
   45d04:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   45d06:	242e fffc      	movel %fp@(-4),%d2                          
   45d0a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042c7c <putk>: * putk * * Kernel putk (e.g. puts) function requiring minimal infrastrure. */ void putk(const char *s) {
   42c7c:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   42c80:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42c82:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
   42c86:	6008           	bras 42c90 <putk+0x14>                      <== NOT EXECUTED
    BSP_output_char(*p);                                              
   42c88:	49c0           	extbl %d0                                   <== NOT EXECUTED
   42c8a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42c8c:	4e91           	jsr %a1@                                    <== NOT EXECUTED
 */                                                                   
void putk(const char *s)                                              
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
   42c8e:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42c90:	2279 0005 ddd8 	moveal 5ddd8 <BSP_output_char>,%a1          <== NOT EXECUTED
   42c96:	1012           	moveb %a2@,%d0                              <== NOT EXECUTED
   42c98:	528a           	addql #1,%a2                                <== NOT EXECUTED
   42c9a:	66ec           	bnes 42c88 <putk+0xc>                       <== NOT EXECUTED
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   42c9c:	700a           	moveq #10,%d0                               <== NOT EXECUTED
}                                                                     
   42c9e:	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');                                              
   42ca2:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   42ca6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
{                                                                     
  const char *p = s;                                                  
                                                                      
  for (p=s ; *p ; p++ )                                               
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   42ca8:	4ed1           	jmp %a1@                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0005b3a0 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
   5b3a0:	4e56 fff4      	linkw %fp,#-12                              
   5b3a4:	202e 000c      	movel %fp@(12),%d0                          
   5b3a8:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   5b3ac:	242e 0008      	movel %fp@(8),%d2                           
   5b3b0:	222e 0010      	movel %fp@(16),%d1                          
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   5b3b4:	b4b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d2    
   5b3ba:	6414           	bccs 5b3d0 <read+0x30>                      <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   5b3bc:	2479 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a2         
   5b3c2:	ed8a           	lsll #6,%d2                                 
   5b3c4:	d5c2           	addal %d2,%a2                               
  rtems_libio_check_is_open( iop );                                   
   5b3c6:	242a 0014      	movel %a2@(20),%d2                          
   5b3ca:	0802 0008      	btst #8,%d2                                 
   5b3ce:	6610           	bnes 5b3e0 <read+0x40>                      
   5b3d0:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   5b3d6:	7409           	moveq #9,%d2                                
   5b3d8:	72ff           	moveq #-1,%d1                               
   5b3da:	2040           	moveal %d0,%a0                              
   5b3dc:	2082           	movel %d2,%a0@                              
   5b3de:	6060           	bras 5b440 <read+0xa0>                      
  rtems_libio_check_buffer( buffer );                                 
   5b3e0:	4a80           	tstl %d0                                    
   5b3e2:	670a           	beqs 5b3ee <read+0x4e>                      <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
   5b3e4:	4a81           	tstl %d1                                    
   5b3e6:	6758           	beqs 5b440 <read+0xa0>                      <== NEVER TAKEN
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   5b3e8:	0802 0001      	btst #1,%d2                                 
   5b3ec:	6610           	bnes 5b3fe <read+0x5e>                      <== ALWAYS TAKEN
   5b3ee:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b3f4:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   5b3f6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b3f8:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   5b3fa:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   5b3fc:	6042           	bras 5b440 <read+0xa0>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
   5b3fe:	206a 003c      	moveal %a2@(60),%a0                         
   5b402:	2068 0008      	moveal %a0@(8),%a0                          
   5b406:	4a88           	tstl %a0                                    
   5b408:	6612           	bnes 5b41c <read+0x7c>                      <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   5b40a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b410:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   5b412:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b414:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   5b41a:	6024           	bras 5b440 <read+0xa0>                      <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
   5b41c:	2f01           	movel %d1,%sp@-                             
   5b41e:	2f00           	movel %d0,%sp@-                             
   5b420:	2f0a           	movel %a2,%sp@-                             
   5b422:	4e90           	jsr %a0@                                    
                                                                      
  if ( rc > 0 )                                                       
   5b424:	4fef 000c      	lea %sp@(12),%sp                            
   */                                                                 
                                                                      
  if ( !iop->handlers->read_h )                                       
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->read_h)( iop, buffer, count );                
   5b428:	2200           	movel %d0,%d1                               
                                                                      
  if ( rc > 0 )                                                       
   5b42a:	6f14           	bles 5b440 <read+0xa0>                      
    iop->offset += rc;                                                
   5b42c:	2600           	movel %d0,%d3                               
   5b42e:	5bc2           	smi %d2                                     
   5b430:	49c2           	extbl %d2                                   
   5b432:	d7aa 0010      	addl %d3,%a2@(16)                           
   5b436:	202a 000c      	movel %a2@(12),%d0                          
   5b43a:	d182           	addxl %d2,%d0                               
   5b43c:	2540 000c      	movel %d0,%a2@(12)                          
                                                                      
  return rc;                                                          
}                                                                     
   5b440:	2001           	movel %d1,%d0                               
   5b442:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5b448:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000452e0 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
   452e0:	4e56 ffe0      	linkw %fp,#-32                              
   452e4:	48d7 001c      	moveml %d2-%d4,%sp@                         
   452e8:	282e 0008      	movel %fp@(8),%d4                           
   452ec:	262e 000c      	movel %fp@(12),%d3                          
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
   452f0:	6612           	bnes 45304 <readlink+0x24>                  <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   452f2:	4eb9 0005 07a8 	jsr 507a8 <__errno>                         <== NOT EXECUTED
   452f8:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   452fa:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   452fc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   452fe:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   45300:	6000 00c2      	braw 453c4 <readlink+0xe4>                  <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
   45304:	2f04           	movel %d4,%sp@-                             
   45306:	240e           	movel %fp,%d2                               
   45308:	0682 ffff ffec 	addil #-20,%d2                              
   4530e:	4eb9 0005 220c 	jsr 5220c <strlen>                          
   45314:	4297           	clrl %sp@                                   
   45316:	2f02           	movel %d2,%sp@-                             
   45318:	42a7           	clrl %sp@-                                  
   4531a:	2f00           	movel %d0,%sp@-                             
   4531c:	2f04           	movel %d4,%sp@-                             
   4531e:	4eb9 0004 42a8 	jsr 442a8 <rtems_filesystem_evaluate_path>  
                                           0, &loc, false );          
  if ( result != 0 )                                                  
   45324:	4fef 0014      	lea %sp@(20),%sp                            
   45328:	4a80           	tstl %d0                                    
   4532a:	6706           	beqs 45332 <readlink+0x52>                  <== ALWAYS TAKEN
   4532c:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4532e:	6000 0094      	braw 453c4 <readlink+0xe4>                  <== NOT EXECUTED
     return -1;                                                       
                                                                      
  if ( !loc.ops->node_type_h ){                                       
   45332:	226e fff8      	moveal %fp@(-8),%a1                         
   45336:	2069 0010      	moveal %a1@(16),%a0                         
   4533a:	4a88           	tstl %a0                                    
   4533c:	6606           	bnes 45344 <readlink+0x64>                  <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   4533e:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   45342:	603e           	bras 45382 <readlink+0xa2>                  <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
   45344:	2f02           	movel %d2,%sp@-                             
   45346:	4e90           	jsr %a0@                                    
   45348:	206e fff8      	moveal %fp@(-8),%a0                         
   4534c:	588f           	addql #4,%sp                                
   4534e:	7204           	moveq #4,%d1                                
   45350:	b280           	cmpl %d0,%d1                                
   45352:	6722           	beqs 45376 <readlink+0x96>                  
    rtems_filesystem_freenode( &loc );                                
   45354:	4a88           	tstl %a0                                    
   45356:	670e           	beqs 45366 <readlink+0x86>                  <== NEVER TAKEN
   45358:	2068 001c      	moveal %a0@(28),%a0                         
   4535c:	4a88           	tstl %a0                                    
   4535e:	6706           	beqs 45366 <readlink+0x86>                  <== NEVER TAKEN
   45360:	2f02           	movel %d2,%sp@-                             
   45362:	4e90           	jsr %a0@                                    
   45364:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45366:	4eb9 0005 07a8 	jsr 507a8 <__errno>                         
   4536c:	76ff           	moveq #-1,%d3                               
   4536e:	2040           	moveal %d0,%a0                              
   45370:	7016           	moveq #22,%d0                               
   45372:	2080           	movel %d0,%a0@                              
   45374:	604e           	bras 453c4 <readlink+0xe4>                  
  }                                                                   
                                                                      
  if ( !loc.ops->readlink_h ){                                        
   45376:	2268 003c      	moveal %a0@(60),%a1                         
   4537a:	4a89           	tstl %a1                                    
   4537c:	6620           	bnes 4539e <readlink+0xbe>                  <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   4537e:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   45382:	4a88           	tstl %a0                                    <== NOT EXECUTED
   45384:	6706           	beqs 4538c <readlink+0xac>                  <== NOT EXECUTED
   45386:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   45388:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4538a:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4538c:	4eb9 0005 07a8 	jsr 507a8 <__errno>                         <== NOT EXECUTED
   45392:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   45394:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   45396:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4539c:	6026           	bras 453c4 <readlink+0xe4>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
   4539e:	2f2e 0010      	movel %fp@(16),%sp@-                        
   453a2:	2f03           	movel %d3,%sp@-                             
   453a4:	2f02           	movel %d2,%sp@-                             
   453a6:	4e91           	jsr %a1@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   453a8:	206e fff8      	moveal %fp@(-8),%a0                         
  if ( !loc.ops->readlink_h ){                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
   453ac:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   453ae:	4fef 000c      	lea %sp@(12),%sp                            
   453b2:	4a88           	tstl %a0                                    
   453b4:	670e           	beqs 453c4 <readlink+0xe4>                  <== NEVER TAKEN
   453b6:	2068 001c      	moveal %a0@(28),%a0                         
   453ba:	4a88           	tstl %a0                                    
   453bc:	6706           	beqs 453c4 <readlink+0xe4>                  <== NEVER TAKEN
   453be:	2f02           	movel %d2,%sp@-                             
   453c0:	4e90           	jsr %a0@                                    
   453c2:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   453c4:	2003           	movel %d3,%d0                               
   453c6:	4cee 001c ffe0 	moveml %fp@(-32),%d2-%d4                    
   453cc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044084 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
   44084:	4e56 ffe4      	linkw %fp,#-28                              
   44088:	202e 0008      	movel %fp@(8),%d0                           
   4408c:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   44090:	266e 000c      	moveal %fp@(12),%a3                         
   44094:	262e 0010      	movel %fp@(16),%d3                          
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
   44098:	b0b9 0005 f054 	cmpl 5f054 <rtems_libio_number_iops>,%d0    
   4409e:	6414           	bccs 440b4 <readv+0x30>                     <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   440a0:	2479 0006 0f4c 	moveal 60f4c <rtems_libio_iops>,%a2         
   440a6:	ed88           	lsll #6,%d0                                 
   440a8:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open( iop );                                   
   440aa:	202a 0014      	movel %a2@(20),%d0                          
   440ae:	0800 0008      	btst #8,%d0                                 
   440b2:	6612           	bnes 440c6 <readv+0x42>                     <== ALWAYS TAKEN
   440b4:	4eb9 0004 ee58 	jsr 4ee58 <__errno>                         <== NOT EXECUTED
   440ba:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   440bc:	7209           	moveq #9,%d1                                <== NOT EXECUTED
   440be:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   440c0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   440c2:	6000 00c2      	braw 44186 <readv+0x102>                    <== NOT EXECUTED
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   440c6:	0800 0001      	btst #1,%d0                                 
   440ca:	674a           	beqs 44116 <readv+0x92>                     <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
   440cc:	4a8b           	tstl %a3                                    
   440ce:	6746           	beqs 44116 <readv+0x92>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
   440d0:	4a83           	tstl %d3                                    
   440d2:	6f42           	bles 44116 <readv+0x92>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   440d4:	0c83 0000 0400 	cmpil #1024,%d3                             
   440da:	6e3a           	bgts 44116 <readv+0x92>                     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->read_h )                                       
   440dc:	206a 003c      	moveal %a2@(60),%a0                         
   440e0:	4aa8 0008      	tstl %a0@(8)                                
   440e4:	6614           	bnes 440fa <readv+0x76>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   440e6:	4eb9 0004 ee58 	jsr 4ee58 <__errno>                         <== NOT EXECUTED
   440ec:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   440ee:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   440f0:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   440f6:	6000 008e      	braw 44186 <readv+0x102>                    <== NOT EXECUTED
   440fa:	204b           	moveal %a3,%a0                              
   440fc:	4281           	clrl %d1                                    
   440fe:	4280           	clrl %d0                                    
   44100:	7801           	moveq #1,%d4                                
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   44102:	5281           	addql #1,%d1                                
    ssize_t old;                                                      
                                                                      
    if ( !iov[v].iov_base )                                           
   44104:	4a90           	tstl %a0@                                   
   44106:	670e           	beqs 44116 <readv+0x92>                     
    if ( iov[v].iov_len < 0 )                                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   44108:	2428 0004      	movel %a0@(4),%d2                           
   4410c:	2240           	moveal %d0,%a1                              
   4410e:	d3c2           	addal %d2,%a1                               
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   44110:	5088           	addql #8,%a0                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
   44112:	b089           	cmpl %a1,%d0                                
   44114:	6f10           	bles 44126 <readv+0xa2>                     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   44116:	4eb9 0004 ee58 	jsr 4ee58 <__errno>                         
   4411c:	74ff           	moveq #-1,%d2                               
   4411e:	2040           	moveal %d0,%a0                              
   44120:	7016           	moveq #22,%d0                               
   44122:	2080           	movel %d0,%a0@                              
   44124:	6060           	bras 44186 <readv+0x102>                    
                                                                      
    if ( iov[v].iov_len )                                             
   44126:	4a82           	tstl %d2                                    
   44128:	57c2           	seq %d2                                     
   *  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++ ) {                           
   4412a:	2009           	movel %a1,%d0                               
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
   4412c:	c484           	andl %d4,%d2                                
   4412e:	1802           	moveb %d2,%d4                               
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   44130:	b681           	cmpl %d1,%d3                                
   44132:	6ece           	bgts 44102 <readv+0x7e>                     <== ALWAYS TAKEN
  /*                                                                  
   *  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 ) {                                          
   44134:	4a02           	tstb %d2                                    <== NOT EXECUTED
   44136:	6704           	beqs 4413c <readv+0xb8>                     <== NOT EXECUTED
   44138:	4282           	clrl %d2                                    <== NOT EXECUTED
   4413a:	604a           	bras 44186 <readv+0x102>                    <== NOT EXECUTED
   4413c:	588b           	addql #4,%a3                                <== NOT EXECUTED
   4413e:	4284           	clrl %d4                                    <== NOT EXECUTED
   44140:	4282           	clrl %d2                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  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 );
   44142:	206a 003c      	moveal %a2@(60),%a0                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   44146:	5284           	addql #1,%d4                                <== NOT EXECUTED
    bytes = (*iop->handlers->read_h)( iop, iov[v].iov_base, iov[v].iov_len );
   44148:	2f13           	movel %a3@,%sp@-                            <== NOT EXECUTED
   4414a:	2f2b fffc      	movel %a3@(-4),%sp@-                        <== NOT EXECUTED
   4414e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44150:	2068 0008      	moveal %a0@(8),%a0                          <== NOT EXECUTED
   44154:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
    if ( bytes < 0 )                                                  
   44156:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4415a:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4415c:	6c04           	bges 44162 <readv+0xde>                     <== NOT EXECUTED
   4415e:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   44160:	6024           	bras 44186 <readv+0x102>                    <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
   44162:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44164:	6716           	beqs 4417c <readv+0xf8>                     <== NOT EXECUTED
      iop->offset += bytes;                                           
      total       += bytes;                                           
   44166:	d480           	addl %d0,%d2                                <== NOT EXECUTED
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
   44168:	2c00           	movel %d0,%d6                               <== NOT EXECUTED
   4416a:	5bc5           	smi %d5                                     <== NOT EXECUTED
   4416c:	49c5           	extbl %d5                                   <== NOT EXECUTED
   4416e:	ddaa 0010      	addl %d6,%a2@(16)                           <== NOT EXECUTED
   44172:	222a 000c      	movel %a2@(12),%d1                          <== NOT EXECUTED
   44176:	d385           	addxl %d5,%d1                               <== NOT EXECUTED
   44178:	2541 000c      	movel %d1,%a2@(12)                          <== NOT EXECUTED
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
   4417c:	b093           	cmpl %a3@,%d0                               <== NOT EXECUTED
   4417e:	6606           	bnes 44186 <readv+0x102>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   44180:	508b           	addql #8,%a3                                <== NOT EXECUTED
   44182:	b684           	cmpl %d4,%d3                                <== NOT EXECUTED
   44184:	6ebc           	bgts 44142 <readv+0xbe>                     <== NOT EXECUTED
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   44186:	2002           	movel %d2,%d0                               
   44188:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   4418e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0005b4cc <realloc>: /* * Do not attempt to allocate memory if in a critical section or ISR. */ if (_System_state_Is_up(_System_state_Get())) {
   5b4cc:	7003           	moveq #3,%d0                                
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
  uintptr_t resize;                                                   
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   5b4ce:	4e56 fff0      	linkw %fp,#-16                              
   5b4d2:	52b9 0005 ee04 	addql #1,5ee04 <rtems_malloc_statistics+0x10>
   5b4d8:	48d7 001c      	moveml %d2-%d4,%sp@                         
   5b4dc:	242e 0008      	movel %fp@(8),%d2                           
   5b4e0:	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())) {                     
   5b4e4:	b0b9 0005 f0c4 	cmpl 5f0c4 <_System_state_Current>,%d0      
   5b4ea:	6614           	bnes 5b500 <realloc+0x34>                   <== NEVER TAKEN
    if (_Thread_Dispatch_disable_level > 0)                           
   5b4ec:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0
   5b4f2:	6600 00aa      	bnew 5b59e <realloc+0xd2>                   
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
   5b4f6:	2039 0005 efd6 	movel 5efd6 <_ISR_Nest_level>,%d0           
   5b4fc:	6600 00a0      	bnew 5b59e <realloc+0xd2>                   
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
   5b500:	4a82           	tstl %d2                                    
   5b502:	660c           	bnes 5b510 <realloc+0x44>                   
    return malloc( size );                                            
   5b504:	2f03           	movel %d3,%sp@-                             
   5b506:	4eb9 0004 2b08 	jsr 42b08 <malloc>                          
   5b50c:	2400           	movel %d0,%d2                               
   5b50e:	600e           	bras 5b51e <realloc+0x52>                   
                                                                      
  if ( !size ) {                                                      
   5b510:	4a83           	tstl %d3                                    
   5b512:	660e           	bnes 5b522 <realloc+0x56>                   <== ALWAYS TAKEN
    free( ptr );                                                      
   5b514:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   5b516:	4282           	clrl %d2                                    <== NOT EXECUTED
   5b518:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
    return (void *) 0;                                                
   5b51e:	588f           	addql #4,%sp                                
   5b520:	607e           	bras 5b5a0 <realloc+0xd4>                   
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
   5b522:	486e fffc      	pea %fp@(-4)                                
   5b526:	2f02           	movel %d2,%sp@-                             
   5b528:	2f39 0005 d6c0 	movel 5d6c0 <RTEMS_Malloc_Heap>,%sp@-       
   5b52e:	4eb9 0005 b658 	jsr 5b658 <_Protected_heap_Get_block_size>  
   5b534:	4fef 000c      	lea %sp@(12),%sp                            
   5b538:	4a00           	tstb %d0                                    
   5b53a:	6610           	bnes 5b54c <realloc+0x80>                   
    errno = EINVAL;                                                   
   5b53c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   5b542:	4282           	clrl %d2                                    
   5b544:	2040           	moveal %d0,%a0                              
   5b546:	7016           	moveq #22,%d0                               
   5b548:	2080           	movel %d0,%a0@                              
    return (void *) 0;                                                
   5b54a:	6054           	bras 5b5a0 <realloc+0xd4>                   
  #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)                          
    if (rtems_malloc_boundary_helpers)                                
      resize += (*rtems_malloc_boundary_helpers->overhead)();         
  #endif                                                              
                                                                      
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, resize ) ) {
   5b54c:	2f03           	movel %d3,%sp@-                             
   5b54e:	2f02           	movel %d2,%sp@-                             
   5b550:	2f39 0005 d6c0 	movel 5d6c0 <RTEMS_Malloc_Heap>,%sp@-       
   5b556:	4eb9 0005 b694 	jsr 5b694 <_Protected_heap_Resize_block>    
   5b55c:	4fef 000c      	lea %sp@(12),%sp                            
   5b560:	4a00           	tstb %d0                                    
   5b562:	663c           	bnes 5b5a0 <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 );                                          
   5b564:	2f03           	movel %d3,%sp@-                             
   5b566:	4eb9 0004 2b08 	jsr 42b08 <malloc>                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
   5b56c:	588f           	addql #4,%sp                                
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
   5b56e:	53b9 0005 edf8 	subql #1,5edf8 <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 );                                          
   5b574:	2800           	movel %d0,%d4                               
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
   5b576:	6726           	beqs 5b59e <realloc+0xd2>                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
   5b578:	202e fffc      	movel %fp@(-4),%d0                          
   5b57c:	b083           	cmpl %d3,%d0                                
   5b57e:	6402           	bccs 5b582 <realloc+0xb6>                   <== NEVER TAKEN
   5b580:	2600           	movel %d0,%d3                               
   5b582:	2f03           	movel %d3,%sp@-                             
   5b584:	2f02           	movel %d2,%sp@-                             
   5b586:	2f04           	movel %d4,%sp@-                             
   5b588:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
  free( ptr );                                                        
   5b58e:	2f02           	movel %d2,%sp@-                             
   5b590:	2404           	movel %d4,%d2                               
   5b592:	4eb9 0004 2828 	jsr 42828 <free>                            
                                                                      
  return new_area;                                                    
   5b598:	4fef 0010      	lea %sp@(16),%sp                            
   5b59c:	6002           	bras 5b5a0 <realloc+0xd4>                   
   5b59e:	4282           	clrl %d2                                    
                                                                      
}                                                                     
   5b5a0:	2002           	movel %d2,%d0                               
   5b5a2:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   5b5a8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046324 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
   46324:	4e56 ffbc      	linkw %fp,#-68                              
   46328:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   4632c:	262e 0008      	movel %fp@(8),%d3                           
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
   46330:	2f03           	movel %d3,%sp@-                             
   46332:	4eb9 0004 4b02 	jsr 44b02 <rtems_filesystem_dirname>        
                                                                      
  if ( parentpathlen == 0 )                                           
   46338:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
   4633a:	2c00           	movel %d0,%d6                               
   4633c:	200e           	movel %fp,%d0                               
   4633e:	0680 ffff ffe8 	addil #-24,%d0                              
                                                                      
  if ( parentpathlen == 0 )                                           
   46344:	4a86           	tstl %d6                                    
   46346:	6616           	bnes 4635e <rmdir+0x3a>                     
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
   46348:	2f00           	movel %d0,%sp@-                             
   4634a:	486e fffc      	pea %fp@(-4)                                
   4634e:	4204           	clrb %d4                                    
   46350:	2f03           	movel %d3,%sp@-                             
   46352:	4eb9 0004 65d4 	jsr 465d4 <rtems_filesystem_get_start_loc>  
   46358:	4fef 000c      	lea %sp@(12),%sp                            
   4635c:	601e           	bras 4637c <rmdir+0x58>                     
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
   4635e:	42a7           	clrl %sp@-                                  
   46360:	2f00           	movel %d0,%sp@-                             
   46362:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   46366:	2f06           	movel %d6,%sp@-                             
   46368:	2f03           	movel %d3,%sp@-                             
   4636a:	4eb9 0004 4c18 	jsr 44c18 <rtems_filesystem_evaluate_path>  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
   46370:	4fef 0014      	lea %sp@(20),%sp                            
   46374:	4a80           	tstl %d0                                    
   46376:	6600 0168      	bnew 464e0 <rmdir+0x1bc>                    
   4637a:	7801           	moveq #1,%d4                                
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   4637c:	4878 0014      	pea 14 <OPER2>                              
   46380:	2a0e           	movel %fp,%d5                               
   46382:	0685 ffff ffe8 	addil #-24,%d5                              
   46388:	240e           	movel %fp,%d2                               
   4638a:	0682 ffff ffd4 	addil #-44,%d2                              
  name = pathname + parentpathlen;                                    
   46390:	d686           	addl %d6,%d3                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   46392:	45f9 0005 4090 	lea 54090 <strlen>,%a2                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   46398:	2f05           	movel %d5,%sp@-                             
   4639a:	2f02           	movel %d2,%sp@-                             
   4639c:	4eb9 0005 2914 	jsr 52914 <memcpy>                          
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   463a2:	2f03           	movel %d3,%sp@-                             
   463a4:	4e92           	jsr %a2@                                    
   463a6:	2e80           	movel %d0,%sp@                              
   463a8:	2f03           	movel %d3,%sp@-                             
   463aa:	4eb9 0004 4ac4 	jsr 44ac4 <rtems_filesystem_prefix_separators>
   463b0:	d680           	addl %d0,%d3                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   463b2:	2f03           	movel %d3,%sp@-                             
   463b4:	4e92           	jsr %a2@                                    
   463b6:	4297           	clrl %sp@                                   
   463b8:	2f02           	movel %d2,%sp@-                             
   463ba:	42a7           	clrl %sp@-                                  
   463bc:	2f00           	movel %d0,%sp@-                             
   463be:	2f03           	movel %d3,%sp@-                             
   463c0:	4eb9 0004 4b48 	jsr 44b48 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   463c6:	4fef 0028      	lea %sp@(40),%sp                            
   463ca:	4a80           	tstl %d0                                    
   463cc:	6722           	beqs 463f0 <rmdir+0xcc>                     
    if ( free_parentloc )                                             
   463ce:	4a04           	tstb %d4                                    
   463d0:	6700 010e      	beqw 464e0 <rmdir+0x1bc>                    
      rtems_filesystem_freenode( &parentloc );                        
   463d4:	206e fff4      	moveal %fp@(-12),%a0                        <== NOT EXECUTED
   463d8:	4a88           	tstl %a0                                    <== NOT EXECUTED
   463da:	6700 0104      	beqw 464e0 <rmdir+0x1bc>                    <== NOT EXECUTED
   463de:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   463e2:	4a88           	tstl %a0                                    <== NOT EXECUTED
   463e4:	6700 00fa      	beqw 464e0 <rmdir+0x1bc>                    <== NOT EXECUTED
   463e8:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   463ea:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   463ec:	6000 00ec      	braw 464da <rmdir+0x1b6>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
                                                                      
  if ( !loc.ops->node_type_h ){                                       
   463f0:	226e ffe0      	moveal %fp@(-32),%a1                        
   463f4:	2069 0010      	moveal %a1@(16),%a0                         
   463f8:	4a88           	tstl %a0                                    
   463fa:	6606           	bnes 46402 <rmdir+0xde>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   463fc:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   46400:	6068           	bras 4646a <rmdir+0x146>                    <== NOT EXECUTED
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ){
   46402:	2f02           	movel %d2,%sp@-                             
   46404:	4e90           	jsr %a0@                                    
   46406:	588f           	addql #4,%sp                                
   46408:	7201           	moveq #1,%d1                                
   4640a:	b280           	cmpl %d0,%d1                                
   4640c:	6744           	beqs 46452 <rmdir+0x12e>                    
    rtems_filesystem_freenode( &loc );                                
   4640e:	206e ffe0      	moveal %fp@(-32),%a0                        
   46412:	4a88           	tstl %a0                                    
   46414:	670e           	beqs 46424 <rmdir+0x100>                    <== NEVER TAKEN
   46416:	2068 001c      	moveal %a0@(28),%a0                         
   4641a:	4a88           	tstl %a0                                    
   4641c:	6706           	beqs 46424 <rmdir+0x100>                    <== NEVER TAKEN
   4641e:	2f02           	movel %d2,%sp@-                             
   46420:	4e90           	jsr %a0@                                    
   46422:	588f           	addql #4,%sp                                
    if ( free_parentloc )                                             
   46424:	4a04           	tstb %d4                                    
   46426:	6718           	beqs 46440 <rmdir+0x11c>                    <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
   46428:	206e fff4      	moveal %fp@(-12),%a0                        
   4642c:	4a88           	tstl %a0                                    
   4642e:	6710           	beqs 46440 <rmdir+0x11c>                    <== NEVER TAKEN
   46430:	2068 001c      	moveal %a0@(28),%a0                         
   46434:	4a88           	tstl %a0                                    
   46436:	6708           	beqs 46440 <rmdir+0x11c>                    <== NEVER TAKEN
   46438:	486e ffe8      	pea %fp@(-24)                               
   4643c:	4e90           	jsr %a0@                                    
   4643e:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   46440:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         
   46446:	76ff           	moveq #-1,%d3                               
   46448:	2040           	moveal %d0,%a0                              
   4644a:	7014           	moveq #20,%d0                               
   4644c:	2080           	movel %d0,%a0@                              
   4644e:	6000 0092      	braw 464e2 <rmdir+0x1be>                    
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  if ( !loc.handlers->rmnod_h ){                                      
   46452:	206e ffdc      	moveal %fp@(-36),%a0                        
   46456:	2068 0034      	moveal %a0@(52),%a0                         
   4645a:	4a88           	tstl %a0                                    
   4645c:	6644           	bnes 464a2 <rmdir+0x17e>                    <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   4645e:	206e ffe0      	moveal %fp@(-32),%a0                        <== NOT EXECUTED
   46462:	4a88           	tstl %a0                                    <== NOT EXECUTED
   46464:	670e           	beqs 46474 <rmdir+0x150>                    <== NOT EXECUTED
   46466:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   4646a:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4646c:	6706           	beqs 46474 <rmdir+0x150>                    <== NOT EXECUTED
   4646e:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   46470:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   46472:	588f           	addql #4,%sp                                <== NOT EXECUTED
    if ( free_parentloc )                                             
   46474:	4a04           	tstb %d4                                    <== NOT EXECUTED
   46476:	6718           	beqs 46490 <rmdir+0x16c>                    <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
   46478:	206e fff4      	moveal %fp@(-12),%a0                        <== NOT EXECUTED
   4647c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4647e:	6710           	beqs 46490 <rmdir+0x16c>                    <== NOT EXECUTED
   46480:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   46484:	4a88           	tstl %a0                                    <== NOT EXECUTED
   46486:	6708           	beqs 46490 <rmdir+0x16c>                    <== NOT EXECUTED
   46488:	486e ffe8      	pea %fp@(-24)                               <== NOT EXECUTED
   4648c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4648e:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   46490:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         <== NOT EXECUTED
   46496:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   46498:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4649a:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   464a0:	6040           	bras 464e2 <rmdir+0x1be>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   464a2:	2f02           	movel %d2,%sp@-                             
   464a4:	2f05           	movel %d5,%sp@-                             
   464a6:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   464a8:	206e ffe0      	moveal %fp@(-32),%a0                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   464ac:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   464ae:	508f           	addql #8,%sp                                
   464b0:	4a88           	tstl %a0                                    
   464b2:	670e           	beqs 464c2 <rmdir+0x19e>                    <== NEVER TAKEN
   464b4:	2068 001c      	moveal %a0@(28),%a0                         
   464b8:	4a88           	tstl %a0                                    
   464ba:	6706           	beqs 464c2 <rmdir+0x19e>                    <== NEVER TAKEN
   464bc:	2f02           	movel %d2,%sp@-                             
   464be:	4e90           	jsr %a0@                                    
   464c0:	588f           	addql #4,%sp                                
  if ( free_parentloc )                                               
   464c2:	4a04           	tstb %d4                                    
   464c4:	671c           	beqs 464e2 <rmdir+0x1be>                    
    rtems_filesystem_freenode( &parentloc );                          
   464c6:	206e fff4      	moveal %fp@(-12),%a0                        
   464ca:	4a88           	tstl %a0                                    
   464cc:	6714           	beqs 464e2 <rmdir+0x1be>                    <== NEVER TAKEN
   464ce:	2068 001c      	moveal %a0@(28),%a0                         
   464d2:	4a88           	tstl %a0                                    
   464d4:	670c           	beqs 464e2 <rmdir+0x1be>                    <== NEVER TAKEN
   464d6:	486e ffe8      	pea %fp@(-24)                               
   464da:	4e90           	jsr %a0@                                    
   464dc:	588f           	addql #4,%sp                                
   464de:	6002           	bras 464e2 <rmdir+0x1be>                    
   464e0:	76ff           	moveq #-1,%d3                               
                                                                      
  return result;                                                      
}                                                                     
   464e2:	2003           	movel %d3,%d0                               
   464e4:	4cee 047c ffbc 	moveml %fp@(-68),%d2-%d6/%a2                
   464ea:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004d2f4 <rtems_assoc_name_bad>: uint32_t bad_value #else uint32_t bad_value __attribute((unused)) #endif ) {
   4d2f4:	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;                                                
}                                                                     
   4d2f8:	203c 0005 d86c 	movel #383084,%d0                           <== NOT EXECUTED
   4d2fe:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0004a140 <rtems_assoc_name_by_local>: const char *rtems_assoc_name_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
   4a140:	4e56 0000      	linkw %fp,#0                                
   4a144:	2f02           	movel %d2,%sp@-                             
   4a146:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
   4a14a:	2f02           	movel %d2,%sp@-                             
   4a14c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4a150:	4eb9 0004 a178 	jsr 4a178 <rtems_assoc_ptr_by_local>        
  if (nap)                                                            
   4a156:	508f           	addql #8,%sp                                
   4a158:	4a80           	tstl %d0                                    
   4a15a:	670c           	beqs 4a168 <rtems_assoc_name_by_local+0x28> <== NEVER TAKEN
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
}                                                                     
   4a15c:	2040           	moveal %d0,%a0                              
   4a15e:	242e fffc      	movel %fp@(-4),%d2                          
   4a162:	4e5e           	unlk %fp                                    
   4a164:	2010           	movel %a0@,%d0                              
   4a166:	4e75           	rts                                         
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
  if (nap)                                                            
    return nap->name;                                                 
                                                                      
  return rtems_assoc_name_bad(local_value);                           
   4a168:	2d42 0008      	movel %d2,%fp@(8)                           <== NOT EXECUTED
}                                                                     
   4a16c:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   4a170:	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);                           
   4a172:	4ef9 0004 d2f4 	jmp 4d2f4 <rtems_assoc_name_bad>            <== NOT EXECUTED
                                                                      

0004a178 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
   4a178:	4e56 0000      	linkw %fp,#0                                
   4a17c:	2f0a           	movel %a2,%sp@-                             
   4a17e:	246e 0008      	moveal %fp@(8),%a2                          
   4a182:	2f02           	movel %d2,%sp@-                             
   4a184:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   4a188:	2012           	movel %a2@,%d0                              
   4a18a:	6718           	beqs 4a1a4 <rtems_assoc_ptr_by_local+0x2c>  <== NEVER TAKEN
   4a18c:	4879 0005 c884 	pea 5c884 <IMFS_memfile_handlers+0x74>      
   4a192:	2f00           	movel %d0,%sp@-                             
   4a194:	4eb9 0004 f0ac 	jsr 4f0ac <strcmp>                          
   4a19a:	508f           	addql #8,%sp                                
   4a19c:	4a80           	tstl %d0                                    
   4a19e:	6604           	bnes 4a1a4 <rtems_assoc_ptr_by_local+0x2c>  <== ALWAYS TAKEN
    default_ap = ap++;                                                
   4a1a0:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   4a1a2:	600a           	bras 4a1ae <rtems_assoc_ptr_by_local+0x36>  <== NOT EXECUTED
   4a1a4:	4280           	clrl %d0                                    
   4a1a6:	600a           	bras 4a1b2 <rtems_assoc_ptr_by_local+0x3a>  
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
   4a1a8:	b4aa 0004      	cmpl %a2@(4),%d2                            
   4a1ac:	670a           	beqs 4a1b8 <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++)                                             
   4a1ae:	45ea 000c      	lea %a2@(12),%a2                            
   4a1b2:	4a92           	tstl %a2@                                   
   4a1b4:	66f2           	bnes 4a1a8 <rtems_assoc_ptr_by_local+0x30>  
   4a1b6:	2440           	moveal %d0,%a2                              
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
   4a1b8:	200a           	movel %a2,%d0                               
   4a1ba:	242e fff8      	movel %fp@(-8),%d2                          
   4a1be:	246e fffc      	moveal %fp@(-4),%a2                         
   4a1c2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004d304 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
   4d304:	4e56 0000      	linkw %fp,#0                                
   4d308:	2f0a           	movel %a2,%sp@-                             
   4d30a:	246e 0008      	moveal %fp@(8),%a2                          
   4d30e:	2f02           	movel %d2,%sp@-                             
   4d310:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   4d314:	2012           	movel %a2@,%d0                              
   4d316:	6718           	beqs 4d330 <rtems_assoc_ptr_by_remote+0x2c> <== NEVER TAKEN
   4d318:	4879 0005 c884 	pea 5c884 <IMFS_memfile_handlers+0x74>      
   4d31e:	2f00           	movel %d0,%sp@-                             
   4d320:	4eb9 0004 f0ac 	jsr 4f0ac <strcmp>                          
   4d326:	508f           	addql #8,%sp                                
   4d328:	4a80           	tstl %d0                                    
   4d32a:	6604           	bnes 4d330 <rtems_assoc_ptr_by_remote+0x2c> <== ALWAYS TAKEN
    default_ap = ap++;                                                
   4d32c:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   4d32e:	600a           	bras 4d33a <rtems_assoc_ptr_by_remote+0x36> <== NOT EXECUTED
   4d330:	4280           	clrl %d0                                    
   4d332:	600a           	bras 4d33e <rtems_assoc_ptr_by_remote+0x3a> 
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
   4d334:	b4aa 0008      	cmpl %a2@(8),%d2                            
   4d338:	670a           	beqs 4d344 <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++)                                             
   4d33a:	45ea 000c      	lea %a2@(12),%a2                            
   4d33e:	4a92           	tstl %a2@                                   
   4d340:	66f2           	bnes 4d334 <rtems_assoc_ptr_by_remote+0x30> 
   4d342:	2440           	moveal %d0,%a2                              
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
   4d344:	200a           	movel %a2,%d0                               
   4d346:	242e fff8      	movel %fp@(-8),%d2                          
   4d34a:	246e fffc      	moveal %fp@(-4),%a2                         
   4d34e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004e0e8 <rtems_assoc_remote_by_local>: uint32_t rtems_assoc_remote_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
   4e0e8:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  const rtems_assoc_t *nap;                                           
                                                                      
  nap = rtems_assoc_ptr_by_local(ap, local_value);                    
   4e0ec:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4e0f0:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   4e0f4:	4eb9 0004 a178 	jsr 4a178 <rtems_assoc_ptr_by_local>        <== NOT EXECUTED
  if (nap)                                                            
   4e0fa:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4e0fc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4e0fe:	6706           	beqs 4e106 <rtems_assoc_remote_by_local+0x1e><== NOT EXECUTED
    return nap->remote_value;                                         
   4e100:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4e102:	2028 0008      	movel %a0@(8),%d0                           <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
   4e106:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00042140 <rtems_bsp_cmdline_get_param>: const char *rtems_bsp_cmdline_get_param( const char *name, char *value, size_t length ) {
   42140:	4e56 ffe8      	linkw %fp,#-24                              
   42144:	202e 0008      	movel %fp@(8),%d0                           
   42148:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   4214c:	246e 000c      	moveal %fp@(12),%a2                         
   42150:	242e 0010      	movel %fp@(16),%d2                          
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
   42154:	4a80           	tstl %d0                                    
   42156:	6756           	beqs 421ae <rtems_bsp_cmdline_get_param+0x6e>
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
   42158:	4a8a           	tstl %a2                                    
   4215a:	6754           	beqs 421b0 <rtems_bsp_cmdline_get_param+0x70>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
   4215c:	4a82           	tstl %d2                                    
   4215e:	674e           	beqs 421ae <rtems_bsp_cmdline_get_param+0x6e>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
   42160:	4212           	clrb %a2@                                   
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
   42162:	2f00           	movel %d0,%sp@-                             
   42164:	4eb9 0004 21bc 	jsr 421bc <rtems_bsp_cmdline_get_param_raw> 
                                                                      
  if ( !p )                                                           
   4216a:	588f           	addql #4,%sp                                
   4216c:	4a80           	tstl %d0                                    
   4216e:	673e           	beqs 421ae <rtems_bsp_cmdline_get_param+0x6e>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   42170:	5382           	subql #1,%d2                                
                                                                      
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
   42172:	4283           	clrl %d3                                    
   42174:	4281           	clrl %d1                                    
   42176:	6022           	bras 4219a <rtems_bsp_cmdline_get_param+0x5a>
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
   42178:	7c22           	moveq #34,%d6                               
   4217a:	bc85           	cmpl %d5,%d6                                
   4217c:	6604           	bnes 42182 <rtems_bsp_cmdline_get_param+0x42><== ALWAYS TAKEN
      quotes++;                                                       
   4217e:	5283           	addql #1,%d3                                <== NOT EXECUTED
   42180:	600c           	bras 4218e <rtems_bsp_cmdline_get_param+0x4e><== NOT EXECUTED
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
   42182:	0803 0000      	btst #0,%d3                                 
   42186:	6606           	bnes 4218e <rtems_bsp_cmdline_get_param+0x4e><== NEVER TAKEN
   42188:	7c20           	moveq #32,%d6                               
   4218a:	bc85           	cmpl %d5,%d6                                
   4218c:	6722           	beqs 421b0 <rtems_bsp_cmdline_get_param+0x70><== NEVER TAKEN
      break;                                                          
    value[i++] = *p++;                                                
   4218e:	1584 1800      	moveb %d4,%a2@(00000000,%d1:l)              
    value[i] = '\0';                                                  
   42192:	4204           	clrb %d4                                    
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
   42194:	5281           	addql #1,%d1                                
    value[i] = '\0';                                                  
   42196:	1584 1800      	moveb %d4,%a2@(00000000,%d1:l)              
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   4219a:	2040           	moveal %d0,%a0                              
   4219c:	1830 1800      	moveb %a0@(00000000,%d1:l),%d4              
    if ( *p == '\"' ) {                                               
   421a0:	1a04           	moveb %d4,%d5                               
   421a2:	49c5           	extbl %d5                                   
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   421a4:	4a04           	tstb %d4                                    
   421a6:	6708           	beqs 421b0 <rtems_bsp_cmdline_get_param+0x70>
   421a8:	b481           	cmpl %d1,%d2                                
   421aa:	62cc           	bhis 42178 <rtems_bsp_cmdline_get_param+0x38><== ALWAYS TAKEN
   421ac:	6002           	bras 421b0 <rtems_bsp_cmdline_get_param+0x70><== NOT EXECUTED
   421ae:	95ca           	subal %a2,%a2                               
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
   421b0:	200a           	movel %a2,%d0                               
   421b2:	4cee 047c ffe8 	moveml %fp@(-24),%d2-%d6/%a2                
   421b8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000421e4 <rtems_bsp_cmdline_get_param_rhs>: const char *rtems_bsp_cmdline_get_param_rhs( const char *name, char *value, size_t length ) {
   421e4:	4e56 fff4      	linkw %fp,#-12                              
   421e8:	48d7 001c      	moveml %d2-%d4,%sp@                         
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   421ec:	2f2e 0010      	movel %fp@(16),%sp@-                        
const char *rtems_bsp_cmdline_get_param_rhs(                          
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
   421f0:	242e 000c      	movel %fp@(12),%d2                          
   421f4:	282e 0008      	movel %fp@(8),%d4                           
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   421f8:	2f02           	movel %d2,%sp@-                             
   421fa:	2f04           	movel %d4,%sp@-                             
   421fc:	4eb9 0004 2140 	jsr 42140 <rtems_bsp_cmdline_get_param>     
  if ( !p )                                                           
   42202:	4fef 000c      	lea %sp@(12),%sp                            
{                                                                     
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   42206:	2600           	movel %d0,%d3                               
  if ( !p )                                                           
   42208:	6746           	beqs 42250 <rtems_bsp_cmdline_get_param_rhs+0x6c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
   4220a:	2f04           	movel %d4,%sp@-                             
   4220c:	4eb9 0004 f9b8 	jsr 4f9b8 <strlen>                          
   42212:	588f           	addql #4,%sp                                
   42214:	2043           	moveal %d3,%a0                              
   42216:	d1c0           	addal %d0,%a0                               
  if ( *rhs != '=' )                                                  
   42218:	723d           	moveq #61,%d1                               
   4221a:	1010           	moveb %a0@,%d0                              
   4221c:	49c0           	extbl %d0                                   
   4221e:	b280           	cmpl %d0,%d1                                
   42220:	662e           	bnes 42250 <rtems_bsp_cmdline_get_param_rhs+0x6c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs++;                                                              
   42222:	5288           	addql #1,%a0                                
  if ( *rhs == '\"' )                                                 
   42224:	123c 0022      	moveb #34,%d1                               
   42228:	1010           	moveb %a0@,%d0                              
   4222a:	49c0           	extbl %d0                                   
   4222c:	b280           	cmpl %d0,%d1                                
   4222e:	6602           	bnes 42232 <rtems_bsp_cmdline_get_param_rhs+0x4e><== ALWAYS TAKEN
    rhs++;                                                            
   42230:	5288           	addql #1,%a0                                <== NOT EXECUTED
   42232:	2242           	moveal %d2,%a1                              
   42234:	6002           	bras 42238 <rtems_bsp_cmdline_get_param_rhs+0x54>
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
   42236:	12c0           	moveb %d0,%a1@+                             <== NOT EXECUTED
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
   42238:	1010           	moveb %a0@,%d0                              
    *d++ = *rhs++;                                                    
   4223a:	5288           	addql #1,%a0                                
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
   4223c:	66f8           	bnes 42236 <rtems_bsp_cmdline_get_param_rhs+0x52><== NEVER TAKEN
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
   4223e:	2049           	moveal %a1,%a0                              
   42240:	7222           	moveq #34,%d1                               
   42242:	1020           	moveb %a0@-,%d0                             
   42244:	49c0           	extbl %d0                                   
   42246:	b280           	cmpl %d0,%d1                                
   42248:	6602           	bnes 4224c <rtems_bsp_cmdline_get_param_rhs+0x68><== ALWAYS TAKEN
   4224a:	2248           	moveal %a0,%a1                              <== NOT EXECUTED
    d--;                                                              
  *d = '\0';                                                          
   4224c:	4211           	clrb %a1@                                   
                                                                      
  return value;                                                       
   4224e:	6002           	bras 42252 <rtems_bsp_cmdline_get_param_rhs+0x6e>
   42250:	4282           	clrl %d2                                    <== NOT EXECUTED
}                                                                     
   42252:	2002           	movel %d2,%d0                               
   42254:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    
   4225a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004e0b8 <rtems_deviceio_errno>: { 0, 0, 0 }, }; int rtems_deviceio_errno(rtems_status_code code) {
   4e0b8:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   4e0bc:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
    int rc;                                                           
                                                                      
    if ((rc = rtems_assoc_remote_by_local(errno_assoc, (uint32_t  ) code)))
   4e0be:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   4e0c2:	4879 0005 cd24 	pea 5cd24 <errno_assoc>                     <== NOT EXECUTED
   4e0c8:	4eb9 0004 e0e8 	jsr 4e0e8 <rtems_assoc_remote_by_local>     <== NOT EXECUTED
   4e0ce:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4e0d0:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   4e0d2:	670a           	beqs 4e0de <rtems_deviceio_errno+0x26>      <== NOT EXECUTED
    {                                                                 
        errno = rc;                                                   
   4e0d4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4e0da:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4e0dc:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
        return -1;                                                    
    }                                                                 
    return -1;                                                        
}                                                                     
   4e0de:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   4e0e2:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4e0e4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042640 <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
   42640:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
    va_list arglist;                                                  
    int chars_written;                                                
                                                                      
    va_start(arglist, printf_format);                                 
    chars_written = rtems_verror(error_flag, printf_format, arglist); 
   42644:	486e 0010      	pea %fp@(16)                                <== NOT EXECUTED
   42648:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4264c:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   42650:	4eba fe4a      	jsr %pc@(4249c <rtems_verror>)              <== NOT EXECUTED
    va_end(arglist);                                                  
                                                                      
    return chars_written;                                             
}                                                                     
   42654:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000427ac <rtems_filesystem_evaluate_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
   427ac:	4e56 fffc      	linkw %fp,#-4                               
   427b0:	2f0a           	movel %a2,%sp@-                             
   427b2:	246e 0008      	moveal %fp@(8),%a2                          
   427b6:	2f02           	movel %d2,%sp@-                             
   427b8:	242e 0014      	movel %fp@(20),%d2                          
  int                           i = 0;                                
   427bc:	42ae fffc      	clrl %fp@(-4)                               
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
   427c0:	4a8a           	tstl %a2                                    
   427c2:	6610           	bnes 427d4 <rtems_filesystem_evaluate_path+0x28><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   427c4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   427ca:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   427cc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   427ce:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   427d0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   427d2:	6046           	bras 4281a <rtems_filesystem_evaluate_path+0x6e><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
   427d4:	4a82           	tstl %d2                                    
   427d6:	6610           	bnes 427e8 <rtems_filesystem_evaluate_path+0x3c><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
   427d8:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   427de:	7405           	moveq #5,%d2                                <== NOT EXECUTED
   427e0:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   427e2:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   427e4:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   427e6:	6032           	bras 4281a <rtems_filesystem_evaluate_path+0x6e><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Evaluate the path using the optable evalpath.                    
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, pathloc );            
   427e8:	2f02           	movel %d2,%sp@-                             
   427ea:	486e fffc      	pea %fp@(-4)                                
   427ee:	2f0a           	movel %a2,%sp@-                             
   427f0:	4eb9 0004 3540 	jsr 43540 <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],       
   427f6:	2f2e 0018      	movel %fp@(24),%sp@-                        
   427fa:	2f02           	movel %d2,%sp@-                             
   427fc:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42800:	202e fffc      	movel %fp@(-4),%d0                          
   42804:	222e 000c      	movel %fp@(12),%d1                          
   42808:	9280           	subl %d0,%d1                                
   4280a:	2f01           	movel %d1,%sp@-                             
   4280c:	4872 0800      	pea %a2@(00000000,%d0:l)                    
   42810:	4eb9 0004 26dc 	jsr 426dc <rtems_filesystem_evaluate_relative_path>
   42816:	4fef 0020      	lea %sp@(32),%sp                            
                                                  pathnamelen - i,    
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
   4281a:	242e fff4      	movel %fp@(-12),%d2                         
   4281e:	246e fff8      	moveal %fp@(-8),%a2                         
   42822:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000426dc <rtems_filesystem_evaluate_relative_path>: size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) {
   426dc:	4e56 fff0      	linkw %fp,#-16                              
   426e0:	202e 0008      	movel %fp@(8),%d0                           
   426e4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   426e8:	222e 000c      	movel %fp@(12),%d1                          
   426ec:	242e 0010      	movel %fp@(16),%d2                          
   426f0:	246e 0014      	moveal %fp@(20),%a2                         
   426f4:	282e 0018      	movel %fp@(24),%d4                          
                                                                      
  /*                                                                  
   * Verify Input parameters.                                         
   */                                                                 
                                                                      
  if ( !pathname )                                                    
   426f8:	4a80           	tstl %d0                                    
   426fa:	6612           	bnes 4270e <rtems_filesystem_evaluate_relative_path+0x32><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   426fc:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42702:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   42704:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   42706:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42708:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   4270a:	6000 0094      	braw 427a0 <rtems_filesystem_evaluate_relative_path+0xc4><== NOT EXECUTED
                                                                      
  if ( !pathloc )                                                     
   4270e:	4a8a           	tstl %a2                                    
   42710:	6610           	bnes 42722 <rtems_filesystem_evaluate_relative_path+0x46><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
   42712:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42718:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4271a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4271c:	7005           	moveq #5,%d0                                <== NOT EXECUTED
   4271e:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   42720:	607e           	bras 427a0 <rtems_filesystem_evaluate_relative_path+0xc4><== NOT EXECUTED
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
   42722:	206a 000c      	moveal %a2@(12),%a0                         
   42726:	2050           	moveal %a0@,%a0                             
   42728:	4a88           	tstl %a0                                    
   4272a:	6750           	beqs 4277c <rtems_filesystem_evaluate_relative_path+0xa0><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
   4272c:	2f0a           	movel %a2,%sp@-                             
   4272e:	2f02           	movel %d2,%sp@-                             
   42730:	2f01           	movel %d1,%sp@-                             
   42732:	2f00           	movel %d0,%sp@-                             
   42734:	4e90           	jsr %a0@                                    
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
   42736:	4fef 0010      	lea %sp@(16),%sp                            
    rtems_set_errno_and_return_minus_one( EIO );       /* should never happen */
                                                                      
  if ( !pathloc->ops->evalpath_h )                                    
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  result = (*pathloc->ops->evalpath_h)( pathname, pathnamelen, flags, pathloc );
   4273a:	2600           	movel %d0,%d3                               
  /*                                                                  
   * Get the Node type and determine if you need to follow the link or
   * not.                                                             
   */                                                                 
                                                                      
  if ( (result == 0) && follow_link ) {                               
   4273c:	6662           	bnes 427a0 <rtems_filesystem_evaluate_relative_path+0xc4>
   4273e:	4a84           	tstl %d4                                    
   42740:	675e           	beqs 427a0 <rtems_filesystem_evaluate_relative_path+0xc4>
                                                                      
    if ( !pathloc->ops->node_type_h ){                                
   42742:	226a 000c      	moveal %a2@(12),%a1                         
   42746:	2069 0010      	moveal %a1@(16),%a0                         
   4274a:	4a88           	tstl %a0                                    
   4274c:	6606           	bnes 42754 <rtems_filesystem_evaluate_relative_path+0x78><== ALWAYS TAKEN
      rtems_filesystem_freenode( pathloc );                           
   4274e:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   42752:	601e           	bras 42772 <rtems_filesystem_evaluate_relative_path+0x96><== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
    }                                                                 
                                                                      
    type = (*pathloc->ops->node_type_h)( pathloc );                   
   42754:	2f0a           	movel %a2,%sp@-                             
   42756:	4e90           	jsr %a0@                                    
                                                                      
    if ( ( type == RTEMS_FILESYSTEM_HARD_LINK ) ||                    
   42758:	588f           	addql #4,%sp                                
   4275a:	7201           	moveq #1,%d1                                
   4275c:	5780           	subql #3,%d0                                
   4275e:	b280           	cmpl %d0,%d1                                
   42760:	653e           	bcss 427a0 <rtems_filesystem_evaluate_relative_path+0xc4>
         ( type == RTEMS_FILESYSTEM_SYM_LINK ) ) {                    
                                                                      
        if ( !pathloc->ops->eval_link_h ){                            
   42762:	206a 000c      	moveal %a2@(12),%a0                         
   42766:	2268 0034      	moveal %a0@(52),%a1                         
   4276a:	4a89           	tstl %a1                                    
   4276c:	6620           	bnes 4278e <rtems_filesystem_evaluate_relative_path+0xb2><== ALWAYS TAKEN
          rtems_filesystem_freenode( pathloc );                       
   4276e:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   42772:	4a88           	tstl %a0                                    <== NOT EXECUTED
   42774:	6706           	beqs 4277c <rtems_filesystem_evaluate_relative_path+0xa0><== NOT EXECUTED
   42776:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42778:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4277a:	588f           	addql #4,%sp                                <== NOT EXECUTED
          rtems_set_errno_and_return_minus_one( ENOTSUP );            
   4277c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   42782:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   42784:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42786:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4278c:	6012           	bras 427a0 <rtems_filesystem_evaluate_relative_path+0xc4><== NOT EXECUTED
         *    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 );     
   4278e:	2d42 000c      	movel %d2,%fp@(12)                          
   42792:	2d4a 0008      	movel %a2,%fp@(8)                           
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
   42796:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4279c:	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 );     
   4279e:	4ed1           	jmp %a1@                                    
    }                                                                 
  }                                                                   
                                                                      
  return result;                                                      
}                                                                     
   427a0:	2003           	movel %d3,%d0                               
   427a2:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   427a8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a736 <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
   4a736:	4e56 fff8      	linkw %fp,#-8                               
   4a73a:	202e 0008      	movel %fp@(8),%d0                           
  find_arg fa = {                                                     
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
   4a73e:	42ae fffc      	clrl %fp@(-4)                               
   4a742:	2d40 fff8      	movel %d0,%fp@(-8)                          
                                                                      
  if ( type != NULL ) {                                               
   4a746:	6710           	beqs 4a758 <rtems_filesystem_get_mount_handler+0x22><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
   4a748:	486e fff8      	pea %fp@(-8)                                
   4a74c:	487a fe8a      	pea %pc@(4a5d8 <find_handler>)              
   4a750:	4eb9 0004 a6b4 	jsr 4a6b4 <rtems_filesystem_iterate>        
   4a756:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
   4a758:	202e fffc      	movel %fp@(-4),%d0                          
   4a75c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042344 <rtems_filesystem_initialize>: /* * Set the default umask to "022". */ rtems_filesystem_umask = 022;
   42344:	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 )                              
{                                                                     
   42346:	4e56 ffe0      	linkw %fp,#-32                              
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
   4234a:	2079 0005 d7d0 	moveal 5d7d0 <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 )                              
{                                                                     
   42350:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
   42354:	2140 002c      	movel %d0,%a0@(44)                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_table_size == 0 )                       
   42358:	4ab9 0005 bb7e 	tstl 5bb7e <rtems_filesystem_mount_table_size>
   4235e:	6608           	bnes 42368 <rtems_filesystem_initialize+0x24><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
   42360:	2f3c abcd 0001 	movel #-1412628479,%sp@-                    <== NOT EXECUTED
   42366:	602c           	bras 42394 <rtems_filesystem_initialize+0x50><== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
   42368:	2079 0005 d6bc 	moveal 5d6bc <rtems_filesystem_mount_table>,%a0
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
   4236e:	42a7           	clrl %sp@-                                  
   42370:	2f28 0004      	movel %a0@(4),%sp@-                         
   42374:	2f10           	movel %a0@,%sp@-                            
   42376:	2f28 000c      	movel %a0@(12),%sp@-                        
   4237a:	2f28 0008      	movel %a0@(8),%sp@-                         
   4237e:	4eb9 0004 2d22 	jsr 42d22 <mount>                           
                                                                      
  if ( status == -1 )                                                 
   42384:	4fef 0014      	lea %sp@(20),%sp                            
   42388:	72ff           	moveq #-1,%d1                               
   4238a:	b280           	cmpl %d0,%d1                                
   4238c:	660c           	bnes 4239a <rtems_filesystem_initialize+0x56><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
   4238e:	2f3c abcd 0002 	movel #-1412628478,%sp@-                    <== NOT EXECUTED
   42394:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  rtems_filesystem_link_counts = 0;                                   
   4239a:	2079 0005 d7d0 	moveal 5d7d0 <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);                 
   423a0:	240e           	movel %fp,%d2                               
   423a2:	0682 ffff ffec 	addil #-20,%d2                              
   423a8:	47f9 0004 27ac 	lea 427ac <rtems_filesystem_evaluate_path>,%a3
  rtems_filesystem_root        = loc;                                 
   423ae:	45f9 0004 e9c4 	lea 4e9c4 <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;                                   
   423b4:	4240           	clrw %d0                                    
   423b6:	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);                 
   423ba:	42a7           	clrl %sp@-                                  
   423bc:	2f02           	movel %d2,%sp@-                             
   423be:	42a7           	clrl %sp@-                                  
   423c0:	4878 0001      	pea 1 <ADD>                                 
   423c4:	4879 0005 bf30 	pea 5bf30 <IMFS_ops+0x48>                   
   423ca:	4e93           	jsr %a3@                                    
  rtems_filesystem_root        = loc;                                 
   423cc:	4878 0014      	pea 14 <OPER2>                              
   423d0:	2079 0005 d7d0 	moveal 5d7d0 <rtems_current_user_env>,%a0   
   423d6:	41e8 0018      	lea %a0@(24),%a0                            
   423da:	2f02           	movel %d2,%sp@-                             
   423dc:	2f08           	movel %a0,%sp@-                             
   423de:	4e92           	jsr %a2@                                    
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   423e0:	4fef 001c      	lea %sp@(28),%sp                            
   423e4:	4297           	clrl %sp@                                   
   423e6:	2f02           	movel %d2,%sp@-                             
   423e8:	42a7           	clrl %sp@-                                  
   423ea:	4878 0001      	pea 1 <ADD>                                 
   423ee:	4879 0005 bf30 	pea 5bf30 <IMFS_ops+0x48>                   
   423f4:	4e93           	jsr %a3@                                    
  rtems_filesystem_current     = loc;                                 
   423f6:	4878 0014      	pea 14 <OPER2>                              
   423fa:	2039 0005 d7d0 	movel 5d7d0 <rtems_current_user_env>,%d0    
   42400:	5880           	addql #4,%d0                                
   42402:	2f02           	movel %d2,%sp@-                             
   42404:	2f00           	movel %d0,%sp@-                             
   42406:	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);                                      
   42408:	4fef 0020      	lea %sp@(32),%sp                            
   4240c:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   42410:	4879 0005 bf32 	pea 5bf32 <IMFS_ops+0x4a>                   
   42416:	4eb9 0004 2bb8 	jsr 42bb8 <mkdir>                           
  if ( status != 0 )                                                  
   4241c:	508f           	addql #8,%sp                                
   4241e:	4a80           	tstl %d0                                    
   42420:	670a           	beqs 4242c <rtems_filesystem_initialize+0xe8><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0003 );                         
   42422:	2f3c abcd 0003 	movel #-1412628477,%sp@-                    <== NOT EXECUTED
   42428:	6000 ff6a      	braw 42394 <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.        
   */                                                                 
}                                                                     
   4242c:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   42432:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004a6b4 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
   4a6b4:	4e56 fff0      	linkw %fp,#-16                              
   4a6b8:	4200           	clrb %d0                                    
   4a6ba:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4a6be:	266e 0008      	moveal %fp@(8),%a3                          
   4a6c2:	45f9 0005 bb5e 	lea 5bb5e <rtems_filesystem_table>,%a2      
   4a6c8:	262e 000c      	movel %fp@(12),%d3                          
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
   4a6cc:	600a           	bras 4a6d8 <rtems_filesystem_iterate+0x24>  
    stop = (*routine)( table_entry, routine_arg );                    
   4a6ce:	2f03           	movel %d3,%sp@-                             
   4a6d0:	2f0a           	movel %a2,%sp@-                             
    ++table_entry;                                                    
   4a6d2:	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 );                    
   4a6d4:	4e93           	jsr %a3@                                    
    ++table_entry;                                                    
   4a6d6:	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 ) {                              
   4a6d8:	4a92           	tstl %a2@                                   
   4a6da:	6706           	beqs 4a6e2 <rtems_filesystem_iterate+0x2e>  
   4a6dc:	4a00           	tstb %d0                                    
   4a6de:	67ee           	beqs 4a6ce <rtems_filesystem_iterate+0x1a>  <== ALWAYS TAKEN
   4a6e0:	604a           	bras 4a72c <rtems_filesystem_iterate+0x78>  <== NOT EXECUTED
   4a6e2:	1400           	moveb %d0,%d2                               
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
   4a6e4:	6646           	bnes 4a72c <rtems_filesystem_iterate+0x78>  
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 );
   4a6e6:	42a7           	clrl %sp@-                                  
   4a6e8:	42a7           	clrl %sp@-                                  
   4a6ea:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   4a6f0:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return the_chain->first;                                            
   4a6f6:	2479 0005 d7d8 	moveal 5d7d8 <filesystem_chain>,%a2         
    rtems_libio_lock();                                               
    for (                                                             
   4a6fc:	4fef 000c      	lea %sp@(12),%sp                            
   4a700:	600e           	bras 4a710 <rtems_filesystem_iterate+0x5c>  
      !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 );                  
   4a702:	2f03           	movel %d3,%sp@-                             
   4a704:	486a 0008      	pea %a2@(8)                                 
   4a708:	4e93           	jsr %a3@                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
   4a70a:	2452           	moveal %a2@,%a2                             
   4a70c:	508f           	addql #8,%sp                                
   4a70e:	1400           	moveb %d0,%d2                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4a710:	b5fc 0005 d7dc 	cmpal #382940,%a2                           
   4a716:	6704           	beqs 4a71c <rtems_filesystem_iterate+0x68>  
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   4a718:	4a02           	tstb %d2                                    
   4a71a:	67e6           	beqs 4a702 <rtems_filesystem_iterate+0x4e>  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4a71c:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   4a722:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
   4a728:	588f           	addql #4,%sp                                
   4a72a:	1002           	moveb %d2,%d0                               
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
   4a72c:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4a732:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042cc4 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
   42cc4:	4e56 fff0      	linkw %fp,#-16                              
   42cc8:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   42ccc:	42a7           	clrl %sp@-                                  
   42cce:	266e 0008      	moveal %fp@(8),%a3                          
   42cd2:	42a7           	clrl %sp@-                                  
   42cd4:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   42cda:	262e 000c      	movel %fp@(12),%d3                          
   42cde:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return the_chain->first;                                            
   42ce4:	2479 0005 d7b0 	moveal 5d7b0 <mount_chain>,%a2              
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   42cea:	4fef 000c      	lea %sp@(12),%sp                            
   42cee:	4202           	clrb %d2                                    
   42cf0:	600c           	bras 42cfe <rtems_filesystem_mount_iterate+0x3a>
    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 );                       
   42cf2:	2f03           	movel %d3,%sp@-                             
   42cf4:	2f0a           	movel %a2,%sp@-                             
   42cf6:	4e93           	jsr %a3@                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
   42cf8:	2452           	moveal %a2@,%a2                             
   42cfa:	508f           	addql #8,%sp                                
   42cfc:	1400           	moveb %d0,%d2                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   42cfe:	b5fc 0005 d7b4 	cmpal #382900,%a2                           
   42d04:	6704           	beqs 42d0a <rtems_filesystem_mount_iterate+0x46>
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   42d06:	4a02           	tstb %d2                                    
   42d08:	67e8           	beqs 42cf2 <rtems_filesystem_mount_iterate+0x2e><== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   42d0a:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   42d10:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   42d16:	1002           	moveb %d2,%d0                               
   42d18:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   42d1e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042658 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
   42658:	4e56 fff0      	linkw %fp,#-16                              
   4265c:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   42660:	266e 0008      	moveal %fp@(8),%a3                          
   42664:	4282           	clrl %d2                                    
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42666:	45f9 0004 35a8 	lea 435a8 <rtems_filesystem_is_separator>,%a2
                                                                      
int rtems_filesystem_prefix_separators(                               
  const char  *pathname,                                              
  int          pathnamelen                                            
)                                                                     
{                                                                     
   4266c:	262e 000c      	movel %fp@(12),%d3                          
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42670:	6002           	bras 42674 <rtems_filesystem_prefix_separators+0x1c>
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
   42672:	5282           	addql #1,%d2                                
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42674:	1033 2800      	moveb %a3@(00000000,%d2:l),%d0              
   42678:	6710           	beqs 4268a <rtems_filesystem_prefix_separators+0x32><== NEVER TAKEN
   4267a:	b483           	cmpl %d3,%d2                                
   4267c:	670c           	beqs 4268a <rtems_filesystem_prefix_separators+0x32><== NEVER TAKEN
   4267e:	49c0           	extbl %d0                                   
   42680:	2f00           	movel %d0,%sp@-                             
   42682:	4e92           	jsr %a2@                                    
   42684:	588f           	addql #4,%sp                                
   42686:	4a80           	tstl %d0                                    
   42688:	66e8           	bnes 42672 <rtems_filesystem_prefix_separators+0x1a>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
   4268a:	2002           	movel %d2,%d0                               
   4268c:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   42692:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a760 <rtems_filesystem_register>: int rtems_filesystem_register( const char *type, rtems_filesystem_fsmount_me_t mount_h ) {
   4a760:	4e56 fff0      	linkw %fp,#-16                              
   4a764:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4a768:	242e 0008      	movel %fp@(8),%d2                           
  size_t fsn_size = sizeof( filesystem_node ) + strlen(type) + 1;     
   4a76c:	2f02           	movel %d2,%sp@-                             
   4a76e:	4eb9 0004 f5d0 	jsr 4f5d0 <strlen>                          
  filesystem_node *fsn = malloc( fsn_size );                          
   4a774:	0680 0000 0011 	addil #17,%d0                               
   4a77a:	2e80           	movel %d0,%sp@                              
   4a77c:	4eb9 0004 2b08 	jsr 42b08 <malloc>                          
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
   4a782:	588f           	addql #4,%sp                                
  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 );                          
   4a784:	2440           	moveal %d0,%a2                              
  char *type_storage = (char *) fsn + sizeof( filesystem_node );      
                                                                      
  if ( fsn == NULL )                                                  
   4a786:	4a80           	tstl %d0                                    
   4a788:	6612           	bnes 4a79c <rtems_filesystem_register+0x3c> <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   4a78a:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a790:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a792:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a794:	700c           	moveq #12,%d0                               <== NOT EXECUTED
   4a796:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   4a798:	6000 0082      	braw 4a81c <rtems_filesystem_register+0xbc> <== NOT EXECUTED
                                                                      
  strcpy(type_storage, type);                                         
   4a79c:	2f02           	movel %d2,%sp@-                             
  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 );      
   4a79e:	2600           	movel %d0,%d3                               
   4a7a0:	0683 0000 0010 	addil #16,%d3                               
   4a7a6:	47f9 0004 58c4 	lea 458c4 <rtems_semaphore_release>,%a3     
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  strcpy(type_storage, type);                                         
   4a7ac:	2f03           	movel %d3,%sp@-                             
   4a7ae:	4eb9 0004 f124 	jsr 4f124 <strcpy>                          
  fsn->entry.type = type_storage;                                     
  fsn->entry.mount_h = mount_h;                                       
   4a7b4:	256e 000c 000c 	movel %fp@(12),%a2@(12)                     
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 );
   4a7ba:	42a7           	clrl %sp@-                                  
   4a7bc:	42a7           	clrl %sp@-                                  
   4a7be:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
                                                                      
  if ( fsn == NULL )                                                  
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  strcpy(type_storage, type);                                         
  fsn->entry.type = type_storage;                                     
   4a7c4:	2543 0008      	movel %d3,%a2@(8)                           
   4a7c8:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
  fsn->entry.mount_h = mount_h;                                       
                                                                      
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
   4a7ce:	2f02           	movel %d2,%sp@-                             
   4a7d0:	4eb9 0004 a736 	jsr 4a736 <rtems_filesystem_get_mount_handler>
   4a7d6:	4fef 0018      	lea %sp@(24),%sp                            
   4a7da:	4a80           	tstl %d0                                    
   4a7dc:	661e           	bnes 4a7fc <rtems_filesystem_register+0x9c> <== NEVER TAKEN
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
   4a7de:	2f0a           	movel %a2,%sp@-                             
   4a7e0:	4879 0005 d7d8 	pea 5d7d8 <filesystem_chain>                
   4a7e6:	4eb9 0004 6160 	jsr 46160 <_Chain_Append>                   
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4a7ec:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   4a7f2:	4e93           	jsr %a3@                                    
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
   4a7f4:	4fef 000c      	lea %sp@(12),%sp                            
   4a7f8:	4281           	clrl %d1                                    
   4a7fa:	6020           	bras 4a81c <rtems_filesystem_register+0xbc> 
   4a7fc:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   <== NOT EXECUTED
    rtems_chain_append( &filesystem_chain, &fsn->node );              
  } else {                                                            
    rtems_libio_unlock();                                             
    free( fsn );                                                      
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4a802:	7616           	moveq #22,%d3                               <== NOT EXECUTED
   4a804:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  rtems_libio_lock();                                                 
  if ( rtems_filesystem_get_mount_handler( type ) == NULL ) {         
    rtems_chain_append( &filesystem_chain, &fsn->node );              
  } else {                                                            
    rtems_libio_unlock();                                             
    free( fsn );                                                      
   4a806:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4a808:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
                                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4a80e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a814:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4a816:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a818:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a81a:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return 0;                                                           
}                                                                     
   4a81c:	2001           	movel %d1,%d0                               
   4a81e:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4a824:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a610 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
   4a610:	4e56 fff4      	linkw %fp,#-12                              <== NOT EXECUTED
   4a614:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     <== NOT EXECUTED
   4a618:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
   4a61c:	6610           	bnes 4a62e <rtems_filesystem_unregister+0x1e><== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4a61e:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a624:	7416           	moveq #22,%d2                               <== NOT EXECUTED
   4a626:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a628:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a62a:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   4a62c:	607a           	bras 4a6a8 <rtems_filesystem_unregister+0x98><== 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 );
   4a62e:	42a7           	clrl %sp@-                                  <== 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 ) {                     
   4a630:	47f9 0004 f0ac 	lea 4f0ac <strcmp>,%a3                      <== NOT EXECUTED
   4a636:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4a638:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   <== NOT EXECUTED
   4a63e:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return the_chain->first;                                            
   4a644:	2479 0005 d7d8 	moveal 5d7d8 <filesystem_chain>,%a2         <== NOT EXECUTED
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   4a64a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4a64e:	6034           	bras 4a684 <rtems_filesystem_unregister+0x74><== 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 ) {                     
   4a650:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4a652:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   4a656:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4a658:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4a65a:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4a65c:	6624           	bnes 4a682 <rtems_filesystem_unregister+0x72><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   4a65e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4a660:	4eb9 0004 6198 	jsr 46198 <_Chain_Extract>                  <== NOT EXECUTED
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
   4a666:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4a668:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4a66e:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   <== NOT EXECUTED
   4a674:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
   4a67a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4a67e:	4281           	clrl %d1                                    <== NOT EXECUTED
   4a680:	6026           	bras 4a6a8 <rtems_filesystem_unregister+0x98><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
   4a682:	2452           	moveal %a2@,%a2                             <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
   4a684:	b5fc 0005 d7dc 	cmpal #382940,%a2                           <== NOT EXECUTED
   4a68a:	66c4           	bnes 4a650 <rtems_filesystem_unregister+0x40><== NOT EXECUTED
   4a68c:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   <== NOT EXECUTED
   4a692:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   4a698:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4a69e:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4a6a0:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4a6a2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a6a4:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   4a6a6:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
}                                                                     
   4a6a8:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   4a6aa:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                <== NOT EXECUTED
   4a6b0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045d42 <rtems_initialize_data_structures>: #endif Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ]; void rtems_initialize_data_structures(void) {
   45d42:	4e56 0000      	linkw %fp,#0                                
   45d46:	42b9 0005 f0c4 	clrl 5f0c4 <_System_state_Current>          
  #endif                                                              
                                                                      
  /*                                                                  
   * Initialize any target architecture specific support as early as possible
   */                                                                 
  _CPU_Initialize();                                                  
   45d4c:	4eb9 0004 89c4 	jsr 489c4 <_CPU_Initialize>                 
                                                                      
  /*                                                                  
   *  Do this as early as possible to ensure no debugging output      
   *  is even attempted to be printed.                                
   */                                                                 
  _Debug_Manager_initialization();                                    
   45d52:	4eb9 0004 b4ec 	jsr 4b4ec <_Debug_Manager_initialization>   
                                                                      
  _API_extensions_Initialization();                                   
   45d58:	4eb9 0004 5fd0 	jsr 45fd0 <_API_extensions_Initialization>  
 *  This routine initializes the thread dispatching subsystem.        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void )     
{                                                                     
  _Thread_Dispatch_disable_level = 1;                                 
   45d5e:	7001           	moveq #1,%d0                                
   45d60:	23c0 0005 ef3c 	movel %d0,5ef3c <_Thread_Dispatch_disable_level>
                                                                      
  /*                                                                  
   *  Before this is called, we are not allowed to allocate memory    
   *  from the Workspace because it is not initialized.               
   */                                                                 
  _Workspace_Handler_initialization();                                
   45d66:	4eb9 0004 889c 	jsr 4889c <_Workspace_Handler_initialization>
                                                                      
  _User_extensions_Handler_initialization();                          
   45d6c:	4eb9 0004 83b8 	jsr 483b8 <_User_extensions_Handler_initialization>
  _ISR_Handler_initialization();                                      
   45d72:	4eb9 0004 698c 	jsr 4698c <_ISR_Handler_initialization>     
  /*                                                                  
   * Initialize the internal support API and allocator Mutex          
   */                                                                 
  _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects;
                                                                      
  _API_Mutex_Initialization( 1 );                                     
   45d78:	4878 0001      	pea 1 <ADD>                                 
  _ISR_Handler_initialization();                                      
                                                                      
  /*                                                                  
   * Initialize the internal support API and allocator Mutex          
   */                                                                 
  _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects;
   45d7c:	203c 0005 ef52 	movel #388946,%d0                           
   45d82:	23c0 0005 eef8 	movel %d0,5eef8 <_Objects_Information_table+0x4>
                                                                      
  _API_Mutex_Initialization( 1 );                                     
   45d88:	4eb9 0004 6100 	jsr 46100 <_API_Mutex_Initialization>       
  _API_Mutex_Allocate( &_RTEMS_Allocator_Mutex );                     
   45d8e:	4879 0005 efee 	pea 5efee <_RTEMS_Allocator_Mutex>          
   45d94:	4eb9 0004 6060 	jsr 46060 <_API_Mutex_Allocate>             
  #include <rtems/itron/itronapi.h>                                   
#endif                                                                
                                                                      
Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
                                                                      
void rtems_initialize_data_structures(void)                           
   45d9a:	508f           	addql #8,%sp                                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_Handler_initialization( void )    
{                                                                     
  int index;                                                          
                                                                      
  _Priority_Major_bit_map = 0;                                        
   45d9c:	41f9 0005 f05c 	lea 5f05c <_Priority_Bit_map>,%a0           
   45da2:	4240           	clrw %d0                                    
   45da4:	33c0 0005 efec 	movew %d0,5efec <_Priority_Major_bit_map>   
  for ( index=0 ; index <16 ; index++ )                               
     _Priority_Bit_map[ index ] = 0;                                  
   45daa:	4258           	clrw %a0@+                                  
RTEMS_INLINE_ROUTINE void _Priority_Handler_initialization( void )    
{                                                                     
  int index;                                                          
                                                                      
  _Priority_Major_bit_map = 0;                                        
  for ( index=0 ; index <16 ; index++ )                               
   45dac:	b1fc 0005 f07c 	cmpal #389244,%a0                           
   45db2:	66f6           	bnes 45daa <rtems_initialize_data_structures+0x68>
                                                                      
  _API_Mutex_Initialization( 1 );                                     
  _API_Mutex_Allocate( &_RTEMS_Allocator_Mutex );                     
                                                                      
  _Priority_Handler_initialization();                                 
  _Watchdog_Handler_initialization();                                 
   45db4:	4eb9 0004 86f0 	jsr 486f0 <_Watchdog_Handler_initialization>
  _TOD_Handler_initialization();                                      
   45dba:	4eb9 0004 65b4 	jsr 465b4 <_TOD_Handler_initialization>     
                                                                      
  _Thread_Handler_initialization();                                   
   45dc0:	4eb9 0004 7930 	jsr 47930 <_Thread_Handler_initialization>  
    _MPCI_Handler_initialization( RTEMS_TIMEOUT );                    
  #endif                                                              
                                                                      
/* MANAGERS */                                                        
                                                                      
  _RTEMS_API_Initialize();                                            
   45dc6:	4eb9 0004 5f7c 	jsr 45f7c <_RTEMS_API_Initialize>           
                                                                      
  _Extension_Manager_initialization();                                
   45dcc:	4eb9 0004 5e1c 	jsr 45e1c <_Extension_Manager_initialization>
                                                                      
  _IO_Manager_initialization();                                       
   45dd2:	4eb9 0004 5e94 	jsr 45e94 <_IO_Manager_initialization>      
                                                                      
  #ifdef RTEMS_POSIX_API                                              
    _POSIX_API_Initialize();                                          
   45dd8:	4eb9 0004 5f28 	jsr 45f28 <_POSIX_API_Initialize>           
  _Thread_Create_idle();                                              
                                                                      
  /*                                                                  
   *  Scheduling can properly occur now as long as we avoid dispatching.
   */                                                                 
}                                                                     
   45dde:	4e5e           	unlk %fp                                    
   45de0:	7001           	moveq #1,%d0                                
   45de2:	23c0 0005 f0c4 	movel %d0,5f0c4 <_System_state_Current>     
   *  _Thread_Executing and _Thread_Heir are not set.                 
   *                                                                  
   *  At this point all API extensions are in place.  After the call to
   *  _Thread_Create_idle() _Thread_Executing and _Thread_Heir will be set.
   */                                                                 
  _Thread_Create_idle();                                              
   45de8:	4ef9 0004 7474 	jmp 47474 <_Thread_Create_idle>             
	...                                                                  
                                                                      

00042244 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
   42244:	4e56 ffd4      	linkw %fp,#-44                              <== NOT EXECUTED
   42248:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 <== NOT EXECUTED
   4224c:	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 );
   42250:	49f9 0004 f5d0 	lea 4f5d0 <strlen>,%a4                      <== NOT EXECUTED
   42256:	240e           	movel %fp,%d2                               <== NOT EXECUTED
   42258:	0682 ffff ffec 	addil #-20,%d2                              <== NOT EXECUTED
   4225e:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
                                                                      
rtems_status_code rtems_io_lookup_name(                               
  const char           *name,                                         
  rtems_driver_name_t  *device_info                                   
)                                                                     
{                                                                     
   42260:	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 );
   42264:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   42266:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   42268:	2e81           	movel %d1,%sp@                              <== NOT EXECUTED
   4226a:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4226c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4226e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42270:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42272:	4eb9 0004 27ac 	jsr 427ac <rtems_filesystem_evaluate_path>  <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   42278:	226e fff8      	moveal %fp@(-8),%a1                         <== 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 );
   4227c:	2800           	movel %d0,%d4                               <== NOT EXECUTED
  the_jnode = loc.node_access;                                        
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   4227e:	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;                                        
   42282:	266e ffec      	moveal %fp@(-20),%a3                        <== NOT EXECUTED
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   42286:	2069 0010      	moveal %a1@(16),%a0                         <== NOT EXECUTED
   4228a:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4228c:	6620           	bnes 422ae <rtems_io_lookup_name+0x6a>      <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
   4228e:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   42292:	4a88           	tstl %a0                                    <== NOT EXECUTED
   42294:	6706           	beqs 4229c <rtems_io_lookup_name+0x58>      <== NOT EXECUTED
   42296:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42298:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4229a:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4229c:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   422a2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   422a4:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   422a6:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   422ac:	6060           	bras 4230e <rtems_io_lookup_name+0xca>      <== NOT EXECUTED
  }                                                                   
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
   422ae:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   422b0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
   422b2:	588f           	addql #4,%sp                                <== NOT EXECUTED
   422b4:	4a84           	tstl %d4                                    <== NOT EXECUTED
   422b6:	6606           	bnes 422be <rtems_io_lookup_name+0x7a>      <== NOT EXECUTED
   422b8:	7202           	moveq #2,%d1                                <== NOT EXECUTED
   422ba:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   422bc:	671a           	beqs 422d8 <rtems_io_lookup_name+0x94>      <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
   422be:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   422c2:	4a88           	tstl %a0                                    <== NOT EXECUTED
   422c4:	6742           	beqs 42308 <rtems_io_lookup_name+0xc4>      <== NOT EXECUTED
   422c6:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   422ca:	4a88           	tstl %a0                                    <== NOT EXECUTED
   422cc:	673a           	beqs 42308 <rtems_io_lookup_name+0xc4>      <== NOT EXECUTED
   422ce:	486e ffec      	pea %fp@(-20)                               <== NOT EXECUTED
   422d2:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   422d4:	588f           	addql #4,%sp                                <== NOT EXECUTED
   422d6:	6030           	bras 42308 <rtems_io_lookup_name+0xc4>      <== NOT EXECUTED
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
   422d8:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
   422da:	2483           	movel %d3,%a2@                              <== NOT EXECUTED
  device_info->device_name_length = strlen( name );                   
   422dc:	4e94           	jsr %a4@                                    <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   422de:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
   422e2:	588f           	addql #4,%sp                                <== NOT EXECUTED
   422e4:	2540 0004      	movel %d0,%a2@(4)                           <== NOT EXECUTED
  device_info->major              = the_jnode->info.device.major;     
   422e8:	256b 004c 0008 	movel %a3@(76),%a2@(8)                      <== NOT EXECUTED
  device_info->minor              = the_jnode->info.device.minor;     
   422ee:	256b 0050 000c 	movel %a3@(80),%a2@(12)                     <== NOT EXECUTED
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   422f4:	4a88           	tstl %a0                                    <== NOT EXECUTED
   422f6:	6714           	beqs 4230c <rtems_io_lookup_name+0xc8>      <== NOT EXECUTED
   422f8:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   422fc:	4a88           	tstl %a0                                    <== NOT EXECUTED
   422fe:	670c           	beqs 4230c <rtems_io_lookup_name+0xc8>      <== NOT EXECUTED
   42300:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42302:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42304:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42306:	6004           	bras 4230c <rtems_io_lookup_name+0xc8>      <== NOT EXECUTED
   42308:	700d           	moveq #13,%d0                               <== NOT EXECUTED
   4230a:	6002           	bras 4230e <rtems_io_lookup_name+0xca>      <== NOT EXECUTED
   4230c:	4280           	clrl %d0                                    <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4230e:	4cee 1c1c ffd4 	moveml %fp@(-44),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   42314:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046e34 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
   46e34:	4e56 0000      	linkw %fp,#0                                
   46e38:	206e 000c      	moveal %fp@(12),%a0                         
   46e3c:	2f0a           	movel %a2,%sp@-                             
   46e3e:	226e 0010      	moveal %fp@(16),%a1                         
   46e42:	2f02           	movel %d2,%sp@-                             
   46e44:	242e 0008      	movel %fp@(8),%d2                           
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
   46e48:	2039 0006 2d8e 	movel 62d8e <_IO_Number_of_drivers>,%d0     
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
   46e4e:	2239 0006 256e 	movel 6256e <_ISR_Nest_level>,%d1           
   46e54:	6706           	beqs 46e5c <rtems_io_register_driver+0x28>  
   46e56:	7012           	moveq #18,%d0                               
   46e58:	6000 00d6      	braw 46f30 <rtems_io_register_driver+0xfc>  
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
   46e5c:	4a89           	tstl %a1                                    
   46e5e:	6700 00ce      	beqw 46f2e <rtems_io_register_driver+0xfa>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
   46e62:	2280           	movel %d0,%a1@                              
                                                                      
  if ( driver_table == NULL )                                         
   46e64:	4a88           	tstl %a0                                    
   46e66:	6700 00c6      	beqw 46f2e <rtems_io_register_driver+0xfa>  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   46e6a:	4a90           	tstl %a0@                                   
   46e6c:	6600 00ce      	bnew 46f3c <rtems_io_register_driver+0x108> 
   46e70:	4aa8 0004      	tstl %a0@(4)                                
   46e74:	6600 00c6      	bnew 46f3c <rtems_io_register_driver+0x108> 
   46e78:	6000 00b4      	braw 46f2e <rtems_io_register_driver+0xfa>  
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   46e7c:	2039 0006 24d4 	movel 624d4 <_Thread_Dispatch_disable_level>,%d0
   46e82:	5280           	addql #1,%d0                                
   46e84:	23c0 0006 24d4 	movel %d0,624d4 <_Thread_Dispatch_disable_level>
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
   46e8a:	4a82           	tstl %d2                                    
   46e8c:	662c           	bnes 46eba <rtems_io_register_driver+0x86>  
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
   46e8e:	2039 0006 2d8e 	movel 62d8e <_IO_Number_of_drivers>,%d0     
   46e94:	2479 0006 2d92 	moveal 62d92 <_IO_Driver_address_table>,%a2 
   46e9a:	6010           	bras 46eac <rtems_io_register_driver+0x78>  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   46e9c:	4a92           	tstl %a2@                                   
   46e9e:	6600 00a6      	bnew 46f46 <rtems_io_register_driver+0x112> 
   46ea2:	4aaa 0004      	tstl %a2@(4)                                
   46ea6:	6600 009e      	bnew 46f46 <rtems_io_register_driver+0x112> 
   46eaa:	6004           	bras 46eb0 <rtems_io_register_driver+0x7c>  
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
   46eac:	b082           	cmpl %d2,%d0                                
   46eae:	62ec           	bhis 46e9c <rtems_io_register_driver+0x68>  
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
   46eb0:	2282           	movel %d2,%a1@                              
                                                                      
  if ( m != n )                                                       
   46eb2:	b082           	cmpl %d2,%d0                                
   46eb4:	6634           	bnes 46eea <rtems_io_register_driver+0xb6>  
   46eb6:	6000 0098      	braw 46f50 <rtems_io_register_driver+0x11c> 
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
   46eba:	2202           	movel %d2,%d1                               
   46ebc:	2002           	movel %d2,%d0                               
   46ebe:	e789           	lsll #3,%d1                                 
   46ec0:	eb88           	lsll #5,%d0                                 
   46ec2:	2479 0006 2d92 	moveal 62d92 <_IO_Driver_address_table>,%a2 
   46ec8:	9081           	subl %d1,%d0                                
   46eca:	d5c0           	addal %d0,%a2                               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   46ecc:	4a92           	tstl %a2@                                   
   46ece:	660e           	bnes 46ede <rtems_io_register_driver+0xaa>  
   46ed0:	4aaa 0004      	tstl %a2@(4)                                
   46ed4:	57c0           	seq %d0                                     
   46ed6:	49c0           	extbl %d0                                   
   46ed8:	4480           	negl %d0                                    
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
   46eda:	4a00           	tstb %d0                                    
   46edc:	660a           	bnes 46ee8 <rtems_io_register_driver+0xb4>  
      _Thread_Enable_dispatch();                                      
   46ede:	4eb9 0004 875a 	jsr 4875a <_Thread_Enable_dispatch>         
   46ee4:	700c           	moveq #12,%d0                               
      return RTEMS_RESOURCE_IN_USE;                                   
   46ee6:	6048           	bras 46f30 <rtems_io_register_driver+0xfc>  
    }                                                                 
                                                                      
    *registered_major = major;                                        
   46ee8:	2282           	movel %d2,%a1@                              
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
   46eea:	4878 0018      	pea 18 <OPER2+0x4>                          
   46eee:	2202           	movel %d2,%d1                               
   46ef0:	2002           	movel %d2,%d0                               
   46ef2:	e789           	lsll #3,%d1                                 
   46ef4:	eb88           	lsll #5,%d0                                 
   46ef6:	2f08           	movel %a0,%sp@-                             
   46ef8:	9081           	subl %d1,%d0                                
   46efa:	d0b9 0006 2d92 	addl 62d92 <_IO_Driver_address_table>,%d0   
   46f00:	2f00           	movel %d0,%sp@-                             
   46f02:	4eb9 0005 2084 	jsr 52084 <memcpy>                          
                                                                      
  _Thread_Enable_dispatch();                                          
   46f08:	4eb9 0004 875a 	jsr 4875a <_Thread_Enable_dispatch>         
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
   46f0e:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   46f12:	4fef 000c      	lea %sp@(12),%sp                            
   46f16:	2d42 0008      	movel %d2,%fp@(8)                           
}                                                                     
   46f1a:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   46f1e:	42ae 0010      	clrl %fp@(16)                               
   46f22:	42ae 000c      	clrl %fp@(12)                               
}                                                                     
   46f26:	4e5e           	unlk %fp                                    
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   46f28:	4ef9 0004 ed74 	jmp 4ed74 <rtems_io_initialize>             
   46f2e:	7009           	moveq #9,%d0                                
}                                                                     
   46f30:	242e fff8      	movel %fp@(-8),%d2                          
   46f34:	246e fffc      	moveal %fp@(-4),%a2                         
   46f38:	4e5e           	unlk %fp                                    
   46f3a:	4e75           	rts                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
   46f3c:	b082           	cmpl %d2,%d0                                
   46f3e:	6200 ff3c      	bhiw 46e7c <rtems_io_register_driver+0x48>  
   46f42:	700a           	moveq #10,%d0                               
   46f44:	60ea           	bras 46f30 <rtems_io_register_driver+0xfc>  
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
   46f46:	5282           	addql #1,%d2                                
   46f48:	45ea 0018      	lea %a2@(24),%a2                            
   46f4c:	6000 ff5e      	braw 46eac <rtems_io_register_driver+0x78>  
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
   46f50:	4eb9 0004 875a 	jsr 4875a <_Thread_Enable_dispatch>         
   46f56:	7005           	moveq #5,%d0                                
      return sc;                                                      
   46f58:	60d6           	bras 46f30 <rtems_io_register_driver+0xfc>  
	...                                                                  
                                                                      

00047c7c <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) {
   47c7c:	4e56 fff0      	linkw %fp,#-16                              
   47c80:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   47c84:	286e 0008      	moveal %fp@(8),%a4                          
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
   47c88:	4a8c           	tstl %a4                                    
   47c8a:	6740           	beqs 47ccc <rtems_iterate_over_all_threads+0x50><== NEVER TAKEN
   47c8c:	45f9 0006 1428 	lea 61428 <_Objects_Information_table+0x4>,%a2
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    if ( !_Objects_Information_table[ api_index ] )                   
   47c92:	2052           	moveal %a2@,%a0                             
   47c94:	4a88           	tstl %a0                                    
   47c96:	672a           	beqs 47cc2 <rtems_iterate_over_all_threads+0x46>
      continue;                                                       
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
   47c98:	2668 0004      	moveal %a0@(4),%a3                          
    if ( !information )                                               
   47c9c:	4a8b           	tstl %a3                                    
   47c9e:	6722           	beqs 47cc2 <rtems_iterate_over_all_threads+0x46>
   47ca0:	7401           	moveq #1,%d2                                
   47ca2:	6014           	bras 47cb8 <rtems_iterate_over_all_threads+0x3c>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
   47ca4:	206b 0018      	moveal %a3@(24),%a0                         
   47ca8:	2030 2c00      	movel %a0@(00000000,%d2:l:4),%d0            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
   47cac:	5282           	addql #1,%d2                                
      the_thread = (Thread_Control *)information->local_table[ i ];   
                                                                      
      if ( !the_thread )                                              
   47cae:	4a80           	tstl %d0                                    
   47cb0:	6706           	beqs 47cb8 <rtems_iterate_over_all_threads+0x3c><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
   47cb2:	2f00           	movel %d0,%sp@-                             
   47cb4:	4e94           	jsr %a4@                                    
   47cb6:	588f           	addql #4,%sp                                
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
   47cb8:	4280           	clrl %d0                                    
   47cba:	302b 000e      	movew %a3@(14),%d0                          
   47cbe:	b082           	cmpl %d2,%d0                                
   47cc0:	64e2           	bccs 47ca4 <rtems_iterate_over_all_threads+0x28>
   47cc2:	588a           	addql #4,%a2                                
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
   47cc4:	b5fc 0006 1438 	cmpal #398392,%a2                           
   47cca:	66c6           	bnes 47c92 <rtems_iterate_over_all_threads+0x16>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
   47ccc:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   47cd2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004a4f8 <rtems_libio_allocate>: * This routine searches the IOP Table for an unused entry. If it * finds one, it returns it. Otherwise, it returns NULL. */ rtems_libio_t *rtems_libio_allocate( void ) {
   4a4f8:	4e56 fffc      	linkw %fp,#-4                               
   4a4fc:	2f0a           	movel %a2,%sp@-                             
   4a4fe:	2f02           	movel %d2,%sp@-                             
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4a500:	42a7           	clrl %sp@-                                  
   4a502:	42a7           	clrl %sp@-                                  
   4a504:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   4a50a:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
  rtems_status_code rc;                                               
  rtems_id sema;                                                      
                                                                      
  rtems_libio_lock();                                                 
                                                                      
  if (rtems_libio_iop_freelist) {                                     
   4a510:	2039 0005 ede0 	movel 5ede0 <rtems_libio_iop_freelist>,%d0  
   4a516:	4fef 000c      	lea %sp@(12),%sp                            
   4a51a:	6760           	beqs 4a57c <rtems_libio_allocate+0x84>      
    rc = rtems_semaphore_create(                                      
   4a51c:	486e fffc      	pea %fp@(-4)                                
   4a520:	90b9 0005 eddc 	subl 5eddc <rtems_libio_iops>,%d0           
   4a526:	ec80           	asrl #6,%d0                                 
   4a528:	42a7           	clrl %sp@-                                  
   4a52a:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   4a52e:	4878 0001      	pea 1 <ADD>                                 
   4a532:	0080 4c42 4900 	oril #1279412480,%d0                        
   4a538:	2f00           	movel %d0,%sp@-                             
   4a53a:	4eb9 0004 5588 	jsr 45588 <rtems_semaphore_create>          
      1,                                                              
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      0,                                                              
      &sema                                                           
    );                                                                
    if (rc != RTEMS_SUCCESSFUL)                                       
   4a540:	4fef 0014      	lea %sp@(20),%sp                            
   4a544:	4a80           	tstl %d0                                    
   4a546:	6634           	bnes 4a57c <rtems_libio_allocate+0x84>      <== NEVER TAKEN
      goto failed;                                                    
    iop = rtems_libio_iop_freelist;                                   
   4a548:	2479 0005 ede0 	moveal 5ede0 <rtems_libio_iop_freelist>,%a2 
    next = iop->data1;                                                
   4a54e:	242a 0034      	movel %a2@(52),%d2                          
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
   4a552:	4878 0040      	pea 40 <DBL_MANT_DIG+0xb>                   
   4a556:	42a7           	clrl %sp@-                                  
   4a558:	2f0a           	movel %a2,%sp@-                             
   4a55a:	4eb9 0004 ea34 	jsr 4ea34 <memset>                          
    iop->flags = LIBIO_FLAGS_OPEN;                                    
    iop->sem = sema;                                                  
   4a560:	256e fffc 002c 	movel %fp@(-4),%a2@(44)                     
    if (rc != RTEMS_SUCCESSFUL)                                       
      goto failed;                                                    
    iop = rtems_libio_iop_freelist;                                   
    next = iop->data1;                                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
    iop->flags = LIBIO_FLAGS_OPEN;                                    
   4a566:	203c 0000 0100 	movel #256,%d0                              
    iop->sem = sema;                                                  
    rtems_libio_iop_freelist = next;                                  
    goto done;                                                        
   4a56c:	4fef 000c      	lea %sp@(12),%sp                            
    iop = rtems_libio_iop_freelist;                                   
    next = iop->data1;                                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
    iop->flags = LIBIO_FLAGS_OPEN;                                    
    iop->sem = sema;                                                  
    rtems_libio_iop_freelist = next;                                  
   4a570:	23c2 0005 ede0 	movel %d2,5ede0 <rtems_libio_iop_freelist>  
    if (rc != RTEMS_SUCCESSFUL)                                       
      goto failed;                                                    
    iop = rtems_libio_iop_freelist;                                   
    next = iop->data1;                                                
    (void) memset( iop, 0, sizeof(rtems_libio_t) );                   
    iop->flags = LIBIO_FLAGS_OPEN;                                    
   4a576:	2540 0014      	movel %d0,%a2@(20)                          
    iop->sem = sema;                                                  
    rtems_libio_iop_freelist = next;                                  
    goto done;                                                        
   4a57a:	6002           	bras 4a57e <rtems_libio_allocate+0x86>      
   4a57c:	95ca           	subal %a2,%a2                               
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4a57e:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   4a584:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
  iop = 0;                                                            
                                                                      
done:                                                                 
  rtems_libio_unlock();                                               
  return iop;                                                         
}                                                                     
   4a58a:	242e fff4      	movel %fp@(-12),%d2                         
   4a58e:	200a           	movel %a2,%d0                               
   4a590:	246e fff8      	moveal %fp@(-8),%a2                         
   4a594:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a49a <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
   4a49a:	4e56 0000      	linkw %fp,#0                                
   4a49e:	2f0a           	movel %a2,%sp@-                             
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4a4a0:	42a7           	clrl %sp@-                                  
   4a4a2:	246e 0008      	moveal %fp@(8),%a2                          
   4a4a6:	42a7           	clrl %sp@-                                  
   4a4a8:	2f39 0005 ede4 	movel 5ede4 <rtems_libio_semaphore>,%sp@-   
   4a4ae:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
   4a4b4:	202a 002c      	movel %a2@(44),%d0                          
   4a4b8:	4fef 000c      	lea %sp@(12),%sp                            
   4a4bc:	670a           	beqs 4a4c8 <rtems_libio_free+0x2e>          <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
   4a4be:	2f00           	movel %d0,%sp@-                             
   4a4c0:	4eb9 0004 5724 	jsr 45724 <rtems_semaphore_delete>          
   4a4c6:	588f           	addql #4,%sp                                
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
   4a4c8:	41f9 0005 ede0 	lea 5ede0 <rtems_libio_iop_freelist>,%a0    
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   4a4ce:	203c ffff feff 	movel #-257,%d0                             
    iop->data1 = rtems_libio_iop_freelist;                            
   4a4d4:	2550 0034      	movel %a0@,%a2@(52)                         
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4a4d8:	41f9 0005 ede4 	lea 5ede4 <rtems_libio_semaphore>,%a0       
   4a4de:	2d50 0008      	movel %a0@,%fp@(8)                          
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   4a4e2:	c1aa 0014      	andl %d0,%a2@(20)                           
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
   4a4e6:	23ca 0005 ede0 	movel %a2,5ede0 <rtems_libio_iop_freelist>  
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
   4a4ec:	246e fffc      	moveal %fp@(-4),%a2                         
   4a4f0:	4e5e           	unlk %fp                                    
   4a4f2:	4ef9 0004 58c4 	jmp 458c4 <rtems_semaphore_release>         
                                                                      

00042934 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
   42934:	4e56 0000      	linkw %fp,#0                                
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
   42938:	2039 0005 d6b4 	movel 5d6b4 <rtems_libio_number_iops>,%d0   
   4293e:	6742           	beqs 42982 <rtems_libio_init+0x4e>          <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
   42940:	4878 0040      	pea 40 <DBL_MANT_DIG+0xb>                   
   42944:	2f00           	movel %d0,%sp@-                             
   42946:	4eb9 0004 2438 	jsr 42438 <calloc>                          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
   4294c:	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,
   4294e:	23c0 0005 eddc 	movel %d0,5eddc <rtems_libio_iops>          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
   42954:	6606           	bnes 4295c <rtems_libio_init+0x28>          <== ALWAYS TAKEN
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
   42956:	4878 001a      	pea 1a <OPER2+0x6>                          <== NOT EXECUTED
   4295a:	604c           	bras 429a8 <rtems_libio_init+0x74>          <== NOT EXECUTED
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
   4295c:	23c0 0005 ede0 	movel %d0,5ede0 <rtems_libio_iop_freelist>  
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   42962:	2040           	moveal %d0,%a0                              
   42964:	4280           	clrl %d0                                    
   42966:	2239 0005 d6b4 	movel 5d6b4 <rtems_libio_number_iops>,%d1   
   4296c:	6004           	bras 42972 <rtems_libio_init+0x3e>          
          iop->data1 = iop + 1;                                       
   4296e:	2148 fff4      	movel %a0,%a0@(-12)                         
   42972:	2248           	moveal %a0,%a1                              
                                                    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++)  
   42974:	5280           	addql #1,%d0                                
   42976:	41e8 0040      	lea %a0@(64),%a0                            
   4297a:	b280           	cmpl %d0,%d1                                
   4297c:	62f0           	bhis 4296e <rtems_libio_init+0x3a>          
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
   4297e:	42a9 0034      	clrl %a1@(52)                               
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
   42982:	4879 0005 ede4 	pea 5ede4 <rtems_libio_semaphore>           
   42988:	42a7           	clrl %sp@-                                  
   4298a:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   4298e:	4878 0001      	pea 1 <ADD>                                 
   42992:	2f3c 4c42 494f 	movel #1279412559,%sp@-                     
   42998:	4eb9 0004 5588 	jsr 45588 <rtems_semaphore_create>          
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
   4299e:	4fef 0014      	lea %sp@(20),%sp                            
   429a2:	4a80           	tstl %d0                                    
   429a4:	6708           	beqs 429ae <rtems_libio_init+0x7a>          <== ALWAYS TAKEN
    rtems_fatal_error_occurred( rc );                                 
   429a6:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   429a8:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
   429ae:	2279 0005 d6b0 	moveal 5d6b0 <rtems_fs_init_helper>,%a1     
   429b4:	4a89           	tstl %a1                                    
   429b6:	6704           	beqs 429bc <rtems_libio_init+0x88>          <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
}                                                                     
   429b8:	4e5e           	unlk %fp                                    
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
   429ba:	4ed1           	jmp %a1@                                    
}                                                                     
   429bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043c0a <rtems_libio_set_private_env>: rtems_filesystem_freenode( &env->root_directory); free(env); } } rtems_status_code rtems_libio_set_private_env(void) {
   43c0a:	4e56 ffd4      	linkw %fp,#-44                              
   43c0e:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
  rtems_status_code 					sc;                                          
  rtems_id          					task_id;                                     
  rtems_filesystem_location_info_t		loc;                              
                                                                      
  sc=rtems_task_ident(RTEMS_SELF,0,&task_id);                         
   43c12:	486e fffc      	pea %fp@(-4)                                
   43c16:	42a7           	clrl %sp@-                                  
   43c18:	42a7           	clrl %sp@-                                  
   43c1a:	4eb9 0004 63d4 	jsr 463d4 <rtems_task_ident>                
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   43c20:	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);                         
   43c24:	2400           	movel %d0,%d2                               
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   43c26:	6600 00da      	bnew 43d02 <rtems_libio_set_private_env+0xf8>
                                                                      
  /* Only for the first time a malloc is necesary */                  
  if (rtems_current_user_env==&rtems_global_user_env) {               
   43c2a:	203c 0005 f5dc 	movel #390620,%d0                           
   43c30:	b0b9 0005 df88 	cmpl 5df88 <rtems_current_user_env>,%d0     
   43c36:	6648           	bnes 43c80 <rtems_libio_set_private_env+0x76>
   rtems_user_env_t	*tmp = malloc(sizeof(rtems_user_env_t));          
   43c38:	4878 0048      	pea 48 <DBL_MANT_DIG+0x13>                  
   43c3c:	4eb9 0004 30dc 	jsr 430dc <malloc>                          
   if (!tmp)                                                          
   43c42:	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));          
   43c44:	2600           	movel %d0,%d3                               
   if (!tmp)                                                          
   43c46:	6608           	bnes 43c50 <rtems_libio_set_private_env+0x46><== ALWAYS TAKEN
   43c48:	143c 001a      	moveb #26,%d2                               <== NOT EXECUTED
   43c4c:	6000 00b4      	braw 43d02 <rtems_libio_set_private_env+0xf8><== NOT EXECUTED
                                                                      
#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);
   43c50:	487a fec2      	pea %pc@(43b14 <free_user_env>)             
   43c54:	4879 0005 df88 	pea 5df88 <rtems_current_user_env>          
   43c5a:	42a7           	clrl %sp@-                                  
   43c5c:	4eb9 0004 654c 	jsr 4654c <rtems_task_variable_add>         
   if (sc != RTEMS_SUCCESSFUL) {                                      
   43c62:	4fef 000c      	lea %sp@(12),%sp                            
   43c66:	4a80           	tstl %d0                                    
   43c68:	6710           	beqs 43c7a <rtems_libio_set_private_env+0x70><== ALWAYS TAKEN
	 /* don't use free_user_env because the pathlocs are                 
	  * not initialized yet                                              
	  */                                                                 
     free(tmp);                                                       
   43c6a:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   43c6c:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   43c6e:	4eb9 0004 2b94 	jsr 42b94 <free>                            <== NOT EXECUTED
     return sc;                                                       
   43c74:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43c76:	6000 008a      	braw 43d02 <rtems_libio_set_private_env+0xf8><== NOT EXECUTED
   }                                                                  
   rtems_current_user_env = tmp;                                      
   43c7a:	23c3 0005 df88 	movel %d3,5df88 <rtems_current_user_env>    
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
   43c80:	4878 0048      	pea 48 <DBL_MANT_DIG+0x13>                  
   43c84:	45f9 0004 f1e8 	lea 4f1e8 <memcpy>,%a2                      
   43c8a:	4879 0005 f5dc 	pea 5f5dc <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);                 
   43c90:	260e           	movel %fp,%d3                               
   43c92:	0683 ffff ffe8 	addil #-24,%d3                              
   43c98:	47f9 0004 2b18 	lea 42b18 <rtems_filesystem_evaluate_path>,%a3
     return sc;                                                       
   }                                                                  
   rtems_current_user_env = tmp;                                      
  };                                                                  
                                                                      
  *rtems_current_user_env = rtems_global_user_env; /* get the global values*/
   43c9e:	2879 0005 df88 	moveal 5df88 <rtems_current_user_env>,%a4   
   43ca4:	2f0c           	movel %a4,%sp@-                             
   43ca6:	4e92           	jsr %a2@                                    
  rtems_current_user_env->task_id=task_id;         /* mark the local values*/
   43ca8:	28ae fffc      	movel %fp@(-4),%a4@                         
   * 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);                 
   43cac:	42a7           	clrl %sp@-                                  
   43cae:	2f03           	movel %d3,%sp@-                             
   43cb0:	42a7           	clrl %sp@-                                  
   43cb2:	4878 0001      	pea 1 <ADD>                                 
   43cb6:	4879 0005 c706 	pea 5c706 <IMFS_ops+0x48>                   
   43cbc:	4e93           	jsr %a3@                                    
  rtems_filesystem_root    = loc;                                     
   43cbe:	4fef 0020      	lea %sp@(32),%sp                            
   43cc2:	4878 0014      	pea 14 <OPER2>                              
   43cc6:	2079 0005 df88 	moveal 5df88 <rtems_current_user_env>,%a0   
   43ccc:	41e8 0018      	lea %a0@(24),%a0                            
   43cd0:	2f03           	movel %d3,%sp@-                             
   43cd2:	2f08           	movel %a0,%sp@-                             
   43cd4:	4e92           	jsr %a2@                                    
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   43cd6:	42a7           	clrl %sp@-                                  
   43cd8:	2f03           	movel %d3,%sp@-                             
   43cda:	42a7           	clrl %sp@-                                  
   43cdc:	4878 0001      	pea 1 <ADD>                                 
   43ce0:	4879 0005 c706 	pea 5c706 <IMFS_ops+0x48>                   
   43ce6:	4e93           	jsr %a3@                                    
  rtems_filesystem_current = loc;                                     
   43ce8:	4fef 0020      	lea %sp@(32),%sp                            
   43cec:	4878 0014      	pea 14 <OPER2>                              
   43cf0:	2039 0005 df88 	movel 5df88 <rtems_current_user_env>,%d0    
   43cf6:	5880           	addql #4,%d0                                
   43cf8:	2f03           	movel %d3,%sp@-                             
   43cfa:	2f00           	movel %d0,%sp@-                             
   43cfc:	4e92           	jsr %a2@                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   43cfe:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   43d02:	2002           	movel %d2,%d0                               
   43d04:	4cee 1c0c ffd4 	moveml %fp@(-44),%d2-%d3/%a2-%a4            
   43d0a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043b6e <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) {
   43b6e:	4e56 fff8      	linkw %fp,#-8                               <== NOT EXECUTED
   43b72:	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);                 
   43b74:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   43b78:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43b7a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43b7c:	4eb9 0004 63d4 	jsr 463d4 <rtems_task_ident>                <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL) return sc;                              
   43b82:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43b86:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43b88:	6678           	bnes 43c02 <rtems_libio_share_private_env+0x94><== NOT EXECUTED
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   43b8a:	2479 0005 df88 	moveal 5df88 <rtems_current_user_env>,%a2   <== NOT EXECUTED
   43b90:	202e fff8      	movel %fp@(-8),%d0                          <== NOT EXECUTED
   43b94:	b092           	cmpl %a2@,%d0                               <== NOT EXECUTED
   43b96:	661c           	bnes 43bb4 <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);
   43b98:	4879 0005 df88 	pea 5df88 <rtems_current_user_env>          <== NOT EXECUTED
   43b9e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43ba0:	4eb9 0004 65e0 	jsr 465e0 <rtems_task_variable_delete>      <== NOT EXECUTED
   if (sc != RTEMS_SUCCESSFUL) return sc;                             
   43ba6:	508f           	addql #8,%sp                                <== NOT EXECUTED
   43ba8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43baa:	6656           	bnes 43c02 <rtems_libio_share_private_env+0x94><== NOT EXECUTED
   free_user_env(tmp);                                                
   43bac:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43bae:	4eba ff64      	jsr %pc@(43b14 <free_user_env>)             <== NOT EXECUTED
   43bb2:	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,
   43bb4:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
   43bb8:	4879 0005 df88 	pea 5df88 <rtems_current_user_env>          <== NOT EXECUTED
   43bbe:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   43bc2:	4eb9 0004 6654 	jsr 46654 <rtems_task_variable_get>         <== NOT EXECUTED
		                       (void*)&shared_user_env       );             
  if (sc != RTEMS_SUCCESSFUL)                                         
   43bc8:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43bcc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43bce:	6626           	bnes 43bf6 <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);
   43bd0:	487a ff42      	pea %pc@(43b14 <free_user_env>)             <== NOT EXECUTED
   43bd4:	4879 0005 df88 	pea 5df88 <rtems_current_user_env>          <== NOT EXECUTED
   43bda:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   43bdc:	4eb9 0004 654c 	jsr 4654c <rtems_task_variable_add>         <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
   43be2:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43be6:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43be8:	660c           	bnes 43bf6 <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;                           
   43bea:	41ee fffc      	lea %fp@(-4),%a0                            <== NOT EXECUTED
   43bee:	23d0 0005 df88 	movel %a0@,5df88 <rtems_current_user_env>   <== NOT EXECUTED
  /* increase the reference count */                                  
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   43bf4:	600c           	bras 43c02 <rtems_libio_share_private_env+0x94><== NOT EXECUTED
                                                                      
bailout:                                                              
  /* fallback to the global env */                                    
  rtems_current_user_env = &rtems_global_user_env;                    
   43bf6:	223c 0005 f5dc 	movel #390620,%d1                           <== NOT EXECUTED
   43bfc:	23c1 0005 df88 	movel %d1,5df88 <rtems_current_user_env>    <== NOT EXECUTED
  return sc;                                                          
}                                                                     
   43c02:	246e fff4      	moveal %fp@(-12),%a2                        <== NOT EXECUTED
   43c06:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a370 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
   4a370:	7006           	moveq #6,%d0                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
   4a372:	4e56 0000      	linkw %fp,#0                                
   4a376:	222e 0008      	movel %fp@(8),%d1                           
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
   4a37a:	c081           	andl %d1,%d0                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
   4a37c:	2f02           	movel %d2,%sp@-                             
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
   4a37e:	7406           	moveq #6,%d2                                
   4a380:	b480           	cmpl %d0,%d2                                
   4a382:	6604           	bnes 4a388 <rtems_libio_to_fcntl_flags+0x18><== ALWAYS TAKEN
   4a384:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   4a386:	6012           	bras 4a39a <rtems_libio_to_fcntl_flags+0x2a><== NOT EXECUTED
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
   4a388:	0801 0001      	btst #1,%d1                                 
   4a38c:	6704           	beqs 4a392 <rtems_libio_to_fcntl_flags+0x22><== NEVER TAKEN
   4a38e:	4280           	clrl %d0                                    
   4a390:	6008           	bras 4a39a <rtems_libio_to_fcntl_flags+0x2a>
   4a392:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   4a394:	e488           	lsrl #2,%d0                                 <== NOT EXECUTED
   4a396:	7401           	moveq #1,%d2                                <== NOT EXECUTED
   4a398:	c082           	andl %d2,%d0                                <== NOT EXECUTED
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
    fcntl_flags |= O_WRONLY;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_NO_DELAY) == LIBIO_FLAGS_NO_DELAY ) {     
   4a39a:	0801 0000      	btst #0,%d1                                 
   4a39e:	6704           	beqs 4a3a4 <rtems_libio_to_fcntl_flags+0x34>
    fcntl_flags |= O_NONBLOCK;                                        
   4a3a0:	08c0 000e      	bset #14,%d0                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
   4a3a4:	0801 0009      	btst #9,%d1                                 
   4a3a8:	6704           	beqs 4a3ae <rtems_libio_to_fcntl_flags+0x3e>
    fcntl_flags |= O_APPEND;                                          
   4a3aa:	7408           	moveq #8,%d2                                
   4a3ac:	8082           	orl %d2,%d0                                 
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
   4a3ae:	0801 000a      	btst #10,%d1                                
   4a3b2:	6704           	beqs 4a3b8 <rtems_libio_to_fcntl_flags+0x48>
    fcntl_flags |= O_CREAT;                                           
   4a3b4:	08c0 0009      	bset #9,%d0                                 
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
   4a3b8:	241f           	movel %sp@+,%d2                             
   4a3ba:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004de48 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
   4de48:	4e56 0000      	linkw %fp,#0                                
   4de4c:	2f0a           	movel %a2,%sp@-                             
   4de4e:	246e 0008      	moveal %fp@(8),%a2                          
   4de52:	2f02           	movel %d2,%sp@-                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
   4de54:	4a8a           	tstl %a2                                    
   4de56:	6758           	beqs 4deb0 <rtems_memalign+0x68>            
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
   4de58:	4292           	clrl %a2@                                   
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4de5a:	7003           	moveq #3,%d0                                
   4de5c:	b0b9 0006 265c 	cmpl 6265c <_System_state_Current>,%d0      
   4de62:	660a           	bnes 4de6e <rtems_memalign+0x26>            <== NEVER TAKEN
   4de64:	4eb9 0004 3668 	jsr 43668 <malloc_is_system_state_OK>       
   4de6a:	4a00           	tstb %d0                                    
   4de6c:	6742           	beqs 4deb0 <rtems_memalign+0x68>            <== NEVER TAKEN
                                                                      
  /*                                                                  
   *                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
   4de6e:	4eb9 0004 36c0 	jsr 436c0 <malloc_deferred_frees_process>   
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
    _Protected_heap_Allocate_aligned_with_boundary( heap, size, alignment, 0 );
   4de74:	42a7           	clrl %sp@-                                  
   4de76:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4de7a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4de7e:	2f39 0006 0ba0 	movel 60ba0 <RTEMS_Malloc_Heap>,%sp@-       
   4de84:	4eb9 0004 8100 	jsr 48100 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
   4de8a:	4fef 0010      	lea %sp@(16),%sp                            
   4de8e:	2400           	movel %d0,%d2                               
   4de90:	6604           	bnes 4de96 <rtems_memalign+0x4e>            
   4de92:	700c           	moveq #12,%d0                               
   4de94:	601c           	bras 4deb2 <rtems_memalign+0x6a>            
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   4de96:	2079 0006 1266 	moveal 61266 <rtems_malloc_statistics_helpers>,%a0
   4de9c:	4a88           	tstl %a0                                    
   4de9e:	670a           	beqs 4deaa <rtems_memalign+0x62>            <== ALWAYS TAKEN
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
   4dea0:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4dea2:	2068 0004      	moveal %a0@(4),%a0                          <== NOT EXECUTED
   4dea6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4dea8:	588f           	addql #4,%sp                                <== NOT EXECUTED
     */                                                               
    if (rtems_malloc_boundary_helpers)                                
      (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); 
  #endif                                                              
                                                                      
  *pointer = return_this;                                             
   4deaa:	2482           	movel %d2,%a2@                              
   4deac:	4280           	clrl %d0                                    
  return 0;                                                           
   4deae:	6002           	bras 4deb2 <rtems_memalign+0x6a>            
   4deb0:	7016           	moveq #22,%d0                               
}                                                                     
   4deb2:	242e fff8      	movel %fp@(-8),%d2                          
   4deb6:	246e fffc      	moveal %fp@(-4),%a2                         
   4deba:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042622 <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
   42622:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
    va_list arglist;                                                  
                                                                      
    va_start(arglist, printf_format);                                 
    (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);   
   42626:	486e 000c      	pea %fp@(12)                                <== NOT EXECUTED
   4262a:	2f2e 0008      	movel %fp@(8),%sp@-                         <== NOT EXECUTED
   4262e:	2f3c 2000 0000 	movel #536870912,%sp@-                      <== NOT EXECUTED
   42634:	4eba fe66      	jsr %pc@(4249c <rtems_verror>)              <== NOT EXECUTED
   42638:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
    va_end(arglist);                                                  
}                                                                     
   4263c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004fc20 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
   4fc20:	4e56 fffc      	linkw %fp,#-4                               
   4fc24:	2f0a           	movel %a2,%sp@-                             
   4fc26:	2f02           	movel %d2,%sp@-                             
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
   4fc28:	486e fffc      	pea %fp@(-4)                                
   4fc2c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4fc30:	4879 0007 756a 	pea 7756a <_Partition_Information>          
   4fc36:	242e 000c      	movel %fp@(12),%d2                          
   4fc3a:	4eb9 0005 4044 	jsr 54044 <_Objects_Get>                    
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
   4fc40:	4fef 000c      	lea %sp@(12),%sp                            
   4fc44:	2440           	moveal %d0,%a2                              
   4fc46:	4aae fffc      	tstl %fp@(-4)                               
   4fc4a:	6704           	beqs 4fc50 <rtems_partition_return_buffer+0x30>
   4fc4c:	7004           	moveq #4,%d0                                
   4fc4e:	603c           	bras 4fc8c <rtems_partition_return_buffer+0x6c>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
   4fc50:	202a 0010      	movel %a2@(16),%d0                          
  ending   = _Addresses_Add_offset( starting, the_partition->length );
   4fc54:	222a 0014      	movel %a2@(20),%d1                          
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
   4fc58:	b082           	cmpl %d2,%d0                                
   4fc5a:	623c           	bhis 4fc98 <rtems_partition_return_buffer+0x78>
   4fc5c:	d280           	addl %d0,%d1                                
   4fc5e:	b282           	cmpl %d2,%d1                                
   4fc60:	6536           	bcss 4fc98 <rtems_partition_return_buffer+0x78><== NEVER TAKEN
                                                                      
  return (                                                            
   4fc62:	2202           	movel %d2,%d1                               
   4fc64:	9280           	subl %d0,%d1                                
   4fc66:	2001           	movel %d1,%d0                               
   4fc68:	4c6a 0001 0018 	remul %a2@(24),%d1,%d0                      
   4fc6e:	4a81           	tstl %d1                                    
   4fc70:	6626           	bnes 4fc98 <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 );                
   4fc72:	2f02           	movel %d2,%sp@-                             
   4fc74:	486a 0024      	pea %a2@(36)                                
   4fc78:	4eb9 0005 286c 	jsr 5286c <_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;                    
   4fc7e:	53aa 0020      	subql #1,%a2@(32)                           
        _Thread_Enable_dispatch();                                    
   4fc82:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   4fc88:	508f           	addql #8,%sp                                
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
   4fc8a:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4fc8c:	242e fff4      	movel %fp@(-12),%d2                         
   4fc90:	246e fff8      	moveal %fp@(-8),%a2                         
   4fc94:	4e5e           	unlk %fp                                    
   4fc96:	4e75           	rts                                         
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
   4fc98:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
   4fc9e:	7009           	moveq #9,%d0                                
      return RTEMS_INVALID_ADDRESS;                                   
   4fca0:	60ea           	bras 4fc8c <rtems_partition_return_buffer+0x6c>
	...                                                                  
                                                                      

00048a86 <rtems_pipe_initialize>: /* * Initialization of FIFO/pipe module. */ void rtems_pipe_initialize (void) {
   48a86:	4e56 0000      	linkw %fp,#0                                
  if (!rtems_pipe_configured)                                         
   48a8a:	4a39 0005 dd64 	tstb 5dd64 <rtems_pipe_configured>          
   48a90:	6740           	beqs 48ad2 <rtems_pipe_initialize+0x4c>     <== ALWAYS TAKEN
    return;                                                           
                                                                      
  if (rtems_pipe_semaphore)                                           
   48a92:	4ab9 0005 e6e4 	tstl 5e6e4 <rtems_pipe_semaphore>           <== NOT EXECUTED
   48a98:	6638           	bnes 48ad2 <rtems_pipe_initialize+0x4c>     <== NOT EXECUTED
    return;                                                           
                                                                      
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create(                                        
   48a9a:	4879 0005 e6e4 	pea 5e6e4 <rtems_pipe_semaphore>            <== NOT EXECUTED
   48aa0:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   48aa2:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  <== NOT EXECUTED
   48aa6:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   48aaa:	2f3c 5049 5045 	movel #1346981957,%sp@-                     <== NOT EXECUTED
   48ab0:	4eb9 0004 5588 	jsr 45588 <rtems_semaphore_create>          <== NOT EXECUTED
        rtems_build_name ('P', 'I', 'P', 'E'), 1,                     
        RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
        RTEMS_NO_PRIORITY, &rtems_pipe_semaphore);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
   48ab6:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   48aba:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48abc:	6708           	beqs 48ac6 <rtems_pipe_initialize+0x40>     <== NOT EXECUTED
    rtems_fatal_error_occurred (sc);                                  
   48abe:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   48ac0:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  rtems_interval now;                                                 
  now = rtems_clock_get_ticks_since_boot();                           
   48ac6:	4eb9 0004 51a0 	jsr 451a0 <rtems_clock_get_ticks_since_boot><== NOT EXECUTED
  rtems_pipe_no = now;                                                
   48acc:	33c0 0005 e6ec 	movew %d0,5e6ec <rtems_pipe_no>             <== NOT EXECUTED
}                                                                     
   48ad2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000464c0 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
   464c0:	4e56 ffec      	linkw %fp,#-20                              
   464c4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
   464c8:	486e fffc      	pea %fp@(-4)                                
   464cc:	262e 0008      	movel %fp@(8),%d3                           
   464d0:	2f03           	movel %d3,%sp@-                             
   464d2:	4879 0006 0a74 	pea 60a74 <_Rate_monotonic_Information>     
   464d8:	242e 000c      	movel %fp@(12),%d2                          
   464dc:	4eb9 0004 841c 	jsr 4841c <_Objects_Get>                    
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
   464e2:	4fef 000c      	lea %sp@(12),%sp                            
   464e6:	2440           	moveal %d0,%a2                              
   464e8:	4aae fffc      	tstl %fp@(-4)                               
   464ec:	6600 0138      	bnew 46626 <rtems_rate_monotonic_period+0x166>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
   464f0:	2039 0006 0c32 	movel 60c32 <_Thread_Executing>,%d0         
   464f6:	b0aa 0040      	cmpl %a2@(64),%d0                           
   464fa:	670c           	beqs 46508 <rtems_rate_monotonic_period+0x48>
        _Thread_Enable_dispatch();                                    
   464fc:	4eb9 0004 8c8e 	jsr 48c8e <_Thread_Enable_dispatch>         
   46502:	7817           	moveq #23,%d4                               
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
   46504:	6000 0122      	braw 46628 <rtems_rate_monotonic_period+0x168>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
   46508:	4a82           	tstl %d2                                    
   4650a:	6622           	bnes 4652e <rtems_rate_monotonic_period+0x6e>
        switch ( the_period->state ) {                                
   4650c:	202a 0038      	movel %a2@(56),%d0                          
   46510:	7204           	moveq #4,%d1                                
   46512:	b280           	cmpl %d0,%d1                                
   46514:	6404           	bccs 4651a <rtems_rate_monotonic_period+0x5a><== ALWAYS TAKEN
   46516:	4284           	clrl %d4                                    <== NOT EXECUTED
   46518:	600a           	bras 46524 <rtems_rate_monotonic_period+0x64><== NOT EXECUTED
   4651a:	41f9 0005 de32 	lea 5de32 <CSWTCH.43>,%a0                   
   46520:	2830 0c00      	movel %a0@(00000000,%d0:l:4),%d4            
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
   46524:	4eb9 0004 8c8e 	jsr 48c8e <_Thread_Enable_dispatch>         
        return( return_value );                                       
   4652a:	6000 00fc      	braw 46628 <rtems_rate_monotonic_period+0x168>
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
   4652e:	203c 0000 0700 	movel #1792,%d0                             
   46534:	40c4           	movew %sr,%d4                               
   46536:	8084           	orl %d4,%d0                                 
   46538:	46c0           	movew %d0,%sr                               
      switch ( the_period->state ) {                                  
   4653a:	202a 0038      	movel %a2@(56),%d0                          
   4653e:	7202           	moveq #2,%d1                                
   46540:	b280           	cmpl %d0,%d1                                
   46542:	6740           	beqs 46584 <rtems_rate_monotonic_period+0xc4>
   46544:	123c 0004      	moveb #4,%d1                                
   46548:	b280           	cmpl %d0,%d1                                
   4654a:	6700 00a4      	beqw 465f0 <rtems_rate_monotonic_period+0x130>
   4654e:	4a80           	tstl %d0                                    
   46550:	6600 00d4      	bnew 46626 <rtems_rate_monotonic_period+0x166>
        case RATE_MONOTONIC_INACTIVE: {                               
                                                                      
          _ISR_Enable( level );                                       
   46554:	46c4           	movew %d4,%sr                               
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
   46556:	2f0a           	movel %a2,%sp@-                             
          );                                                          
                                                                      
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
   46558:	4284           	clrl %d4                                    
          _ISR_Enable( level );                                       
                                                                      
          /*                                                          
           *  Baseline statistics information for the beginning of a period.
           */                                                         
          _Rate_monotonic_Initiate_statistics( the_period );          
   4655a:	4eb9 0004 62ac 	jsr 462ac <_Rate_monotonic_Initiate_statistics>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   46560:	203c 0004 686c 	movel #288876,%d0                           
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   46566:	7202           	moveq #2,%d1                                
   46568:	2540 002c      	movel %d0,%a2@(44)                          
  the_watchdog->id        = id;                                       
   4656c:	2543 0030      	movel %d3,%a2@(48)                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   46570:	2542 001c      	movel %d2,%a2@(28)                          
   46574:	2541 0038      	movel %d1,%a2@(56)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   46578:	42aa 0018      	clrl %a2@(24)                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   4657c:	42aa 0034      	clrl %a2@(52)                               
   46580:	6000 0084      	braw 46606 <rtems_rate_monotonic_period+0x146>
        case RATE_MONOTONIC_ACTIVE:                                   
                                                                      
          /*                                                          
           *  Update statistics from the concluding period.           
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
   46584:	2f0a           	movel %a2,%sp@-                             
   46586:	4eb9 0004 63cc 	jsr 463cc <_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;       
          the_period->next_length = length;                           
   4658c:	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;       
   46590:	7401           	moveq #1,%d2                                
   46592:	2542 0038      	movel %d2,%a2@(56)                          
          the_period->next_length = length;                           
                                                                      
          _ISR_Enable( level );                                       
   46596:	46c4           	movew %d4,%sr                               
                                                                      
          _Thread_Executing->Wait.id = the_period->Object.id;         
   46598:	2079 0006 0c32 	moveal 60c32 <_Thread_Executing>,%a0        
   4659e:	216a 0008 0020 	movel %a2@(8),%a0@(32)                      
          _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   465a4:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   465a8:	2f08           	movel %a0,%sp@-                             
   465aa:	4eb9 0004 94ec 	jsr 494ec <_Thread_Set_state>               
                                                                      
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
   465b0:	203c 0000 0700 	movel #1792,%d0                             
   465b6:	40c1           	movew %sr,%d1                               
   465b8:	8081           	orl %d1,%d0                                 
   465ba:	46c0           	movew %d0,%sr                               
            local_state = the_period->state;                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
   465bc:	143c 0002      	moveb #2,%d2                                
          /*                                                          
           *  Did the watchdog timer expire while we were actually blocking
           *  on it?                                                  
           */                                                         
          _ISR_Disable( level );                                      
            local_state = the_period->state;                          
   465c0:	202a 0038      	movel %a2@(56),%d0                          
            the_period->state = RATE_MONOTONIC_ACTIVE;                
   465c4:	2542 0038      	movel %d2,%a2@(56)                          
          _ISR_Enable( level );                                       
   465c8:	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 ) 
   465ca:	7203           	moveq #3,%d1                                
   465cc:	4fef 000c      	lea %sp@(12),%sp                            
   465d0:	b280           	cmpl %d0,%d1                                
   465d2:	6612           	bnes 465e6 <rtems_rate_monotonic_period+0x126>
            _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   465d4:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   465d8:	2f39 0006 0c32 	movel 60c32 <_Thread_Executing>,%sp@-       
   465de:	4eb9 0004 88d4 	jsr 488d4 <_Thread_Clear_state>             
   465e4:	508f           	addql #8,%sp                                
                                                                      
          _Thread_Enable_dispatch();                                  
   465e6:	4eb9 0004 8c8e 	jsr 48c8e <_Thread_Enable_dispatch>         
   465ec:	4284           	clrl %d4                                    
          return RTEMS_SUCCESSFUL;                                    
   465ee:	6038           	bras 46628 <rtems_rate_monotonic_period+0x168>
        case RATE_MONOTONIC_EXPIRED:                                  
                                                                      
          /*                                                          
           *  Update statistics from the concluding period            
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
   465f0:	2f0a           	movel %a2,%sp@-                             
   465f2:	4eb9 0004 63cc 	jsr 463cc <_Rate_monotonic_Update_statistics>
                                                                      
          _ISR_Enable( level );                                       
   465f8:	46c4           	movew %d4,%sr                               
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   465fa:	7002           	moveq #2,%d0                                
          the_period->next_length = length;                           
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
   465fc:	7806           	moveq #6,%d4                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   465fe:	2542 001c      	movel %d2,%a2@(28)                          
           */                                                         
          _Rate_monotonic_Update_statistics( the_period );            
                                                                      
          _ISR_Enable( level );                                       
                                                                      
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   46602:	2540 0038      	movel %d0,%a2@(56)                          
          the_period->next_length = length;                           
   46606:	2542 003c      	movel %d2,%a2@(60)                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4660a:	486a 0010      	pea %a2@(16)                                
   4660e:	4879 0006 0c50 	pea 60c50 <_Watchdog_Ticks_chain>           
   46614:	4eb9 0004 9d1c 	jsr 49d1c <_Watchdog_Insert>                
                                                                      
          _Watchdog_Insert_ticks( &the_period->Timer, length );       
          _Thread_Enable_dispatch();                                  
   4661a:	4eb9 0004 8c8e 	jsr 48c8e <_Thread_Enable_dispatch>         
          return RTEMS_TIMEOUT;                                       
   46620:	4fef 000c      	lea %sp@(12),%sp                            
   46624:	6002           	bras 46628 <rtems_rate_monotonic_period+0x168>
   46626:	7804           	moveq #4,%d4                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   46628:	2004           	movel %d4,%d0                               
   4662a:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   46630:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00050818 <rtems_region_get_segment_size>: rtems_status_code rtems_region_get_segment_size( rtems_id id, void *segment, uintptr_t *size ) {
   50818:	4e56 fffc      	linkw %fp,#-4                               
   5081c:	2f03           	movel %d3,%sp@-                             
   5081e:	262e 0010      	movel %fp@(16),%d3                          
   50822:	2f02           	movel %d2,%sp@-                             
   50824:	242e 000c      	movel %fp@(12),%d2                          
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
   50828:	6766           	beqs 50890 <rtems_region_get_segment_size+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
   5082a:	4a83           	tstl %d3                                    
   5082c:	6762           	beqs 50890 <rtems_region_get_segment_size+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
   5082e:	2f39 0007 7792 	movel 77792 <_RTEMS_Allocator_Mutex>,%sp@-  
   50834:	4eb9 0005 27d8 	jsr 527d8 <_API_Mutex_Lock>                 
   5083a:	486e fffc      	pea %fp@(-4)                                
   5083e:	2f2e 0008      	movel %fp@(8),%sp@-                         
   50842:	4879 0007 75de 	pea 775de <_Region_Information>             
   50848:	4eb9 0005 400c 	jsr 5400c <_Objects_Get_no_protection>      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
   5084e:	222e fffc      	movel %fp@(-4),%d1                          
   50852:	4fef 0010      	lea %sp@(16),%sp                            
   50856:	670a           	beqs 50862 <rtems_region_get_segment_size+0x4a>
   50858:	7001           	moveq #1,%d0                                
   5085a:	b081           	cmpl %d1,%d0                                
   5085c:	6620           	bnes 5087e <rtems_region_get_segment_size+0x66><== NEVER TAKEN
   5085e:	7404           	moveq #4,%d2                                
   50860:	601e           	bras 50880 <rtems_region_get_segment_size+0x68>
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
   50862:	2f03           	movel %d3,%sp@-                             
   50864:	2040           	moveal %d0,%a0                              
   50866:	2f02           	movel %d2,%sp@-                             
   50868:	4868 0068      	pea %a0@(104)                               
   5086c:	4eb9 0005 3a8c 	jsr 53a8c <_Heap_Size_of_alloc_area>        
   50872:	4fef 000c      	lea %sp@(12),%sp                            
   50876:	4a00           	tstb %d0                                    
   50878:	6604           	bnes 5087e <rtems_region_get_segment_size+0x66>
   5087a:	7409           	moveq #9,%d2                                <== NOT EXECUTED
   5087c:	6002           	bras 50880 <rtems_region_get_segment_size+0x68><== NOT EXECUTED
   5087e:	4282           	clrl %d2                                    
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   50880:	2f39 0007 7792 	movel 77792 <_RTEMS_Allocator_Mutex>,%sp@-  
   50886:	4eb9 0005 2838 	jsr 52838 <_API_Mutex_Unlock>               
  return return_status;                                               
   5088c:	588f           	addql #4,%sp                                
   5088e:	6002           	bras 50892 <rtems_region_get_segment_size+0x7a>
   50890:	7409           	moveq #9,%d2                                
}                                                                     
   50892:	2002           	movel %d2,%d0                               
   50894:	242e fff4      	movel %fp@(-12),%d2                         
   50898:	262e fff8      	movel %fp@(-8),%d3                          
   5089c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00050eb0 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
   50eb0:	4e56 fffc      	linkw %fp,#-4                               
   50eb4:	2f03           	movel %d3,%sp@-                             
   50eb6:	2f02           	movel %d2,%sp@-                             
   50eb8:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
   50ebc:	6606           	bnes 50ec4 <rtems_signal_send+0x14>         
   50ebe:	700a           	moveq #10,%d0                               
   50ec0:	6000 0084      	braw 50f46 <rtems_signal_send+0x96>         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   50ec4:	486e fffc      	pea %fp@(-4)                                
   50ec8:	2f2e 0008      	movel %fp@(8),%sp@-                         
   50ecc:	4eb9 0005 4998 	jsr 54998 <_Thread_Get>                     
  switch ( location ) {                                               
   50ed2:	508f           	addql #8,%sp                                
   50ed4:	4aae fffc      	tstl %fp@(-4)                               
   50ed8:	6704           	beqs 50ede <rtems_signal_send+0x2e>         
   50eda:	7004           	moveq #4,%d0                                
   50edc:	6068           	bras 50f46 <rtems_signal_send+0x96>         
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
   50ede:	2240           	moveal %d0,%a1                              
   50ee0:	2069 010a      	moveal %a1@(266),%a0                        
      asr = &api->Signal;                                             
   50ee4:	4aa8 000a      	tstl %a0@(10)                               
   50ee8:	6754           	beqs 50f3e <rtems_signal_send+0x8e>         
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
   50eea:	4a28 0008      	tstb %a0@(8)                                
   50eee:	6732           	beqs 50f22 <rtems_signal_send+0x72>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
   50ef0:	223c 0000 0700 	movel #1792,%d1                             
   50ef6:	40c3           	movew %sr,%d3                               
   50ef8:	8283           	orl %d3,%d1                                 
   50efa:	46c1           	movew %d1,%sr                               
    *signal_set |= signals;                                           
   50efc:	85a8 0012      	orl %d2,%a0@(18)                            
  _ISR_Enable( _level );                                              
   50f00:	46c3           	movew %d3,%sr                               
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   50f02:	2239 0007 777a 	movel 7777a <_ISR_Nest_level>,%d1           
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          the_thread->do_post_task_switch_extension = true;           
   50f08:	7401           	moveq #1,%d2                                
   50f0a:	1342 0074      	moveb %d2,%a1@(116)                         
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   50f0e:	4a81           	tstl %d1                                    
   50f10:	6722           	beqs 50f34 <rtems_signal_send+0x84>         
   50f12:	b0b9 0007 779a 	cmpl 7779a <_Thread_Executing>,%d0          
   50f18:	661a           	bnes 50f34 <rtems_signal_send+0x84>         <== NEVER TAKEN
            _ISR_Signals_to_thread_executing = true;                  
   50f1a:	13c2 0007 7828 	moveb %d2,77828 <_ISR_Signals_to_thread_executing>
   50f20:	6012           	bras 50f34 <rtems_signal_send+0x84>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
   50f22:	203c 0000 0700 	movel #1792,%d0                             
   50f28:	40c1           	movew %sr,%d1                               
   50f2a:	8081           	orl %d1,%d0                                 
   50f2c:	46c0           	movew %d0,%sr                               
    *signal_set |= signals;                                           
   50f2e:	85a8 0016      	orl %d2,%a0@(22)                            
  _ISR_Enable( _level );                                              
   50f32:	46c1           	movew %d1,%sr                               
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
   50f34:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
   50f3a:	4280           	clrl %d0                                    
        return RTEMS_SUCCESSFUL;                                      
   50f3c:	6008           	bras 50f46 <rtems_signal_send+0x96>         
      }                                                               
      _Thread_Enable_dispatch();                                      
   50f3e:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
   50f44:	700b           	moveq #11,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   50f46:	242e fff4      	movel %fp@(-12),%d2                         
   50f4a:	262e fff8      	movel %fp@(-8),%d3                          
   50f4e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00041ce0 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
   41ce0:	4e56 0000      	linkw %fp,#0                                
   41ce4:	206e 0008      	moveal %fp@(8),%a0                          
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
   41ce8:	4aa8 0008      	tstl %a0@(8)                                
   41cec:	671c           	beqs 41d0a <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;                                 
   41cee:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   41cf2:	4879 0005 f3c4 	pea 5f3c4 <Stack_check_Pattern>             
   41cf8:	2068 00c2      	moveal %a0@(194),%a0                        
   41cfc:	5088           	addql #8,%a0                                
   41cfe:	2f08           	movel %a0,%sp@-                             
   41d00:	4eb9 0004 eed8 	jsr 4eed8 <memcpy>                          
   41d06:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   41d0a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000420cc <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
   420cc:	4e56 0000      	linkw %fp,#0                                
   420d0:	2f0a           	movel %a2,%sp@-                             
   420d2:	246e 000c      	moveal %fp@(12),%a2                         
  Stack_check_Initialize();                                           
   420d6:	4eb9 0004 2066 	jsr 42066 <Stack_check_Initialize>          
                                                                      
  if (the_thread)                                                     
   420dc:	4a8a           	tstl %a2                                    
   420de:	6716           	beqs 420f6 <rtems_stack_checker_create_extension+0x2a><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
   420e0:	2f2a 00be      	movel %a2@(190),%sp@-                       
   420e4:	4878 00a5      	pea a5 <DBL_MANT_DIG+0x70>                  
   420e8:	2f2a 00c2      	movel %a2@(194),%sp@-                       
   420ec:	4eb9 0004 ef48 	jsr 4ef48 <memset>                          
   420f2:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  return true;                                                        
}                                                                     
   420f6:	246e fffc      	moveal %fp@(-4),%a2                         
   420fa:	4e5e           	unlk %fp                                    
   420fc:	7001           	moveq #1,%d0                                <== NOT EXECUTED
                                                                      

00041f78 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
   41f78:	4e56 0000      	linkw %fp,#0                                
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
   41f7c:	2279 0005 f5fa 	moveal 5f5fa <_Thread_Executing>,%a1        
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   41f82:	2069 00c2      	moveal %a1@(194),%a0                        
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
   41f86:	2f02           	movel %d2,%sp@-                             
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   41f88:	b1ce           	cmpal %fp,%a0                               
   41f8a:	6304           	blss 41f90 <rtems_stack_checker_is_blown+0x18><== ALWAYS TAKEN
   41f8c:	4202           	clrb %d2                                    <== NOT EXECUTED
   41f8e:	600c           	bras 41f9c <rtems_stack_checker_is_blown+0x24><== NOT EXECUTED
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
   41f90:	2008           	movel %a0,%d0                               
   41f92:	d0a9 00be      	addl %a1@(190),%d0                          
   41f96:	b08e           	cmpl %fp,%d0                                
   41f98:	54c2           	scc %d2                                     
   41f9a:	4482           	negl %d2                                    
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
   41f9c:	4ab9 0005 ebb4 	tstl 5ebb4 <Stack_check_Initialized>        
   41fa2:	6604           	bnes 41fa8 <rtems_stack_checker_is_blown+0x30><== ALWAYS TAKEN
   41fa4:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   41fa6:	601e           	bras 41fc6 <rtems_stack_checker_is_blown+0x4e><== NOT EXECUTED
    pattern_ok = (!memcmp(                                            
   41fa8:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   41fac:	4879 0005 f3c4 	pea 5f3c4 <Stack_check_Pattern>             
   41fb2:	4868 0008      	pea %a0@(8)                                 
   41fb6:	4eb9 0004 ee60 	jsr 4ee60 <memcmp>                          
   41fbc:	4fef 000c      	lea %sp@(12),%sp                            
   41fc0:	4a80           	tstl %d0                                    
   41fc2:	57c0           	seq %d0                                     
   41fc4:	4480           	negl %d0                                    
  }                                                                   
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  if ( sp_ok && pattern_ok )                                          
   41fc6:	4a02           	tstb %d2                                    
   41fc8:	6708           	beqs 41fd2 <rtems_stack_checker_is_blown+0x5a><== NEVER TAKEN
   41fca:	4a00           	tstb %d0                                    
   41fcc:	6704           	beqs 41fd2 <rtems_stack_checker_is_blown+0x5a><== NEVER TAKEN
   41fce:	4200           	clrb %d0                                    
   41fd0:	6018           	bras 41fea <rtems_stack_checker_is_blown+0x72>
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
   41fd2:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   41fd8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   41fda:	2f39 0005 f5fa 	movel 5f5fa <_Thread_Executing>,%sp@-       <== NOT EXECUTED
   41fe0:	4eb9 0004 1ed2 	jsr 41ed2 <Stack_check_report_blown_task>   <== NOT EXECUTED
  return true;                                                        
   41fe6:	508f           	addql #8,%sp                                <== NOT EXECUTED
    return false;                                                     
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  Stack_check_report_blown_task( _Thread_Executing, pattern_ok );     
   41fe8:	7001           	moveq #1,%d0                                <== NOT EXECUTED
  return true;                                                        
}                                                                     
   41fea:	242e fffc      	movel %fp@(-4),%d2                          
   41fee:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041eba <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) {
   41eba:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
   41ebe:	4879 0004 3934 	pea 43934 <printk_plugin>                   <== NOT EXECUTED
   41ec4:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   41ec6:	4eb9 0004 1e58 	jsr 41e58 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
   41ecc:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   41ece:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00041e58 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
   41e58:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   41e5c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   41e5e:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
   41e62:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   41e64:	4879 0005 c38c 	pea 5c38c <IntUartPollCallbacks.6645+0x6c>  <== NOT EXECUTED
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
   41e6a:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
  print_context = context;                                            
  print_handler = print;                                              
   41e6e:	23ca 0005 ebbc 	movel %a2,5ebbc <print_handler>             <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   41e74:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
  print_context = context;                                            
   41e76:	23c2 0005 ebb8 	movel %d2,5ebb8 <print_context>             <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   41e7c:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  (*print)( context,                                                  
   41e7e:	4879 0005 c3a3 	pea 5c3a3 <IntUartPollCallbacks.6645+0x83>  <== NOT EXECUTED
   41e84:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   41e86:	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 );   
   41e88:	4879 0004 1d3e 	pea 41d3e <Stack_check_Dump_threads_usage>  <== NOT EXECUTED
   41e8e:	4eb9 0004 6dc0 	jsr 46dc0 <rtems_iterate_over_all_threads>  <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
   41e94:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   41e98:	4eb9 0004 1d3e 	jsr 41d3e <Stack_check_Dump_threads_usage>  <== NOT EXECUTED
                                                                      
  print_context = NULL;                                               
  print_handler = NULL;                                               
                                                                      
}                                                                     
   41e9e:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
                                                                      
  print_context = NULL;                                               
  print_handler = NULL;                                               
   41ea2:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
                                                                      
}                                                                     
   41ea6:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   41eaa:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  rtems_iterate_over_all_threads( Stack_check_Dump_threads_usage );   
                                                                      
  /* dump interrupt stack info if any */                              
  Stack_check_Dump_threads_usage((Thread_Control *) -1);              
                                                                      
  print_context = NULL;                                               
   41eac:	42b9 0005 ebb8 	clrl 5ebb8 <print_context>                  <== NOT EXECUTED
  print_handler = NULL;                                               
   41eb2:	42b9 0005 ebbc 	clrl 5ebbc <print_handler>                  <== NOT EXECUTED
                                                                      
}                                                                     
                                                                      

00041ff2 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
   41ff2:	4e56 0000      	linkw %fp,#0                                
   41ff6:	2f0a           	movel %a2,%sp@-                             
   41ff8:	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;
   41ffc:	206a 00c2      	moveal %a2@(194),%a0                        
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
   42000:	2f02           	movel %d2,%sp@-                             
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   42002:	b1ce           	cmpal %fp,%a0                               
   42004:	6304           	blss 4200a <rtems_stack_checker_switch_extension+0x18><== ALWAYS TAKEN
   42006:	4202           	clrb %d2                                    <== NOT EXECUTED
   42008:	600c           	bras 42016 <rtems_stack_checker_switch_extension+0x24><== NOT EXECUTED
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_switch_extension                              
 */                                                                   
void rtems_stack_checker_switch_extension(                            
   4200a:	2008           	movel %a0,%d0                               
   4200c:	d0aa 00be      	addl %a2@(190),%d0                          
   42010:	b08e           	cmpl %fp,%d0                                
   42012:	54c2           	scc %d2                                     
   42014:	4482           	negl %d2                                    
  /*                                                                  
   *  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,                                     
   42016:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   4201a:	4879 0005 f3c4 	pea 5f3c4 <Stack_check_Pattern>             
   42020:	4868 0008      	pea %a0@(8)                                 
   42024:	4eb9 0004 ee60 	jsr 4ee60 <memcmp>                          
   4202a:	4fef 000c      	lea %sp@(12),%sp                            
   4202e:	4a80           	tstl %d0                                    
   42030:	57c0           	seq %d0                                     
   42032:	4480           	negl %d0                                    
   42034:	1200           	moveb %d0,%d1                               
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
   42036:	4a02           	tstb %d2                                    
   42038:	6704           	beqs 4203e <rtems_stack_checker_switch_extension+0x4c><== NEVER TAKEN
   4203a:	4a00           	tstb %d0                                    
   4203c:	661c           	bnes 4205a <rtems_stack_checker_switch_extension+0x68><== ALWAYS TAKEN
    Stack_check_report_blown_task( running, pattern_ok );             
   4203e:	4280           	clrl %d0                                    <== NOT EXECUTED
   42040:	1001           	moveb %d1,%d0                               <== NOT EXECUTED
   42042:	2d4a 0008      	movel %a2,%fp@(8)                           <== NOT EXECUTED
  }                                                                   
}                                                                     
   42046:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   4204a:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
   4204e:	2d40 000c      	movel %d0,%fp@(12)                          <== NOT EXECUTED
  }                                                                   
}                                                                     
   42052:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
   42054:	4ef9 0004 1ed2 	jmp 41ed2 <Stack_check_report_blown_task>   <== NOT EXECUTED
  }                                                                   
}                                                                     
   4205a:	242e fff8      	movel %fp@(-8),%d2                          
   4205e:	246e fffc      	moveal %fp@(-4),%a2                         
   42062:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b69c <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
   4b69c:	4e56 ffe8      	linkw %fp,#-24                              <== NOT EXECUTED
   4b6a0:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 <== NOT EXECUTED
   4b6a4:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
   4b6a8:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
   4b6ac:	266e 0010      	moveal %fp@(16),%a3                         <== NOT EXECUTED
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4b6b0:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   4b6b2:	6606           	bnes 4b6ba <rtems_string_to_double+0x1e>    <== NOT EXECUTED
   4b6b4:	7009           	moveq #9,%d0                                <== NOT EXECUTED
   4b6b6:	6000 00a2      	braw 4b75a <rtems_string_to_double+0xbe>    <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b6ba:	4eb9 0004 e228 	jsr 4e228 <__errno>                         <== NOT EXECUTED
  *n = 0;                                                             
   4b6c0:	4281           	clrl %d1                                    <== NOT EXECUTED
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b6c2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
  *n = 0;                                                             
   4b6c4:	4280           	clrl %d0                                    <== NOT EXECUTED
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b6c6:	4290           	clrl %a0@                                   <== NOT EXECUTED
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
   4b6c8:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4b6cc:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
   4b6ce:	2541 0004      	movel %d1,%a2@(4)                           <== NOT EXECUTED
                                                                      
  result = strtod( s, &end );                                         
   4b6d2:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4b6d4:	4eb9 0005 0c7c 	jsr 50c7c <strtod>                          <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
   4b6da:	508f           	addql #8,%sp                                <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
   4b6dc:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   4b6de:	2801           	movel %d1,%d4                               <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
   4b6e0:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   4b6e2:	6704           	beqs 4b6e8 <rtems_string_to_double+0x4c>    <== NOT EXECUTED
    *endptr = end;                                                    
   4b6e4:	26ae fffc      	movel %fp@(-4),%a3@                         <== NOT EXECUTED
                                                                      
  if ( end == s )                                                     
   4b6e8:	b4ae fffc      	cmpl %fp@(-4),%d2                           <== NOT EXECUTED
   4b6ec:	6604           	bnes 4b6f2 <rtems_string_to_double+0x56>    <== NOT EXECUTED
   4b6ee:	700b           	moveq #11,%d0                               <== NOT EXECUTED
   4b6f0:	6068           	bras 4b75a <rtems_string_to_double+0xbe>    <== NOT EXECUTED
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4b6f2:	4eb9 0004 e228 	jsr 4e228 <__errno>                         <== NOT EXECUTED
   4b6f8:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4b6fa:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4b6fc:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   4b6fe:	664e           	bnes 4b74e <rtems_string_to_double+0xb2>    <== NOT EXECUTED
   4b700:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b702:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4b704:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4b706:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4b708:	4eb9 0004 2340 	jsr 42340 <__eqdf2>                         <== NOT EXECUTED
   4b70e:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4b712:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b714:	6742           	beqs 4b758 <rtems_string_to_double+0xbc>    <== NOT EXECUTED
   4b716:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   4b71a:	2f3c 7fef ffff 	movel #2146435071,%sp@-                     <== NOT EXECUTED
   4b720:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4b722:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4b724:	4eb9 0005 ba78 	jsr 5ba78 <__gtdf2>                         <== NOT EXECUTED
   4b72a:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4b72e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b730:	6e26           	bgts 4b758 <rtems_string_to_double+0xbc>    <== NOT EXECUTED
   4b732:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   4b736:	2f3c ffef ffff 	movel #-1048577,%sp@-                       <== NOT EXECUTED
   4b73c:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4b73e:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4b740:	4eb9 0005 bac0 	jsr 5bac0 <__ltdf2>                         <== NOT EXECUTED
   4b746:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4b74a:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4b74c:	6d0a           	blts 4b758 <rtems_string_to_double+0xbc>    <== NOT EXECUTED
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4b74e:	2483           	movel %d3,%a2@                              <== NOT EXECUTED
   4b750:	4280           	clrl %d0                                    <== NOT EXECUTED
   4b752:	2544 0004      	movel %d4,%a2@(4)                           <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4b756:	6002           	bras 4b75a <rtems_string_to_double+0xbe>    <== NOT EXECUTED
   4b758:	700a           	moveq #10,%d0                               <== NOT EXECUTED
}                                                                     
   4b75a:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            <== NOT EXECUTED
   4b760:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b764 <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
   4b764:	4e56 ffec      	linkw %fp,#-20                              
   4b768:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b76c:	262e 0008      	movel %fp@(8),%d3                           
   4b770:	246e 000c      	moveal %fp@(12),%a2                         
   4b774:	266e 0010      	moveal %fp@(16),%a3                         
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4b778:	4a8a           	tstl %a2                                    
   4b77a:	6606           	bnes 4b782 <rtems_string_to_float+0x1e>     
   4b77c:	7009           	moveq #9,%d0                                
   4b77e:	6000 0086      	braw 4b806 <rtems_string_to_float+0xa2>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b782:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b788:	2040           	moveal %d0,%a0                              
   4b78a:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
   4b78c:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4b790:	24bc 0000 0000 	movel #0,%a2@                               
                                                                      
  result = strtof( s, &end );                                         
   4b796:	2f03           	movel %d3,%sp@-                             
   4b798:	4eb9 0005 0c1e 	jsr 50c1e <strtof>                          
                                                                      
  if ( endptr )                                                       
   4b79e:	508f           	addql #8,%sp                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
   4b7a0:	2400           	movel %d0,%d2                               
                                                                      
  if ( endptr )                                                       
   4b7a2:	4a8b           	tstl %a3                                    
   4b7a4:	6704           	beqs 4b7aa <rtems_string_to_float+0x46>     
    *endptr = end;                                                    
   4b7a6:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4b7aa:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b7ae:	6604           	bnes 4b7b4 <rtems_string_to_float+0x50>     
   4b7b0:	700b           	moveq #11,%d0                               
   4b7b2:	6052           	bras 4b806 <rtems_string_to_float+0xa2>     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4b7b4:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b7ba:	7222           	moveq #34,%d1                               
   4b7bc:	2040           	moveal %d0,%a0                              
   4b7be:	b290           	cmpl %a0@,%d1                               
   4b7c0:	663c           	bnes 4b7fe <rtems_string_to_float+0x9a>     
   4b7c2:	2f3c 0000 0000 	movel #0,%sp@-                              
   4b7c8:	2f02           	movel %d2,%sp@-                             
   4b7ca:	4eb9 0004 2364 	jsr 42364 <__eqsf2>                         
   4b7d0:	508f           	addql #8,%sp                                
   4b7d2:	4a80           	tstl %d0                                    
   4b7d4:	672e           	beqs 4b804 <rtems_string_to_float+0xa0>     <== NEVER TAKEN
   4b7d6:	2f3c 7f7f ffff 	movel #2139095039,%sp@-                     
   4b7dc:	2f02           	movel %d2,%sp@-                             
   4b7de:	4eb9 0005 bb08 	jsr 5bb08 <__gtsf2>                         
   4b7e4:	508f           	addql #8,%sp                                
   4b7e6:	4a80           	tstl %d0                                    
   4b7e8:	6e1a           	bgts 4b804 <rtems_string_to_float+0xa0>     <== NEVER TAKEN
   4b7ea:	2f3c ff7f ffff 	movel #-8388609,%sp@-                       
   4b7f0:	2f02           	movel %d2,%sp@-                             
   4b7f2:	4eb9 0005 bb24 	jsr 5bb24 <__ltsf2>                         
   4b7f8:	508f           	addql #8,%sp                                
   4b7fa:	4a80           	tstl %d0                                    
   4b7fc:	6d06           	blts 4b804 <rtems_string_to_float+0xa0>     <== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4b7fe:	2482           	movel %d2,%a2@                              
   4b800:	4280           	clrl %d0                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4b802:	6002           	bras 4b806 <rtems_string_to_float+0xa2>     
   4b804:	700a           	moveq #10,%d0                               <== NOT EXECUTED
}                                                                     
   4b806:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b80c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b810 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
   4b810:	4e56 ffec      	linkw %fp,#-20                              
   4b814:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b818:	262e 0008      	movel %fp@(8),%d3                           
   4b81c:	246e 000c      	moveal %fp@(12),%a2                         
   4b820:	266e 0010      	moveal %fp@(16),%a3                         
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4b824:	4a8a           	tstl %a2                                    
   4b826:	6604           	bnes 4b82c <rtems_string_to_int+0x1c>       
   4b828:	7009           	moveq #9,%d0                                
   4b82a:	605e           	bras 4b88a <rtems_string_to_int+0x7a>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b82c:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b832:	2040           	moveal %d0,%a0                              
   4b834:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4b836:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4b83a:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4b83e:	4292           	clrl %a2@                                   
                                                                      
  result = strtol( s, &end, base );                                   
   4b840:	2f03           	movel %d3,%sp@-                             
   4b842:	4eb9 0005 0dfe 	jsr 50dfe <strtol>                          
                                                                      
  if ( endptr )                                                       
   4b848:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4b84c:	2400           	movel %d0,%d2                               
                                                                      
  if ( endptr )                                                       
   4b84e:	4a8b           	tstl %a3                                    
   4b850:	6704           	beqs 4b856 <rtems_string_to_int+0x46>       
    *endptr = end;                                                    
   4b852:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4b856:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b85a:	6604           	bnes 4b860 <rtems_string_to_int+0x50>       
   4b85c:	700b           	moveq #11,%d0                               
   4b85e:	602a           	bras 4b88a <rtems_string_to_int+0x7a>       
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4b860:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b866:	7222           	moveq #34,%d1                               
   4b868:	2040           	moveal %d0,%a0                              
   4b86a:	b290           	cmpl %a0@,%d1                               
   4b86c:	6614           	bnes 4b882 <rtems_string_to_int+0x72>       
   4b86e:	4a82           	tstl %d2                                    
   4b870:	6716           	beqs 4b888 <rtems_string_to_int+0x78>       <== NEVER TAKEN
   4b872:	0c82 7fff ffff 	cmpil #2147483647,%d2                       
   4b878:	670e           	beqs 4b888 <rtems_string_to_int+0x78>       <== ALWAYS TAKEN
   4b87a:	0c82 8000 0000 	cmpil #-2147483648,%d2                      <== NOT EXECUTED
   4b880:	6706           	beqs 4b888 <rtems_string_to_int+0x78>       <== NOT EXECUTED
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
   4b882:	2482           	movel %d2,%a2@                              
   4b884:	4280           	clrl %d0                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4b886:	6002           	bras 4b88a <rtems_string_to_int+0x7a>       
   4b888:	700a           	moveq #10,%d0                               
}                                                                     
   4b88a:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b890:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b934 <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
   4b934:	4e56 ffec      	linkw %fp,#-20                              
   4b938:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b93c:	262e 0008      	movel %fp@(8),%d3                           
   4b940:	246e 000c      	moveal %fp@(12),%a2                         
   4b944:	266e 0010      	moveal %fp@(16),%a3                         
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4b948:	4a8a           	tstl %a2                                    
   4b94a:	6604           	bnes 4b950 <rtems_string_to_long+0x1c>      
   4b94c:	7009           	moveq #9,%d0                                
   4b94e:	605e           	bras 4b9ae <rtems_string_to_long+0x7a>      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b950:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b956:	2040           	moveal %d0,%a0                              
   4b958:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4b95a:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4b95e:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4b962:	4292           	clrl %a2@                                   
                                                                      
  result = strtol( s, &end, base );                                   
   4b964:	2f03           	movel %d3,%sp@-                             
   4b966:	4eb9 0005 0dfe 	jsr 50dfe <strtol>                          
                                                                      
  if ( endptr )                                                       
   4b96c:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4b970:	2400           	movel %d0,%d2                               
                                                                      
  if ( endptr )                                                       
   4b972:	4a8b           	tstl %a3                                    
   4b974:	6704           	beqs 4b97a <rtems_string_to_long+0x46>      
    *endptr = end;                                                    
   4b976:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4b97a:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4b97e:	6604           	bnes 4b984 <rtems_string_to_long+0x50>      
   4b980:	700b           	moveq #11,%d0                               
   4b982:	602a           	bras 4b9ae <rtems_string_to_long+0x7a>      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4b984:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b98a:	7222           	moveq #34,%d1                               
   4b98c:	2040           	moveal %d0,%a0                              
   4b98e:	b290           	cmpl %a0@,%d1                               
   4b990:	6614           	bnes 4b9a6 <rtems_string_to_long+0x72>      
   4b992:	4a82           	tstl %d2                                    
   4b994:	6716           	beqs 4b9ac <rtems_string_to_long+0x78>      <== NEVER TAKEN
   4b996:	0c82 7fff ffff 	cmpil #2147483647,%d2                       
   4b99c:	670e           	beqs 4b9ac <rtems_string_to_long+0x78>      
   4b99e:	0c82 8000 0000 	cmpil #-2147483648,%d2                      
   4b9a4:	6706           	beqs 4b9ac <rtems_string_to_long+0x78>      <== ALWAYS TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4b9a6:	2482           	movel %d2,%a2@                              
   4b9a8:	4280           	clrl %d0                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4b9aa:	6002           	bras 4b9ae <rtems_string_to_long+0x7a>      
   4b9ac:	700a           	moveq #10,%d0                               
}                                                                     
   4b9ae:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4b9b4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b894 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
   4b894:	4e56 ffe8      	linkw %fp,#-24                              
   4b898:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   4b89c:	242e 0008      	movel %fp@(8),%d2                           
   4b8a0:	246e 000c      	moveal %fp@(12),%a2                         
   4b8a4:	266e 0010      	moveal %fp@(16),%a3                         
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4b8a8:	4a8a           	tstl %a2                                    
   4b8aa:	6604           	bnes 4b8b0 <rtems_string_to_long_long+0x1c> 
   4b8ac:	7009           	moveq #9,%d0                                
   4b8ae:	607a           	bras 4b92a <rtems_string_to_long_long+0x96> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b8b0:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b8b6:	2040           	moveal %d0,%a0                              
  *n = 0;                                                             
   4b8b8:	4280           	clrl %d0                                    
   4b8ba:	4281           	clrl %d1                                    
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b8bc:	4290           	clrl %a0@                                   
  *n = 0;                                                             
   4b8be:	2480           	movel %d0,%a2@                              
   4b8c0:	2541 0004      	movel %d1,%a2@(4)                           
                                                                      
  result = strtoll( s, &end, base );                                  
   4b8c4:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4b8c8:	486e fffc      	pea %fp@(-4)                                
   4b8cc:	2f02           	movel %d2,%sp@-                             
   4b8ce:	4eb9 0005 0e20 	jsr 50e20 <strtoll>                         
                                                                      
  if ( endptr )                                                       
   4b8d4:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
   4b8d8:	2600           	movel %d0,%d3                               
   4b8da:	2801           	movel %d1,%d4                               
                                                                      
  if ( endptr )                                                       
   4b8dc:	4a8b           	tstl %a3                                    
   4b8de:	6704           	beqs 4b8e4 <rtems_string_to_long_long+0x50> 
    *endptr = end;                                                    
   4b8e0:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4b8e4:	b4ae fffc      	cmpl %fp@(-4),%d2                           
   4b8e8:	6604           	bnes 4b8ee <rtems_string_to_long_long+0x5a> 
   4b8ea:	700b           	moveq #11,%d0                               
   4b8ec:	603c           	bras 4b92a <rtems_string_to_long_long+0x96> 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4b8ee:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b8f4:	7222           	moveq #34,%d1                               
   4b8f6:	2040           	moveal %d0,%a0                              
   4b8f8:	b290           	cmpl %a0@,%d1                               
   4b8fa:	6622           	bnes 4b91e <rtems_string_to_long_long+0x8a> 
   4b8fc:	2003           	movel %d3,%d0                               
   4b8fe:	8084           	orl %d4,%d0                                 
   4b900:	6726           	beqs 4b928 <rtems_string_to_long_long+0x94> <== NEVER TAKEN
   4b902:	203c 7fff ffff 	movel #2147483647,%d0                       
   4b908:	72ff           	moveq #-1,%d1                               
   4b90a:	9284           	subl %d4,%d1                                
   4b90c:	9183           	subxl %d3,%d0                               
   4b90e:	6718           	beqs 4b928 <rtems_string_to_long_long+0x94> 
   4b910:	203c 8000 0000 	movel #-2147483648,%d0                      
   4b916:	4281           	clrl %d1                                    
   4b918:	9284           	subl %d4,%d1                                
   4b91a:	9183           	subxl %d3,%d0                               
   4b91c:	670a           	beqs 4b928 <rtems_string_to_long_long+0x94> <== ALWAYS TAKEN
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4b91e:	4280           	clrl %d0                                    
   4b920:	2483           	movel %d3,%a2@                              
   4b922:	2544 0004      	movel %d4,%a2@(4)                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4b926:	6002           	bras 4b92a <rtems_string_to_long_long+0x96> 
   4b928:	700a           	moveq #10,%d0                               
}                                                                     
   4b92a:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   4b930:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b9d4 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
   4b9d4:	4e56 ffec      	linkw %fp,#-20                              
   4b9d8:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b9dc:	262e 0008      	movel %fp@(8),%d3                           
   4b9e0:	246e 000c      	moveal %fp@(12),%a2                         
   4b9e4:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4b9e8:	4a8a           	tstl %a2                                    
   4b9ea:	6604           	bnes 4b9f0 <rtems_string_to_unsigned_char+0x1c>
   4b9ec:	7009           	moveq #9,%d0                                
   4b9ee:	606c           	bras 4ba5c <rtems_string_to_unsigned_char+0x88>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4b9f0:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4b9f6:	2040           	moveal %d0,%a0                              
   4b9f8:	4290           	clrl %a0@                                   
  *n = 0;                                                             
   4b9fa:	4212           	clrb %a2@                                   
                                                                      
  result = strtoul( s, &end, base );                                  
   4b9fc:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4ba00:	486e fffc      	pea %fp@(-4)                                
   4ba04:	2f03           	movel %d3,%sp@-                             
   4ba06:	4eb9 0005 1230 	jsr 51230 <strtoul>                         
                                                                      
  if ( endptr )                                                       
   4ba0c:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4ba10:	2400           	movel %d0,%d2                               
                                                                      
  if ( endptr )                                                       
   4ba12:	4a8b           	tstl %a3                                    
   4ba14:	6704           	beqs 4ba1a <rtems_string_to_unsigned_char+0x46>
    *endptr = end;                                                    
   4ba16:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4ba1a:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4ba1e:	6604           	bnes 4ba24 <rtems_string_to_unsigned_char+0x50>
   4ba20:	700b           	moveq #11,%d0                               
   4ba22:	6038           	bras 4ba5c <rtems_string_to_unsigned_char+0x88>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4ba24:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4ba2a:	7222           	moveq #34,%d1                               
   4ba2c:	2040           	moveal %d0,%a0                              
   4ba2e:	b290           	cmpl %a0@,%d1                               
   4ba30:	660e           	bnes 4ba40 <rtems_string_to_unsigned_char+0x6c><== ALWAYS TAKEN
   4ba32:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   4ba34:	5380           	subql #1,%d0                                <== NOT EXECUTED
   4ba36:	72fd           	moveq #-3,%d1                               <== NOT EXECUTED
   4ba38:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4ba3a:	6404           	bccs 4ba40 <rtems_string_to_unsigned_char+0x6c><== NOT EXECUTED
   4ba3c:	700a           	moveq #10,%d0                               <== NOT EXECUTED
   4ba3e:	601c           	bras 4ba5c <rtems_string_to_unsigned_char+0x88><== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
   4ba40:	0c82 0000 00ff 	cmpil #255,%d2                              
   4ba46:	6310           	blss 4ba58 <rtems_string_to_unsigned_char+0x84><== ALWAYS TAKEN
    errno = ERANGE;                                                   
   4ba48:	4eb9 0004 e228 	jsr 4e228 <__errno>                         <== NOT EXECUTED
   4ba4e:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4ba50:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4ba52:	700a           	moveq #10,%d0                               <== NOT EXECUTED
   4ba54:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
   4ba56:	6004           	bras 4ba5c <rtems_string_to_unsigned_char+0x88><== NOT EXECUTED
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
   4ba58:	4280           	clrl %d0                                    
   4ba5a:	1482           	moveb %d2,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4ba5c:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4ba62:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004ba68 <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
   4ba68:	4e56 ffec      	linkw %fp,#-20                              
   4ba6c:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4ba70:	262e 0008      	movel %fp@(8),%d3                           
   4ba74:	246e 000c      	moveal %fp@(12),%a2                         
   4ba78:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4ba7c:	4a8a           	tstl %a2                                    
   4ba7e:	6604           	bnes 4ba84 <rtems_string_to_unsigned_int+0x1c>
   4ba80:	7009           	moveq #9,%d0                                
   4ba82:	6054           	bras 4bad8 <rtems_string_to_unsigned_int+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4ba84:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4ba8a:	2040           	moveal %d0,%a0                              
   4ba8c:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4ba8e:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4ba92:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4ba96:	4292           	clrl %a2@                                   
                                                                      
  result = strtoul( s, &end, base );                                  
   4ba98:	2f03           	movel %d3,%sp@-                             
   4ba9a:	4eb9 0005 1230 	jsr 51230 <strtoul>                         
                                                                      
  if ( endptr )                                                       
   4baa0:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4baa4:	2400           	movel %d0,%d2                               
                                                                      
  if ( endptr )                                                       
   4baa6:	4a8b           	tstl %a3                                    
   4baa8:	6704           	beqs 4baae <rtems_string_to_unsigned_int+0x46>
    *endptr = end;                                                    
   4baaa:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4baae:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4bab2:	6604           	bnes 4bab8 <rtems_string_to_unsigned_int+0x50>
   4bab4:	700b           	moveq #11,%d0                               
   4bab6:	6020           	bras 4bad8 <rtems_string_to_unsigned_int+0x70>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4bab8:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4babe:	7222           	moveq #34,%d1                               
   4bac0:	2040           	moveal %d0,%a0                              
   4bac2:	b290           	cmpl %a0@,%d1                               
   4bac4:	660e           	bnes 4bad4 <rtems_string_to_unsigned_int+0x6c>
   4bac6:	2002           	movel %d2,%d0                               
   4bac8:	5380           	subql #1,%d0                                
   4baca:	72fd           	moveq #-3,%d1                               
   4bacc:	b280           	cmpl %d0,%d1                                
   4bace:	6404           	bccs 4bad4 <rtems_string_to_unsigned_int+0x6c><== NEVER TAKEN
   4bad0:	700a           	moveq #10,%d0                               
   4bad2:	6004           	bras 4bad8 <rtems_string_to_unsigned_int+0x70>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
   4bad4:	2482           	movel %d2,%a2@                              
   4bad6:	4280           	clrl %d0                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4bad8:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4bade:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004bb74 <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
   4bb74:	4e56 ffec      	linkw %fp,#-20                              
   4bb78:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4bb7c:	262e 0008      	movel %fp@(8),%d3                           
   4bb80:	246e 000c      	moveal %fp@(12),%a2                         
   4bb84:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4bb88:	4a8a           	tstl %a2                                    
   4bb8a:	6604           	bnes 4bb90 <rtems_string_to_unsigned_long+0x1c>
   4bb8c:	7009           	moveq #9,%d0                                
   4bb8e:	6054           	bras 4bbe4 <rtems_string_to_unsigned_long+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4bb90:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4bb96:	2040           	moveal %d0,%a0                              
   4bb98:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4bb9a:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4bb9e:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4bba2:	4292           	clrl %a2@                                   
                                                                      
  result = strtoul( s, &end, base );                                  
   4bba4:	2f03           	movel %d3,%sp@-                             
   4bba6:	4eb9 0005 1230 	jsr 51230 <strtoul>                         
                                                                      
  if ( endptr )                                                       
   4bbac:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4bbb0:	2400           	movel %d0,%d2                               
                                                                      
  if ( endptr )                                                       
   4bbb2:	4a8b           	tstl %a3                                    
   4bbb4:	6704           	beqs 4bbba <rtems_string_to_unsigned_long+0x46>
    *endptr = end;                                                    
   4bbb6:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4bbba:	b6ae fffc      	cmpl %fp@(-4),%d3                           
   4bbbe:	6604           	bnes 4bbc4 <rtems_string_to_unsigned_long+0x50>
   4bbc0:	700b           	moveq #11,%d0                               
   4bbc2:	6020           	bras 4bbe4 <rtems_string_to_unsigned_long+0x70>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4bbc4:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4bbca:	7222           	moveq #34,%d1                               
   4bbcc:	2040           	moveal %d0,%a0                              
   4bbce:	b290           	cmpl %a0@,%d1                               
   4bbd0:	660e           	bnes 4bbe0 <rtems_string_to_unsigned_long+0x6c>
   4bbd2:	2002           	movel %d2,%d0                               
   4bbd4:	5380           	subql #1,%d0                                
   4bbd6:	72fd           	moveq #-3,%d1                               
   4bbd8:	b280           	cmpl %d0,%d1                                
   4bbda:	6404           	bccs 4bbe0 <rtems_string_to_unsigned_long+0x6c><== NEVER TAKEN
   4bbdc:	700a           	moveq #10,%d0                               
   4bbde:	6004           	bras 4bbe4 <rtems_string_to_unsigned_long+0x70>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4bbe0:	2482           	movel %d2,%a2@                              
   4bbe2:	4280           	clrl %d0                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4bbe4:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   4bbea:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004bae4 <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
   4bae4:	4e56 ffe0      	linkw %fp,#-32                              
   4bae8:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   4baec:	242e 0008      	movel %fp@(8),%d2                           
   4baf0:	246e 000c      	moveal %fp@(12),%a2                         
   4baf4:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4baf8:	4a8a           	tstl %a2                                    
   4bafa:	6604           	bnes 4bb00 <rtems_string_to_unsigned_long_long+0x1c>
   4bafc:	7009           	moveq #9,%d0                                
   4bafe:	606a           	bras 4bb6a <rtems_string_to_unsigned_long_long+0x86>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4bb00:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4bb06:	2040           	moveal %d0,%a0                              
  *n = 0;                                                             
   4bb08:	4280           	clrl %d0                                    
   4bb0a:	4281           	clrl %d1                                    
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4bb0c:	4290           	clrl %a0@                                   
  *n = 0;                                                             
   4bb0e:	2480           	movel %d0,%a2@                              
   4bb10:	2541 0004      	movel %d1,%a2@(4)                           
                                                                      
  result = strtoull( s, &end, base );                                 
   4bb14:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4bb18:	486e fffc      	pea %fp@(-4)                                
   4bb1c:	2f02           	movel %d2,%sp@-                             
   4bb1e:	4eb9 0005 1250 	jsr 51250 <strtoull>                        
                                                                      
  if ( endptr )                                                       
   4bb24:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
   4bb28:	2600           	movel %d0,%d3                               
   4bb2a:	2801           	movel %d1,%d4                               
                                                                      
  if ( endptr )                                                       
   4bb2c:	4a8b           	tstl %a3                                    
   4bb2e:	6704           	beqs 4bb34 <rtems_string_to_unsigned_long_long+0x50>
    *endptr = end;                                                    
   4bb30:	26ae fffc      	movel %fp@(-4),%a3@                         
                                                                      
  if ( end == s )                                                     
   4bb34:	b4ae fffc      	cmpl %fp@(-4),%d2                           
   4bb38:	6604           	bnes 4bb3e <rtems_string_to_unsigned_long_long+0x5a>
   4bb3a:	700b           	moveq #11,%d0                               
   4bb3c:	602c           	bras 4bb6a <rtems_string_to_unsigned_long_long+0x86>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4bb3e:	4eb9 0004 e228 	jsr 4e228 <__errno>                         
   4bb44:	7222           	moveq #34,%d1                               
   4bb46:	2040           	moveal %d0,%a0                              
   4bb48:	b290           	cmpl %a0@,%d1                               
   4bb4a:	6616           	bnes 4bb62 <rtems_string_to_unsigned_long_long+0x7e>
   4bb4c:	70ff           	moveq #-1,%d0                               
   4bb4e:	72ff           	moveq #-1,%d1                               
   4bb50:	7aff           	moveq #-1,%d5                               
   4bb52:	7cfd           	moveq #-3,%d6                               
   4bb54:	d284           	addl %d4,%d1                                
   4bb56:	d183           	addxl %d3,%d0                               
   4bb58:	9c81           	subl %d1,%d6                                
   4bb5a:	9b80           	subxl %d0,%d5                               
   4bb5c:	6404           	bccs 4bb62 <rtems_string_to_unsigned_long_long+0x7e><== NEVER TAKEN
   4bb5e:	700a           	moveq #10,%d0                               
   4bb60:	6008           	bras 4bb6a <rtems_string_to_unsigned_long_long+0x86>
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4bb62:	4280           	clrl %d0                                    
   4bb64:	2483           	movel %d3,%a2@                              
   4bb66:	2544 0004      	movel %d4,%a2@(4)                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4bb6a:	4cee 0c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a3            
   4bb70:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004dc74 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
   4dc74:	4e56 ffe4      	linkw %fp,#-28                              
   4dc78:	48d7 1c3c      	moveml %d2-%d5/%a2-%a4,%sp@                 
   4dc7c:	262e 0008      	movel %fp@(8),%d3                           
   4dc80:	282e 000c      	movel %fp@(12),%d4                          
   4dc84:	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 )                                           
   4dc88:	4a8c           	tstl %a4                                    
   4dc8a:	6606           	bnes 4dc92 <rtems_task_mode+0x1e>           
   4dc8c:	7009           	moveq #9,%d0                                
   4dc8e:	6000 00fc      	braw 4dd8c <rtems_task_mode+0x118>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
   4dc92:	2479 0005 eff6 	moveal 5eff6 <_Thread_Executing>,%a2        
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
   4dc98:	4a2a 0075      	tstb %a2@(117)                              
   4dc9c:	57c0           	seq %d0                                     
   4dc9e:	243c 0000 0100 	movel #256,%d2                              
   4dca4:	49c0           	extbl %d0                                   
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   4dca6:	266a 010a      	moveal %a2@(266),%a3                        
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
   4dcaa:	c480           	andl %d0,%d2                                
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
   4dcac:	4aaa 007a      	tstl %a2@(122)                              
   4dcb0:	6704           	beqs 4dcb6 <rtems_task_mode+0x42>           
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
   4dcb2:	08c2 0009      	bset #9,%d2                                 
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
   4dcb6:	4a2b 0008      	tstb %a3@(8)                                
   4dcba:	57c0           	seq %d0                                     
   4dcbc:	2a3c 0000 0400 	movel #1024,%d5                             
   4dcc2:	49c0           	extbl %d0                                   
   4dcc4:	ca80           	andl %d0,%d5                                
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
   4dcc6:	4eb9 0004 89cc 	jsr 489cc <_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;           
   4dccc:	8085           	orl %d5,%d0                                 
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
   4dcce:	8082           	orl %d2,%d0                                 
   4dcd0:	2880           	movel %d0,%a4@                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
                                                                      
  if ( mask & RTEMS_PREEMPT_MASK )                                    
   4dcd2:	0804 0008      	btst #8,%d4                                 
   4dcd6:	670e           	beqs 4dce6 <rtems_task_mode+0x72>           
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
   4dcd8:	2003           	movel %d3,%d0                               
   4dcda:	7201           	moveq #1,%d1                                
   4dcdc:	e088           	lsrl #8,%d0                                 
   4dcde:	b380           	eorl %d1,%d0                                
   4dce0:	c081           	andl %d1,%d0                                
   4dce2:	1540 0075      	moveb %d0,%a2@(117)                         
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
   4dce6:	0804 0009      	btst #9,%d4                                 
   4dcea:	671c           	beqs 4dd08 <rtems_task_mode+0x94>           
    if ( _Modes_Is_timeslice(mode_set) ) {                            
   4dcec:	0803 0009      	btst #9,%d3                                 
   4dcf0:	6712           	beqs 4dd04 <rtems_task_mode+0x90>           
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
   4dcf2:	41f9 0005 eeec 	lea 5eeec <_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;
   4dcf8:	7001           	moveq #1,%d0                                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
   4dcfa:	2550 0076      	movel %a0@,%a2@(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;
   4dcfe:	2540 007a      	movel %d0,%a2@(122)                         
   4dd02:	6004           	bras 4dd08 <rtems_task_mode+0x94>           
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
   4dd04:	42aa 007a      	clrl %a2@(122)                              
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
                                                                      
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
   4dd08:	7007           	moveq #7,%d0                                
   4dd0a:	c084           	andl %d4,%d0                                
   4dd0c:	6712           	beqs 4dd20 <rtems_task_mode+0xac>           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
   4dd0e:	40c0           	movew %sr,%d0                               
   4dd10:	7207           	moveq #7,%d1                                
   4dd12:	c283           	andl %d3,%d1                                
   4dd14:	0280 0000 f8ff 	andil #63743,%d0                            
   4dd1a:	e189           	lsll #8,%d1                                 
   4dd1c:	8081           	orl %d1,%d0                                 
   4dd1e:	46c0           	movew %d0,%sr                               
   */                                                                 
                                                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
   4dd20:	0804 000a      	btst #10,%d4                                
   4dd24:	6744           	beqs 4dd6a <rtems_task_mode+0xf6>           
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
   4dd26:	700a           	moveq #10,%d0                               
   4dd28:	e0ab           	lsrl %d0,%d3                                
   4dd2a:	7201           	moveq #1,%d1                                
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
   4dd2c:	4280           	clrl %d0                                    
   4dd2e:	102b 0008      	moveb %a3@(8),%d0                           
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
   4dd32:	b383           	eorl %d1,%d3                                
   4dd34:	c681           	andl %d1,%d3                                
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
   4dd36:	b083           	cmpl %d3,%d0                                
   4dd38:	6730           	beqs 4dd6a <rtems_task_mode+0xf6>           
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
   4dd3a:	203c 0000 0700 	movel #1792,%d0                             
  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 ) {                        
      asr->is_enabled = is_asr_enabled;                               
   4dd40:	1743 0008      	moveb %d3,%a3@(8)                           
   4dd44:	40c1           	movew %sr,%d1                               
   4dd46:	8081           	orl %d1,%d0                                 
   4dd48:	46c0           	movew %d0,%sr                               
    _signals                     = information->signals_pending;      
   4dd4a:	202b 0016      	movel %a3@(22),%d0                          
    information->signals_pending = information->signals_posted;       
   4dd4e:	276b 0012 0016 	movel %a3@(18),%a3@(22)                     
    information->signals_posted  = _signals;                          
   4dd54:	2740 0012      	movel %d0,%a3@(18)                          
  _ISR_Enable( _level );                                              
   4dd58:	46c1           	movew %d1,%sr                               
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
   4dd5a:	4aab 0012      	tstl %a3@(18)                               
   4dd5e:	670a           	beqs 4dd6a <rtems_task_mode+0xf6>           
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
        needs_asr_dispatching = true;                                 
        executing->do_post_task_switch_extension = true;              
   4dd60:	7001           	moveq #1,%d0                                
   4dd62:	7401           	moveq #1,%d2                                
   4dd64:	1540 0074      	moveb %d0,%a2@(116)                         
   4dd68:	6002           	bras 4dd6c <rtems_task_mode+0xf8>           
   4dd6a:	4202           	clrb %d2                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) )                   
   4dd6c:	7203           	moveq #3,%d1                                
   4dd6e:	b2b9 0005 f0c4 	cmpl 5f0c4 <_System_state_Current>,%d1      
   4dd74:	6614           	bnes 4dd8a <rtems_task_mode+0x116>          <== NEVER TAKEN
    if ( _Thread_Evaluate_mode() || needs_asr_dispatching )           
   4dd76:	4eb9 0004 df68 	jsr 4df68 <_Thread_Evaluate_mode>           
   4dd7c:	4a00           	tstb %d0                                    
   4dd7e:	6604           	bnes 4dd84 <rtems_task_mode+0x110>          
   4dd80:	4a02           	tstb %d2                                    
   4dd82:	6706           	beqs 4dd8a <rtems_task_mode+0x116>          
      _Thread_Dispatch();                                             
   4dd84:	4eb9 0004 7560 	jsr 47560 <_Thread_Dispatch>                
   4dd8a:	4280           	clrl %d0                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dd8c:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4dd92:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004955c <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
   4955c:	4e56 fffc      	linkw %fp,#-4                               
   49560:	2f0a           	movel %a2,%sp@-                             
   49562:	246e 0010      	moveal %fp@(16),%a2                         
   49566:	2f02           	movel %d2,%sp@-                             
   49568:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations               location;                           
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
   4956c:	6710           	beqs 4957e <rtems_task_set_priority+0x22>   
   4956e:	4280           	clrl %d0                                    
   49570:	1039 0006 0ff2 	moveb 60ff2 <rtems_maximum_priority>,%d0    
   49576:	b082           	cmpl %d2,%d0                                
   49578:	6404           	bccs 4957e <rtems_task_set_priority+0x22>   
   4957a:	7013           	moveq #19,%d0                               
   4957c:	6054           	bras 495d2 <rtems_task_set_priority+0x76>   
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
   4957e:	4a8a           	tstl %a2                                    
   49580:	6604           	bnes 49586 <rtems_task_set_priority+0x2a>   
   49582:	7009           	moveq #9,%d0                                
   49584:	604c           	bras 495d2 <rtems_task_set_priority+0x76>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   49586:	486e fffc      	pea %fp@(-4)                                
   4958a:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4958e:	4eb9 0004 b268 	jsr 4b268 <_Thread_Get>                     
  switch ( location ) {                                               
   49594:	508f           	addql #8,%sp                                
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   49596:	2040           	moveal %d0,%a0                              
  switch ( location ) {                                               
   49598:	4aae fffc      	tstl %fp@(-4)                               
   4959c:	6704           	beqs 495a2 <rtems_task_set_priority+0x46>   
   4959e:	7004           	moveq #4,%d0                                
   495a0:	6030           	bras 495d2 <rtems_task_set_priority+0x76>   
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
   495a2:	24a8 0014      	movel %a0@(20),%a2@                         
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
   495a6:	4a82           	tstl %d2                                    
   495a8:	6720           	beqs 495ca <rtems_task_set_priority+0x6e>   
        the_thread->real_priority = new_priority;                     
   495aa:	2142 0018      	movel %d2,%a0@(24)                          
        if ( the_thread->resource_count == 0 ||                       
   495ae:	4aa8 001c      	tstl %a0@(28)                               
   495b2:	6706           	beqs 495ba <rtems_task_set_priority+0x5e>   
             the_thread->current_priority > new_priority )            
   495b4:	b4a8 0014      	cmpl %a0@(20),%d2                           
   495b8:	6410           	bccs 495ca <rtems_task_set_priority+0x6e>   <== ALWAYS TAKEN
          _Thread_Change_priority( the_thread, new_priority, false ); 
   495ba:	42a7           	clrl %sp@-                                  
   495bc:	2f02           	movel %d2,%sp@-                             
   495be:	2f08           	movel %a0,%sp@-                             
   495c0:	4eb9 0004 ad18 	jsr 4ad18 <_Thread_Change_priority>         
   495c6:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
      _Thread_Enable_dispatch();                                      
   495ca:	4eb9 0004 b212 	jsr 4b212 <_Thread_Enable_dispatch>         
   495d0:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   495d2:	242e fff4      	movel %fp@(-12),%d2                         
   495d6:	246e fff8      	moveal %fp@(-8),%a2                         
   495da:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00044710 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
   44710:	7209           	moveq #9,%d1                                
#include <rtems/termiostypes.h>                                       
                                                                      
int rtems_termios_baud_to_index(                                      
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
   44712:	4e56 0000      	linkw %fp,#0                                
   44716:	202e 0008      	movel %fp@(8),%d0                           
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   4471a:	b280           	cmpl %d0,%d1                                
   4471c:	6700 00ce      	beqw 447ec <rtems_termios_baud_to_index+0xdc>
   44720:	6d54           	blts 44776 <rtems_termios_baud_to_index+0x66><== NEVER TAKEN
   44722:	123c 0004      	moveb #4,%d1                                
   44726:	b280           	cmpl %d0,%d1                                
   44728:	6700 00ae      	beqw 447d8 <rtems_termios_baud_to_index+0xc8>
   4472c:	6d2a           	blts 44758 <rtems_termios_baud_to_index+0x48><== NEVER TAKEN
   4472e:	123c 0001      	moveb #1,%d1                                
   44732:	b280           	cmpl %d0,%d1                                
   44734:	6700 0092      	beqw 447c8 <rtems_termios_baud_to_index+0xb8>
   44738:	6d0a           	blts 44744 <rtems_termios_baud_to_index+0x34><== NEVER TAKEN
   4473a:	4a80           	tstl %d0                                    
   4473c:	6700 008e      	beqw 447cc <rtems_termios_baud_to_index+0xbc>
   44740:	6000 00d6      	braw 44818 <rtems_termios_baud_to_index+0x108>
   44744:	7202           	moveq #2,%d1                                
   44746:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44748:	6700 0086      	beqw 447d0 <rtems_termios_baud_to_index+0xc0><== NOT EXECUTED
   4474c:	123c 0003      	moveb #3,%d1                                <== NOT EXECUTED
   44750:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44752:	6600 00c4      	bnew 44818 <rtems_termios_baud_to_index+0x108><== NOT EXECUTED
   44756:	607c           	bras 447d4 <rtems_termios_baud_to_index+0xc4><== NOT EXECUTED
   44758:	7206           	moveq #6,%d1                                <== NOT EXECUTED
   4475a:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4475c:	6700 0082      	beqw 447e0 <rtems_termios_baud_to_index+0xd0><== NOT EXECUTED
   44760:	6e7a           	bgts 447dc <rtems_termios_baud_to_index+0xcc><== NOT EXECUTED
   44762:	123c 0007      	moveb #7,%d1                                <== NOT EXECUTED
   44766:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44768:	677a           	beqs 447e4 <rtems_termios_baud_to_index+0xd4><== NOT EXECUTED
   4476a:	123c 0008      	moveb #8,%d1                                <== NOT EXECUTED
   4476e:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44770:	6600 00a6      	bnew 44818 <rtems_termios_baud_to_index+0x108><== NOT EXECUTED
   44774:	6072           	bras 447e8 <rtems_termios_baud_to_index+0xd8><== NOT EXECUTED
   44776:	720e           	moveq #14,%d1                               <== NOT EXECUTED
   44778:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4477a:	6700 0084      	beqw 44800 <rtems_termios_baud_to_index+0xf0><== NOT EXECUTED
   4477e:	6d1c           	blts 4479c <rtems_termios_baud_to_index+0x8c><== NOT EXECUTED
   44780:	123c 000b      	moveb #11,%d1                               <== NOT EXECUTED
   44784:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44786:	676c           	beqs 447f4 <rtems_termios_baud_to_index+0xe4><== NOT EXECUTED
   44788:	6e66           	bgts 447f0 <rtems_termios_baud_to_index+0xe0><== NOT EXECUTED
   4478a:	123c 000c      	moveb #12,%d1                               <== NOT EXECUTED
   4478e:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44790:	6766           	beqs 447f8 <rtems_termios_baud_to_index+0xe8><== NOT EXECUTED
   44792:	123c 000d      	moveb #13,%d1                               <== NOT EXECUTED
   44796:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44798:	667e           	bnes 44818 <rtems_termios_baud_to_index+0x108><== NOT EXECUTED
   4479a:	6060           	bras 447fc <rtems_termios_baud_to_index+0xec><== NOT EXECUTED
   4479c:	0c80 0000 1002 	cmpil #4098,%d0                             <== NOT EXECUTED
   447a2:	6768           	beqs 4480c <rtems_termios_baud_to_index+0xfc><== NOT EXECUTED
   447a4:	6e10           	bgts 447b6 <rtems_termios_baud_to_index+0xa6><== NOT EXECUTED
   447a6:	720f           	moveq #15,%d1                               <== NOT EXECUTED
   447a8:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   447aa:	6758           	beqs 44804 <rtems_termios_baud_to_index+0xf4><== NOT EXECUTED
   447ac:	0c80 0000 1001 	cmpil #4097,%d0                             <== NOT EXECUTED
   447b2:	6664           	bnes 44818 <rtems_termios_baud_to_index+0x108><== NOT EXECUTED
   447b4:	6052           	bras 44808 <rtems_termios_baud_to_index+0xf8><== NOT EXECUTED
   447b6:	0c80 0000 1003 	cmpil #4099,%d0                             <== NOT EXECUTED
   447bc:	6752           	beqs 44810 <rtems_termios_baud_to_index+0x100><== NOT EXECUTED
   447be:	0c80 0000 1004 	cmpil #4100,%d0                             <== NOT EXECUTED
   447c4:	6652           	bnes 44818 <rtems_termios_baud_to_index+0x108><== NOT EXECUTED
   447c6:	604c           	bras 44814 <rtems_termios_baud_to_index+0x104><== NOT EXECUTED
   447c8:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   447ca:	604e           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447cc:	4280           	clrl %d0                                    <== NOT EXECUTED
   447ce:	604a           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447d0:	7002           	moveq #2,%d0                                <== NOT EXECUTED
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
   447d2:	6046           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447d4:	7003           	moveq #3,%d0                                <== NOT EXECUTED
    case B110:      baud_index =  3;  break;                          
   447d6:	6042           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447d8:	7004           	moveq #4,%d0                                <== NOT EXECUTED
    case B134:      baud_index =  4;  break;                          
   447da:	603e           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447dc:	7005           	moveq #5,%d0                                <== NOT EXECUTED
    case B150:      baud_index =  5;  break;                          
   447de:	603a           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447e0:	7006           	moveq #6,%d0                                <== NOT EXECUTED
    case B200:      baud_index =  6;  break;                          
   447e2:	6036           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447e4:	7007           	moveq #7,%d0                                <== NOT EXECUTED
    case B300:      baud_index =  7;  break;                          
   447e6:	6032           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447e8:	7008           	moveq #8,%d0                                <== NOT EXECUTED
    case B600:      baud_index =  8;  break;                          
   447ea:	602e           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447ec:	7009           	moveq #9,%d0                                <== NOT EXECUTED
    case B1200:     baud_index =  9;  break;                          
   447ee:	602a           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447f0:	700a           	moveq #10,%d0                               <== NOT EXECUTED
    case B1800:     baud_index = 10;  break;                          
   447f2:	6026           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447f4:	700b           	moveq #11,%d0                               <== NOT EXECUTED
    case B2400:     baud_index = 11;  break;                          
   447f6:	6022           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447f8:	700c           	moveq #12,%d0                               <== NOT EXECUTED
    case B4800:     baud_index = 12;  break;                          
   447fa:	601e           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   447fc:	700d           	moveq #13,%d0                               <== NOT EXECUTED
    case B9600:     baud_index = 13;  break;                          
   447fe:	601a           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   44800:	700e           	moveq #14,%d0                               <== NOT EXECUTED
    case B19200:    baud_index = 14;  break;                          
   44802:	6016           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   44804:	700f           	moveq #15,%d0                               <== NOT EXECUTED
    case B38400:    baud_index = 15;  break;                          
   44806:	6012           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   44808:	7010           	moveq #16,%d0                               <== NOT EXECUTED
    case B57600:    baud_index = 16;  break;                          
   4480a:	600e           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   4480c:	7011           	moveq #17,%d0                               <== NOT EXECUTED
    case B115200:   baud_index = 17;  break;                          
   4480e:	600a           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   44810:	7012           	moveq #18,%d0                               <== NOT EXECUTED
    case B230400:   baud_index = 18;  break;                          
   44812:	6006           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   44814:	7013           	moveq #19,%d0                               <== NOT EXECUTED
    case B460800:   baud_index = 19;  break;                          
   44816:	6002           	bras 4481a <rtems_termios_baud_to_index+0x10a><== NOT EXECUTED
   44818:	70ff           	moveq #-1,%d0                               
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   4481a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000435d8 <rtems_termios_baud_to_number>: 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;
   435d8:	203c 0000 04b0 	movel #1200,%d0                             
#include <rtems/termiostypes.h>                                       
                                                                      
int32_t rtems_termios_baud_to_number(                                 
  int termios_baud                                                    
)                                                                     
{                                                                     
   435de:	4e56 0000      	linkw %fp,#0                                
   435e2:	222e 0008      	movel %fp@(8),%d1                           
   435e6:	2f02           	movel %d2,%sp@-                             
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   435e8:	7409           	moveq #9,%d2                                
   435ea:	b481           	cmpl %d1,%d2                                
   435ec:	6700 0108      	beqw 436f6 <rtems_termios_baud_to_number+0x11e>
   435f0:	6d6c           	blts 4365e <rtems_termios_baud_to_number+0x86>
   435f2:	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;                            
   435f6:	303c 0086      	movew #134,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   435fa:	b481           	cmpl %d1,%d2                                
   435fc:	6700 00f8      	beqw 436f6 <rtems_termios_baud_to_number+0x11e>
   43600:	6d2a           	blts 4362c <rtems_termios_baud_to_number+0x54>
   43602:	103c 0001      	moveb #1,%d0                                
   43606:	b081           	cmpl %d1,%d0                                
   43608:	6700 00da      	beqw 436e4 <rtems_termios_baud_to_number+0x10c>
   4360c:	6d0a           	blts 43618 <rtems_termios_baud_to_number+0x40>
   4360e:	4a81           	tstl %d1                                    
   43610:	6700 00d6      	beqw 436e8 <rtems_termios_baud_to_number+0x110>
   43614:	6000 00de      	braw 436f4 <rtems_termios_baud_to_number+0x11c>
   43618:	7402           	moveq #2,%d2                                
   4361a:	b481           	cmpl %d1,%d2                                
   4361c:	6700 00ce      	beqw 436ec <rtems_termios_baud_to_number+0x114>
   43620:	7003           	moveq #3,%d0                                
   43622:	b081           	cmpl %d1,%d0                                
   43624:	6600 00ce      	bnew 436f4 <rtems_termios_baud_to_number+0x11c>
   43628:	6000 00c6      	braw 436f0 <rtems_termios_baud_to_number+0x118>
    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;                            
   4362c:	203c 0000 00c8 	movel #200,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43632:	7406           	moveq #6,%d2                                
   43634:	b481           	cmpl %d1,%d2                                
   43636:	6700 00be      	beqw 436f6 <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;                            
   4363a:	0680 ffff ffce 	addil #-50,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43640:	b481           	cmpl %d1,%d2                                
   43642:	6e00 00b2      	bgtw 436f6 <rtems_termios_baud_to_number+0x11e>
   43646:	143c 0007      	moveb #7,%d2                                
    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;                            
   4364a:	303c 012c      	movew #300,%d0                              
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4364e:	b481           	cmpl %d1,%d2                                
   43650:	6700 00a4      	beqw 436f6 <rtems_termios_baud_to_number+0x11e>
   43654:	143c 0008      	moveb #8,%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;                            
   43658:	303c 0258      	movew #600,%d0                              
   4365c:	6038           	bras 43696 <rtems_termios_baud_to_number+0xbe>
    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;                            
   4365e:	203c 0000 4b00 	movel #19200,%d0                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43664:	740e           	moveq #14,%d2                               
   43666:	b481           	cmpl %d1,%d2                                
   43668:	6700 008c      	beqw 436f6 <rtems_termios_baud_to_number+0x11e>
   4366c:	6d2e           	blts 4369c <rtems_termios_baud_to_number+0xc4>
   4366e:	143c 000b      	moveb #11,%d2                               
    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;                            
   43672:	303c 0960      	movew #2400,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43676:	b481           	cmpl %d1,%d2                                
   43678:	677c           	beqs 436f6 <rtems_termios_baud_to_number+0x11e>
    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;                            
   4367a:	303c 0708      	movew #1800,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4367e:	b481           	cmpl %d1,%d2                                
   43680:	6e74           	bgts 436f6 <rtems_termios_baud_to_number+0x11e>
   43682:	143c 000c      	moveb #12,%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;                            
   43686:	303c 12c0      	movew #4800,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   4368a:	b481           	cmpl %d1,%d2                                
   4368c:	6768           	beqs 436f6 <rtems_termios_baud_to_number+0x11e>
   4368e:	143c 000d      	moveb #13,%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;                            
   43692:	303c 2580      	movew #9600,%d0                             
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   43696:	b481           	cmpl %d1,%d2                                
   43698:	665a           	bnes 436f4 <rtems_termios_baud_to_number+0x11c><== NEVER TAKEN
   4369a:	605a           	bras 436f6 <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;                            
   4369c:	203c 0001 c200 	movel #115200,%d0                           
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   436a2:	0c81 0000 1002 	cmpil #4098,%d1                             
   436a8:	674c           	beqs 436f6 <rtems_termios_baud_to_number+0x11e>
   436aa:	6e1a           	bgts 436c6 <rtems_termios_baud_to_number+0xee>
   436ac:	740f           	moveq #15,%d2                               
    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;                            
   436ae:	203c 0000 9600 	movel #38400,%d0                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   436b4:	b481           	cmpl %d1,%d2                                
   436b6:	673e           	beqs 436f6 <rtems_termios_baud_to_number+0x11e>
    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;                            
   436b8:	303c e100      	movew #-7936,%d0                            
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   436bc:	0c81 0000 1001 	cmpil #4097,%d1                             
   436c2:	6630           	bnes 436f4 <rtems_termios_baud_to_number+0x11c><== NEVER TAKEN
   436c4:	6030           	bras 436f6 <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;                            
   436c6:	203c 0003 8400 	movel #230400,%d0                           
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   436cc:	0c81 0000 1003 	cmpil #4099,%d1                             
   436d2:	6722           	beqs 436f6 <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;                            
   436d4:	203c 0007 0800 	movel #460800,%d0                           
  int termios_baud                                                    
)                                                                     
{                                                                     
  int32_t baud;                                                       
                                                                      
  switch (termios_baud) {                                             
   436da:	0c81 0000 1004 	cmpil #4100,%d1                             
   436e0:	6612           	bnes 436f4 <rtems_termios_baud_to_number+0x11c><== NEVER TAKEN
   436e2:	6012           	bras 436f6 <rtems_termios_baud_to_number+0x11e>
   436e4:	7032           	moveq #50,%d0                               
   436e6:	600e           	bras 436f6 <rtems_termios_baud_to_number+0x11e>
   436e8:	4280           	clrl %d0                                    
   436ea:	600a           	bras 436f6 <rtems_termios_baud_to_number+0x11e>
   436ec:	704b           	moveq #75,%d0                               
    case B0:        baud =      0;  break;                            
    case B50:       baud =     50;  break;                            
    case B75:       baud =     75;  break;                            
   436ee:	6006           	bras 436f6 <rtems_termios_baud_to_number+0x11e>
   436f0:	706e           	moveq #110,%d0                              
    case B110:      baud =    110;  break;                            
   436f2:	6002           	bras 436f6 <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;                            
   436f4:	70ff           	moveq #-1,%d0                               
    default:        baud =     -1;  break;                            
  }                                                                   
                                                                      
  return baud;                                                        
}                                                                     
   436f6:	241f           	movel %sp@+,%d2                             
   436f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043738 <rtems_termios_bufsize>: { rtems_termios_cbufsize = cbufsize; rtems_termios_raw_input_size = raw_input; rtems_termios_raw_output_size = raw_output; return RTEMS_SUCCESSFUL; }
   43738:	4280           	clrl %d0                                    <== NOT EXECUTED
rtems_status_code rtems_termios_bufsize (                             
  int cbufsize,                                                       
  int raw_input,                                                      
  int raw_output                                                      
)                                                                     
{                                                                     
   4373a:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  rtems_termios_cbufsize        = cbufsize;                           
   4373e:	41ee 0008      	lea %fp@(8),%a0                             <== NOT EXECUTED
   43742:	23d0 0005 d7c0 	movel %a0@,5d7c0 <rtems_termios_cbufsize>   <== NOT EXECUTED
  rtems_termios_raw_input_size  = raw_input;                          
   43748:	41ee 000c      	lea %fp@(12),%a0                            <== NOT EXECUTED
   4374c:	23d0 0005 d7c4 	movel %a0@,5d7c4 <rtems_termios_raw_input_size><== NOT EXECUTED
  rtems_termios_raw_output_size = raw_output;                         
   43752:	41ee 0010      	lea %fp@(16),%a0                            <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   43756:	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;                         
   43758:	23d0 0005 d7c8 	movel %a0@,5d7c8 <rtems_termios_raw_output_size><== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      

00044920 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
   44920:	4e56 fff4      	linkw %fp,#-12                              
   44924:	48d7 1c00      	moveml %a2-%a4,%sp@                         
   44928:	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 (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4492c:	49f9 0004 57c0 	lea 457c0 <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;                    
   44932:	2053           	moveal %a3@,%a0                             
   44934:	2468 0034      	moveal %a0@(52),%a2                         
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44938:	42a7           	clrl %sp@-                                  
   4493a:	42a7           	clrl %sp@-                                  
   4493c:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  
   44942:	4e94           	jsr %a4@                                    
	if (sc != RTEMS_SUCCESSFUL)                                          
   44944:	4fef 000c      	lea %sp@(12),%sp                            
   44948:	4a80           	tstl %d0                                    
   4494a:	6670           	bnes 449bc <rtems_termios_close+0x9c>       <== NEVER TAKEN
		rtems_fatal_error_occurred (sc);                                    
	if (--tty->refcount == 0) {                                          
   4494c:	202a 0008      	movel %a2@(8),%d0                           
   44950:	5380           	subql #1,%d0                                
   44952:	2540 0008      	movel %d0,%a2@(8)                           
   44956:	6600 0110      	bnew 44a68 <rtems_termios_close+0x148>      
                if (rtems_termios_linesw[tty->t_line].l_close != NULL) {
   4495a:	202a 00cc      	movel %a2@(204),%d0                         
   4495e:	41f9 0005 e5dc 	lea 5e5dc <rtems_termios_linesw>,%a0        
   44964:	e788           	lsll #3,%d0                                 
   44966:	2070 0c04      	moveal %a0@(00000004,%d0:l:4),%a0           
   4496a:	4a88           	tstl %a0                                    
   4496c:	6706           	beqs 44974 <rtems_termios_close+0x54>       <== ALWAYS TAKEN
			/*                                                                 
			 * call discipline-specific close                                  
			 */                                                                
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
   4496e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44970:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44972:	6018           	bras 4498c <rtems_termios_close+0x6c>       <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * default: just flush output buffer                               
			 */                                                                
			sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44974:	42a7           	clrl %sp@-                                  
   44976:	42a7           	clrl %sp@-                                  
   44978:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4497c:	4e94           	jsr %a4@                                    
			if (sc != RTEMS_SUCCESSFUL) {                                      
   4497e:	4fef 000c      	lea %sp@(12),%sp                            
   44982:	4a80           	tstl %d0                                    
   44984:	6636           	bnes 449bc <rtems_termios_close+0x9c>       <== NEVER TAKEN
				rtems_fatal_error_occurred (sc);                                  
			}                                                                  
		        drainOutput (tty);                                          
   44986:	2f0a           	movel %a2,%sp@-                             
   44988:	4eba f940      	jsr %pc@(442ca <drainOutput>)               
   4498c:	588f           	addql #4,%sp                                
		}                                                                   
                                                                      
		if (tty->device.outputUsesInterrupts                                
   4498e:	7002           	moveq #2,%d0                                
   44990:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   44994:	662e           	bnes 449c4 <rtems_termios_close+0xa4>       <== ALWAYS TAKEN
		    == TERMIOS_TASK_DRIVEN) {                                       
			/*                                                                 
			 * send "terminate" to I/O tasks                                   
			 */                                                                
			sc = rtems_event_send(                                             
   44996:	4878 0001      	pea 1 <ADD>                                 
   4499a:	49f9 0004 536c 	lea 4536c <rtems_event_send>,%a4            <== NOT EXECUTED
   449a0:	2f2a 00c4      	movel %a2@(196),%sp@-                       <== NOT EXECUTED
   449a4:	4e94           	jsr %a4@                                    <== NOT EXECUTED
                                  tty->rxTaskId,                      
				  TERMIOS_RX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
   449a6:	508f           	addql #8,%sp                                <== NOT EXECUTED
   449a8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   449aa:	6610           	bnes 449bc <rtems_termios_close+0x9c>       <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_event_send(                                             
   449ac:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   449b0:	2f2a 00c8      	movel %a2@(200),%sp@-                       <== NOT EXECUTED
   449b4:	4e94           	jsr %a4@                                    <== NOT EXECUTED
                                  tty->txTaskId,                      
				  TERMIOS_TX_TERMINATE_EVENT);                                    
			if (sc != RTEMS_SUCCESSFUL)                                        
   449b6:	508f           	addql #8,%sp                                <== NOT EXECUTED
   449b8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   449ba:	6708           	beqs 449c4 <rtems_termios_close+0xa4>       <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
   449bc:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   449be:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
		}                                                                   
		if (tty->device.lastClose)                                          
   449c4:	206a 009c      	moveal %a2@(156),%a0                        
   449c8:	4a88           	tstl %a0                                    
   449ca:	6710           	beqs 449dc <rtems_termios_close+0xbc>       
			 (*tty->device.lastClose)(tty->major, tty->minor, arg);            
   449cc:	2f0b           	movel %a3,%sp@-                             
   449ce:	2f2a 0010      	movel %a2@(16),%sp@-                        
   449d2:	2f2a 000c      	movel %a2@(12),%sp@-                        
   449d6:	4e90           	jsr %a0@                                    
   449d8:	4fef 000c      	lea %sp@(12),%sp                            
		if (tty->forw == NULL) {                                            
   449dc:	2052           	moveal %a2@,%a0                             
   449de:	4a88           	tstl %a0                                    
   449e0:	6610           	bnes 449f2 <rtems_termios_close+0xd2>       
			rtems_termios_ttyTail = tty->back;                                 
   449e2:	206a 0004      	moveal %a2@(4),%a0                          
   449e6:	23c8 0005 ee24 	movel %a0,5ee24 <rtems_termios_ttyTail>     
			if ( rtems_termios_ttyTail != NULL ) {                             
   449ec:	670a           	beqs 449f8 <rtems_termios_close+0xd8>       <== ALWAYS TAKEN
				rtems_termios_ttyTail->forw = NULL;                               
   449ee:	4290           	clrl %a0@                                   <== NOT EXECUTED
   449f0:	6006           	bras 449f8 <rtems_termios_close+0xd8>       <== NOT EXECUTED
			}                                                                  
		}                                                                   
		else {                                                              
			tty->forw->back = tty->back;                                       
   449f2:	216a 0004 0004 	movel %a2@(4),%a0@(4)                       
		}                                                                   
		if (tty->back == NULL) {                                            
   449f8:	206a 0004      	moveal %a2@(4),%a0                          
   449fc:	4a88           	tstl %a0                                    
   449fe:	6610           	bnes 44a10 <rtems_termios_close+0xf0>       <== NEVER TAKEN
			rtems_termios_ttyHead = tty->forw;                                 
   44a00:	2052           	moveal %a2@,%a0                             
   44a02:	23c8 0005 ee28 	movel %a0,5ee28 <rtems_termios_ttyHead>     
			if ( rtems_termios_ttyHead != NULL ) {                             
   44a08:	6708           	beqs 44a12 <rtems_termios_close+0xf2>       
				rtems_termios_ttyHead->back = NULL;                               
   44a0a:	42a8 0004      	clrl %a0@(4)                                
   44a0e:	6002           	bras 44a12 <rtems_termios_close+0xf2>       
			}                                                                  
		}                                                                   
		else {                                                              
			tty->back->forw = tty->forw;                                       
   44a10:	2092           	movel %a2@,%a0@                             
		}                                                                   
		rtems_semaphore_delete (tty->isem);                                 
   44a12:	2f2a 0014      	movel %a2@(20),%sp@-                        
   44a16:	47f9 0004 5724 	lea 45724 <rtems_semaphore_delete>,%a3      
   44a1c:	4e93           	jsr %a3@                                    
		rtems_semaphore_delete (tty->osem);                                 
   44a1e:	2f2a 0018      	movel %a2@(24),%sp@-                        
   44a22:	4e93           	jsr %a3@                                    
		rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                  
   44a24:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44a28:	4e93           	jsr %a3@                                    
		if ((tty->device.pollRead == NULL) ||                               
   44a2a:	4fef 000c      	lea %sp@(12),%sp                            
   44a2e:	4aaa 00a0      	tstl %a2@(160)                              
   44a32:	6708           	beqs 44a3c <rtems_termios_close+0x11c>      
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))      
   44a34:	7002           	moveq #2,%d0                                
   44a36:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   44a3a:	660c           	bnes 44a48 <rtems_termios_close+0x128>      <== ALWAYS TAKEN
			rtems_semaphore_delete (tty->rawInBuf.Semaphore);                  
   44a3c:	2f2a 0068      	movel %a2@(104),%sp@-                       
   44a40:	4eb9 0004 5724 	jsr 45724 <rtems_semaphore_delete>          
   44a46:	588f           	addql #4,%sp                                
		free (tty->rawInBuf.theBuf);                                        
   44a48:	2f2a 0058      	movel %a2@(88),%sp@-                        
   44a4c:	47f9 0004 2828 	lea 42828 <free>,%a3                        
   44a52:	4e93           	jsr %a3@                                    
		free (tty->rawOutBuf.theBuf);                                       
   44a54:	2f2a 007c      	movel %a2@(124),%sp@-                       
   44a58:	4e93           	jsr %a3@                                    
		free (tty->cbuf);                                                   
   44a5a:	2f2a 001c      	movel %a2@(28),%sp@-                        
   44a5e:	4e93           	jsr %a3@                                    
		free (tty);                                                         
   44a60:	2f0a           	movel %a2,%sp@-                             
   44a62:	4e93           	jsr %a3@                                    
   44a64:	4fef 0010      	lea %sp@(16),%sp                            
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
   44a68:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  
   44a6e:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
	return RTEMS_SUCCESSFUL;                                             
}                                                                     
   44a74:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   44a7a:	4280           	clrl %d0                                    
   44a7c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043936 <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) {
   43936:	4e56 0000      	linkw %fp,#0                                
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
   4393a:	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)                
{                                                                     
   4393e:	206e 0008      	moveal %fp@(8),%a0                          
	rtems_status_code sc;                                                
                                                                      
	/*                                                                   
	 * sum up character count already sent                               
	 */                                                                  
	tty->t_dqlen += len;                                                 
   43942:	d1a8 0090      	addl %d0,%a0@(144)                          
                                                                      
	if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {       
   43946:	7002           	moveq #2,%d0                                
   43948:	b0a8 00b4      	cmpl %a0@(180),%d0                          
   4394c:	661c           	bnes 4396a <rtems_termios_dequeue_characters+0x34><== ALWAYS TAKEN
		/*                                                                  
		 * send wake up to transmitter task                                 
		 */                                                                 
		sc = rtems_event_send(tty->txTaskId,                                
   4394e:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   43952:	2f28 00c8      	movel %a0@(200),%sp@-                       <== NOT EXECUTED
   43956:	4eb9 0004 536c 	jsr 4536c <rtems_event_send>                <== NOT EXECUTED
				      TERMIOS_TX_START_EVENT);                                    
		if (sc != RTEMS_SUCCESSFUL)                                         
   4395c:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4395e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   43960:	672e           	beqs 43990 <rtems_termios_dequeue_characters+0x5a><== NOT EXECUTED
			rtems_fatal_error_occurred (sc);                                   
   43962:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43964:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else if (tty->t_line == PPPDISC ) {                                  
   4396a:	7005           	moveq #5,%d0                                
   4396c:	b0a8 00cc      	cmpl %a0@(204),%d0                          
   43970:	6612           	bnes 43984 <rtems_termios_dequeue_characters+0x4e><== ALWAYS TAKEN
		/*                                                                  
		 * call any line discipline start function                          
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_start != NULL) {            
   43972:	2279 0005 e690 	moveal 5e690 <rtems_termios_linesw+0xb4>,%a1<== NOT EXECUTED
   43978:	4a89           	tstl %a1                                    <== NOT EXECUTED
   4397a:	6714           	beqs 43990 <rtems_termios_dequeue_characters+0x5a><== NOT EXECUTED
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
   4397c:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   4397e:	4e91           	jsr %a1@                                    <== NOT EXECUTED
   43980:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43982:	600c           	bras 43990 <rtems_termios_dequeue_characters+0x5a><== NOT EXECUTED
		}                                                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
   43984:	2d48 0008      	movel %a0,%fp@(8)                           
	}                                                                    
}                                                                     
   43988:	4e5e           	unlk %fp                                    
			rtems_termios_linesw[tty->t_line].l_start(tty);                    
		}                                                                   
		return 0; /* nothing to output in IRQ... */                         
	}                                                                    
	else {                                                               
		return rtems_termios_refill_transmitter(tty);                       
   4398a:	4ef9 0004 377c 	jmp 4377c <rtems_termios_refill_transmitter>
	}                                                                    
}                                                                     
   43990:	4280           	clrl %d0                                    <== NOT EXECUTED
   43992:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043996 <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) {
   43996:	4e56 ffd0      	linkw %fp,#-48                              <== NOT EXECUTED
   4399a:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 <== NOT EXECUTED
   4399e:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
   439a2:	49f9 0005 e5dc 	lea 5e5dc <rtems_termios_linesw>,%a4        <== NOT EXECUTED
   439a8:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
   439ac:	266e 000c      	moveal %fp@(12),%a3                         <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
   439b0:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
   439b2:	242e 0010      	movel %fp@(16),%d2                          <== NOT EXECUTED
	char c;                                                              
	int dropped = 0;                                                     
	bool flow_rcv = false; /* true, if flow control char received */     
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
   439b6:	4ab4 0810      	tstl %a4@(00000010,%d0:l)                   <== NOT EXECUTED
   439ba:	6634           	bnes 439f0 <rtems_termios_enqueue_raw_characters+0x5a><== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   439bc:	2802           	movel %d2,%d4                               <== NOT EXECUTED
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
			(tty->rawOutBufState == rob_idle)) {                               
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
		      (*tty->device.write)(tty->minor,                              
   439be:	4bea 004a      	lea %a2@(74),%a5                            <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   439c2:	49ea 0030      	lea %a2@(48),%a4                            <== NOT EXECUTED
   439c6:	4282           	clrl %d2                                    <== NOT EXECUTED
	  }                                                                  
	  if (flow_rcv) {                                                    
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
   439c8:	2c3c 0000 0700 	movel #1792,%d6                             <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   439ce:	4200           	clrb %d0                                    <== NOT EXECUTED
   439d0:	1d40 fffb      	moveb %d0,%fp@(-5)                          <== NOT EXECUTED
   439d4:	6000 01f2      	braw 43bc8 <rtems_termios_enqueue_raw_characters+0x232><== NOT EXECUTED
	rtems_interrupt_level level;                                         
                                                                      
	if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {              
	  while (len--) {                                                    
	    c = *buf++;                                                      
	    rtems_termios_linesw[tty->t_line].l_rint(c,tty);                 
   439d8:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   439dc:	5382           	subql #1,%d2                                <== NOT EXECUTED
   439de:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   439e0:	121b           	moveb %a3@+,%d1                             <== NOT EXECUTED
   439e2:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   439e4:	49c1           	extbl %d1                                   <== NOT EXECUTED
   439e6:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   439e8:	2074 0810      	moveal %a4@(00000010,%d0:l),%a0             <== NOT EXECUTED
   439ec:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   439ee:	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--) {                                                    
   439f0:	4a82           	tstl %d2                                    <== NOT EXECUTED
   439f2:	66e4           	bnes 439d8 <rtems_termios_enqueue_raw_characters+0x42><== NOT EXECUTED
	  }                                                                  
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
   439f4:	4aaa 00e4      	tstl %a2@(228)                              <== NOT EXECUTED
   439f8:	6600 01e6      	bnew 43be0 <rtems_termios_enqueue_raw_characters+0x24a><== NOT EXECUTED
   439fc:	206a 00dc      	moveal %a2@(220),%a0                        <== NOT EXECUTED
   43a00:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43a02:	6700 01dc      	beqw 43be0 <rtems_termios_enqueue_raw_characters+0x24a><== NOT EXECUTED
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   43a06:	2f2a 00e0      	movel %a2@(224),%sp@-                       <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
   43a0a:	7a01           	moveq #1,%d5                                <== NOT EXECUTED
                                                                      
	  /*                                                                 
	   * check to see if rcv wakeup callback was set                     
	   */                                                                
	  if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
	    (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   43a0c:	486a 0030      	pea %a2@(48)                                <== NOT EXECUTED
   43a10:	4e90           	jsr %a0@                                    <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
   43a12:	508f           	addql #8,%sp                                <== NOT EXECUTED
   43a14:	2545 00e4      	movel %d5,%a2@(228)                         <== NOT EXECUTED
   43a18:	6000 01c8      	braw 43be2 <rtems_termios_enqueue_raw_characters+0x24c><== 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) {                                   
   43a1c:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
   43a20:	1e13           	moveb %a3@,%d7                              <== NOT EXECUTED
	  /* FIXME: implement IXANY: any character restarts output */        
	  /* if incoming XON/XOFF controls outgoing stream: */               
	  if (tty->flow_ctrl & FL_MDXON) {                                   
   43a22:	0800 0009      	btst #9,%d0                                 <== NOT EXECUTED
   43a26:	6744           	beqs 43a6c <rtems_termios_enqueue_raw_characters+0xd6><== NOT EXECUTED
	    /* if received char is V_STOP and V_START (both are equal value) */
	    if (c == tty->termios.c_cc[VSTOP]) {                             
   43a28:	4283           	clrl %d3                                    <== NOT EXECUTED
   43a2a:	162a 004a      	moveb %a2@(74),%d3                          <== NOT EXECUTED
   43a2e:	4281           	clrl %d1                                    <== NOT EXECUTED
   43a30:	122a 0049      	moveb %a2@(73),%d1                          <== NOT EXECUTED
   43a34:	1007           	moveb %d7,%d0                               <== NOT EXECUTED
   43a36:	49c0           	extbl %d0                                   <== NOT EXECUTED
   43a38:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   43a3a:	6622           	bnes 43a5e <rtems_termios_enqueue_raw_characters+0xc8><== NOT EXECUTED
	      if (c == tty->termios.c_cc[VSTART]) {                          
   43a3c:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   43a3e:	660a           	bnes 43a4a <rtems_termios_enqueue_raw_characters+0xb4><== NOT EXECUTED
		/* received VSTOP and VSTART==VSTOP? */                             
		/* then toggle "stop output" status  */                             
		tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;                       
   43a40:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43a44:	7210           	moveq #16,%d1                               <== NOT EXECUTED
   43a46:	b380           	eorl %d1,%d0                                <== NOT EXECUTED
   43a48:	6008           	bras 43a52 <rtems_termios_enqueue_raw_characters+0xbc><== NOT EXECUTED
	      }                                                              
	      else {                                                         
		/* VSTOP received (other code than VSTART) */                       
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
   43a4a:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43a4e:	7a10           	moveq #16,%d5                               <== NOT EXECUTED
   43a50:	8085           	orl %d5,%d0                                 <== NOT EXECUTED
   43a52:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
	return dropped;                                                      
   43a56:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   43a58:	1d40 fffb      	moveb %d0,%fp@(-5)                          <== NOT EXECUTED
   43a5c:	6014           	bras 43a72 <rtems_termios_enqueue_raw_characters+0xdc><== NOT EXECUTED
		/* stop output                             */                       
		tty->flow_ctrl |= FL_ORCVXOF;                                       
	      }                                                              
	      flow_rcv = true;                                               
	    }                                                                
	    else if (c == tty->termios.c_cc[VSTART]) {                       
   43a5e:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   43a60:	660a           	bnes 43a6c <rtems_termios_enqueue_raw_characters+0xd6><== NOT EXECUTED
	      /* VSTART received */                                          
	      /* restart output  */                                          
	      tty->flow_ctrl &= ~FL_ORCVXOF;                                 
   43a62:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43a66:	72ef           	moveq #-17,%d1                              <== NOT EXECUTED
   43a68:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   43a6a:	60e6           	bras 43a52 <rtems_termios_enqueue_raw_characters+0xbc><== NOT EXECUTED
	      flow_rcv = true;                                               
	    }                                                                
	  }                                                                  
	  if (flow_rcv) {                                                    
   43a6c:	4a2e fffb      	tstb %fp@(-5)                               <== NOT EXECUTED
   43a70:	674c           	beqs 43abe <rtems_termios_enqueue_raw_characters+0x128><== NOT EXECUTED
	    /* restart output according to FL_ORCVXOF flag */                
	    if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {    
   43a72:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43a76:	7a30           	moveq #48,%d5                               <== NOT EXECUTED
   43a78:	7220           	moveq #32,%d1                               <== NOT EXECUTED
   43a7a:	c085           	andl %d5,%d0                                <== NOT EXECUTED
   43a7c:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   43a7e:	6600 0144      	bnew 43bc4 <rtems_termios_enqueue_raw_characters+0x22e><== NOT EXECUTED
	      /* disable interrupts    */                                    
	      rtems_interrupt_disable(level);                                
   43a82:	2006           	movel %d6,%d0                               <== NOT EXECUTED
   43a84:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   43a86:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   43a88:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
	      tty->flow_ctrl &= ~FL_OSTOP;                                   
   43a8a:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43a8e:	7adf           	moveq #-33,%d5                              <== NOT EXECUTED
   43a90:	c085           	andl %d5,%d0                                <== NOT EXECUTED
   43a92:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
	      /* check for chars in output buffer (or rob_state?) */         
	      if (tty->rawOutBufState != rob_idle) {                         
   43a96:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   43a9a:	671c           	beqs 43ab8 <rtems_termios_enqueue_raw_characters+0x122><== NOT EXECUTED
	      /* if chars available, call write function... */               
		(*tty->device.write)(tty->minor,                                    
   43a9c:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
   43aa0:	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,                                    
   43aa4:	d0aa 007c      	addl %a2@(124),%d0                          <== NOT EXECUTED
   43aa8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43aaa:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43aae:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   43ab2:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43ab4:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);               
	      }                                                              
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
   43ab8:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
   43aba:	6000 0108      	braw 43bc4 <rtems_termios_enqueue_raw_characters+0x22e><== NOT EXECUTED
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
   43abe:	206a 0060      	moveal %a2@(96),%a0                         <== NOT EXECUTED
   43ac2:	5288           	addql #1,%a0                                <== NOT EXECUTED
   43ac4:	2208           	movel %a0,%d1                               <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
   43ac6:	2006           	movel %d6,%d0                               <== NOT EXECUTED
	      /* reenable interrupts */                                      
	      rtems_interrupt_enable(level);                                 
	    }                                                                
	  }                                                                  
	  else {                                                             
		newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;            
   43ac8:	226a 0064      	moveal %a2@(100),%a1                        <== NOT EXECUTED
   43acc:	2a09           	movel %a1,%d5                               <== NOT EXECUTED
   43ace:	4c45 1003      	remul %d5,%d3,%d1                           <== NOT EXECUTED
		/* if chars_in_buffer > highwater                */                 
		rtems_interrupt_disable(level);                                     
   43ad2:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   43ad4:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   43ad6:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
   43ad8:	2d41 fffc      	movel %d1,%fp@(-4)                          <== NOT EXECUTED
		if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)           
   43adc:	222a 005c      	movel %a2@(92),%d1                          <== NOT EXECUTED
   43ae0:	202a 0064      	movel %a2@(100),%d0                         <== NOT EXECUTED
   43ae4:	9081           	subl %d1,%d0                                <== NOT EXECUTED
   43ae6:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   43ae8:	d3c3           	addal %d3,%a1                               <== NOT EXECUTED
   43aea:	2a09           	movel %a1,%d5                               <== NOT EXECUTED
   43aec:	222a 0064      	movel %a2@(100),%d1                         <== NOT EXECUTED
   43af0:	4c41 5000      	remul %d1,%d0,%d5                           <== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
   43af4:	b0aa 00c0      	cmpl %a2@(192),%d0                          <== NOT EXECUTED
   43af8:	6300 008e      	blsw 43b88 <rtems_termios_enqueue_raw_characters+0x1f2><== NOT EXECUTED
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
   43afc:	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)           
   43b00:	0800 0000      	btst #0,%d0                                 <== NOT EXECUTED
   43b04:	6600 0082      	bnew 43b88 <rtems_termios_enqueue_raw_characters+0x1f2><== NOT EXECUTED
		      % tty->rawInBuf.Size)                                         
		     > tty->highwater) &&                                           
		    !(tty->flow_ctrl & FL_IREQXOF)) {                               
		  /* incoming data stream should be stopped */                      
		  tty->flow_ctrl |= FL_IREQXOF;                                     
   43b08:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43b0c:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   43b0e:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   43b10:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
		  if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                    
   43b14:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43b18:	0280 0000 0402 	andil #1026,%d0                             <== NOT EXECUTED
   43b1e:	0c80 0000 0400 	cmpil #1024,%d0                             <== NOT EXECUTED
   43b24:	6632           	bnes 43b58 <rtems_termios_enqueue_raw_characters+0x1c2><== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
   43b26:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43b2a:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   43b2e:	6606           	bnes 43b36 <rtems_termios_enqueue_raw_characters+0x1a0><== NOT EXECUTED
			(tty->rawOutBufState == rob_idle)) {                               
   43b30:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   43b34:	6652           	bnes 43b88 <rtems_termios_enqueue_raw_characters+0x1f2><== NOT EXECUTED
		      /* 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,                              
   43b36:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
			(tty->rawOutBufState == rob_idle)) {                               
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
   43b3a:	7a02           	moveq #2,%d5                                <== NOT EXECUTED
   43b3c:	222a 00b8      	movel %a2@(184),%d1                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
   43b40:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   43b42:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43b46:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
		      ==                (FL_MDXOF             ) ){                  
		    if ((tty->flow_ctrl & FL_OSTOP) ||                              
			(tty->rawOutBufState == rob_idle)) {                               
		      /* if tx is stopped due to XOFF or out of data */             
		      /*    call write function here                 */             
		      tty->flow_ctrl |= FL_ISNTXOF;                                 
   43b4a:	8285           	orl %d5,%d1                                 <== NOT EXECUTED
   43b4c:	2541 00b8      	movel %d1,%a2@(184)                         <== NOT EXECUTED
		      (*tty->device.write)(tty->minor,                              
   43b50:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43b52:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   43b56:	6030           	bras 43b88 <rtems_termios_enqueue_raw_characters+0x1f2><== NOT EXECUTED
			 (void *)&(tty->termios.c_cc[VSTOP]),                              
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
   43b58:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43b5c:	0280 0000 0104 	andil #260,%d0                              <== NOT EXECUTED
   43b62:	0c80 0000 0100 	cmpil #256,%d0                              <== NOT EXECUTED
   43b68:	661e           	bnes 43b88 <rtems_termios_enqueue_raw_characters+0x1f2><== NOT EXECUTED
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
   43b6a:	222a 00b8      	movel %a2@(184),%d1                         <== NOT EXECUTED
   43b6e:	303c 0004      	movew #4,%d0                                <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
   43b72:	206a 00ac      	moveal %a2@(172),%a0                        <== NOT EXECUTED
			 1);                                                               
		    }                                                               
		  }                                                                 
		  else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF))               
			   ==                (FL_MDRTS             ) ) {                   
		    tty->flow_ctrl |= FL_IRTSOFF;                                   
   43b76:	8280           	orl %d0,%d1                                 <== NOT EXECUTED
   43b78:	2541 00b8      	movel %d1,%a2@(184)                         <== NOT EXECUTED
		    /* deactivate RTS line */                                       
		    if (tty->device.stopRemoteTx != NULL) {                         
   43b7c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43b7e:	6708           	beqs 43b88 <rtems_termios_enqueue_raw_characters+0x1f2><== NOT EXECUTED
		      tty->device.stopRemoteTx(tty->minor);                         
   43b80:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43b84:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   43b86:	588f           	addql #4,%sp                                <== NOT EXECUTED
		    }                                                               
		  }                                                                 
		}                                                                   
		/* reenable interrupts */                                           
		rtems_interrupt_enable(level);                                      
   43b88:	222e fffc      	movel %fp@(-4),%d1                          <== NOT EXECUTED
   43b8c:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
                                                                      
		if (newTail == tty->rawInBuf.Head) {                                
   43b8e:	202a 005c      	movel %a2@(92),%d0                          <== NOT EXECUTED
   43b92:	b083           	cmpl %d3,%d0                                <== NOT EXECUTED
   43b94:	6604           	bnes 43b9a <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
		        dropped++;                                                  
   43b96:	5282           	addql #1,%d2                                <== NOT EXECUTED
   43b98:	602a           	bras 43bc4 <rtems_termios_enqueue_raw_characters+0x22e><== NOT EXECUTED
		}                                                                   
		else {                                                              
		        tty->rawInBuf.theBuf[newTail] = c;                          
   43b9a:	206a 0058      	moveal %a2@(88),%a0                         <== NOT EXECUTED
   43b9e:	1187 3800      	moveb %d7,%a0@(00000000,%d3:l)              <== NOT EXECUTED
		        tty->rawInBuf.Tail = newTail;                               
   43ba2:	2543 0060      	movel %d3,%a2@(96)                          <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
   43ba6:	4aaa 00e4      	tstl %a2@(228)                              <== NOT EXECUTED
   43baa:	6618           	bnes 43bc4 <rtems_termios_enqueue_raw_characters+0x22e><== NOT EXECUTED
   43bac:	206a 00dc      	moveal %a2@(220),%a0                        <== NOT EXECUTED
   43bb0:	4a88           	tstl %a0                                    <== NOT EXECUTED
   43bb2:	6710           	beqs 43bc4 <rtems_termios_enqueue_raw_characters+0x22e><== NOT EXECUTED
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   43bb4:	2f2a 00e0      	movel %a2@(224),%sp@-                       <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
   43bb8:	7a01           	moveq #1,%d5                                <== NOT EXECUTED
                                                                      
			/*                                                                 
			 * check to see if rcv wakeup callback was set                     
			 */                                                                
			if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {  
			  (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);      
   43bba:	2f0c           	movel %a4,%sp@-                             <== NOT EXECUTED
   43bbc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
   43bbe:	508f           	addql #8,%sp                                <== NOT EXECUTED
   43bc0:	2545 00e4      	movel %d5,%a2@(228)                         <== NOT EXECUTED
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
	  c = *buf++;                                                        
   43bc4:	528b           	addql #1,%a3                                <== NOT EXECUTED
   43bc6:	5384           	subql #1,%d4                                <== NOT EXECUTED
	    tty->tty_rcvwakeup = 1;                                          
    	  }                                                              
	  return 0;                                                          
	}                                                                    
                                                                      
	while (len--) {                                                      
   43bc8:	4a84           	tstl %d4                                    <== NOT EXECUTED
   43bca:	6600 fe50      	bnew 43a1c <rtems_termios_enqueue_raw_characters+0x86><== NOT EXECUTED
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
   43bce:	2f2a 0068      	movel %a2@(104),%sp@-                       <== NOT EXECUTED
			  tty->tty_rcvwakeup = 1;                                          
			}                                                                  
		}                                                                   
	  }                                                                  
	}                                                                    
	tty->rawInBufDropped += dropped;                                     
   43bd2:	d5aa 0078      	addl %d2,%a2@(120)                          <== NOT EXECUTED
	rtems_semaphore_release (tty->rawInBuf.Semaphore);                   
   43bd6:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
	return dropped;                                                      
   43bdc:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43bde:	6002           	bras 43be2 <rtems_termios_enqueue_raw_characters+0x24c><== NOT EXECUTED
   43be0:	4282           	clrl %d2                                    <== NOT EXECUTED
}                                                                     
   43be2:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   43be4:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   43bea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000436fc <rtems_termios_initialize>: struct rtems_termios_tty *rtems_termios_ttyTail; rtems_id rtems_termios_ttyMutex; void rtems_termios_initialize (void) {
   436fc:	4e56 0000      	linkw %fp,#0                                
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * Create the mutex semaphore for the tty list                      
   */                                                                 
  if (!rtems_termios_ttyMutex) {                                      
   43700:	4ab9 0005 ee20 	tstl 5ee20 <rtems_termios_ttyMutex>         
   43706:	662c           	bnes 43734 <rtems_termios_initialize+0x38>  
    sc = rtems_semaphore_create (                                     
   43708:	4879 0005 ee20 	pea 5ee20 <rtems_termios_ttyMutex>          
   4370e:	42a7           	clrl %sp@-                                  
   43710:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   43714:	4878 0001      	pea 1 <ADD>                                 
   43718:	2f3c 5452 6d69 	movel #1414688105,%sp@-                     
   4371e:	4eb9 0004 5588 	jsr 45588 <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)                                       
   43724:	4fef 0014      	lea %sp@(20),%sp                            
   43728:	4a80           	tstl %d0                                    
   4372a:	6708           	beqs 43734 <rtems_termios_initialize+0x38>  <== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
   4372c:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4372e:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
  }                                                                   
}                                                                     
   43734:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004460a <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
   4460a:	4e56 ffec      	linkw %fp,#-20                              
   4460e:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   44612:	266e 0008      	moveal %fp@(8),%a3                          
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
   44616:	2053           	moveal %a3@,%a0                             
   44618:	2468 0034      	moveal %a0@(52),%a2                         
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4461c:	42a7           	clrl %sp@-                                  
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
	rtems_libio_ioctl_args_t *args = arg;                                
	struct rtems_termios_tty *tty = args->iop->data1;                    
	struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer; 
   4461e:	286b 0008      	moveal %a3@(8),%a4                          
	rtems_status_code sc;                                                
                                                                      
 	args->ioctl_return = 0;                                             
   44622:	42ab 000c      	clrl %a3@(12)                               
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44626:	42a7           	clrl %sp@-                                  
   44628:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4462c:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
	if (sc != RTEMS_SUCCESSFUL) {                                        
   44632:	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);
   44636:	2400           	movel %d0,%d2                               
	if (sc != RTEMS_SUCCESSFUL) {                                        
   44638:	6600 02d6      	bnew 44910 <rtems_termios_ioctl+0x306>      
		args->ioctl_return = sc;                                            
		return sc;                                                          
	}                                                                    
	switch (args->command) {                                             
   4463c:	202b 0004      	movel %a3@(4),%d0                           
   44640:	7204           	moveq #4,%d1                                
   44642:	b280           	cmpl %d0,%d1                                
   44644:	6700 023c      	beqw 44882 <rtems_termios_ioctl+0x278>      
   44648:	6514           	bcss 4465e <rtems_termios_ioctl+0x54>       <== NEVER TAKEN
   4464a:	7602           	moveq #2,%d3                                
   4464c:	b680           	cmpl %d0,%d3                                
   4464e:	6778           	beqs 446c8 <rtems_termios_ioctl+0xbe>       
   44650:	6500 0216      	bcsw 44868 <rtems_termios_ioctl+0x25e>      
   44654:	123c 0001      	moveb #1,%d1                                
   44658:	b280           	cmpl %d0,%d1                                
   4465a:	662c           	bnes 44688 <rtems_termios_ioctl+0x7e>       <== NEVER TAKEN
   4465c:	6050           	bras 446ae <rtems_termios_ioctl+0xa4>       
   4465e:	0c80 4004 667f 	cmpil #1074030207,%d0                       <== NOT EXECUTED
   44664:	6700 027c      	beqw 448e2 <rtems_termios_ioctl+0x2d8>      <== NOT EXECUTED
   44668:	620a           	bhis 44674 <rtems_termios_ioctl+0x6a>       <== NOT EXECUTED
   4466a:	7605           	moveq #5,%d3                                <== NOT EXECUTED
   4466c:	b680           	cmpl %d0,%d3                                <== NOT EXECUTED
   4466e:	6618           	bnes 44688 <rtems_termios_ioctl+0x7e>       <== NOT EXECUTED
   44670:	6000 01fe      	braw 44870 <rtems_termios_ioctl+0x266>      <== NOT EXECUTED
   44674:	0c80 4004 741a 	cmpil #1074033690,%d0                       <== NOT EXECUTED
   4467a:	6700 025c      	beqw 448d8 <rtems_termios_ioctl+0x2ce>      <== NOT EXECUTED
   4467e:	0c80 8004 741b 	cmpil #-2147191781,%d0                      <== NOT EXECUTED
   44684:	6700 020c      	beqw 44892 <rtems_termios_ioctl+0x288>      <== NOT EXECUTED
	default:                                                             
		if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {            
   44688:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   4468c:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   4468e:	0680 0005 e5f4 	addil #386548,%d0                           <== NOT EXECUTED
   44694:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   44696:	2051           	moveal %a1@,%a0                             <== NOT EXECUTED
   44698:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4469a:	6606           	bnes 446a2 <rtems_termios_ioctl+0x98>       <== NOT EXECUTED
   4469c:	740a           	moveq #10,%d2                               <== NOT EXECUTED
   4469e:	6000 0264      	braw 44904 <rtems_termios_ioctl+0x2fa>      <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);          
   446a2:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   446a4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   446a6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   446a8:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   446aa:	6000 01b6      	braw 44862 <rtems_termios_ioctl+0x258>      <== NOT EXECUTED
			sc = RTEMS_INVALID_NUMBER;                                         
		}                                                                   
		break;                                                              
                                                                      
	case RTEMS_IO_GET_ATTRIBUTES:                                        
		*(struct termios *)args->buffer = tty->termios;                     
   446ae:	4878 0024      	pea 24 <OPER2+0x10>                         
   446b2:	486a 0030      	pea %a2@(48)                                
   446b6:	2f2b 0008      	movel %a3@(8),%sp@-                         
   446ba:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
		break;                                                              
   446c0:	4fef 000c      	lea %sp@(12),%sp                            
   446c4:	6000 023e      	braw 44904 <rtems_termios_ioctl+0x2fa>      
                                                                      
	case RTEMS_IO_SET_ATTRIBUTES:                                        
		tty->termios = *(struct termios *)args->buffer;                     
   446c8:	4878 0024      	pea 24 <OPER2+0x10>                         
   446cc:	2f2b 0008      	movel %a3@(8),%sp@-                         
   446d0:	486a 0030      	pea %a2@(48)                                
   446d4:	4eb9 0004 e9c4 	jsr 4e9c4 <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) &&                                 
   446da:	202a 00b8      	movel %a2@(184),%d0                         
   446de:	4fef 000c      	lea %sp@(12),%sp                            
   446e2:	0800 0009      	btst #9,%d0                                 
   446e6:	6760           	beqs 44748 <rtems_termios_ioctl+0x13e>      
   446e8:	202a 0030      	movel %a2@(48),%d0                          
   446ec:	0280 0000 0400 	andil #1024,%d0                             
   446f2:	6654           	bnes 44748 <rtems_termios_ioctl+0x13e>      <== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
   446f4:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   446f8:	0280 ffff fdef 	andil #-529,%d0                             <== NOT EXECUTED
   446fe:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
   44702:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44706:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   4470a:	673c           	beqs 44748 <rtems_termios_ioctl+0x13e>      <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
   4470c:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   44712:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   44714:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   44716:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
   44718:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   4471c:	72df           	moveq #-33,%d1                              <== NOT EXECUTED
   4471e:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   44720:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
   44724:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   44728:	671c           	beqs 44746 <rtems_termios_ioctl+0x13c>      <== NOT EXECUTED
	/* if chars available, call write function... */                     
	(*tty->device.write)(tty->minor,                                     
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
   4472a:	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,                                     
   4472e:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44732:	d0aa 007c      	addl %a2@(124),%d0                          <== NOT EXECUTED
   44736:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44738:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   4473c:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   44740:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44742:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
		     &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);                
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
   44746:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) &&                                 
   44748:	202a 00b8      	movel %a2@(184),%d0                         
   4474c:	0800 000a      	btst #10,%d0                                
   44750:	6724           	beqs 44776 <rtems_termios_ioctl+0x16c>      <== ALWAYS TAKEN
   44752:	202a 0030      	movel %a2@(48),%d0                          <== NOT EXECUTED
   44756:	0280 0000 1000 	andil #4096,%d0                             <== NOT EXECUTED
   4475c:	6618           	bnes 44776 <rtems_termios_ioctl+0x16c>      <== NOT EXECUTED
      !(tty->termios.c_iflag & IXOFF)) {                              
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
   4475e:	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);                                  
   44762:	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);                                    
   44764:	0880 000a      	bclr #10,%d0                                <== NOT EXECUTED
   44768:	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);                                  
   4476c:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44770:	c083           	andl %d3,%d0                                <== NOT EXECUTED
   44772:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) &&                                 
   44776:	202a 00b8      	movel %a2@(184),%d0                         
   4477a:	0800 0008      	btst #8,%d0                                 
   4477e:	6736           	beqs 447b6 <rtems_termios_ioctl+0x1ac>      <== ALWAYS TAKEN
   44780:	4aaa 0038      	tstl %a2@(56)                               <== NOT EXECUTED
   44784:	6d30           	blts 447b6 <rtems_termios_ioctl+0x1ac>      <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
   44786:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   4478a:	0880 0008      	bclr #8,%d0                                 <== NOT EXECUTED
   4478e:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
   44792:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44796:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   44798:	6610           	bnes 447aa <rtems_termios_ioctl+0x1a0>      <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
   4479a:	206a 00b0      	moveal %a2@(176),%a0                        <== NOT EXECUTED
      !(tty->termios.c_cflag & CRTSCTS)) {                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) &&                              
   4479e:	4a88           	tstl %a0                                    <== NOT EXECUTED
   447a0:	6708           	beqs 447aa <rtems_termios_ioctl+0x1a0>      <== NOT EXECUTED
	(tty->device.startRemoteTx != NULL)) {                               
      tty->device.startRemoteTx(tty->minor);                          
   447a2:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   447a6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   447a8:	588f           	addql #4,%sp                                <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
   447aa:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   447ae:	72fb           	moveq #-5,%d1                               <== NOT EXECUTED
   447b0:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   447b2:	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) {                               
   447b6:	4aaa 0038      	tstl %a2@(56)                               
   447ba:	6c0c           	bges 447c8 <rtems_termios_ioctl+0x1be>      <== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
   447bc:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   447c0:	08c0 0008      	bset #8,%d0                                 <== NOT EXECUTED
   447c4:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
   447c8:	202a 0030      	movel %a2@(48),%d0                          
   447cc:	0280 0000 1000 	andil #4096,%d0                             
   447d2:	670c           	beqs 447e0 <rtems_termios_ioctl+0x1d6>      <== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDXOF;                                       
   447d4:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   447d8:	08c0 000a      	bset #10,%d0                                <== NOT EXECUTED
   447dc:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
   447e0:	202a 0030      	movel %a2@(48),%d0                          
   447e4:	0280 0000 0400 	andil #1024,%d0                             
   447ea:	670c           	beqs 447f8 <rtems_termios_ioctl+0x1ee>      <== NEVER TAKEN
    tty->flow_ctrl |= FL_MDXON;                                       
   447ec:	202a 00b8      	movel %a2@(184),%d0                         
   447f0:	08c0 0009      	bset #9,%d0                                 
   447f4:	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) {                                
   447f8:	7002           	moveq #2,%d0                                
   447fa:	c0aa 003c      	andl %a2@(60),%d0                           
   447fe:	663a           	bnes 4483a <rtems_termios_ioctl+0x230>      <== ALWAYS TAKEN
			tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                  
			tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;             
		}                                                                   
		else {                                                              
			tty->vtimeTicks = tty->termios.c_cc[VTIME] *                       
			              rtems_clock_get_ticks_per_second() / 10;             
   44800:	4283           	clrl %d3                                    <== NOT EXECUTED
   44802:	162a 0046      	moveb %a2@(70),%d3                          <== NOT EXECUTED
   44806:	4eb9 0004 5188 	jsr 45188 <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] *                       
   4480c:	4c03 0800      	mulsl %d3,%d0                               <== NOT EXECUTED
   44810:	760a           	moveq #10,%d3                               <== NOT EXECUTED
   44812:	4c43 0000      	remul %d3,%d0,%d0                           <== NOT EXECUTED
   44816:	2540 0054      	movel %d0,%a2@(84)                          <== NOT EXECUTED
			              rtems_clock_get_ticks_per_second() / 10;             
			if (tty->termios.c_cc[VTIME]) {                                    
   4481a:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   4481e:	6714           	beqs 44834 <rtems_termios_ioctl+0x22a>      <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                       
   44820:	42aa 006c      	clrl %a2@(108)                              <== NOT EXECUTED
				tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;                  
   44824:	2540 0070      	movel %d0,%a2@(112)                         <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN])                                      
   44828:	4a2a 0047      	tstb %a2@(71)                               <== NOT EXECUTED
   4482c:	6614           	bnes 44842 <rtems_termios_ioctl+0x238>      <== NOT EXECUTED
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
				else                                                              
					tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;            
   4482e:	2540 0074      	movel %d0,%a2@(116)                         <== NOT EXECUTED
   44832:	601a           	bras 4484e <rtems_termios_ioctl+0x244>      <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if (tty->termios.c_cc[VMIN]) {                                    
   44834:	4a2a 0047      	tstb %a2@(71)                               <== NOT EXECUTED
   44838:	670e           	beqs 44848 <rtems_termios_ioctl+0x23e>      <== NOT EXECUTED
					tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                      
   4483a:	42aa 006c      	clrl %a2@(108)                              
					tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;                
   4483e:	42aa 0070      	clrl %a2@(112)                              
					tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;           
   44842:	42aa 0074      	clrl %a2@(116)                              
   44846:	6006           	bras 4484e <rtems_termios_ioctl+0x244>      
				}                                                                 
				else {                                                            
					tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;                   
   44848:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   4484a:	2540 006c      	movel %d0,%a2@(108)                         <== NOT EXECUTED
				}                                                                 
			}                                                                  
		}                                                                   
		if (tty->device.setAttributes)                                      
   4484e:	206a 00a8      	moveal %a2@(168),%a0                        
   44852:	4a88           	tstl %a0                                    
   44854:	6700 00ae      	beqw 44904 <rtems_termios_ioctl+0x2fa>      
			(*tty->device.setAttributes)(tty->minor, &tty->termios);           
   44858:	486a 0030      	pea %a2@(48)                                
   4485c:	2f2a 0010      	movel %a2@(16),%sp@-                        
   44860:	4e90           	jsr %a0@                                    
   44862:	508f           	addql #8,%sp                                
   44864:	6000 009e      	braw 44904 <rtems_termios_ioctl+0x2fa>      
		break;                                                              
                                                                      
	case RTEMS_IO_TCDRAIN:                                               
		drainOutput (tty);                                                  
   44868:	2f0a           	movel %a2,%sp@-                             
   4486a:	4eba fa5e      	jsr %pc@(442ca <drainOutput>)               
   4486e:	6064           	bras 448d4 <rtems_termios_ioctl+0x2ca>      
		break;                                                              
                                                                      
	case RTEMS_IO_SNDWAKEUP:                                             
		tty->tty_snd = *wakeup;                                             
   44870:	2014           	movel %a4@,%d0                              <== NOT EXECUTED
   44872:	222c 0004      	movel %a4@(4),%d1                           <== NOT EXECUTED
   44876:	2540 00d4      	movel %d0,%a2@(212)                         <== NOT EXECUTED
   4487a:	2541 00d8      	movel %d1,%a2@(216)                         <== NOT EXECUTED
		break;                                                              
   4487e:	6000 0084      	braw 44904 <rtems_termios_ioctl+0x2fa>      <== NOT EXECUTED
                                                                      
	case RTEMS_IO_RCVWAKEUP:                                             
		tty->tty_rcv = *wakeup;                                             
   44882:	2014           	movel %a4@,%d0                              <== NOT EXECUTED
   44884:	222c 0004      	movel %a4@(4),%d1                           <== NOT EXECUTED
   44888:	2540 00dc      	movel %d0,%a2@(220)                         <== NOT EXECUTED
   4488c:	2541 00e0      	movel %d1,%a2@(224)                         <== NOT EXECUTED
		break;                                                              
   44890:	6072           	bras 44904 <rtems_termios_ioctl+0x2fa>      <== NOT EXECUTED
#if 1 /* FIXME */                                                     
	case TIOCSETD:                                                       
		/*                                                                  
		 * close old line discipline                                        
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_close != NULL) {            
   44892:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   44896:	41f9 0005 e5dc 	lea 5e5dc <rtems_termios_linesw>,%a0        <== NOT EXECUTED
   4489c:	e788           	lsll #3,%d0                                 <== NOT EXECUTED
   4489e:	2070 0c04      	moveal %a0@(00000004,%d0:l:4),%a0           <== NOT EXECUTED
   448a2:	4a88           	tstl %a0                                    <== NOT EXECUTED
   448a4:	6708           	beqs 448ae <rtems_termios_ioctl+0x2a4>      <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_close(tty);               
   448a6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   448a8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   448aa:	588f           	addql #4,%sp                                <== NOT EXECUTED
   448ac:	2400           	movel %d0,%d2                               <== NOT EXECUTED
		}                                                                   
		tty->t_line=*(int*)(args->buffer);                                  
   448ae:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   448b2:	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) {             
   448b4:	2200           	movel %d0,%d1                               <== NOT EXECUTED
   448b6:	41f9 0005 e5dc 	lea 5e5dc <rtems_termios_linesw>,%a0        <== NOT EXECUTED
   448bc:	eb89           	lsll #5,%d1                                 <== 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);                                  
   448be:	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) {             
   448c2:	2070 1800      	moveal %a0@(00000000,%d1:l),%a0             <== 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 */              
   448c6:	42aa 00d0      	clrl %a2@(208)                              <== NOT EXECUTED
		/*                                                                  
		 * open new line discipline                                         
		 */                                                                 
		if (rtems_termios_linesw[tty->t_line].l_open != NULL) {             
   448ca:	4a88           	tstl %a0                                    <== NOT EXECUTED
   448cc:	6736           	beqs 44904 <rtems_termios_ioctl+0x2fa>      <== NOT EXECUTED
			sc = rtems_termios_linesw[tty->t_line].l_open(tty);                
   448ce:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   448d0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   448d2:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   448d4:	588f           	addql #4,%sp                                
   448d6:	602c           	bras 44904 <rtems_termios_ioctl+0x2fa>      
		}                                                                   
		break;                                                              
	case TIOCGETD:                                                       
		*(int*)(args->buffer)=tty->t_line;                                  
   448d8:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   448dc:	20aa 00cc      	movel %a2@(204),%a0@                        <== NOT EXECUTED
		break;                                                              
   448e0:	6022           	bras 44904 <rtems_termios_ioctl+0x2fa>      <== NOT EXECUTED
#endif                                                                
 	case FIONREAD:                                                      
		{                                                                   
		int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;                
   448e2:	202a 0060      	movel %a2@(96),%d0                          <== NOT EXECUTED
   448e6:	222a 005c      	movel %a2@(92),%d1                          <== NOT EXECUTED
   448ea:	9081           	subl %d1,%d0                                <== NOT EXECUTED
		if ( rawnc < 0 )                                                    
   448ec:	6a06           	bpls 448f4 <rtems_termios_ioctl+0x2ea>      <== NOT EXECUTED
			rawnc += tty->rawInBuf.Size;                                       
   448ee:	222a 0064      	movel %a2@(100),%d1                         <== NOT EXECUTED
   448f2:	d081           	addl %d1,%d0                                <== NOT EXECUTED
		/* Half guess that this is the right operation */                   
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
   448f4:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   448f8:	92aa 0024      	subl %a2@(36),%d1                           <== NOT EXECUTED
   448fc:	d280           	addl %d0,%d1                                <== NOT EXECUTED
   448fe:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   44902:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
   44904:	2f2a 0018      	movel %a2@(24),%sp@-                        
   44908:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
	args->ioctl_return = sc;                                             
	return sc;                                                           
   4490e:	588f           	addql #4,%sp                                
}                                                                     
   44910:	2002           	movel %d2,%d0                               
		*(int *)args->buffer = tty->ccount - tty->cindex + rawnc;           
		}                                                                   
		break;                                                              
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
	args->ioctl_return = sc;                                             
   44912:	2742 000c      	movel %d2,%a3@(12)                          
	return sc;                                                           
}                                                                     
   44916:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4491c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044980 <rtems_termios_number_to_baud>: #include <rtems/termiostypes.h> int rtems_termios_number_to_baud( int32_t baud ) {
   44980:	4e56 0000      	linkw %fp,#0                                
   44984:	222e 0008      	movel %fp@(8),%d1                           
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44988:	0c81 0000 04b0 	cmpil #1200,%d1                             
   4498e:	6700 0106      	beqw 44a96 <rtems_termios_number_to_baud+0x116>
   44992:	6e68           	bgts 449fc <rtems_termios_number_to_baud+0x7c>
   44994:	0c81 0000 0086 	cmpil #134,%d1                              
   4499a:	6700 00e6      	beqw 44a82 <rtems_termios_number_to_baud+0x102>
   4499e:	6e2a           	bgts 449ca <rtems_termios_number_to_baud+0x4a>
   449a0:	7032           	moveq #50,%d0                               
   449a2:	b081           	cmpl %d1,%d0                                
   449a4:	6700 00cc      	beqw 44a72 <rtems_termios_number_to_baud+0xf2>
   449a8:	6d0a           	blts 449b4 <rtems_termios_number_to_baud+0x34>
   449aa:	4a81           	tstl %d1                                    
   449ac:	6700 00c8      	beqw 44a76 <rtems_termios_number_to_baud+0xf6>
   449b0:	6000 0100      	braw 44ab2 <rtems_termios_number_to_baud+0x132>
   449b4:	704b           	moveq #75,%d0                               
   449b6:	b081           	cmpl %d1,%d0                                
   449b8:	6700 00c0      	beqw 44a7a <rtems_termios_number_to_baud+0xfa>
   449bc:	103c 006e      	moveb #110,%d0                              
   449c0:	b081           	cmpl %d1,%d0                                
   449c2:	6600 00ee      	bnew 44ab2 <rtems_termios_number_to_baud+0x132>
   449c6:	6000 00b6      	braw 44a7e <rtems_termios_number_to_baud+0xfe>
   449ca:	0c81 0000 00c8 	cmpil #200,%d1                              
   449d0:	6700 00b8      	beqw 44a8a <rtems_termios_number_to_baud+0x10a>
   449d4:	6e0e           	bgts 449e4 <rtems_termios_number_to_baud+0x64>
   449d6:	0c81 0000 0096 	cmpil #150,%d1                              
   449dc:	6600 00d4      	bnew 44ab2 <rtems_termios_number_to_baud+0x132>
   449e0:	6000 00a4      	braw 44a86 <rtems_termios_number_to_baud+0x106>
   449e4:	0c81 0000 012c 	cmpil #300,%d1                              
   449ea:	6700 00a2      	beqw 44a8e <rtems_termios_number_to_baud+0x10e>
   449ee:	0c81 0000 0258 	cmpil #600,%d1                              
   449f4:	6600 00bc      	bnew 44ab2 <rtems_termios_number_to_baud+0x132>
   449f8:	6000 0098      	braw 44a92 <rtems_termios_number_to_baud+0x112>
   449fc:	0c81 0000 4b00 	cmpil #19200,%d1                            
   44a02:	6700 00a6      	beqw 44aaa <rtems_termios_number_to_baud+0x12a>
   44a06:	6e2c           	bgts 44a34 <rtems_termios_number_to_baud+0xb4>
   44a08:	0c81 0000 0960 	cmpil #2400,%d1                             
   44a0e:	6700 008e      	beqw 44a9e <rtems_termios_number_to_baud+0x11e>
   44a12:	6e0c           	bgts 44a20 <rtems_termios_number_to_baud+0xa0>
   44a14:	0c81 0000 0708 	cmpil #1800,%d1                             
   44a1a:	6600 0096      	bnew 44ab2 <rtems_termios_number_to_baud+0x132>
   44a1e:	607a           	bras 44a9a <rtems_termios_number_to_baud+0x11a>
   44a20:	0c81 0000 12c0 	cmpil #4800,%d1                             
   44a26:	677a           	beqs 44aa2 <rtems_termios_number_to_baud+0x122>
   44a28:	0c81 0000 2580 	cmpil #9600,%d1                             
   44a2e:	6600 0082      	bnew 44ab2 <rtems_termios_number_to_baud+0x132>
   44a32:	6072           	bras 44aa6 <rtems_termios_number_to_baud+0x126>
    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;                      
   44a34:	203c 0000 1002 	movel #4098,%d0                             
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44a3a:	0c81 0001 c200 	cmpil #115200,%d1                           
   44a40:	6772           	beqs 44ab4 <rtems_termios_number_to_baud+0x134>
   44a42:	6e14           	bgts 44a58 <rtems_termios_number_to_baud+0xd8>
   44a44:	0c81 0000 9600 	cmpil #38400,%d1                            
   44a4a:	6762           	beqs 44aae <rtems_termios_number_to_baud+0x12e>
    case 1800:    termios_baud = B1800;   break;                      
    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;                      
   44a4c:	5380           	subql #1,%d0                                
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44a4e:	0c81 0000 e100 	cmpil #57600,%d1                            
   44a54:	665c           	bnes 44ab2 <rtems_termios_number_to_baud+0x132><== NEVER TAKEN
   44a56:	605c           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
    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;                      
   44a58:	203c 0000 1003 	movel #4099,%d0                             
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44a5e:	0c81 0003 8400 	cmpil #230400,%d1                           
   44a64:	674e           	beqs 44ab4 <rtems_termios_number_to_baud+0x134>
    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;                      
   44a66:	5280           	addql #1,%d0                                
  int32_t baud                                                        
)                                                                     
{                                                                     
  int termios_baud;                                                   
                                                                      
  switch (baud) {                                                     
   44a68:	0c81 0007 0800 	cmpil #460800,%d1                           
   44a6e:	6642           	bnes 44ab2 <rtems_termios_number_to_baud+0x132><== NEVER TAKEN
   44a70:	6042           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a72:	7001           	moveq #1,%d0                                
   44a74:	603e           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a76:	4280           	clrl %d0                                    
   44a78:	603a           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a7a:	7002           	moveq #2,%d0                                
    case 0:       termios_baud = B0;      break;                      
    case 50:      termios_baud = B50;     break;                      
    case 75:      termios_baud = B75;     break;                      
   44a7c:	6036           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a7e:	7003           	moveq #3,%d0                                
    case 110:     termios_baud = B110;    break;                      
   44a80:	6032           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a82:	7004           	moveq #4,%d0                                
    case 134:     termios_baud = B134;    break;                      
   44a84:	602e           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a86:	7005           	moveq #5,%d0                                
    case 150:     termios_baud = B150;    break;                      
   44a88:	602a           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a8a:	7006           	moveq #6,%d0                                
    case 200:     termios_baud = B200;    break;                      
   44a8c:	6026           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a8e:	7007           	moveq #7,%d0                                
    case 300:     termios_baud = B300;    break;                      
   44a90:	6022           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a92:	7008           	moveq #8,%d0                                
    case 600:     termios_baud = B600;    break;                      
   44a94:	601e           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a96:	7009           	moveq #9,%d0                                
    case 1200:    termios_baud = B1200;   break;                      
   44a98:	601a           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a9a:	700a           	moveq #10,%d0                               
    case 1800:    termios_baud = B1800;   break;                      
   44a9c:	6016           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44a9e:	700b           	moveq #11,%d0                               
    case 2400:    termios_baud = B2400;   break;                      
   44aa0:	6012           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44aa2:	700c           	moveq #12,%d0                               
    case 4800:    termios_baud = B4800;   break;                      
   44aa4:	600e           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44aa6:	700d           	moveq #13,%d0                               
    case 9600:    termios_baud = B9600;   break;                      
   44aa8:	600a           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44aaa:	700e           	moveq #14,%d0                               
    case 19200:   termios_baud = B19200;  break;                      
   44aac:	6006           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
   44aae:	700f           	moveq #15,%d0                               
    case 38400:   termios_baud = B38400;  break;                      
   44ab0:	6002           	bras 44ab4 <rtems_termios_number_to_baud+0x134>
    case 57600:   termios_baud = B57600;  break;                      
    case 115200:  termios_baud = B115200; break;                      
    case 230400:  termios_baud = B230400; break;                      
    case 460800:  termios_baud = B460800; break;                      
   44ab2:	70ff           	moveq #-1,%d0                               
    default:      termios_baud = -1;      break;                      
  }                                                                   
                                                                      
  return termios_baud;                                                
}                                                                     
   44ab4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044a80 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
   44a80:	4e56 ffe0      	linkw %fp,#-32                              
   44a84:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
   44a88:	42a7           	clrl %sp@-                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
   44a8a:	262e 0008      	movel %fp@(8),%d3                           
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
   44a8e:	42a7           	clrl %sp@-                                  
   44a90:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
  )                                                                   
{                                                                     
   44a96:	282e 000c      	movel %fp@(12),%d4                          
   44a9a:	2a6e 0010      	moveal %fp@(16),%a5                         
	struct rtems_termios_tty *tty;                                       
                                                                      
	/*                                                                   
	 * See if the device has already been opened                         
	 */                                                                  
	sc = rtems_semaphore_obtain (rtems_termios_ttyMutex,                 
   44a9e:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
   44aa4:	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,                 
   44aa8:	2400           	movel %d0,%d2                               
				     RTEMS_WAIT, RTEMS_NO_TIMEOUT);                               
	if (sc != RTEMS_SUCCESSFUL)                                          
   44aaa:	6600 0394      	bnew 44e40 <rtems_termios_open+0x3c0>       
		return sc;                                                          
	for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) {  
   44aae:	2479 0005 ee28 	moveal 5ee28 <rtems_termios_ttyHead>,%a2    
   44ab4:	6010           	bras 44ac6 <rtems_termios_open+0x46>        
		if ((tty->major == major) && (tty->minor == minor))                 
   44ab6:	b6aa 000c      	cmpl %a2@(12),%d3                           
   44aba:	6608           	bnes 44ac4 <rtems_termios_open+0x44>        
   44abc:	b8aa 0010      	cmpl %a2@(16),%d4                           
   44ac0:	6700 0308      	beqw 44dca <rtems_termios_open+0x34a>       
	 */                                                                  
	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) {  
   44ac4:	2452           	moveal %a2@,%a2                             
   44ac6:	4a8a           	tstl %a2                                    
   44ac8:	66ec           	bnes 44ab6 <rtems_termios_open+0x36>        
   44aca:	6000 0380      	braw 44e4c <rtems_termios_open+0x3cc>       
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
		if (tty == NULL) {                                                  
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44ace:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   44ad4:	741a           	moveq #26,%d2                               <== NOT EXECUTED
   44ad6:	6000 0360      	braw 44e38 <rtems_termios_open+0x3b8>       <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
   44ada:	41f9 0005 d7c4 	lea 5d7c4 <rtems_termios_raw_input_size>,%a0
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
   44ae0:	49f9 0004 2b08 	lea 42b08 <malloc>,%a4                      
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
   44ae6:	2550 0064      	movel %a0@,%a2@(100)                        
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
   44aea:	202a 0064      	movel %a2@(100),%d0                         
   44aee:	2f00           	movel %d0,%sp@-                             
   44af0:	4e94           	jsr %a4@                                    
		if (tty->rawInBuf.theBuf == NULL) {                                 
   44af2:	588f           	addql #4,%sp                                
		}                                                                   
		/*                                                                  
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
   44af4:	2540 0058      	movel %d0,%a2@(88)                          
		if (tty->rawInBuf.theBuf == NULL) {                                 
   44af8:	661c           	bnes 44b16 <rtems_termios_open+0x96>        <== ALWAYS TAKEN
		        free(tty);                                                  
   44afa:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44afc:	741a           	moveq #26,%d2                               <== NOT EXECUTED
		 * allocate raw input buffer                                        
		 */                                                                 
		tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                         
		tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);                 
		if (tty->rawInBuf.theBuf == NULL) {                                 
		        free(tty);                                                  
   44afe:	4eb9 0004 2828 	jsr 42828 <free>                            <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44b04:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   44b0a:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
   44b10:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44b12:	6000 032c      	braw 44e40 <rtems_termios_open+0x3c0>       <== NOT EXECUTED
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
   44b16:	41f9 0005 d7c8 	lea 5d7c8 <rtems_termios_raw_output_size>,%a0
   44b1c:	2550 0088      	movel %a0@,%a2@(136)                        
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
   44b20:	202a 0088      	movel %a2@(136),%d0                         
   44b24:	2f00           	movel %d0,%sp@-                             
   44b26:	4e94           	jsr %a4@                                    
		if (tty->rawOutBuf.theBuf == NULL) {                                
   44b28:	588f           	addql #4,%sp                                
		}                                                                   
		/*                                                                  
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
   44b2a:	2540 007c      	movel %d0,%a2@(124)                         
		if (tty->rawOutBuf.theBuf == NULL) {                                
   44b2e:	6626           	bnes 44b56 <rtems_termios_open+0xd6>        <== ALWAYS TAKEN
		        free((void *)(tty->rawInBuf.theBuf));                       
   44b30:	2f2a 0058      	movel %a2@(88),%sp@-                        <== NOT EXECUTED
   44b34:	47f9 0004 2828 	lea 42828 <free>,%a3                        <== NOT EXECUTED
		        free(tty);                                                  
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44b3a:	741a           	moveq #26,%d2                               <== NOT EXECUTED
		 * allocate raw output buffer                                       
		 */                                                                 
		tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                       
		tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);               
		if (tty->rawOutBuf.theBuf == NULL) {                                
		        free((void *)(tty->rawInBuf.theBuf));                       
   44b3c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
		        free(tty);                                                  
   44b3e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44b40:	4e93           	jsr %a3@                                    <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44b42:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   44b48:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
   44b4e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44b52:	6000 02ec      	braw 44e40 <rtems_termios_open+0x3c0>       <== NOT EXECUTED
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
   44b56:	2f39 0005 d7c0 	movel 5d7c0 <rtems_termios_cbufsize>,%sp@-  
   44b5c:	4e94           	jsr %a4@                                    
		if (tty->cbuf == NULL) {                                            
   44b5e:	588f           	addql #4,%sp                                
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
   44b60:	2540 001c      	movel %d0,%a2@(28)                          
		if (tty->cbuf == NULL) {                                            
   44b64:	662c           	bnes 44b92 <rtems_termios_open+0x112>       <== ALWAYS TAKEN
		        free((void *)(tty->rawOutBuf.theBuf));                      
   44b66:	2f2a 007c      	movel %a2@(124),%sp@-                       <== NOT EXECUTED
   44b6a:	47f9 0004 2828 	lea 42828 <free>,%a3                        <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
		        free(tty);                                                  
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44b70:	741a           	moveq #26,%d2                               <== NOT EXECUTED
		/*                                                                  
		 * allocate cooked buffer                                           
		 */                                                                 
		tty->cbuf  = malloc (CBUFSIZE);                                     
		if (tty->cbuf == NULL) {                                            
		        free((void *)(tty->rawOutBuf.theBuf));                      
   44b72:	4e93           	jsr %a3@                                    <== NOT EXECUTED
		        free((void *)(tty->rawInBuf.theBuf));                       
   44b74:	2f2a 0058      	movel %a2@(88),%sp@-                        <== NOT EXECUTED
   44b78:	4e93           	jsr %a3@                                    <== NOT EXECUTED
		        free(tty);                                                  
   44b7a:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44b7c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
			rtems_semaphore_release (rtems_termios_ttyMutex);                  
   44b7e:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   44b84:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
			return RTEMS_NO_MEMORY;                                            
   44b8a:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   44b8e:	6000 02b0      	braw 44e40 <rtems_termios_open+0x3c0>       <== NOT EXECUTED
		tty->tty_rcvwakeup  = 0;                                            
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
   44b92:	2079 0005 ee28 	moveal 5ee28 <rtems_termios_ttyHead>,%a0    
			return RTEMS_NO_MEMORY;                                            
		}                                                                   
		/*                                                                  
		 * Initialize wakeup callbacks                                      
		 */                                                                 
		tty->tty_snd.sw_pfn = NULL;                                         
   44b98:	42aa 00d4      	clrl %a2@(212)                              
		tty->tty_snd.sw_arg = NULL;                                         
   44b9c:	42aa 00d8      	clrl %a2@(216)                              
		tty->tty_rcv.sw_pfn = NULL;                                         
   44ba0:	42aa 00dc      	clrl %a2@(220)                              
		tty->tty_rcv.sw_arg = NULL;                                         
   44ba4:	42aa 00e0      	clrl %a2@(224)                              
		tty->tty_rcvwakeup  = 0;                                            
   44ba8:	42aa 00e4      	clrl %a2@(228)                              
                                                                      
		/*                                                                  
		 * link tty                                                         
		 */                                                                 
		tty->forw = rtems_termios_ttyHead;                                  
   44bac:	2488           	movel %a0,%a2@                              
		tty->back = NULL;                                                   
   44bae:	42aa 0004      	clrl %a2@(4)                                
		if (rtems_termios_ttyHead != NULL)                                  
   44bb2:	4a88           	tstl %a0                                    
   44bb4:	6704           	beqs 44bba <rtems_termios_open+0x13a>       
			rtems_termios_ttyHead->back = tty;                                 
   44bb6:	214a 0004      	movel %a2,%a0@(4)                           
		rtems_termios_ttyHead = tty;                                        
   44bba:	23cb 0005 ee28 	movel %a3,5ee28 <rtems_termios_ttyHead>     
		if (rtems_termios_ttyTail == NULL)                                  
   44bc0:	4ab9 0005 ee24 	tstl 5ee24 <rtems_termios_ttyTail>          
   44bc6:	6606           	bnes 44bce <rtems_termios_open+0x14e>       
			rtems_termios_ttyTail = tty;                                       
   44bc8:	23cb 0005 ee24 	movel %a3,5ee24 <rtems_termios_ttyTail>     
                                                                      
		tty->minor = minor;                                                 
   44bce:	2744 0010      	movel %d4,%a3@(16)                          
		tty->major = major;                                                 
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
   44bd2:	49f9 0004 5588 	lea 45588 <rtems_semaphore_create>,%a4      
   44bd8:	1039 0005 d7cc 	moveb 5d7cc <c.6315>,%d0                    
		rtems_termios_ttyHead = tty;                                        
		if (rtems_termios_ttyTail == NULL)                                  
			rtems_termios_ttyTail = tty;                                       
                                                                      
		tty->minor = minor;                                                 
		tty->major = major;                                                 
   44bde:	2743 000c      	movel %d3,%a3@(12)                          
                                                                      
		/*                                                                  
		 * Set up mutex semaphores                                          
		 */                                                                 
		sc = rtems_semaphore_create (                                       
   44be2:	486b 0014      	pea %a3@(20)                                
   44be6:	49c0           	extbl %d0                                   
   44be8:	0080 5452 6900 	oril #1414686976,%d0                        
   44bee:	42a7           	clrl %sp@-                                  
   44bf0:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   44bf4:	4878 0001      	pea 1 <ADD>                                 
   44bf8:	2f00           	movel %d0,%sp@-                             
   44bfa:	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)                                         
   44bfc:	4fef 0014      	lea %sp@(20),%sp                            
   44c00:	4a80           	tstl %d0                                    
   44c02:	6600 0226      	bnew 44e2a <rtems_termios_open+0x3aa>       
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
   44c06:	486b 0018      	pea %a3@(24)                                
   44c0a:	1039 0005 d7cc 	moveb 5d7cc <c.6315>,%d0                    
   44c10:	42a7           	clrl %sp@-                                  
   44c12:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   44c16:	49c0           	extbl %d0                                   
   44c18:	4878 0001      	pea 1 <ADD>                                 
   44c1c:	0080 5452 6f00 	oril #1414688512,%d0                        
   44c22:	2f00           	movel %d0,%sp@-                             
   44c24:	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)                                         
   44c26:	4fef 0014      	lea %sp@(20),%sp                            
   44c2a:	4a80           	tstl %d0                                    
   44c2c:	6600 01fc      	bnew 44e2a <rtems_termios_open+0x3aa>       
			rtems_fatal_error_occurred (sc);                                   
		sc = rtems_semaphore_create (                                       
   44c30:	486b 008c      	pea %a3@(140)                               
   44c34:	1039 0005 d7cc 	moveb 5d7cc <c.6315>,%d0                    
   44c3a:	42a7           	clrl %sp@-                                  
   44c3c:	4878 0020      	pea 20 <OPER2+0xc>                          
   44c40:	49c0           	extbl %d0                                   
   44c42:	0080 5452 7800 	oril #1414690816,%d0                        
   44c48:	42a7           	clrl %sp@-                                  
   44c4a:	2f00           	movel %d0,%sp@-                             
   44c4c:	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)                                         
   44c4e:	4fef 0014      	lea %sp@(20),%sp                            
   44c52:	4a80           	tstl %d0                                    
   44c54:	6600 01d4      	bnew 44e2a <rtems_termios_open+0x3aa>       
			rtems_fatal_error_occurred (sc);                                   
		tty->rawOutBufState = rob_idle;                                     
   44c58:	42ab 0094      	clrl %a3@(148)                              
                                                                      
		/*                                                                  
		 * Set callbacks                                                    
		 */                                                                 
		tty->device = *callbacks;                                           
   44c5c:	4878 0020      	pea 20 <OPER2+0xc>                          
   44c60:	2f2e 0014      	movel %fp@(20),%sp@-                        
   44c64:	486b 0098      	pea %a3@(152)                               
   44c68:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
                                                                      
		/*                                                                  
		 * Create I/O tasks                                                 
		 */                                                                 
		if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
   44c6e:	4fef 000c      	lea %sp@(12),%sp                            
   44c72:	7002           	moveq #2,%d0                                
   44c74:	b0ab 00b4      	cmpl %a3@(180),%d0                          
   44c78:	6662           	bnes 44cdc <rtems_termios_open+0x25c>       <== ALWAYS TAKEN
			sc = rtems_task_create (                                           
   44c7a:	486b 00c8      	pea %a3@(200)                               <== NOT EXECUTED
   44c7e:	49f9 0004 5974 	lea 45974 <rtems_task_create>,%a4           <== NOT EXECUTED
   44c84:	1039 0005 d7cc 	moveb 5d7cc <c.6315>,%d0                    <== NOT EXECUTED
   44c8a:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44c8c:	4878 0500      	pea 500 <DBL_MAX_EXP+0xff>                  <== NOT EXECUTED
   44c90:	49c0           	extbl %d0                                   <== NOT EXECUTED
   44c92:	4878 0400      	pea 400 <D_BIAS+0x2>                        <== NOT EXECUTED
   44c96:	4878 000a      	pea a <LASTO>                               <== NOT EXECUTED
   44c9a:	0080 5478 5400 	oril #1417171968,%d0                        <== NOT EXECUTED
   44ca0:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44ca2:	4e94           	jsr %a4@                                    <== NOT EXECUTED
				   TERMIOS_TXTASK_STACKSIZE,                                      
				   RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                        
				   RTEMS_NO_ASR,                                                  
				   RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                         
				   &tty->txTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
   44ca4:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   44ca8:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44caa:	6600 017e      	bnew 44e2a <rtems_termios_open+0x3aa>       <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
			sc = rtems_task_create (                                           
   44cae:	486b 00c4      	pea %a3@(196)                               <== NOT EXECUTED
   44cb2:	1039 0005 d7cc 	moveb 5d7cc <c.6315>,%d0                    <== NOT EXECUTED
   44cb8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44cba:	4878 0500      	pea 500 <DBL_MAX_EXP+0xff>                  <== NOT EXECUTED
   44cbe:	49c0           	extbl %d0                                   <== NOT EXECUTED
   44cc0:	4878 0400      	pea 400 <D_BIAS+0x2>                        <== NOT EXECUTED
   44cc4:	4878 0009      	pea 9 <DIVIDE_BY_ZERO+0x1>                  <== NOT EXECUTED
   44cc8:	0080 5278 5400 	oril #1383617536,%d0                        <== NOT EXECUTED
   44cce:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44cd0:	4e94           	jsr %a4@                                    <== NOT EXECUTED
				   TERMIOS_RXTASK_STACKSIZE,                                      
				   RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                        
				   RTEMS_NO_ASR,                                                  
				   RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                         
				   &tty->rxTaskId);                                               
			if (sc != RTEMS_SUCCESSFUL)                                        
   44cd2:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   44cd6:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44cd8:	6600 0150      	bnew 44e2a <rtems_termios_open+0x3aa>       <== NOT EXECUTED
				rtems_fatal_error_occurred (sc);                                  
                                                                      
		}                                                                   
		if ((tty->device.pollRead == NULL) ||                               
   44cdc:	4aab 00a0      	tstl %a3@(160)                              
   44ce0:	6708           	beqs 44cea <rtems_termios_open+0x26a>       
		    (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){     
   44ce2:	7202           	moveq #2,%d1                                
   44ce4:	b2ab 00b4      	cmpl %a3@(180),%d1                          
   44ce8:	662c           	bnes 44d16 <rtems_termios_open+0x296>       <== ALWAYS TAKEN
			sc = rtems_semaphore_create (                                      
   44cea:	486b 0068      	pea %a3@(104)                               
   44cee:	1039 0005 d7cc 	moveb 5d7cc <c.6315>,%d0                    
   44cf4:	42a7           	clrl %sp@-                                  
   44cf6:	4878 0024      	pea 24 <OPER2+0x10>                         
   44cfa:	49c0           	extbl %d0                                   
   44cfc:	0080 5452 7200 	oril #1414689280,%d0                        
   44d02:	42a7           	clrl %sp@-                                  
   44d04:	2f00           	movel %d0,%sp@-                             
   44d06:	4eb9 0004 5588 	jsr 45588 <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)                                        
   44d0c:	4fef 0014      	lea %sp@(20),%sp                            
   44d10:	4a80           	tstl %d0                                    
   44d12:	6600 0116      	bnew 44e2a <rtems_termios_open+0x3aa>       
		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;                                                 
   44d16:	42ab 00b8      	clrl %a3@(184)                              
		/*                                                                  
		 * set low/highwater mark for XON/XOFF support                      
		 */                                                                 
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
   44d1a:	202b 0064      	movel %a3@(100),%d0                         
   44d1e:	e288           	lsrl #1,%d0                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
   44d20:	7203           	moveq #3,%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;                          
   44d22:	2740 00bc      	movel %d0,%a3@(188)                         
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
   44d26:	206b 0064      	moveal %a3@(100),%a0                        
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
   44d2a:	1741 0041      	moveb %d1,%a3@(65)                          
		tty->termios.c_cc[VQUIT] = '\034';                                  
   44d2e:	721c           	moveq #28,%d1                               
		tty->termios.c_cc[VERASE] = '\177';                                 
   44d30:	707f           	moveq #127,%d0                              
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
                                                                      
		tty->termios.c_cc[VINTR] = '\003';                                  
		tty->termios.c_cc[VQUIT] = '\034';                                  
   44d32:	1741 0042      	moveb %d1,%a3@(66)                          
		tty->termios.c_cc[VERASE] = '\177';                                 
   44d36:	1740 0043      	moveb %d0,%a3@(67)                          
		tty->termios.c_cc[VKILL] = '\025';                                  
   44d3a:	7215           	moveq #21,%d1                               
		tty->termios.c_cc[VEOF] = '\004';                                   
   44d3c:	7004           	moveq #4,%d0                                
		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';                                 
		tty->termios.c_cc[VKILL] = '\025';                                  
   44d3e:	1741 0044      	moveb %d1,%a3@(68)                          
		tty->termios.c_cc[VEOF] = '\004';                                   
   44d42:	1740 0045      	moveb %d0,%a3@(69)                          
		tty->termios.c_cc[VEOL] = '\000';                                   
   44d46:	4201           	clrb %d1                                    
		tty->termios.c_cc[VEOL2] = '\000';                                  
		tty->termios.c_cc[VSTART] = '\021';                                 
   44d48:	7011           	moveq #17,%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';                                   
   44d4a:	1741 004c      	moveb %d1,%a3@(76)                          
		tty->termios.c_cc[VEOL2] = '\000';                                  
   44d4e:	1741 0051      	moveb %d1,%a3@(81)                          
		tty->termios.c_cc[VSTART] = '\021';                                 
   44d52:	1740 0049      	moveb %d0,%a3@(73)                          
		tty->termios.c_cc[VSTOP] = '\023';                                  
   44d56:	7213           	moveq #19,%d1                               
		tty->termios.c_cc[VSUSP] = '\032';                                  
   44d58:	701a           	moveq #26,%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';                                  
   44d5a:	1741 004a      	moveb %d1,%a3@(74)                          
		tty->termios.c_cc[VSUSP] = '\032';                                  
   44d5e:	1740 004b      	moveb %d0,%a3@(75)                          
		tty->termios.c_cc[VREPRINT] = '\022';                               
   44d62:	7212           	moveq #18,%d1                               
		tty->termios.c_cc[VDISCARD] = '\017';                               
   44d64:	700f           	moveq #15,%d0                               
		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';                               
   44d66:	1741 004d      	moveb %d1,%a3@(77)                          
		tty->termios.c_cc[VDISCARD] = '\017';                               
   44d6a:	1740 004e      	moveb %d0,%a3@(78)                          
		tty->termios.c_cc[VWERASE] = '\027';                                
   44d6e:	7217           	moveq #23,%d1                               
		tty->termios.c_cc[VLNEXT] = '\026';                                 
   44d70:	7016           	moveq #22,%d0                               
		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;                          
   44d72:	41f0 8a00      	lea %a0@(00000000,%a0:l:2),%a0              
		tty->termios.c_cc[VSTOP] = '\023';                                  
		tty->termios.c_cc[VSUSP] = '\032';                                  
		tty->termios.c_cc[VREPRINT] = '\022';                               
		tty->termios.c_cc[VDISCARD] = '\017';                               
		tty->termios.c_cc[VWERASE] = '\027';                                
		tty->termios.c_cc[VLNEXT] = '\026';                                 
   44d76:	1740 0050      	moveb %d0,%a3@(80)                          
		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';                                
   44d7a:	1741 004f      	moveb %d1,%a3@(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;                          
   44d7e:	2008           	movel %a0,%d0                               
   44d80:	e488           	lsrl #2,%d0                                 
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
   44d82:	307c 2502      	moveaw #9474,%a0                            
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
   44d86:	1239 0005 d7cc 	moveb 5d7cc <c.6315>,%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;                          
   44d8c:	2740 00c0      	movel %d0,%a3@(192)                         
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
   44d90:	203c 0000 1805 	movel #6149,%d0                             
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
   44d96:	49c1           	extbl %d1                                   
   44d98:	2a01           	movel %d1,%d5                               
   44d9a:	5285           	addql #1,%d5                                
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
   44d9c:	2740 0034      	movel %d0,%a3@(52)                          
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
   44da0:	303c 823b      	movew #-32197,%d0                           
		}                                                                   
                                                                      
		/*                                                                  
		 * Set default parameters                                           
		 */                                                                 
		tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;             
   44da4:	2748 0030      	movel %a0,%a3@(48)                          
		tty->termios.c_oflag = OPOST | ONLCR | XTABS;                       
		tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;                
   44da8:	307c 08bd      	moveaw #2237,%a0                            
		tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
   44dac:	2740 003c      	movel %d0,%a3@(60)                          
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
   44db0:	303c 007a      	movew #122,%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;                
   44db4:	2748 0038      	movel %a0,%a3@(56)                          
		tty->lowwater  = tty->rawInBuf.Size * 1/2;                          
		tty->highwater = tty->rawInBuf.Size * 3/4;                          
		/*                                                                  
		 * Bump name characer                                               
		 */                                                                 
		if (c++ == 'z')                                                     
   44db8:	13c5 0005 d7cc 	moveb %d5,5d7cc <c.6315>                    
   44dbe:	b081           	cmpl %d1,%d0                                
   44dc0:	6608           	bnes 44dca <rtems_termios_open+0x34a>       <== ALWAYS TAKEN
			c = 'a';                                                           
   44dc2:	7261           	moveq #97,%d1                               <== NOT EXECUTED
   44dc4:	13c1 0005 d7cc 	moveb %d1,5d7cc <c.6315>                    <== NOT EXECUTED
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
	if (!tty->refcount++) {                                              
   44dca:	202a 0008      	movel %a2@(8),%d0                           
   44dce:	2200           	movel %d0,%d1                               
   44dd0:	5281           	addql #1,%d1                                
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
   44dd2:	2055           	moveal %a5@,%a0                             
	if (!tty->refcount++) {                                              
   44dd4:	2541 0008      	movel %d1,%a2@(8)                           
		 */                                                                 
		if (c++ == 'z')                                                     
			c = 'a';                                                           
                                                                      
	}                                                                    
	args->iop->data1 = tty;                                              
   44dd8:	214a 0034      	movel %a2,%a0@(52)                          
	if (!tty->refcount++) {                                              
   44ddc:	4a80           	tstl %d0                                    
   44dde:	6652           	bnes 44e32 <rtems_termios_open+0x3b2>       
	  if (tty->device.firstOpen)                                         
   44de0:	206a 0098      	moveal %a2@(152),%a0                        
   44de4:	4a88           	tstl %a0                                    
   44de6:	670c           	beqs 44df4 <rtems_termios_open+0x374>       
		(*tty->device.firstOpen)(major, minor, arg);                        
   44de8:	2f0d           	movel %a5,%sp@-                             
   44dea:	2f04           	movel %d4,%sp@-                             
   44dec:	2f03           	movel %d3,%sp@-                             
   44dee:	4e90           	jsr %a0@                                    
   44df0:	4fef 000c      	lea %sp@(12),%sp                            
	  /*                                                                 
	   * start I/O tasks, if needed                                      
	   */                                                                
	  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {     
   44df4:	7002           	moveq #2,%d0                                
   44df6:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   44dfa:	6636           	bnes 44e32 <rtems_termios_open+0x3b2>       <== ALWAYS TAKEN
	    sc = rtems_task_start(tty->rxTaskId,                             
   44dfc:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44dfe:	487a 00d2      	pea %pc@(44ed2 <rtems_termios_rxdaemon>)    <== NOT EXECUTED
   44e02:	47f9 0004 5bf0 	lea 45bf0 <rtems_task_start>,%a3            <== NOT EXECUTED
   44e08:	2f2a 00c4      	movel %a2@(196),%sp@-                       <== NOT EXECUTED
   44e0c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
				  rtems_termios_rxdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
   44e0e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44e12:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44e14:	6614           	bnes 44e2a <rtems_termios_open+0x3aa>       <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
                                                                      
	    sc = rtems_task_start(tty->txTaskId,                             
   44e16:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44e18:	487a 0050      	pea %pc@(44e6a <rtems_termios_txdaemon>)    <== NOT EXECUTED
   44e1c:	2f2a 00c8      	movel %a2@(200),%sp@-                       <== NOT EXECUTED
   44e20:	4e93           	jsr %a3@                                    <== NOT EXECUTED
				  rtems_termios_txdaemon,                                         
				  (rtems_task_argument)tty);                                      
	    if (sc != RTEMS_SUCCESSFUL)                                      
   44e22:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44e26:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44e28:	6708           	beqs 44e32 <rtems_termios_open+0x3b2>       <== NOT EXECUTED
	      rtems_fatal_error_occurred (sc);                               
   44e2a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44e2c:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
	  }                                                                  
	}                                                                    
	rtems_semaphore_release (rtems_termios_ttyMutex);                    
   44e32:	2f39 0005 ee20 	movel 5ee20 <rtems_termios_ttyMutex>,%sp@-  
   44e38:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
	return RTEMS_SUCCESSFUL;                                             
   44e3e:	588f           	addql #4,%sp                                
}                                                                     
   44e40:	2002           	movel %d2,%d0                               
   44e42:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   44e48:	4e5e           	unlk %fp                                    
   44e4a:	4e75           	rts                                         
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
   44e4c:	4878 00e8      	pea e8 <DBL_MANT_DIG+0xb3>                  
   44e50:	4878 0001      	pea 1 <ADD>                                 
   44e54:	4eb9 0004 2438 	jsr 42438 <calloc>                          
		if (tty == NULL) {                                                  
   44e5a:	508f           	addql #8,%sp                                
		static char c = 'a';                                                
                                                                      
		/*                                                                  
		 * Create a new device                                              
		 */                                                                 
		tty = calloc (1, sizeof (struct rtems_termios_tty));                
   44e5c:	2440           	moveal %d0,%a2                              
   44e5e:	2640           	moveal %d0,%a3                              
		if (tty == NULL) {                                                  
   44e60:	4a80           	tstl %d0                                    
   44e62:	6600 fc76      	bnew 44ada <rtems_termios_open+0x5a>        
   44e66:	6000 fc66      	braw 44ace <rtems_termios_open+0x4e>        <== NOT EXECUTED
                                                                      

00043bee <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
   43bee:	4e56 ffe0      	linkw %fp,#-32                              
   43bf2:	202e 0008      	movel %fp@(8),%d0                           
   43bf6:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   43bfa:	242e 000c      	movel %fp@(12),%d2                          
	const unsigned char *buf = _buf;                                     
   43bfe:	2640           	moveal %d0,%a3                              
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, int len, struct rtems_termios_tty *tty)           
{                                                                     
   43c00:	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) {            
   43c04:	4aaa 00b4      	tstl %a2@(180)                              
   43c08:	661c           	bnes 43c26 <rtems_termios_puts+0x38>        <== ALWAYS TAKEN
		(*tty->device.write)(tty->minor, (void *)buf, len);                 
   43c0a:	226a 00a4      	moveal %a2@(164),%a1                        <== NOT EXECUTED
   43c0e:	2d6a 0010 0008 	movel %a2@(16),%fp@(8)                      <== NOT EXECUTED
   43c14:	2d42 0010      	movel %d2,%fp@(16)                          <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
	}                                                                    
}                                                                     
   43c18:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            <== NOT EXECUTED
	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);                 
   43c1e:	2d40 000c      	movel %d0,%fp@(12)                          <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
	}                                                                    
}                                                                     
   43c22:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	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);                 
   43c24:	4ed1           	jmp %a1@                                    <== NOT EXECUTED
		return;                                                             
	}                                                                    
	newHead = tty->rawOutBuf.Head;                                       
   43c26:	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);                                    
   43c2a:	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,             
   43c30:	49f9 0004 57c0 	lea 457c0 <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) {                                                        
   43c36:	6000 00a0      	braw 43cd8 <rtems_termios_puts+0xea>        
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
   43c3a:	222a 0088      	movel %a2@(136),%d1                         
   43c3e:	5286           	addql #1,%d6                                
		rtems_interrupt_disable (level);                                    
   43c40:	2005           	movel %d5,%d0                               
		 *	len -= ncopy                                                     
		 *                                                                  
		 * To minimize latency, the memcpy should be done                   
		 * with interrupts enabled.                                         
		 */                                                                 
		newHead = (newHead + 1) % tty->rawOutBuf.Size;                      
   43c42:	4c41 6004      	remul %d1,%d4,%d6                           
   43c46:	2c04           	movel %d4,%d6                               
		rtems_interrupt_disable (level);                                    
   43c48:	40c3           	movew %sr,%d3                               
   43c4a:	8083           	orl %d3,%d0                                 
   43c4c:	46c0           	movew %d0,%sr                               
		while (newHead == tty->rawOutBuf.Tail) {                            
   43c4e:	602a           	bras 43c7a <rtems_termios_puts+0x8c>        
			tty->rawOutBufState = rob_wait;                                    
   43c50:	7002           	moveq #2,%d0                                
   43c52:	2540 0094      	movel %d0,%a2@(148)                         
			rtems_interrupt_enable (level);                                    
   43c56:	46c3           	movew %d3,%sr                               
			sc = rtems_semaphore_obtain (tty->rawOutBuf.Semaphore,             
   43c58:	42a7           	clrl %sp@-                                  
   43c5a:	42a7           	clrl %sp@-                                  
   43c5c:	2f2a 008c      	movel %a2@(140),%sp@-                       
   43c60:	4e94           	jsr %a4@                                    
							RTEMS_WAIT,                                                    
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
   43c62:	4fef 000c      	lea %sp@(12),%sp                            
   43c66:	4a80           	tstl %d0                                    
   43c68:	6708           	beqs 43c72 <rtems_termios_puts+0x84>        <== ALWAYS TAKEN
				rtems_fatal_error_occurred (sc);                                  
   43c6a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43c6c:	4eb9 0004 5e4c 	jsr 45e4c <rtems_fatal_error_occurred>      <== NOT EXECUTED
			rtems_interrupt_disable (level);                                   
   43c72:	2005           	movel %d5,%d0                               
   43c74:	40c3           	movew %sr,%d3                               
   43c76:	8083           	orl %d3,%d0                                 
   43c78:	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) {                            
   43c7a:	202a 0084      	movel %a2@(132),%d0                         
   43c7e:	b084           	cmpl %d4,%d0                                
   43c80:	67ce           	beqs 43c50 <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++;                
   43c82:	202a 0080      	movel %a2@(128),%d0                         
   43c86:	206a 007c      	moveal %a2@(124),%a0                        
   43c8a:	1193 0800      	moveb %a3@,%a0@(00000000,%d0:l)             
		tty->rawOutBuf.Head = newHead;                                      
   43c8e:	2544 0080      	movel %d4,%a2@(128)                         
		if (tty->rawOutBufState == rob_idle) {                              
   43c92:	4aaa 0094      	tstl %a2@(148)                              
   43c96:	663a           	bnes 43cd2 <rtems_termios_puts+0xe4>        
		  /* check, whether XOFF has been received */                       
		  if (!(tty->flow_ctrl & FL_ORCVXOF)) {                             
   43c98:	202a 00b8      	movel %a2@(184),%d0                         
   43c9c:	0800 0004      	btst #4,%d0                                 
   43ca0:	661e           	bnes 43cc0 <rtems_termios_puts+0xd2>        <== NEVER TAKEN
		    (*tty->device.write)(tty->minor,                                
   43ca2:	4878 0001      	pea 1 <ADD>                                 
			(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);            
   43ca6:	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,                                
   43caa:	d0aa 007c      	addl %a2@(124),%d0                          
   43cae:	2f00           	movel %d0,%sp@-                             
   43cb0:	2f2a 0010      	movel %a2@(16),%sp@-                        
   43cb4:	206a 00a4      	moveal %a2@(164),%a0                        
   43cb8:	4e90           	jsr %a0@                                    
   43cba:	4fef 000c      	lea %sp@(12),%sp                            
   43cbe:	600c           	bras 43ccc <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;                                     
   43cc0:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   43cc4:	7220           	moveq #32,%d1                               <== NOT EXECUTED
   43cc6:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   43cc8:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
   43ccc:	7001           	moveq #1,%d0                                
   43cce:	2540 0094      	movel %d0,%a2@(148)                         
							RTEMS_NO_TIMEOUT);                                             
			if (sc != RTEMS_SUCCESSFUL)                                        
				rtems_fatal_error_occurred (sc);                                  
			rtems_interrupt_disable (level);                                   
		}                                                                   
		tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;                
   43cd2:	528b           	addql #1,%a3                                
		    /* remember that output has been stopped due to flow ctrl*/     
		    tty->flow_ctrl |= FL_OSTOP;                                     
		  }                                                                 
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
   43cd4:	46c3           	movew %d3,%sr                               
		len--;                                                              
   43cd6:	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) {                                                        
   43cd8:	4a82           	tstl %d2                                    
   43cda:	6600 ff5e      	bnew 43c3a <rtems_termios_puts+0x4c>        
		  tty->rawOutBufState = rob_busy;                                   
		}                                                                   
		rtems_interrupt_enable (level);                                     
		len--;                                                              
	}                                                                    
}                                                                     
   43cde:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   43ce4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044334 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
   44334:	4e56 ffd0      	linkw %fp,#-48                              <== NOT EXECUTED
   44338:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 <== NOT EXECUTED
   4433c:	266e 0008      	moveal %fp@(8),%a3                          <== NOT EXECUTED
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
   44340:	2053           	moveal %a3@,%a0                             <== NOT EXECUTED
   44342:	2468 0034      	moveal %a0@(52),%a2                         <== NOT EXECUTED
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44346:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
   44348:	242b 0010      	movel %a3@(16),%d2                          <== NOT EXECUTED
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4434c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4434e:	2f2a 0014      	movel %a2@(20),%sp@-                        <== NOT EXECUTED
rtems_termios_read (void *arg)                                        
{                                                                     
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
   44352:	2a6b 000c      	moveal %a3@(12),%a5                         <== NOT EXECUTED
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44356:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
   4435c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
	struct rtems_termios_tty *tty = args->iop->data1;                    
	uint32_t   count = args->count;                                      
	char      *buffer = args->buffer;                                    
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44360:	2600           	movel %d0,%d3                               <== NOT EXECUTED
	if (sc != RTEMS_SUCCESSFUL)                                          
   44362:	6600 029a      	bnew 445fe <rtems_termios_read+0x2ca>       <== NOT EXECUTED
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_read != NULL) {              
   44366:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   4436a:	41f9 0005 e5dc 	lea 5e5dc <rtems_termios_linesw>,%a0        <== NOT EXECUTED
   44370:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   44372:	2070 0808      	moveal %a0@(00000008,%d0:l),%a0             <== NOT EXECUTED
   44376:	4a88           	tstl %a0                                    <== NOT EXECUTED
   44378:	671e           	beqs 44398 <rtems_termios_read+0x64>        <== NOT EXECUTED
		sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);            
   4437a:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4437c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4437e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44380:	2600           	movel %d0,%d3                               <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
   44382:	42aa 00e4      	clrl %a2@(228)                              <== NOT EXECUTED
		rtems_semaphore_release (tty->isem);                                
   44386:	2f2a 0014      	movel %a2@(20),%sp@-                        <== NOT EXECUTED
   4438a:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
		return sc;                                                          
   44390:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44394:	6000 0268      	braw 445fe <rtems_termios_read+0x2ca>       <== NOT EXECUTED
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
   44398:	202a 0020      	movel %a2@(32),%d0                          <== NOT EXECUTED
   4439c:	b0aa 0024      	cmpl %a2@(36),%d0                           <== NOT EXECUTED
   443a0:	6600 0234      	bnew 445d6 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
		tty->cindex = tty->ccount = 0;                                      
   443a4:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
   443a8:	256a 0028 002c 	movel %a2@(40),%a2@(44)                     <== NOT EXECUTED
		tty->tty_rcvwakeup = 0;                                             
		rtems_semaphore_release (tty->isem);                                
		return sc;                                                          
	}                                                                    
	if (tty->cindex == tty->ccount) {                                    
		tty->cindex = tty->ccount = 0;                                      
   443ae:	42aa 0024      	clrl %a2@(36)                               <== NOT EXECUTED
		tty->read_start_column = tty->column;                               
		if (tty->device.pollRead != NULL                                    
   443b2:	4aaa 00a0      	tstl %a2@(160)                              <== NOT EXECUTED
   443b6:	6700 00da      	beqw 44492 <rtems_termios_read+0x15e>       <== NOT EXECUTED
		    && tty->device.outputUsesInterrupts == TERMIOS_POLLED)          
   443ba:	4aaa 00b4      	tstl %a2@(180)                              <== NOT EXECUTED
   443be:	6600 00d2      	bnew 44492 <rtems_termios_read+0x15e>       <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
   443c2:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   443c4:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   443c8:	673e           	beqs 44408 <rtems_termios_read+0xd4>        <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
			if (n < 0) {                                                       
				rtems_task_wake_after (1);                                        
   443ca:	49f9 0004 5c98 	lea 45c98 <rtems_task_wake_after>,%a4       <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
   443d0:	283c 0004 41aa 	movel #278954,%d4                           <== NOT EXECUTED
{                                                                     
	int n;                                                               
                                                                      
	if (tty->termios.c_lflag & ICANON) {                                 
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
   443d6:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   443da:	206a 00a0      	moveal %a2@(160),%a0                        <== NOT EXECUTED
   443de:	4e90           	jsr %a0@                                    <== NOT EXECUTED
			if (n < 0) {                                                       
   443e0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   443e2:	4a80           	tstl %d0                                    <== NOT EXECUTED
   443e4:	6c0a           	bges 443f0 <rtems_termios_read+0xbc>        <== NOT EXECUTED
				rtems_task_wake_after (1);                                        
   443e6:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   443ea:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   443ec:	588f           	addql #4,%sp                                <== NOT EXECUTED
   443ee:	60e6           	bras 443d6 <rtems_termios_read+0xa2>        <== NOT EXECUTED
			}                                                                  
			else {                                                             
				if  (siproc (n, tty))                                             
   443f0:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   443f2:	2044           	moveal %d4,%a0                              <== NOT EXECUTED
   443f4:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   443fa:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   443fc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   443fe:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44400:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44402:	67d2           	beqs 443d6 <rtems_termios_read+0xa2>        <== NOT EXECUTED
   44404:	6000 01d0      	braw 445d6 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
   44408:	41f9 0004 51a0 	lea 451a0 <rtems_clock_get_ticks_since_boot>,%a0<== NOT EXECUTED
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
   4440e:	2848           	moveal %a0,%a4                              <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
   44410:	2c3c 0004 5c98 	movel #285848,%d6                           <== NOT EXECUTED
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
   44416:	2a3c 0004 41aa 	movel #278954,%d5                           <== NOT EXECUTED
			}                                                                  
		}                                                                   
	}                                                                    
	else {                                                               
		rtems_interval then, now;                                           
		then = rtems_clock_get_ticks_since_boot();                          
   4441c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4441e:	2800           	movel %d0,%d4                               <== NOT EXECUTED
		for (;;) {                                                          
			n = (*tty->device.pollRead)(tty->minor);                           
   44420:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44424:	206a 00a0      	moveal %a2@(160),%a0                        <== NOT EXECUTED
   44428:	4e90           	jsr %a0@                                    <== NOT EXECUTED
			if (n < 0) {                                                       
   4442a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4442c:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4442e:	6c34           	bges 44464 <rtems_termios_read+0x130>       <== NOT EXECUTED
				if (tty->termios.c_cc[VMIN]) {                                    
   44430:	4a2a 0047      	tstb %a2@(71)                               <== NOT EXECUTED
   44434:	670e           	beqs 44444 <rtems_termios_read+0x110>       <== NOT EXECUTED
					if (tty->termios.c_cc[VTIME] && tty->ccount) {                   
   44436:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   4443a:	671c           	beqs 44458 <rtems_termios_read+0x124>       <== NOT EXECUTED
   4443c:	4aaa 0020      	tstl %a2@(32)                               <== NOT EXECUTED
   44440:	6716           	beqs 44458 <rtems_termios_read+0x124>       <== NOT EXECUTED
   44442:	6008           	bras 4444c <rtems_termios_read+0x118>       <== NOT EXECUTED
							break;                                                         
						}                                                               
					}                                                                
				}                                                                 
				else {                                                            
					if (!tty->termios.c_cc[VTIME])                                   
   44444:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   44448:	6700 018c      	beqw 445d6 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
						break;                                                          
					now = rtems_clock_get_ticks_since_boot();                        
   4444c:	4e94           	jsr %a4@                                    <== NOT EXECUTED
					if ((now - then) > tty->vtimeTicks) {                            
   4444e:	9084           	subl %d4,%d0                                <== NOT EXECUTED
   44450:	b0aa 0054      	cmpl %a2@(84),%d0                           <== NOT EXECUTED
   44454:	6200 0180      	bhiw 445d6 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
						break;                                                          
					}                                                                
				}                                                                 
				rtems_task_wake_after (1);                                        
   44458:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   4445c:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   4445e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44460:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44462:	60bc           	bras 44420 <rtems_termios_read+0xec>        <== NOT EXECUTED
			}                                                                  
			else {                                                             
				siproc (n, tty);                                                  
   44464:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44466:	2045           	moveal %d5,%a0                              <== NOT EXECUTED
   44468:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   4446e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44470:	4e90           	jsr %a0@                                    <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
   44472:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44474:	4281           	clrl %d1                                    <== NOT EXECUTED
   44476:	102a 0047      	moveb %a2@(71),%d0                          <== NOT EXECUTED
   4447a:	1200           	moveb %d0,%d1                               <== NOT EXECUTED
   4447c:	b2aa 0020      	cmpl %a2@(32),%d1                           <== NOT EXECUTED
   44480:	6f00 0154      	blew 445d6 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
					break;                                                           
				if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])          
   44484:	4a00           	tstb %d0                                    <== NOT EXECUTED
   44486:	6798           	beqs 44420 <rtems_termios_read+0xec>        <== NOT EXECUTED
   44488:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   4448c:	6792           	beqs 44420 <rtems_termios_read+0xec>        <== NOT EXECUTED
					then = rtems_clock_get_ticks_since_boot();                       
   4448e:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   44490:	608c           	bras 4441e <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,                               
   44492:	2e0a           	movel %a2,%d7                               <== NOT EXECUTED
   44494:	0687 0000 0049 	addil #73,%d7                               <== NOT EXECUTED
   4449a:	7801           	moveq #1,%d4                                <== NOT EXECUTED
   4449c:	49fa fd0c      	lea %pc@(441aa <siproc>),%a4                <== NOT EXECUTED
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
   444a0:	2c3c 0004 57c0 	movel #284608,%d6                           <== NOT EXECUTED
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
	rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;         
   444a6:	2a2a 0074      	movel %a2@(116),%d5                         <== NOT EXECUTED
   444aa:	6000 00e2      	braw 4458e <rtems_termios_read+0x25a>       <== NOT EXECUTED
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
   444ae:	2a2a 005c      	movel %a2@(92),%d5                          <== NOT EXECUTED
   444b2:	5285           	addql #1,%d5                                <== NOT EXECUTED
   444b4:	202a 0064      	movel %a2@(100),%d0                         <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
   444b8:	206a 0058      	moveal %a2@(88),%a0                         <== NOT EXECUTED
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
   444bc:	4c40 5001      	remul %d0,%d1,%d5                           <== NOT EXECUTED
			c = tty->rawInBuf.theBuf[newHead];                                 
   444c0:	1030 1800      	moveb %a0@(00000000,%d1:l),%d0              <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
   444c4:	2541 005c      	movel %d1,%a2@(92)                          <== NOT EXECUTED
                       (tty->ccount < (CBUFSIZE-1))) {                
			unsigned char c;                                                   
			unsigned int newHead;                                              
                                                                      
			newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;           
			c = tty->rawInBuf.theBuf[newHead];                                 
   444c8:	1d40 fffb      	moveb %d0,%fp@(-5)                          <== NOT EXECUTED
			tty->rawInBuf.Head = newHead;                                      
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
   444cc:	202a 0060      	movel %a2@(96),%d0                          <== NOT EXECUTED
   444d0:	206a 0064      	moveal %a2@(100),%a0                        <== NOT EXECUTED
   444d4:	43f0 0800      	lea %a0@(00000000,%d0:l),%a1                <== NOT EXECUTED
   444d8:	93c1           	subal %d1,%a1                               <== NOT EXECUTED
   444da:	2a09           	movel %a1,%d5                               <== NOT EXECUTED
   444dc:	222a 0064      	movel %a2@(100),%d1                         <== NOT EXECUTED
   444e0:	4c41 5000      	remul %d1,%d0,%d5                           <== NOT EXECUTED
   444e4:	2d41 fffc      	movel %d1,%fp@(-4)                          <== NOT EXECUTED
   444e8:	b0aa 00bc      	cmpl %a2@(188),%d0                          <== NOT EXECUTED
   444ec:	646a           	bccs 44558 <rtems_termios_read+0x224>       <== NOT EXECUTED
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
   444ee:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   444f2:	72fe           	moveq #-2,%d1                               <== NOT EXECUTED
   444f4:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   444f6:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
   444fa:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   444fe:	0280 0000 0202 	andil #514,%d0                              <== NOT EXECUTED
   44504:	0c80 0000 0202 	cmpil #514,%d0                              <== NOT EXECUTED
   4450a:	6626           	bnes 44532 <rtems_termios_read+0x1fe>       <== NOT EXECUTED
   4450c:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   44510:	670a           	beqs 4451c <rtems_termios_read+0x1e8>       <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
   44512:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
			if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)                
			    % tty->rawInBuf.Size)                                          
			   < tty->lowwater) {                                              
			  tty->flow_ctrl &= ~FL_IREQXOF;                                   
			  /* if tx stopped and XON should be sent... */                    
			  if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))                  
   44516:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   4451a:	6716           	beqs 44532 <rtems_termios_read+0x1fe>       <== NOT EXECUTED
			       ==                (FL_MDXON | FL_ISNTXOF))                  
			      && ((tty->rawOutBufState == rob_idle)                        
				  || (tty->flow_ctrl & FL_OSTOP))) {                              
			    /* XON should be sent now... */                                
			    (*tty->device.write)(tty->minor,                               
   4451c:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44520:	2f07           	movel %d7,%sp@-                             <== NOT EXECUTED
   44522:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44526:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   4452a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4452c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44530:	6026           	bras 44558 <rtems_termios_read+0x224>       <== NOT EXECUTED
				(void *)&(tty->termios.c_cc[VSTART]),                             
				1);                                                               
			  }                                                                
			  else if (tty->flow_ctrl & FL_MDRTS) {                            
   44532:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44536:	0800 0008      	btst #8,%d0                                 <== NOT EXECUTED
   4453a:	671c           	beqs 44558 <rtems_termios_read+0x224>       <== NOT EXECUTED
			    tty->flow_ctrl &= ~FL_IRTSOFF;                                 
   4453c:	222a 00b8      	movel %a2@(184),%d1                         <== NOT EXECUTED
   44540:	7afb           	moveq #-5,%d5                               <== NOT EXECUTED
   44542:	c285           	andl %d5,%d1                                <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
   44544:	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;                                 
   44548:	2541 00b8      	movel %d1,%a2@(184)                         <== NOT EXECUTED
			    /* activate RTS line */                                        
			    if (tty->device.startRemoteTx != NULL) {                       
   4454c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4454e:	6708           	beqs 44558 <rtems_termios_read+0x224>       <== NOT EXECUTED
			      tty->device.startRemoteTx(tty->minor);                       
   44550:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44554:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44556:	588f           	addql #4,%sp                                <== NOT EXECUTED
			    }                                                              
			  }                                                                
			}                                                                  
                                                                      
			/* continue processing new character */                            
			if (tty->termios.c_lflag & ICANON) {                               
   44558:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   4455a:	4285           	clrl %d5                                    <== NOT EXECUTED
   4455c:	1a2e fffb      	moveb %fp@(-5),%d5                          <== NOT EXECUTED
   44560:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   44564:	670e           	beqs 44574 <rtems_termios_read+0x240>       <== NOT EXECUTED
				if  (siproc (c, tty))                                             
   44566:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44568:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   4456a:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4456c:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4456e:	4a80           	tstl %d0                                    <== NOT EXECUTED
   44570:	6616           	bnes 44588 <rtems_termios_read+0x254>       <== NOT EXECUTED
   44572:	6016           	bras 4458a <rtems_termios_read+0x256>       <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			else {                                                             
				siproc (c, tty);                                                  
   44574:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44576:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   44578:	4e94           	jsr %a4@                                    <== NOT EXECUTED
				if (tty->ccount >= tty->termios.c_cc[VMIN])                       
   4457a:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4457c:	4280           	clrl %d0                                    <== NOT EXECUTED
   4457e:	102a 0047      	moveb %a2@(71),%d0                          <== NOT EXECUTED
   44582:	b0aa 0020      	cmpl %a2@(32),%d0                           <== NOT EXECUTED
   44586:	6e02           	bgts 4458a <rtems_termios_read+0x256>       <== NOT EXECUTED
   44588:	4284           	clrl %d4                                    <== NOT EXECUTED
					wait = 0;                                                        
			}                                                                  
			timeout = tty->rawInBufSemaphoreTimeout;                           
   4458a:	2a2a 0070      	movel %a2@(112),%d5                         <== NOT EXECUTED
                                                                      
	while ( wait ) {                                                     
		/*                                                                  
		 * Process characters read from raw queue                           
		 */                                                                 
		while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&                
   4458e:	222a 005c      	movel %a2@(92),%d1                          <== NOT EXECUTED
   44592:	202a 0060      	movel %a2@(96),%d0                          <== NOT EXECUTED
   44596:	b081           	cmpl %d1,%d0                                <== NOT EXECUTED
   44598:	6710           	beqs 445aa <rtems_termios_read+0x276>       <== NOT EXECUTED
   4459a:	2039 0005 d7c0 	movel 5d7c0 <rtems_termios_cbufsize>,%d0    <== NOT EXECUTED
   445a0:	5380           	subql #1,%d0                                <== NOT EXECUTED
   445a2:	b0aa 0020      	cmpl %a2@(32),%d0                           <== NOT EXECUTED
   445a6:	6e00 ff06      	bgtw 444ae <rtems_termios_read+0x17a>       <== NOT EXECUTED
		}                                                                   
                                                                      
		/*                                                                  
		 * Wait for characters                                              
		 */                                                                 
		if ( wait ) {                                                       
   445aa:	4a84           	tstl %d4                                    <== NOT EXECUTED
   445ac:	6728           	beqs 445d6 <rtems_termios_read+0x2a2>       <== NOT EXECUTED
			sc = rtems_semaphore_obtain (tty->rawInBuf.Semaphore,              
   445ae:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   445b0:	2f2a 006c      	movel %a2@(108),%sp@-                       <== NOT EXECUTED
   445b4:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   445b6:	2f2a 0068      	movel %a2@(104),%sp@-                       <== NOT EXECUTED
   445ba:	4e90           	jsr %a0@                                    <== NOT EXECUTED
				tty->rawInBufSemaphoreOptions,                                    
				timeout);                                                         
			if (sc != RTEMS_SUCCESSFUL)                                        
   445bc:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   445c0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   445c2:	67ca           	beqs 4458e <rtems_termios_read+0x25a>       <== NOT EXECUTED
   445c4:	6010           	bras 445d6 <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++];                               
   445c6:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
		count--;                                                            
   445ca:	5382           	subql #1,%d2                                <== 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++];                               
   445cc:	1af0 0800      	moveb %a0@(00000000,%d0:l),%a5@+            <== NOT EXECUTED
   445d0:	5280           	addql #1,%d0                                <== NOT EXECUTED
   445d2:	2540 0024      	movel %d0,%a2@(36)                          <== NOT EXECUTED
		else                                                                
			sc = fillBufferQueue (tty);                                        
		if (sc != RTEMS_SUCCESSFUL)                                         
			tty->cindex = tty->ccount = 0;                                     
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
   445d6:	4a82           	tstl %d2                                    <== NOT EXECUTED
   445d8:	670a           	beqs 445e4 <rtems_termios_read+0x2b0>       <== NOT EXECUTED
   445da:	202a 0024      	movel %a2@(36),%d0                          <== NOT EXECUTED
   445de:	b0aa 0020      	cmpl %a2@(32),%d0                           <== NOT EXECUTED
   445e2:	6de2           	blts 445c6 <rtems_termios_read+0x292>       <== NOT EXECUTED
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
   445e4:	202b 0010      	movel %a3@(16),%d0                          <== NOT EXECUTED
   445e8:	9082           	subl %d2,%d0                                <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
   445ea:	42aa 00e4      	clrl %a2@(228)                              <== NOT EXECUTED
	}                                                                    
	while (count && (tty->cindex < tty->ccount)) {                       
		*buffer++ = tty->cbuf[tty->cindex++];                               
		count--;                                                            
	}                                                                    
	args->bytes_moved = args->count - count;                             
   445ee:	2740 0018      	movel %d0,%a3@(24)                          <== NOT EXECUTED
	tty->tty_rcvwakeup = 0;                                              
	rtems_semaphore_release (tty->isem);                                 
   445f2:	2f2a 0014      	movel %a2@(20),%sp@-                        <== NOT EXECUTED
   445f6:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
	return sc;                                                           
   445fc:	588f           	addql #4,%sp                                <== NOT EXECUTED
}                                                                     
   445fe:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   44600:	4cee 3cfc ffd0 	moveml %fp@(-48),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   44606:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004377c <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) {
   4377c:	4e56 fff4      	linkw %fp,#-12                              
   43780:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   43784:	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))          
   43788:	202a 00b8      	movel %a2@(184),%d0                         
   4378c:	0280 0000 0403 	andil #1027,%d0                             
   43792:	0c80 0000 0401 	cmpil #1025,%d0                             
   43798:	663c           	bnes 437d6 <rtems_termios_refill_transmitter+0x5a><== ALWAYS TAKEN
	    == (FL_MDXOF | FL_IREQXOF)) {                                    
	  /* XOFF should be sent now... */                                   
	  (*tty->device.write)(tty->minor,                                   
   4379a:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   4379e:	486a 004a      	pea %a2@(74)                                <== NOT EXECUTED
   437a2:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   437a6:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   437aa:	4e90           	jsr %a0@                                    <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTOP]), 1);                    
                                                                      
	  rtems_interrupt_disable(level);                                    
   437ac:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   437b2:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   437b4:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   437b6:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
	  tty->t_dqlen--;                                                    
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
   437b8:	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--;                                                    
   437ba:	53aa 0090      	subql #1,%a2@(144)                          <== NOT EXECUTED
	  tty->flow_ctrl |= FL_ISNTXOF;                                      
   437be:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   437c2:	8082           	orl %d2,%d0                                 <== NOT EXECUTED
   437c4:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
   437c8:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   437ca:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   437ce:	143c 0001      	moveb #1,%d2                                <== NOT EXECUTED
   437d2:	6000 0156      	braw 4392a <rtems_termios_refill_transmitter+0x1ae><== NOT EXECUTED
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF))                
   437d6:	202a 00b8      	movel %a2@(184),%d0                         
   437da:	7203           	moveq #3,%d1                                
   437dc:	7402           	moveq #2,%d2                                
   437de:	c081           	andl %d1,%d0                                
   437e0:	b480           	cmpl %d0,%d2                                
   437e2:	663a           	bnes 4381e <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,                                   
   437e4:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   437e8:	486a 0049      	pea %a2@(73)                                <== NOT EXECUTED
   437ec:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   437f0:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   437f4:	4e90           	jsr %a0@                                    <== NOT EXECUTED
			       (void *)&(tty->termios.c_cc[VSTART]), 1);                   
                                                                      
	  rtems_interrupt_disable(level);                                    
   437f6:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   437fc:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   437fe:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   43800:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
	  tty->t_dqlen--;                                                    
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
   43802:	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--;                                                    
   43804:	53aa 0090      	subql #1,%a2@(144)                          <== NOT EXECUTED
	  tty->flow_ctrl &= ~FL_ISNTXOF;                                     
   43808:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   4380c:	c082           	andl %d2,%d0                                <== NOT EXECUTED
   4380e:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
	  rtems_interrupt_enable(level);                                     
   43812:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   43814:	7401           	moveq #1,%d2                                <== NOT EXECUTED
   43816:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   4381a:	6000 010e      	braw 4392a <rtems_termios_refill_transmitter+0x1ae><== NOT EXECUTED
                                                                      
	  nToSend = 1;                                                       
	}                                                                    
	else {                                                               
	  if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {                
   4381e:	222a 0080      	movel %a2@(128),%d1                         
   43822:	202a 0084      	movel %a2@(132),%d0                         
   43826:	b081           	cmpl %d1,%d0                                
   43828:	6620           	bnes 4384a <rtems_termios_refill_transmitter+0xce><== ALWAYS TAKEN
	    /*                                                               
	     * buffer was empty                                              
	     */                                                              
	    if (tty->rawOutBufState == rob_wait) {                           
   4382a:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   4382c:	b0aa 0094      	cmpl %a2@(148),%d0                          <== NOT EXECUTED
   43830:	6706           	beqs 43838 <rtems_termios_refill_transmitter+0xbc><== NOT EXECUTED
   43832:	4282           	clrl %d2                                    <== NOT EXECUTED
   43834:	6000 00f4      	braw 4392a <rtems_termios_refill_transmitter+0x1ae><== NOT EXECUTED
	      /*                                                             
	       * this should never happen...                                 
	       */                                                            
	      rtems_semaphore_release (tty->rawOutBuf.Semaphore);            
   43838:	2f2a 008c      	movel %a2@(140),%sp@-                       <== NOT EXECUTED
   4383c:	4282           	clrl %d2                                    <== NOT EXECUTED
   4383e:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
   43844:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43846:	6000 00e2      	braw 4392a <rtems_termios_refill_transmitter+0x1ae><== NOT EXECUTED
	    }                                                                
	    return 0;                                                        
	  }                                                                  
                                                                      
	  rtems_interrupt_disable(level);                                    
   4384a:	203c 0000 0700 	movel #1792,%d0                             
   43850:	40c2           	movew %sr,%d2                               
   43852:	8082           	orl %d2,%d0                                 
   43854:	46c0           	movew %d0,%sr                               
	  len = tty->t_dqlen;                                                
   43856:	222a 0090      	movel %a2@(144),%d1                         
	  tty->t_dqlen = 0;                                                  
   4385a:	42aa 0090      	clrl %a2@(144)                              
	  rtems_interrupt_enable(level);                                     
   4385e:	46c2           	movew %d2,%sr                               
                                                                      
	  newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;       
   43860:	202a 0084      	movel %a2@(132),%d0                         
   43864:	d280           	addl %d0,%d1                                
   43866:	202a 0088      	movel %a2@(136),%d0                         
   4386a:	4c40 1003      	remul %d0,%d3,%d1                           
	  tty->rawOutBuf.Tail = newTail;                                     
	  if (tty->rawOutBufState == rob_wait) {                             
   4386e:	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;                                     
   43870:	2543 0084      	movel %d3,%a2@(132)                         
	  if (tty->rawOutBufState == rob_wait) {                             
   43874:	b2aa 0094      	cmpl %a2@(148),%d1                          
   43878:	660c           	bnes 43886 <rtems_termios_refill_transmitter+0x10a>
	    /*                                                               
	     * wake up any pending writer task                               
	     */                                                              
	    rtems_semaphore_release (tty->rawOutBuf.Semaphore);              
   4387a:	2f2a 008c      	movel %a2@(140),%sp@-                       
   4387e:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
   43884:	588f           	addql #4,%sp                                
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
   43886:	202a 0080      	movel %a2@(128),%d0                         
   4388a:	b083           	cmpl %d3,%d0                                
   4388c:	6622           	bnes 438b0 <rtems_termios_refill_transmitter+0x134>
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
   4388e:	206a 00d4      	moveal %a2@(212),%a0                        
	  }                                                                  
	  if (newTail == tty->rawOutBuf.Head) {                              
	    /*                                                               
	     * Buffer has become empty                                       
	     */                                                              
	    tty->rawOutBufState = rob_idle;                                  
   43892:	42aa 0094      	clrl %a2@(148)                              
	    nToSend = 0;                                                     
                                                                      
	    /*                                                               
	     * check to see if snd wakeup callback was set                   
	     */                                                              
	    if ( tty->tty_snd.sw_pfn != NULL) {                              
   43896:	4a88           	tstl %a0                                    
   43898:	6606           	bnes 438a0 <rtems_termios_refill_transmitter+0x124><== NEVER TAKEN
   4389a:	4282           	clrl %d2                                    
   4389c:	6000 0088      	braw 43926 <rtems_termios_refill_transmitter+0x1aa>
	      (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);    
   438a0:	2f2a 00d8      	movel %a2@(216),%sp@-                       <== NOT EXECUTED
   438a4:	4282           	clrl %d2                                    <== NOT EXECUTED
   438a6:	486a 0030      	pea %a2@(48)                                <== NOT EXECUTED
   438aa:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   438ac:	508f           	addql #8,%sp                                <== NOT EXECUTED
   438ae:	6076           	bras 43926 <rtems_termios_refill_transmitter+0x1aa><== NOT EXECUTED
	    }                                                                
	  }                                                                  
	  /* check, whether output should stop due to received XOFF */       
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
   438b0:	202a 00b8      	movel %a2@(184),%d0                         
   438b4:	0280 0000 0210 	andil #528,%d0                              
   438ba:	0c80 0000 0210 	cmpil #528,%d0                              
   438c0:	6624           	bnes 438e6 <rtems_termios_refill_transmitter+0x16a><== 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);                                   
   438c2:	303c 0700      	movew #1792,%d0                             <== NOT EXECUTED
   438c6:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   438c8:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   438ca:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
		  tty->flow_ctrl |= FL_OSTOP;                                       
   438cc:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   438d0:	7420           	moveq #32,%d2                               <== NOT EXECUTED
   438d2:	8082           	orl %d2,%d0                                 <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
   438d4:	143c 0001      	moveb #1,%d2                                <== NOT EXECUTED
	  else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))                
		   ==                (FL_MDXON | FL_ORCVXOF)) {                     
		  /* Buffer not empty, but output stops due to XOFF */              
		  /* set flag, that output has been stopped */                      
		  rtems_interrupt_disable(level);                                   
		  tty->flow_ctrl |= FL_OSTOP;                                       
   438d8:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
		  tty->rawOutBufState = rob_busy; /*apm*/                           
   438dc:	2542 0094      	movel %d2,%a2@(148)                         <== NOT EXECUTED
		  rtems_interrupt_enable(level);                                    
   438e0:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   438e2:	4202           	clrb %d2                                    <== NOT EXECUTED
   438e4:	6040           	bras 43926 <rtems_termios_refill_transmitter+0x1aa><== NOT EXECUTED
	  }                                                                  
	  else {                                                             
	    /*                                                               
	     * Buffer not empty, start tranmitter                            
	     */                                                              
	    if (newTail > tty->rawOutBuf.Head)                               
   438e6:	202a 0080      	movel %a2@(128),%d0                         
   438ea:	b083           	cmpl %d3,%d0                                
   438ec:	6406           	bccs 438f4 <rtems_termios_refill_transmitter+0x178>
		    nToSend = tty->rawOutBuf.Size - newTail;                        
   438ee:	242a 0088      	movel %a2@(136),%d2                         
   438f2:	6004           	bras 438f8 <rtems_termios_refill_transmitter+0x17c>
	    else                                                             
		    nToSend = tty->rawOutBuf.Head - newTail;                        
   438f4:	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)) {                    
   438f8:	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;                        
   438fc:	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)) {                    
   438fe:	0280 0000 0600 	andil #1536,%d0                             
   43904:	6702           	beqs 43908 <rtems_termios_refill_transmitter+0x18c><== ALWAYS TAKEN
   43906:	7401           	moveq #1,%d2                                <== NOT EXECUTED
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
	    (*tty->device.write)(tty->minor,                                 
   43908:	2f02           	movel %d2,%sp@-                             
   4390a:	202a 007c      	movel %a2@(124),%d0                         
   4390e:	d083           	addl %d3,%d0                                
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
   43910:	7201           	moveq #1,%d1                                
	    (*tty->device.write)(tty->minor,                                 
   43912:	2f00           	movel %d0,%sp@-                             
   43914:	2f2a 0010      	movel %a2@(16),%sp@-                        
   43918:	206a 00a4      	moveal %a2@(164),%a0                        
	    /* to allow fast reaction on incoming flow ctrl and low latency*/
	    /* for outgoing flow control                                   */
	    if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                    
		    nToSend = 1;                                                    
	    }                                                                
	    tty->rawOutBufState = rob_busy; /*apm*/                          
   4391c:	2541 0094      	movel %d1,%a2@(148)                         
	    (*tty->device.write)(tty->minor,                                 
   43920:	4e90           	jsr %a0@                                    
   43922:	4fef 000c      	lea %sp@(12),%sp                            
				 &tty->rawOutBuf.theBuf[newTail],                                 
				 nToSend);                                                        
	  }                                                                  
	  tty->rawOutBuf.Tail = newTail; /*apm*/                             
   43926:	2543 0084      	movel %d3,%a2@(132)                         
	}                                                                    
	return nToSend;                                                      
}                                                                     
   4392a:	2002           	movel %d2,%d0                               
   4392c:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   43932:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044ed2 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
   44ed2:	4e56 ffe0      	linkw %fp,#-32                              <== NOT EXECUTED
   44ed6:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
   44eda:	260e           	movel %fp,%d3                               <== NOT EXECUTED
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
   44edc:	240e           	movel %fp,%d2                               <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
   44ede:	5d83           	subql #6,%d3                                <== NOT EXECUTED
   44ee0:	4bf9 0004 5208 	lea 45208 <rtems_event_receive>,%a5         <== NOT EXECUTED
				    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);                                     
   44ee6:	49f9 0004 5a98 	lea 45a98 <rtems_task_delete>,%a4           <== NOT EXECUTED
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
   44eec:	5382           	subql #1,%d2                                <== NOT EXECUTED
   44eee:	47f9 0004 3996 	lea 43996 <rtems_termios_enqueue_raw_characters>,%a3<== NOT EXECUTED
                                                                      
/*                                                                    
 * this task actually processes any receive events                    
 */                                                                   
static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument)
{                                                                     
   44ef4:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
	char c_buf;                                                          
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_RX_PROC_EVENT |                        
   44ef8:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   44efa:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44efc:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        <== NOT EXECUTED
   44f00:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   44f04:	4e95           	jsr %a5@                                    <== NOT EXECUTED
				     TERMIOS_RX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {                
   44f06:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   44f0a:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   44f0c:	c0ae fffa      	andl %fp@(-6),%d0                           <== NOT EXECUTED
   44f10:	670c           	beqs 44f1e <rtems_termios_rxdaemon+0x4c>    <== NOT EXECUTED
			tty->rxTaskId = 0;                                                 
   44f12:	42aa 00c4      	clrl %a2@(196)                              <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
   44f16:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44f18:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   44f1a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44f1c:	60da           	bras 44ef8 <rtems_termios_rxdaemon+0x26>    <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * do something                                                    
			 */                                                                
			c = tty->device.pollRead(tty->minor);                              
   44f1e:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44f22:	206a 00a0      	moveal %a2@(160),%a0                        <== NOT EXECUTED
   44f26:	4e90           	jsr %a0@                                    <== NOT EXECUTED
			if (c != EOF) {                                                    
   44f28:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44f2a:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   44f2c:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44f2e:	67c8           	beqs 44ef8 <rtems_termios_rxdaemon+0x26>    <== NOT EXECUTED
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
				rtems_termios_enqueue_raw_characters (                            
   44f30:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
			c = tty->device.pollRead(tty->minor);                              
			if (c != EOF) {                                                    
				/*                                                                
				 * pollRead did call enqueue on its own                           
				 */                                                               
				c_buf = c;                                                        
   44f34:	1d40 ffff      	moveb %d0,%fp@(-1)                          <== NOT EXECUTED
				rtems_termios_enqueue_raw_characters (                            
   44f38:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   44f3a:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44f3c:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   44f3e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44f42:	60b4           	bras 44ef8 <rtems_termios_rxdaemon+0x26>    <== NOT EXECUTED
                                                                      

00043760 <rtems_termios_rxirq_occured>: * signal receive interrupt to rx daemon * NOTE: This routine runs in the context of the * device receive interrupt handler. */ void rtems_termios_rxirq_occured(struct rtems_termios_tty *tty) {
   43760:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   43764:	206e 0008      	moveal %fp@(8),%a0                          <== NOT EXECUTED
	/*                                                                   
	 * send event to rx daemon task                                      
	 */                                                                  
	rtems_event_send(tty->rxTaskId,TERMIOS_RX_PROC_EVENT);               
   43768:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        <== NOT EXECUTED
   4376c:	2f28 00c4      	movel %a0@(196),%sp@-                       <== NOT EXECUTED
   43770:	4eb9 0004 536c 	jsr 4536c <rtems_event_send>                <== NOT EXECUTED
   43776:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   43778:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044e6a <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
   44e6a:	4e56 ffe8      	linkw %fp,#-24                              <== NOT EXECUTED
   44e6e:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
   44e72:	240e           	movel %fp,%d2                               <== NOT EXECUTED
   44e74:	5982           	subql #4,%d2                                <== NOT EXECUTED
   44e76:	4bf9 0004 5208 	lea 45208 <rtems_event_receive>,%a5         <== NOT EXECUTED
				    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);                                     
   44e7c:	49f9 0004 5a98 	lea 45a98 <rtems_task_delete>,%a4           <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
   44e82:	47f9 0004 377c 	lea 4377c <rtems_termios_refill_transmitter>,%a3<== NOT EXECUTED
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
   44e88:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
                                                                      
	while (1) {                                                          
		/*                                                                  
		 * wait for rtems event                                             
		 */                                                                 
		rtems_event_receive((TERMIOS_TX_START_EVENT |                       
   44e8c:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   44e8e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44e90:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        <== NOT EXECUTED
   44e94:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   44e98:	4e95           	jsr %a5@                                    <== NOT EXECUTED
				     TERMIOS_TX_TERMINATE_EVENT),                                 
				    RTEMS_EVENT_ANY | RTEMS_WAIT,                                 
				    RTEMS_NO_TIMEOUT,                                             
				    &the_event);                                                  
		if ((the_event & TERMIOS_TX_TERMINATE_EVENT) != 0) {                
   44e9a:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   44e9e:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   44ea0:	c0ae fffc      	andl %fp@(-4),%d0                           <== NOT EXECUTED
   44ea4:	670a           	beqs 44eb0 <rtems_termios_txdaemon+0x46>    <== NOT EXECUTED
			tty->txTaskId = 0;                                                 
   44ea6:	42aa 00c8      	clrl %a2@(200)                              <== NOT EXECUTED
			rtems_task_delete(RTEMS_SELF);                                     
   44eaa:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   44eac:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   44eae:	601e           	bras 44ece <rtems_termios_txdaemon+0x64>    <== NOT EXECUTED
		}                                                                   
		else {                                                              
			/*                                                                 
			 * call any line discipline start function                         
			 */                                                                
			if (rtems_termios_linesw[tty->t_line].l_start != NULL) {           
   44eb0:	202a 00cc      	movel %a2@(204),%d0                         <== NOT EXECUTED
   44eb4:	eb88           	lsll #5,%d0                                 <== NOT EXECUTED
   44eb6:	0680 0005 e5f0 	addil #386544,%d0                           <== NOT EXECUTED
   44ebc:	2240           	moveal %d0,%a1                              <== NOT EXECUTED
   44ebe:	2051           	moveal %a1@,%a0                             <== NOT EXECUTED
   44ec0:	4a88           	tstl %a0                                    <== NOT EXECUTED
   44ec2:	6706           	beqs 44eca <rtems_termios_txdaemon+0x60>    <== NOT EXECUTED
				rtems_termios_linesw[tty->t_line].l_start(tty);                   
   44ec4:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44ec6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44ec8:	588f           	addql #4,%sp                                <== NOT EXECUTED
			}                                                                  
			/*                                                                 
			 * try to push further characters to device                        
			 */                                                                
			rtems_termios_refill_transmitter(tty);                             
   44eca:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44ecc:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   44ece:	588f           	addql #4,%sp                                <== NOT EXECUTED
   44ed0:	60ba           	bras 44e8c <rtems_termios_txdaemon+0x22>    <== NOT EXECUTED
                                                                      

00044212 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
   44212:	4e56 ffe8      	linkw %fp,#-24                              
   44216:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   4421a:	246e 0008      	moveal %fp@(8),%a2                          
	rtems_libio_rw_args_t *args = arg;                                   
	struct rtems_termios_tty *tty = args->iop->data1;                    
   4421e:	2052           	moveal %a2@,%a0                             
   44220:	2668 0034      	moveal %a0@(52),%a3                         
	rtems_status_code sc;                                                
                                                                      
	sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44224:	42a7           	clrl %sp@-                                  
   44226:	42a7           	clrl %sp@-                                  
   44228:	2f2b 0018      	movel %a3@(24),%sp@-                        
   4422c:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          
	if (sc != RTEMS_SUCCESSFUL)                                          
   44232:	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);
   44236:	2400           	movel %d0,%d2                               
	if (sc != RTEMS_SUCCESSFUL)                                          
   44238:	6600 0084      	bnew 442be <rtems_termios_write+0xac>       
		return sc;                                                          
	if (rtems_termios_linesw[tty->t_line].l_write != NULL) {             
   4423c:	202b 00cc      	movel %a3@(204),%d0                         
   44240:	eb88           	lsll #5,%d0                                 
   44242:	0680 0005 e5e8 	addil #386536,%d0                           
   44248:	2240           	moveal %d0,%a1                              
   4424a:	2051           	moveal %a1@,%a0                             
   4424c:	4a88           	tstl %a0                                    
   4424e:	6718           	beqs 44268 <rtems_termios_write+0x56>       <== ALWAYS TAKEN
		sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);           
   44250:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44252:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   44254:	4e90           	jsr %a0@                                    <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
   44256:	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);           
   4425a:	2400           	movel %d0,%d2                               <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
   4425c:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
		return sc;                                                          
   44262:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44266:	6056           	bras 442be <rtems_termios_write+0xac>       <== NOT EXECUTED
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
   44268:	7001           	moveq #1,%d0                                
   4426a:	c0ab 0034      	andl %a3@(52),%d0                           
   4426e:	6728           	beqs 44298 <rtems_termios_write+0x86>       <== NEVER TAKEN
		uint32_t   count = args->count;                                     
   44270:	262a 0010      	movel %a2@(16),%d3                          
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
			oproc (*buffer++, tty);                                            
   44274:	4bfa fa72      	lea %pc@(43ce8 <oproc>),%a5                 
		rtems_semaphore_release (tty->osem);                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
   44278:	286a 000c      	moveal %a2@(12),%a4                         
		while (count--)                                                     
   4427c:	600e           	bras 4428c <rtems_termios_write+0x7a>       
			oproc (*buffer++, tty);                                            
   4427e:	4280           	clrl %d0                                    
   44280:	101c           	moveb %a4@+,%d0                             
   44282:	5383           	subql #1,%d3                                
   44284:	2f0b           	movel %a3,%sp@-                             
   44286:	2f00           	movel %d0,%sp@-                             
   44288:	4e95           	jsr %a5@                                    
   4428a:	508f           	addql #8,%sp                                
		return sc;                                                          
	}                                                                    
	if (tty->termios.c_oflag & OPOST) {                                  
		uint32_t   count = args->count;                                     
		char      *buffer = args->buffer;                                   
		while (count--)                                                     
   4428c:	4a83           	tstl %d3                                    
   4428e:	66ee           	bnes 4427e <rtems_termios_write+0x6c>       
			oproc (*buffer++, tty);                                            
		args->bytes_moved = args->count;                                    
   44290:	256a 0010 0018 	movel %a2@(16),%a2@(24)                     
   44296:	601a           	bras 442b2 <rtems_termios_write+0xa0>       
	}                                                                    
	else {                                                               
		rtems_termios_puts (args->buffer, args->count, tty);                
   44298:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4429a:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   4429e:	2f2a 000c      	movel %a2@(12),%sp@-                        <== NOT EXECUTED
   442a2:	4eb9 0004 3bee 	jsr 43bee <rtems_termios_puts>              <== NOT EXECUTED
		args->bytes_moved = args->count;                                    
   442a8:	256a 0010 0018 	movel %a2@(16),%a2@(24)                     <== NOT EXECUTED
   442ae:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
	}                                                                    
	rtems_semaphore_release (tty->osem);                                 
   442b2:	2f2b 0018      	movel %a3@(24),%sp@-                        
   442b6:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         
	return sc;                                                           
   442bc:	588f           	addql #4,%sp                                
}                                                                     
   442be:	2002           	movel %d2,%d0                               
   442c0:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   442c6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00051738 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
   51738:	4e56 fffc      	linkw %fp,#-4                               
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
   5173c:	486e fffc      	pea %fp@(-4)                                
   51740:	2f2e 0008      	movel %fp@(8),%sp@-                         
   51744:	4879 0007 7fa2 	pea 77fa2 <_Timer_Information>              
   5174a:	4eb9 0005 4044 	jsr 54044 <_Objects_Get>                    
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   51750:	4fef 000c      	lea %sp@(12),%sp                            
   51754:	4aae fffc      	tstl %fp@(-4)                               
   51758:	6704           	beqs 5175e <rtems_timer_cancel+0x26>        
   5175a:	7004           	moveq #4,%d0                                
   5175c:	601e           	bras 5177c <rtems_timer_cancel+0x44>        
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
   5175e:	7204           	moveq #4,%d1                                
   51760:	2040           	moveal %d0,%a0                              
   51762:	b2a8 0038      	cmpl %a0@(56),%d1                           
   51766:	670c           	beqs 51774 <rtems_timer_cancel+0x3c>        <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
   51768:	4868 0010      	pea %a0@(16)                                
   5176c:	4eb9 0005 5cd8 	jsr 55cd8 <_Watchdog_Remove>                
   51772:	588f           	addql #4,%sp                                
      _Thread_Enable_dispatch();                                      
   51774:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
   5177a:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   5177c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00051bbc <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
   51bbc:	4e56 ffe8      	linkw %fp,#-24                              
   51bc0:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   51bc4:	282e 0008      	movel %fp@(8),%d4                           
   51bc8:	262e 000c      	movel %fp@(12),%d3                          
   51bcc:	242e 0010      	movel %fp@(16),%d2                          
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
   51bd0:	2679 0007 7fdc 	moveal 77fdc <_Timer_server>,%a3            
                                                                      
  if ( !timer_server )                                                
   51bd6:	4a8b           	tstl %a3                                    
   51bd8:	6606           	bnes 51be0 <rtems_timer_server_fire_when+0x24>
   51bda:	700e           	moveq #14,%d0                               
   51bdc:	6000 00a4      	braw 51c82 <rtems_timer_server_fire_when+0xc6>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
   51be0:	4a39 0007 76f4 	tstb 776f4 <_TOD_Is_set>                    
   51be6:	6606           	bnes 51bee <rtems_timer_server_fire_when+0x32><== ALWAYS TAKEN
   51be8:	700b           	moveq #11,%d0                               <== NOT EXECUTED
   51bea:	6000 0096      	braw 51c82 <rtems_timer_server_fire_when+0xc6><== NOT EXECUTED
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
   51bee:	4a82           	tstl %d2                                    
   51bf0:	6606           	bnes 51bf8 <rtems_timer_server_fire_when+0x3c>
   51bf2:	7009           	moveq #9,%d0                                
   51bf4:	6000 008c      	braw 51c82 <rtems_timer_server_fire_when+0xc6>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
   51bf8:	2f03           	movel %d3,%sp@-                             
   51bfa:	4eb9 0004 f038 	jsr 4f038 <_TOD_Validate>                   
   51c00:	588f           	addql #4,%sp                                
   51c02:	4a00           	tstb %d0                                    
   51c04:	677a           	beqs 51c80 <rtems_timer_server_fire_when+0xc4>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   51c06:	2f03           	movel %d3,%sp@-                             
   51c08:	4eb9 0004 ef98 	jsr 4ef98 <_TOD_To_seconds>                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   51c0e:	588f           	addql #4,%sp                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   51c10:	2600           	movel %d0,%d3                               
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   51c12:	b0b9 0007 7772 	cmpl 77772 <_TOD_Now>,%d0                   
   51c18:	6366           	blss 51c80 <rtems_timer_server_fire_when+0xc4>
   51c1a:	486e fffc      	pea %fp@(-4)                                
   51c1e:	2f04           	movel %d4,%sp@-                             
   51c20:	4879 0007 7fa2 	pea 77fa2 <_Timer_Information>              
   51c26:	4eb9 0005 4044 	jsr 54044 <_Objects_Get>                    
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   51c2c:	4fef 000c      	lea %sp@(12),%sp                            
   51c30:	2440           	moveal %d0,%a2                              
   51c32:	4aae fffc      	tstl %fp@(-4)                               
   51c36:	6704           	beqs 51c3c <rtems_timer_server_fire_when+0x80>
   51c38:	7004           	moveq #4,%d0                                
   51c3a:	6046           	bras 51c82 <rtems_timer_server_fire_when+0xc6>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   51c3c:	486a 0010      	pea %a2@(16)                                
   51c40:	4eb9 0005 5cd8 	jsr 55cd8 <_Watchdog_Remove>                
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   51c46:	256e 0014 0034 	movel %fp@(20),%a2@(52)                     
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
   51c4c:	7003           	moveq #3,%d0                                
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   51c4e:	2544 0030      	movel %d4,%a2@(48)                          
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
   51c52:	96b9 0007 7772 	subl 77772 <_TOD_Now>,%d3                   
  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;               
   51c58:	2540 0038      	movel %d0,%a2@(56)                          
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
   51c5c:	2543 001c      	movel %d3,%a2@(28)                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   51c60:	2542 002c      	movel %d2,%a2@(44)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   51c64:	42aa 0018      	clrl %a2@(24)                               
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
   51c68:	2f0a           	movel %a2,%sp@-                             
   51c6a:	2f0b           	movel %a3,%sp@-                             
   51c6c:	206b 0004      	moveal %a3@(4),%a0                          
   51c70:	4e90           	jsr %a0@                                    
                                                                      
      _Thread_Enable_dispatch();                                      
   51c72:	4eb9 0005 4942 	jsr 54942 <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   51c78:	4fef 000c      	lea %sp@(12),%sp                            
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
   51c7c:	4280           	clrl %d0                                    
      return RTEMS_SUCCESSFUL;                                        
   51c7e:	6002           	bras 51c82 <rtems_timer_server_fire_when+0xc6>
   51c80:	7014           	moveq #20,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   51c82:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   51c88:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004249c <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
   4249c:	4e56 ffe8      	linkw %fp,#-24                              <== NOT EXECUTED
   424a0:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     <== NOT EXECUTED
   424a4:	282e 0008      	movel %fp@(8),%d4                           <== NOT EXECUTED
    int               local_errno = 0;                                
    int               chars_written = 0;                              
    rtems_status_code status;                                         
                                                                      
    if (error_flag & RTEMS_ERROR_PANIC)                               
   424a8:	2a04           	movel %d4,%d5                               <== NOT EXECUTED
   424aa:	0285 2000 0000 	andil #536870912,%d5                        <== NOT EXECUTED
   424b0:	672e           	beqs 424e0 <rtems_verror+0x44>              <== NOT EXECUTED
    {                                                                 
        if (rtems_panic_in_progress++)                                
   424b2:	2039 0005 edd8 	movel 5edd8 <rtems_panic_in_progress>,%d0   <== NOT EXECUTED
   424b8:	2200           	movel %d0,%d1                               <== NOT EXECUTED
   424ba:	5281           	addql #1,%d1                                <== NOT EXECUTED
   424bc:	23c1 0005 edd8 	movel %d1,5edd8 <rtems_panic_in_progress>   <== NOT EXECUTED
   424c2:	4a80           	tstl %d0                                    <== NOT EXECUTED
   424c4:	670e           	beqs 424d4 <rtems_verror+0x38>              <== NOT EXECUTED
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   424c6:	2039 0005 ef3c 	movel 5ef3c <_Thread_Dispatch_disable_level>,%d0<== NOT EXECUTED
   424cc:	5280           	addql #1,%d0                                <== NOT EXECUTED
   424ce:	23c0 0005 ef3c 	movel %d0,5ef3c <_Thread_Dispatch_disable_level><== NOT EXECUTED
            _Thread_Disable_dispatch();       /* disable task switches */
                                                                      
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
   424d4:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   424d6:	b0b9 0005 edd8 	cmpl 5edd8 <rtems_panic_in_progress>,%d0    <== NOT EXECUTED
   424dc:	6d00 0138      	bltw 42616 <rtems_verror+0x17a>             <== NOT EXECUTED
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
   424e0:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
   424e6:	2c04           	movel %d4,%d6                               <== NOT EXECUTED
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
   424e8:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
   424ec:	0286 8fff ffff 	andil #-1879048193,%d6                      <== NOT EXECUTED
        /* don't aggravate things */                                  
        if (rtems_panic_in_progress > 2)                              
            return 0;                                                 
    }                                                                 
                                                                      
    (void) fflush(stdout);  	    /* in case stdout/stderr same */     
   424f2:	4eb9 0004 e500 	jsr 4e500 <fflush>                          <== NOT EXECUTED
                                                                      
    status = error_flag & ~RTEMS_ERROR_MASK;                          
    if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */      
   424f8:	588f           	addql #4,%sp                                <== NOT EXECUTED
   424fa:	0804 001e      	btst #30,%d4                                <== NOT EXECUTED
   424fe:	6604           	bnes 42504 <rtems_verror+0x68>              <== NOT EXECUTED
   42500:	4282           	clrl %d2                                    <== NOT EXECUTED
   42502:	600a           	bras 4250e <rtems_verror+0x72>              <== NOT EXECUTED
        local_errno = errno;                                          
   42504:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4250a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4250c:	2410           	movel %a0@,%d2                              <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
   4250e:	2f2e 0010      	movel %fp@(16),%sp@-                        <== NOT EXECUTED
   42512:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
   42518:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4251c:	2f28 000c      	movel %a0@(12),%sp@-                        <== NOT EXECUTED
   42520:	4eb9 0005 4a48 	jsr 54a48 <vfprintf>                        <== NOT EXECUTED
                                                                      
    if (status)                                                       
   42526:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
    #if defined(RTEMS_MULTIPROCESSING)                                
      if (_System_state_Is_multiprocessing)                           
        fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
    #endif                                                            
                                                                      
    chars_written += vfprintf(stderr, printf_format, arglist);        
   4252a:	2600           	movel %d0,%d3                               <== NOT EXECUTED
                                                                      
    if (status)                                                       
   4252c:	4a86           	tstl %d6                                    <== NOT EXECUTED
   4252e:	6726           	beqs 42556 <rtems_verror+0xba>              <== NOT EXECUTED
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
   42530:	2f06           	movel %d6,%sp@-                             <== NOT EXECUTED
   42532:	4eb9 0004 2484 	jsr 42484 <rtems_status_text>               <== NOT EXECUTED
   42538:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
   4253e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42540:	4879 0005 bf37 	pea 5bf37 <IMFS_ops+0x4f>                   <== NOT EXECUTED
   42546:	2f28 000c      	movel %a0@(12),%sp@-                        <== NOT EXECUTED
   4254a:	4eb9 0004 e88c 	jsr 4e88c <fprintf>                         <== NOT EXECUTED
   42550:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   42554:	d680           	addl %d0,%d3                                <== NOT EXECUTED
                                                                      
    if (local_errno)                                                  
   42556:	4a82           	tstl %d2                                    <== NOT EXECUTED
   42558:	6754           	beqs 425ae <rtems_verror+0x112>             <== NOT EXECUTED
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
   4255a:	6f34           	bles 42590 <rtems_verror+0xf4>              <== NOT EXECUTED
   4255c:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4255e:	45f9 0004 f1a0 	lea 4f1a0 <strerror>,%a2                    <== NOT EXECUTED
   42564:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   42566:	588f           	addql #4,%sp                                <== NOT EXECUTED
   42568:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4256a:	4a10           	tstb %a0@                                   <== NOT EXECUTED
   4256c:	6722           	beqs 42590 <rtems_verror+0xf4>              <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
   4256e:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42570:	4e92           	jsr %a2@                                    <== NOT EXECUTED
   42572:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
   42578:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4257a:	4879 0005 bf45 	pea 5bf45 <IMFS_ops+0x5d>                   <== NOT EXECUTED
   42580:	2f28 000c      	movel %a0@(12),%sp@-                        <== NOT EXECUTED
   42584:	4eb9 0004 e88c 	jsr 4e88c <fprintf>                         <== NOT EXECUTED
    if (status)                                                       
        chars_written += fprintf(stderr, " (status: %s)", rtems_status_text(status));
                                                                      
    if (local_errno)                                                  
    {                                                                 
      if ((local_errno > 0) && *strerror(local_errno))                
   4258a:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4258e:	601c           	bras 425ac <rtems_verror+0x110>             <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
   42590:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42592:	4879 0005 bf52 	pea 5bf52 <IMFS_ops+0x6a>                   <== NOT EXECUTED
   42598:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
   4259e:	2f28 000c      	movel %a0@(12),%sp@-                        <== NOT EXECUTED
   425a2:	4eb9 0004 e88c 	jsr 4e88c <fprintf>                         <== NOT EXECUTED
   425a8:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   425ac:	d680           	addl %d0,%d3                                <== NOT EXECUTED
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
   425ae:	4879 0005 c3e2 	pea 5c3e2 <rtems_status_assoc+0x19e>        <== NOT EXECUTED
   425b4:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
   425ba:	2f28 000c      	movel %a0@(12),%sp@-                        <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
   425be:	0284 3000 0000 	andil #805306368,%d4                        <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
   425c4:	4eb9 0004 e88c 	jsr 4e88c <fprintf>                         <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
   425ca:	2079 0005 d8a8 	moveal 5d8a8 <_impure_ptr>,%a0              <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
   425d0:	2c00           	movel %d0,%d6                               <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
   425d2:	2f28 000c      	movel %a0@(12),%sp@-                        <== NOT EXECUTED
   425d6:	4eb9 0004 e500 	jsr 4e500 <fflush>                          <== NOT EXECUTED
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
   425dc:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   425e0:	4a84           	tstl %d4                                    <== NOT EXECUTED
   425e2:	6606           	bnes 425ea <rtems_verror+0x14e>             <== NOT EXECUTED
        chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
      else                                                            
        chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
    }                                                                 
                                                                      
    chars_written += fprintf(stderr, "\n");                           
   425e4:	2006           	movel %d6,%d0                               <== NOT EXECUTED
   425e6:	d083           	addl %d3,%d0                                <== NOT EXECUTED
   425e8:	602e           	bras 42618 <rtems_verror+0x17c>             <== NOT EXECUTED
   425ea:	41f9 0004 2640 	lea 42640 <rtems_error>,%a0                 <== NOT EXECUTED
                                                                      
    (void) fflush(stderr);                                            
                                                                      
    if (error_flag & (RTEMS_ERROR_PANIC | RTEMS_ERROR_ABORT))         
    {                                                                 
        if (error_flag & RTEMS_ERROR_PANIC)                           
   425f0:	4a85           	tstl %d5                                    <== NOT EXECUTED
   425f2:	6712           	beqs 42606 <rtems_verror+0x16a>             <== NOT EXECUTED
        {                                                             
            rtems_error(0, "fatal error, exiting");                   
   425f4:	4879 0005 bf66 	pea 5bf66 <IMFS_ops+0x7e>                   <== NOT EXECUTED
   425fa:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   425fc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
            _exit(local_errno);                                       
   425fe:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42600:	4eb9 0004 3020 	jsr 43020 <_exit>                           <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            rtems_error(0, "fatal error, aborting");                  
   42606:	4879 0005 bf7b 	pea 5bf7b <IMFS_ops+0x93>                   <== NOT EXECUTED
   4260c:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4260e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
            abort();                                                  
   42610:	4eb9 0004 e174 	jsr 4e174 <abort>                           <== NOT EXECUTED
   42616:	4280           	clrl %d0                                    <== NOT EXECUTED
        }                                                             
    }                                                                 
    return chars_written;                                             
}                                                                     
   42618:	4cee 047c ffe8 	moveml %fp@(-24),%d2-%d6/%a2                <== NOT EXECUTED
   4261e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042a20 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
   42a20:	4e56 ffe4      	linkw %fp,#-28                              
   42a24:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   42a28:	246e 0008      	moveal %fp@(8),%a2                          
   42a2c:	4283           	clrl %d3                                    
   42a2e:	283c 7fff ffff 	movel #2147483647,%d4                       
   42a34:	4282           	clrl %d2                                    
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   42a36:	47f9 0005 05d8 	lea 505d8 <__srget_r>,%a3                   
   42a3c:	202a 0004      	movel %a2@(4),%d0                           
   42a40:	5380           	subql #1,%d0                                
   42a42:	2540 0004      	movel %d0,%a2@(4)                           
   42a46:	6c0e           	bges 42a56 <scanInt+0x36>                   <== ALWAYS TAKEN
   42a48:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42a4a:	2f39 0005 ed18 	movel 5ed18 <_impure_ptr>,%sp@-             <== NOT EXECUTED
   42a50:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   42a52:	508f           	addql #8,%sp                                <== NOT EXECUTED
   42a54:	600a           	bras 42a60 <scanInt+0x40>                   <== NOT EXECUTED
   42a56:	2052           	moveal %a2@,%a0                             
   42a58:	4280           	clrl %d0                                    
   42a5a:	1010           	moveb %a0@,%d0                              
   42a5c:	5288           	addql #1,%a0                                
   42a5e:	2488           	movel %a0,%a2@                              
    if (c == ':')                                                     
   42a60:	723a           	moveq #58,%d1                               
   42a62:	b280           	cmpl %d0,%d1                                
   42a64:	6750           	beqs 42ab6 <scanInt+0x96>                   
      break;                                                          
    if (sign == 0) {                                                  
   42a66:	4a83           	tstl %d3                                    
   42a68:	660e           	bnes 42a78 <scanInt+0x58>                   <== NEVER TAKEN
      if (c == '-') {                                                 
   42a6a:	7c2d           	moveq #45,%d6                               
   42a6c:	bc80           	cmpl %d0,%d6                                
   42a6e:	6606           	bnes 42a76 <scanInt+0x56>                   <== ALWAYS TAKEN
        sign = -1;                                                    
        limit++;                                                      
   42a70:	5284           	addql #1,%d4                                <== NOT EXECUTED
   42a72:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
        continue;                                                     
   42a74:	60c6           	bras 42a3c <scanInt+0x1c>                   <== NOT EXECUTED
   42a76:	7601           	moveq #1,%d3                                
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
   42a78:	2079 0005 ed14 	moveal 5ed14 <__ctype_ptr__>,%a0            
   42a7e:	1230 0801      	moveb %a0@(00000001,%d0:l),%d1              
   42a82:	49c1           	extbl %d1                                   
   42a84:	44c1           	movew %d1,%ccr                              
   42a86:	6640           	bnes 42ac8 <scanInt+0xa8>                   <== NEVER TAKEN
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
   42a88:	2204           	movel %d4,%d1                               
   42a8a:	7c0a           	moveq #10,%d6                               
   42a8c:	4c46 1005      	remul %d6,%d5,%d1                           
   42a90:	4c46 1001      	remul %d6,%d1,%d1                           
   42a94:	b282           	cmpl %d2,%d1                                
   42a96:	6530           	bcss 42ac8 <scanInt+0xa8>                   <== NEVER TAKEN
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
   42a98:	0680 ffff ffd0 	addil #-48,%d0                              
    if ((i > (limit / 10))                                            
   42a9e:	b282           	cmpl %d2,%d1                                
   42aa0:	6604           	bnes 42aa6 <scanInt+0x86>                   <== ALWAYS TAKEN
   42aa2:	ba80           	cmpl %d0,%d5                                <== NOT EXECUTED
   42aa4:	6522           	bcss 42ac8 <scanInt+0xa8>                   <== NOT EXECUTED
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
   42aa6:	2202           	movel %d2,%d1                               
   42aa8:	e789           	lsll #3,%d1                                 
   42aaa:	2241           	moveal %d1,%a1                              
   42aac:	41f1 2a00      	lea %a1@(00000000,%d2:l:2),%a0              
   42ab0:	2400           	movel %d0,%d2                               
   42ab2:	d488           	addl %a0,%d2                                
   42ab4:	6086           	bras 42a3c <scanInt+0x1c>                   
  }                                                                   
  if (sign == 0)                                                      
   42ab6:	4a83           	tstl %d3                                    
   42ab8:	670e           	beqs 42ac8 <scanInt+0xa8>                   <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
   42aba:	4c02 3800      	mulsl %d2,%d3                               
   42abe:	7001           	moveq #1,%d0                                
   42ac0:	206e 000c      	moveal %fp@(12),%a0                         
   42ac4:	2083           	movel %d3,%a0@                              
  return 1;                                                           
   42ac6:	6002           	bras 42aca <scanInt+0xaa>                   
   42ac8:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   42aca:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   42ad0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042ad4 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
   42ad4:	4e56 ffec      	linkw %fp,#-20                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   42ad8:	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)
{                                                                     
   42adc:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   42ae0:	246e 0010      	moveal %fp@(16),%a2                         
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   42ae4:	4bf9 0005 05d8 	lea 505d8 <__srget_r>,%a5                   
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
   42aea:	286e 0008      	moveal %fp@(8),%a4                          
   42aee:	266e 0014      	moveal %fp@(20),%a3                         
   42af2:	242e 0018      	movel %fp@(24),%d2                          
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   42af6:	2092           	movel %a2@,%a0@                             
  for (;;) {                                                          
    c = getc(fp);                                                     
   42af8:	202c 0004      	movel %a4@(4),%d0                           
   42afc:	5380           	subql #1,%d0                                
   42afe:	2940 0004      	movel %d0,%a4@(4)                           
   42b02:	6c0e           	bges 42b12 <scanString+0x3e>                
   42b04:	2f0c           	movel %a4,%sp@-                             
   42b06:	2f39 0005 ed18 	movel 5ed18 <_impure_ptr>,%sp@-             
   42b0c:	4e95           	jsr %a5@                                    
   42b0e:	508f           	addql #8,%sp                                
   42b10:	600a           	bras 42b1c <scanString+0x48>                
   42b12:	2054           	moveal %a4@,%a0                             
   42b14:	4280           	clrl %d0                                    
   42b16:	1010           	moveb %a0@,%d0                              
   42b18:	5288           	addql #1,%a0                                
   42b1a:	2888           	movel %a0,%a4@                              
    if (c == ':') {                                                   
   42b1c:	723a           	moveq #58,%d1                               
   42b1e:	b280           	cmpl %d0,%d1                                
   42b20:	6606           	bnes 42b28 <scanString+0x54>                
        if (nlFlag)                                                   
   42b22:	4a82           	tstl %d2                                    
   42b24:	6724           	beqs 42b4a <scanString+0x76>                <== ALWAYS TAKEN
   42b26:	602e           	bras 42b56 <scanString+0x82>                <== NOT EXECUTED
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
   42b28:	720a           	moveq #10,%d1                               
   42b2a:	b280           	cmpl %d0,%d1                                
   42b2c:	6606           	bnes 42b34 <scanString+0x60>                
        if (!nlFlag)                                                  
   42b2e:	4a82           	tstl %d2                                    
   42b30:	6618           	bnes 42b4a <scanString+0x76>                <== ALWAYS TAKEN
   42b32:	6022           	bras 42b56 <scanString+0x82>                <== NOT EXECUTED
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
   42b34:	72ff           	moveq #-1,%d1                               
   42b36:	b280           	cmpl %d0,%d1                                
   42b38:	671c           	beqs 42b56 <scanString+0x82>                <== NEVER TAKEN
      return 0;                                                       
    if (*nleft < 2)                                                   
   42b3a:	7201           	moveq #1,%d1                                
   42b3c:	b293           	cmpl %a3@,%d1                               
   42b3e:	6416           	bccs 42b56 <scanString+0x82>                <== NEVER TAKEN
      return 0;                                                       
    **bufp = c;                                                       
   42b40:	2052           	moveal %a2@,%a0                             
   42b42:	1080           	moveb %d0,%a0@                              
    ++(*bufp);                                                        
   42b44:	5292           	addql #1,%a2@                               
    --(*nleft);                                                       
   42b46:	5393           	subql #1,%a3@                               
  }                                                                   
   42b48:	60ae           	bras 42af8 <scanString+0x24>                
  **bufp = '\0';                                                      
   42b4a:	2052           	moveal %a2@,%a0                             
  ++(*bufp);                                                          
  --(*nleft);                                                         
   42b4c:	7001           	moveq #1,%d0                                
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
   42b4e:	4210           	clrb %a0@                                   
  ++(*bufp);                                                          
   42b50:	5292           	addql #1,%a2@                               
  --(*nleft);                                                         
   42b52:	5393           	subql #1,%a3@                               
  return 1;                                                           
   42b54:	6002           	bras 42b58 <scanString+0x84>                
   42b56:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   42b58:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   42b5e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042b62 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
   42b62:	4e56 ffe4      	linkw %fp,#-28                              
   42b66:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42b6a:	42a7           	clrl %sp@-                                  
   42b6c:	280e           	movel %fp,%d4                               
   42b6e:	0684 0000 0014 	addil #20,%d4                               
   42b74:	260e           	movel %fp,%d3                               
   42b76:	0683 0000 0010 	addil #16,%d3                               
   42b7c:	47fa ff56      	lea %pc@(42ad4 <scanString>),%a3            
   42b80:	2f04           	movel %d4,%sp@-                             
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   42b82:	246e 000c      	moveal %fp@(12),%a2                         
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42b86:	2f03           	movel %d3,%sp@-                             
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   42b88:	242e 0008      	movel %fp@(8),%d2                           
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42b8c:	2f0a           	movel %a2,%sp@-                             
   42b8e:	2f02           	movel %d2,%sp@-                             
   42b90:	4e93           	jsr %a3@                                    
   42b92:	4fef 0014      	lea %sp@(20),%sp                            
   42b96:	4a80           	tstl %d0                                    
   42b98:	6700 00c2      	beqw 42c5c <scangr+0xfa>                    
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   42b9c:	42a7           	clrl %sp@-                                  
   42b9e:	2f04           	movel %d4,%sp@-                             
   42ba0:	2f03           	movel %d3,%sp@-                             
   42ba2:	486a 0004      	pea %a2@(4)                                 
   42ba6:	2f02           	movel %d2,%sp@-                             
   42ba8:	4e93           	jsr %a3@                                    
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42baa:	4fef 0014      	lea %sp@(20),%sp                            
   42bae:	4a80           	tstl %d0                                    
   42bb0:	6700 00aa      	beqw 42c5c <scangr+0xfa>                    
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   42bb4:	486e fffc      	pea %fp@(-4)                                
   42bb8:	2f02           	movel %d2,%sp@-                             
   42bba:	4eba fe64      	jsr %pc@(42a20 <scanInt>)                   
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42bbe:	508f           	addql #8,%sp                                
   42bc0:	4a80           	tstl %d0                                    
   42bc2:	6700 0098      	beqw 42c5c <scangr+0xfa>                    
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
   42bc6:	4878 0001      	pea 1 <ADD>                                 
   42bca:	2f04           	movel %d4,%sp@-                             
   42bcc:	2f03           	movel %d3,%sp@-                             
   42bce:	486e fff8      	pea %fp@(-8)                                
   42bd2:	2f02           	movel %d2,%sp@-                             
   42bd4:	4e93           	jsr %a3@                                    
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   42bd6:	4fef 0014      	lea %sp@(20),%sp                            
   42bda:	4a80           	tstl %d0                                    
   42bdc:	677e           	beqs 42c5c <scangr+0xfa>                    <== NEVER TAKEN
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42bde:	226e fff8      	moveal %fp@(-8),%a1                         
   42be2:	7001           	moveq #1,%d0                                
   42be4:	2049           	moveal %a1,%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;                                                
   42be6:	356e fffe 0008 	movew %fp@(-2),%a2@(8)                      
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42bec:	6008           	bras 42bf6 <scangr+0x94>                    
    if(*cp == ',')                                                    
   42bee:	722c           	moveq #44,%d1                               
   42bf0:	b282           	cmpl %d2,%d1                                
   42bf2:	6602           	bnes 42bf6 <scangr+0x94>                    <== ALWAYS TAKEN
      memcount++;                                                     
   42bf4:	5280           	addql #1,%d0                                <== NOT EXECUTED
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42bf6:	1210           	moveb %a0@,%d1                              
   42bf8:	5288           	addql #1,%a0                                
    if(*cp == ',')                                                    
   42bfa:	1401           	moveb %d1,%d2                               
   42bfc:	49c2           	extbl %d2                                   
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42bfe:	4a01           	tstb %d1                                    
   42c00:	66ec           	bnes 42bee <scangr+0x8c>                    
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
   42c02:	e588           	lsll #2,%d0                                 
   42c04:	0680 0000 0013 	addil #19,%d0                               
   42c0a:	b0ae 0014      	cmpl %fp@(20),%d0                           
   42c0e:	624c           	bhis 42c5c <scangr+0xfa>                    <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
   42c10:	202e 0010      	movel %fp@(16),%d0                          
   42c14:	74f0           	moveq #-16,%d2                              
   42c16:	0680 0000 000f 	addil #15,%d0                               
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42c1c:	7201           	moveq #1,%d1                                
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
   42c1e:	c082           	andl %d2,%d0                                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   42c20:	2040           	moveal %d0,%a0                              
   42c22:	2089           	movel %a1,%a0@                              
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42c24:	206e fff8      	moveal %fp@(-8),%a0                         
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
   42c28:	2540 000a      	movel %d0,%a2@(10)                          
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42c2c:	6018           	bras 42c46 <scangr+0xe4>                    
    if(*cp == ',') {                                                  
   42c2e:	702c           	moveq #44,%d0                               
   42c30:	b082           	cmpl %d2,%d0                                
   42c32:	6610           	bnes 42c44 <scangr+0xe2>                    <== ALWAYS TAKEN
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
   42c34:	2408           	movel %a0,%d2                               <== NOT EXECUTED
   42c36:	5282           	addql #1,%d2                                <== NOT EXECUTED
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
   42c38:	4210           	clrb %a0@                                   <== NOT EXECUTED
      grp->gr_mem[memcount++] = cp + 1;                               
   42c3a:	226a 000a      	moveal %a2@(10),%a1                         <== NOT EXECUTED
   42c3e:	2382 1c00      	movel %d2,%a1@(00000000,%d1:l:4)            <== NOT EXECUTED
   42c42:	5281           	addql #1,%d1                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42c44:	5288           	addql #1,%a0                                
   42c46:	1010           	moveb %a0@,%d0                              
    if(*cp == ',') {                                                  
   42c48:	1400           	moveb %d0,%d2                               
   42c4a:	49c2           	extbl %d2                                   
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   42c4c:	4a00           	tstb %d0                                    
   42c4e:	66de           	bnes 42c2e <scangr+0xcc>                    
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
   42c50:	206a 000a      	moveal %a2@(10),%a0                         
   42c54:	7001           	moveq #1,%d0                                
   42c56:	42b0 1c00      	clrl %a0@(00000000,%d1:l:4)                 
  return 1;                                                           
   42c5a:	6002           	bras 42c5e <scangr+0xfc>                    
   42c5c:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   42c5e:	4cee 0c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a3            
   42c64:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042ca0 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
   42ca0:	4e56 ffe0      	linkw %fp,#-32                              
   42ca4:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42ca8:	42a7           	clrl %sp@-                                  
   42caa:	280e           	movel %fp,%d4                               
   42cac:	0684 0000 0014 	addil #20,%d4                               
   42cb2:	260e           	movel %fp,%d3                               
   42cb4:	0683 0000 0010 	addil #16,%d3                               
   42cba:	47fa fe18      	lea %pc@(42ad4 <scanString>),%a3            
   42cbe:	2f04           	movel %d4,%sp@-                             
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   42cc0:	246e 000c      	moveal %fp@(12),%a2                         
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42cc4:	2f03           	movel %d3,%sp@-                             
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   42cc6:	242e 0008      	movel %fp@(8),%d2                           
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42cca:	2f0a           	movel %a2,%sp@-                             
   42ccc:	2f02           	movel %d2,%sp@-                             
   42cce:	4e93           	jsr %a3@                                    
   42cd0:	4fef 0014      	lea %sp@(20),%sp                            
   42cd4:	4a80           	tstl %d0                                    
   42cd6:	6700 00a4      	beqw 42d7c <scanpw+0xdc>                    
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   42cda:	42a7           	clrl %sp@-                                  
   42cdc:	2f04           	movel %d4,%sp@-                             
   42cde:	2f03           	movel %d3,%sp@-                             
   42ce0:	486a 0004      	pea %a2@(4)                                 
   42ce4:	2f02           	movel %d2,%sp@-                             
   42ce6:	4e93           	jsr %a3@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42ce8:	4fef 0014      	lea %sp@(20),%sp                            
   42cec:	4a80           	tstl %d0                                    
   42cee:	6700 008c      	beqw 42d7c <scanpw+0xdc>                    
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   42cf2:	486e fffc      	pea %fp@(-4)                                
   42cf6:	49fa fd28      	lea %pc@(42a20 <scanInt>),%a4               
   42cfa:	2f02           	movel %d2,%sp@-                             
   42cfc:	4e94           	jsr %a4@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42cfe:	508f           	addql #8,%sp                                
   42d00:	4a80           	tstl %d0                                    
   42d02:	6778           	beqs 42d7c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   42d04:	486e fff8      	pea %fp@(-8)                                
   42d08:	2f02           	movel %d2,%sp@-                             
   42d0a:	4e94           	jsr %a4@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42d0c:	508f           	addql #8,%sp                                
   42d0e:	4a80           	tstl %d0                                    
   42d10:	676a           	beqs 42d7c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   42d12:	42a7           	clrl %sp@-                                  
   42d14:	2f04           	movel %d4,%sp@-                             
   42d16:	2f03           	movel %d3,%sp@-                             
   42d18:	486a 000c      	pea %a2@(12)                                
   42d1c:	2f02           	movel %d2,%sp@-                             
   42d1e:	4e93           	jsr %a3@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42d20:	4fef 0014      	lea %sp@(20),%sp                            
   42d24:	4a80           	tstl %d0                                    
   42d26:	6754           	beqs 42d7c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   42d28:	42a7           	clrl %sp@-                                  
   42d2a:	2f04           	movel %d4,%sp@-                             
   42d2c:	2f03           	movel %d3,%sp@-                             
   42d2e:	486a 0010      	pea %a2@(16)                                
   42d32:	2f02           	movel %d2,%sp@-                             
   42d34:	4e93           	jsr %a3@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42d36:	4fef 0014      	lea %sp@(20),%sp                            
   42d3a:	4a80           	tstl %d0                                    
   42d3c:	673e           	beqs 42d7c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &pwuid)                                            
   || !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)             
   42d3e:	42a7           	clrl %sp@-                                  
   42d40:	2f04           	movel %d4,%sp@-                             
   42d42:	2f03           	movel %d3,%sp@-                             
   42d44:	486a 0014      	pea %a2@(20)                                
   42d48:	2f02           	movel %d2,%sp@-                             
   42d4a:	4e93           	jsr %a3@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42d4c:	4fef 0014      	lea %sp@(20),%sp                            
   42d50:	4a80           	tstl %d0                                    
   42d52:	6728           	beqs 42d7c <scanpw+0xdc>                    <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
   || !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))          
   42d54:	4878 0001      	pea 1 <ADD>                                 
   42d58:	2f04           	movel %d4,%sp@-                             
   42d5a:	2f03           	movel %d3,%sp@-                             
   42d5c:	486a 0018      	pea %a2@(24)                                
   42d60:	2f02           	movel %d2,%sp@-                             
   42d62:	4e93           	jsr %a3@                                    
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   42d64:	4fef 0014      	lea %sp@(20),%sp                            
   42d68:	4a80           	tstl %d0                                    
   42d6a:	6710           	beqs 42d7c <scanpw+0xdc>                    <== NEVER TAKEN
   || !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;                                                
  pwd->pw_gid = pwgid;                                                
   42d6c:	7001           	moveq #1,%d0                                
   42d6e:	356e fffa 000a 	movew %fp@(-6),%a2@(10)                     
   || !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;                                                
   42d74:	356e fffe 0008 	movew %fp@(-2),%a2@(8)                      
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
   42d7a:	6002           	bras 42d7e <scanpw+0xde>                    
   42d7c:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   42d7e:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            
   42d84:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045f3c <sched_get_priority_max>: int sched_get_priority_max( int policy ) { switch ( policy ) {
   45f3c:	7004           	moveq #4,%d0                                
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
   45f3e:	4e56 0000      	linkw %fp,#0                                
   45f42:	222e 0008      	movel %fp@(8),%d1                           
  switch ( policy ) {                                                 
   45f46:	b081           	cmpl %d1,%d0                                
   45f48:	650c           	bcss 45f56 <sched_get_priority_max+0x1a>    
   45f4a:	103c 0001      	moveb #1,%d0                                
   45f4e:	e3a8           	lsll %d1,%d0                                
   45f50:	7217           	moveq #23,%d1                               
   45f52:	c081           	andl %d1,%d0                                
   45f54:	6610           	bnes 45f66 <sched_get_priority_max+0x2a>    <== ALWAYS TAKEN
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   45f56:	4eb9 0004 ed28 	jsr 4ed28 <__errno>                         
   45f5c:	7216           	moveq #22,%d1                               
   45f5e:	2040           	moveal %d0,%a0                              
   45f60:	70ff           	moveq #-1,%d0                               
   45f62:	2081           	movel %d1,%a0@                              
   45f64:	600a           	bras 45f70 <sched_get_priority_max+0x34>    
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
   45f66:	4280           	clrl %d0                                    
   45f68:	1039 0005 e7a6 	moveb 5e7a6 <rtems_maximum_priority>,%d0    
   45f6e:	5380           	subql #1,%d0                                
}                                                                     
   45f70:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045f74 <sched_get_priority_min>: int sched_get_priority_min( int policy ) { switch ( policy ) {
   45f74:	7004           	moveq #4,%d0                                
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
   45f76:	4e56 0000      	linkw %fp,#0                                
   45f7a:	222e 0008      	movel %fp@(8),%d1                           
  switch ( policy ) {                                                 
   45f7e:	b081           	cmpl %d1,%d0                                
   45f80:	6510           	bcss 45f92 <sched_get_priority_min+0x1e>    
   45f82:	103c 0001      	moveb #1,%d0                                
   45f86:	e3a8           	lsll %d1,%d0                                
   45f88:	7217           	moveq #23,%d1                               
   45f8a:	c081           	andl %d1,%d0                                
   45f8c:	6704           	beqs 45f92 <sched_get_priority_min+0x1e>    <== NEVER TAKEN
   45f8e:	7001           	moveq #1,%d0                                
   45f90:	600e           	bras 45fa0 <sched_get_priority_min+0x2c>    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   45f92:	4eb9 0004 ed28 	jsr 4ed28 <__errno>                         
   45f98:	7216           	moveq #22,%d1                               
   45f9a:	2040           	moveal %d0,%a0                              
   45f9c:	70ff           	moveq #-1,%d0                               
   45f9e:	2081           	movel %d1,%a0@                              
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
   45fa0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045fa4 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
   45fa4:	4e56 0000      	linkw %fp,#0                                
   45fa8:	2f03           	movel %d3,%sp@-                             
   45faa:	262e 0008      	movel %fp@(8),%d3                           
   45fae:	2f02           	movel %d2,%sp@-                             
   45fb0:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
   45fb4:	4a83           	tstl %d3                                    
   45fb6:	671a           	beqs 45fd2 <sched_rr_get_interval+0x2e>     <== NEVER TAKEN
   45fb8:	4eb9 0004 2f3c 	jsr 42f3c <getpid>                          
   45fbe:	b083           	cmpl %d3,%d0                                
   45fc0:	6710           	beqs 45fd2 <sched_rr_get_interval+0x2e>     
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   45fc2:	4eb9 0004 ed28 	jsr 4ed28 <__errno>                         
   45fc8:	7403           	moveq #3,%d2                                
   45fca:	72ff           	moveq #-1,%d1                               
   45fcc:	2040           	moveal %d0,%a0                              
   45fce:	2082           	movel %d2,%a0@                              
   45fd0:	6026           	bras 45ff8 <sched_rr_get_interval+0x54>     
                                                                      
  if ( !interval )                                                    
   45fd2:	4a82           	tstl %d2                                    
   45fd4:	6610           	bnes 45fe6 <sched_rr_get_interval+0x42>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45fd6:	4eb9 0004 ed28 	jsr 4ed28 <__errno>                         
   45fdc:	72ff           	moveq #-1,%d1                               
   45fde:	2040           	moveal %d0,%a0                              
   45fe0:	7016           	moveq #22,%d0                               
   45fe2:	2080           	movel %d0,%a0@                              
   45fe4:	6012           	bras 45ff8 <sched_rr_get_interval+0x54>     
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
   45fe6:	2f02           	movel %d2,%sp@-                             
   45fe8:	2f39 0005 fefc 	movel 5fefc <_Thread_Ticks_per_timeslice>,%sp@-
   45fee:	4eb9 0004 9228 	jsr 49228 <_Timespec_From_ticks>            
  return 0;                                                           
   45ff4:	508f           	addql #8,%sp                                
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
   45ff6:	4281           	clrl %d1                                    
  return 0;                                                           
}                                                                     
   45ff8:	242e fff8      	movel %fp@(-8),%d2                          
   45ffc:	2001           	movel %d1,%d0                               
   45ffe:	262e fffc      	movel %fp@(-4),%d3                          
   46002:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048578 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
   48578:	4e56 ffe0      	linkw %fp,#-32                              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   4857c:	2039 0006 3d18 	movel 63d18 <_Thread_Dispatch_disable_level>,%d0
   48582:	5280           	addql #1,%d0                                
   48584:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   48588:	23c0 0006 3d18 	movel %d0,63d18 <_Thread_Dispatch_disable_level>
   4858e:	242e 0008      	movel %fp@(8),%d2                           
   48592:	282e 000c      	movel %fp@(12),%d4                          
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
   48596:	2a04           	movel %d4,%d5                               
   48598:	0285 0000 0200 	andil #512,%d5                              
   4859e:	6604           	bnes 485a4 <sem_open+0x2c>                  
   485a0:	4283           	clrl %d3                                    
   485a2:	6004           	bras 485a8 <sem_open+0x30>                  
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
   485a4:	262e 0014      	movel %fp@(20),%d3                          
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
   485a8:	486e fffc      	pea %fp@(-4)                                
   485ac:	2f02           	movel %d2,%sp@-                             
   485ae:	4eb9 0004 e8e0 	jsr 4e8e0 <_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 ) {                                                     
   485b4:	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 );    
   485b6:	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 ) {                                                     
   485b8:	4a80           	tstl %d0                                    
   485ba:	671e           	beqs 485da <sem_open+0x62>                  
    /*                                                                
     * 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) ) ) {               
   485bc:	7002           	moveq #2,%d0                                
   485be:	b08a           	cmpl %a2,%d0                                
   485c0:	6604           	bnes 485c6 <sem_open+0x4e>                  <== NEVER TAKEN
   485c2:	4a85           	tstl %d5                                    
   485c4:	6662           	bnes 48628 <sem_open+0xb0>                  
      _Thread_Enable_dispatch();                                      
   485c6:	4eb9 0004 ac4a 	jsr 4ac4a <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
   485cc:	4eb9 0005 1f28 	jsr 51f28 <__errno>                         
   485d2:	72ff           	moveq #-1,%d1                               
   485d4:	2040           	moveal %d0,%a0                              
   485d6:	208a           	movel %a2,%a0@                              
   485d8:	607a           	bras 48654 <sem_open+0xdc>                  
   485da:	45f9 0004 ac4a 	lea 4ac4a <_Thread_Enable_dispatch>,%a2     
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
   485e0:	0284 0000 0a00 	andil #2560,%d4                             
   485e6:	0c84 0000 0a00 	cmpil #2560,%d4                             
   485ec:	6612           	bnes 48600 <sem_open+0x88>                  
      _Thread_Enable_dispatch();                                      
   485ee:	4e92           	jsr %a2@                                    
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
   485f0:	4eb9 0005 1f28 	jsr 51f28 <__errno>                         
   485f6:	72ff           	moveq #-1,%d1                               
   485f8:	2040           	moveal %d0,%a0                              
   485fa:	7011           	moveq #17,%d0                               
   485fc:	2080           	movel %d0,%a0@                              
   485fe:	6054           	bras 48654 <sem_open+0xdc>                  
   48600:	486e fff4      	pea %fp@(-12)                               
   48604:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   48608:	4879 0006 3f72 	pea 63f72 <_POSIX_Semaphore_Information>    
   4860e:	4eb9 0004 a3f8 	jsr 4a3f8 <_Objects_Get>                    
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
   48614:	2040           	moveal %d0,%a0                              
   48616:	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 );
   4861a:	2d40 fff8      	movel %d0,%fp@(-8)                          
    the_semaphore->open_count += 1;                                   
    _Thread_Enable_dispatch();                                        
   4861e:	4e92           	jsr %a2@                                    
    _Thread_Enable_dispatch();                                        
   48620:	4e92           	jsr %a2@                                    
    goto return_id;                                                   
   48622:	4fef 000c      	lea %sp@(12),%sp                            
   48626:	6026           	bras 4864e <sem_open+0xd6>                  
  /*                                                                  
   *  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(                            
   48628:	486e fff8      	pea %fp@(-8)                                
   4862c:	2f03           	movel %d3,%sp@-                             
   4862e:	42a7           	clrl %sp@-                                  
   48630:	2f02           	movel %d2,%sp@-                             
   48632:	4eb9 0004 e798 	jsr 4e798 <_POSIX_Semaphore_Create_support> 
   48638:	2400           	movel %d0,%d2                               
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
   4863a:	4eb9 0004 ac4a 	jsr 4ac4a <_Thread_Enable_dispatch>         
                                                                      
  if ( status == -1 )                                                 
   48640:	4fef 0010      	lea %sp@(16),%sp                            
   48644:	70ff           	moveq #-1,%d0                               
   48646:	b082           	cmpl %d2,%d0                                
   48648:	6604           	bnes 4864e <sem_open+0xd6>                  
   4864a:	72ff           	moveq #-1,%d1                               
   4864c:	6006           	bras 48654 <sem_open+0xdc>                  
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;                          
   4864e:	222e fff8      	movel %fp@(-8),%d1                          
   48652:	5081           	addql #8,%d1                                
  #endif                                                              
  return id;                                                          
}                                                                     
   48654:	2001           	movel %d1,%d0                               
   48656:	4cee 043c ffe0 	moveml %fp@(-32),%d2-%d5/%a2                
   4865c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042ea0 <setgrent>: return NULL; return &grent; } void setgrent(void) {
   42ea0:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  init_etc_passwd_group();                                            
   42ea4:	4eb9 0004 2dc0 	jsr 42dc0 <init_etc_passwd_group>           <== NOT EXECUTED
                                                                      
  if (group_fp != NULL)                                               
   42eaa:	2039 0005 fb36 	movel 5fb36 <group_fp>,%d0                  <== NOT EXECUTED
   42eb0:	670a           	beqs 42ebc <setgrent+0x1c>                  <== NOT EXECUTED
    fclose(group_fp);                                                 
   42eb2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42eb4:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
   42eba:	588f           	addql #4,%sp                                <== NOT EXECUTED
  group_fp = fopen("/etc/group", "r");                                
   42ebc:	4879 0005 e3d9 	pea 5e3d9 <_global_impure_ptr+0xbf>         <== NOT EXECUTED
   42ec2:	4879 0005 d822 	pea 5d822 <rtems_status_assoc+0x218>        <== NOT EXECUTED
   42ec8:	4eb9 0004 f1f8 	jsr 4f1f8 <fopen>                           <== NOT EXECUTED
   42ece:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   42ed0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
{                                                                     
  init_etc_passwd_group();                                            
                                                                      
  if (group_fp != NULL)                                               
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
   42ed2:	23c0 0005 fb36 	movel %d0,5fb36 <group_fp>                  <== NOT EXECUTED
}                                                                     
                                                                      

00043050 <setpwent>: return NULL; return &pwent; } void setpwent(void) {
   43050:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  init_etc_passwd_group();                                            
   43054:	4eb9 0004 2dc0 	jsr 42dc0 <init_etc_passwd_group>           <== NOT EXECUTED
                                                                      
  if (passwd_fp != NULL)                                              
   4305a:	2039 0005 fa4e 	movel 5fa4e <passwd_fp>,%d0                 <== NOT EXECUTED
   43060:	670a           	beqs 4306c <setpwent+0x1c>                  <== NOT EXECUTED
    fclose(passwd_fp);                                                
   43062:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43064:	4eb9 0004 eb76 	jsr 4eb76 <fclose>                          <== NOT EXECUTED
   4306a:	588f           	addql #4,%sp                                <== NOT EXECUTED
  passwd_fp = fopen("/etc/passwd", "r");                              
   4306c:	4879 0005 e3d9 	pea 5e3d9 <_global_impure_ptr+0xbf>         <== NOT EXECUTED
   43072:	4879 0005 d7af 	pea 5d7af <rtems_status_assoc+0x1a5>        <== NOT EXECUTED
   43078:	4eb9 0004 f1f8 	jsr 4f1f8 <fopen>                           <== NOT EXECUTED
   4307e:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   43080:	4e5e           	unlk %fp                                    <== NOT EXECUTED
{                                                                     
  init_etc_passwd_group();                                            
                                                                      
  if (passwd_fp != NULL)                                              
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
   43082:	23c0 0005 fa4e 	movel %d0,5fa4e <passwd_fp>                 <== NOT EXECUTED
}                                                                     
                                                                      

00045e74 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
   45e74:	4e56 ffec      	linkw %fp,#-20                              
   45e78:	222e 0010      	movel %fp@(16),%d1                          
   45e7c:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   45e80:	242e 0008      	movel %fp@(8),%d2                           
   45e84:	246e 000c      	moveal %fp@(12),%a2                         
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
   45e88:	4a81           	tstl %d1                                    
   45e8a:	6722           	beqs 45eae <sigaction+0x3a>                 
    *oact = _POSIX_signals_Vectors[ sig ];                            
   45e8c:	2602           	movel %d2,%d3                               
   45e8e:	2002           	movel %d2,%d0                               
   45e90:	4878 000c      	pea c <OPER1>                               
   45e94:	e58b           	lsll #2,%d3                                 
   45e96:	e988           	lsll #4,%d0                                 
   45e98:	9083           	subl %d3,%d0                                
   45e9a:	0680 0006 0fbe 	addil #397246,%d0                           
   45ea0:	2f00           	movel %d0,%sp@-                             
   45ea2:	2f01           	movel %d1,%sp@-                             
   45ea4:	4eb9 0004 f6d4 	jsr 4f6d4 <memcpy>                          
   45eaa:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  if ( !sig )                                                         
   45eae:	4a82           	tstl %d2                                    
   45eb0:	6710           	beqs 45ec2 <sigaction+0x4e>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   45eb2:	2002           	movel %d2,%d0                               
   45eb4:	5380           	subql #1,%d0                                
   45eb6:	721f           	moveq #31,%d1                               
   45eb8:	b280           	cmpl %d0,%d1                                
   45eba:	6506           	bcss 45ec2 <sigaction+0x4e>                 
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
   45ebc:	7009           	moveq #9,%d0                                
   45ebe:	b082           	cmpl %d2,%d0                                
   45ec0:	6610           	bnes 45ed2 <sigaction+0x5e>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   45ec2:	4eb9 0004 ee9c 	jsr 4ee9c <__errno>                         
   45ec8:	72ff           	moveq #-1,%d1                               
   45eca:	2040           	moveal %d0,%a0                              
   45ecc:	7016           	moveq #22,%d0                               
   45ece:	2080           	movel %d0,%a0@                              
   45ed0:	6060           	bras 45f32 <sigaction+0xbe>                 
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
   45ed2:	4a8a           	tstl %a2                                    
   45ed4:	675a           	beqs 45f30 <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 );                                            
   45ed6:	203c 0000 0700 	movel #1792,%d0                             
   45edc:	40c3           	movew %sr,%d3                               
   45ede:	8083           	orl %d3,%d0                                 
   45ee0:	46c0           	movew %d0,%sr                               
   45ee2:	780c           	moveq #12,%d4                               
   45ee4:	47f9 0004 f6d4 	lea 4f6d4 <memcpy>,%a3                      
   45eea:	4c02 4800      	mulsl %d2,%d4                               
      if ( act->sa_handler == SIG_DFL ) {                             
   45eee:	4aaa 0008      	tstl %a2@(8)                                
   45ef2:	661e           	bnes 45f12 <sigaction+0x9e>                 
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
   45ef4:	4878 000c      	pea c <OPER1>                               
   45ef8:	2004           	movel %d4,%d0                               
   45efa:	0680 0005 e3d8 	addil #386008,%d0                           
   45f00:	2f00           	movel %d0,%sp@-                             
   45f02:	0684 0006 0fbe 	addil #397246,%d4                           
   45f08:	2f04           	movel %d4,%sp@-                             
   45f0a:	4e93           	jsr %a3@                                    
   45f0c:	4fef 000c      	lea %sp@(12),%sp                            
   45f10:	601c           	bras 45f2e <sigaction+0xba>                 
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
   45f12:	2f02           	movel %d2,%sp@-                             
         _POSIX_signals_Vectors[ sig ] = *act;                        
   45f14:	0684 0006 0fbe 	addil #397246,%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 );                 
   45f1a:	4eb9 0004 ba28 	jsr 4ba28 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
   45f20:	4878 000c      	pea c <OPER1>                               
   45f24:	2f0a           	movel %a2,%sp@-                             
   45f26:	2f04           	movel %d4,%sp@-                             
   45f28:	4e93           	jsr %a3@                                    
   45f2a:	4fef 0010      	lea %sp@(16),%sp                            
      }                                                               
    _ISR_Enable( level );                                             
   45f2e:	46c3           	movew %d3,%sr                               
   45f30:	4281           	clrl %d1                                    
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
   45f32:	2001           	movel %d1,%d0                               
   45f34:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   45f3a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047bfc <sigsuspend>: #include <rtems/seterr.h> int sigsuspend( const sigset_t *sigmask ) {
   47bfc:	4e56 ffec      	linkw %fp,#-20                              
   47c00:	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 ); 
   47c04:	240e           	movel %fp,%d2                               
   47c06:	5982           	subql #4,%d2                                
   47c08:	45f9 0004 7bd4 	lea 47bd4 <sigprocmask>,%a2                 
                                                                      
  (void) sigfillset( &all_signals );                                  
   47c0e:	260e           	movel %fp,%d3                               
   47c10:	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 ); 
   47c12:	2f02           	movel %d2,%sp@-                             
   47c14:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47c18:	4878 0001      	pea 1 <ADD>                                 
   47c1c:	4e92           	jsr %a2@                                    
                                                                      
  (void) sigfillset( &all_signals );                                  
   47c1e:	2f03           	movel %d3,%sp@-                             
   47c20:	4eb9 0004 7b34 	jsr 47b34 <sigfillset>                      
                                                                      
  status = sigtimedwait( &all_signals, NULL, NULL );                  
   47c26:	42a7           	clrl %sp@-                                  
   47c28:	42a7           	clrl %sp@-                                  
   47c2a:	2f03           	movel %d3,%sp@-                             
   47c2c:	4eb9 0004 7cac 	jsr 47cac <sigtimedwait>                    
   47c32:	2600           	movel %d0,%d3                               
                                                                      
  (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );    
   47c34:	42a7           	clrl %sp@-                                  
   47c36:	2f02           	movel %d2,%sp@-                             
   47c38:	42a7           	clrl %sp@-                                  
   47c3a:	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 )                                                 
   47c3c:	4fef 0028      	lea %sp@(40),%sp                            
   47c40:	70ff           	moveq #-1,%d0                               
   47c42:	b083           	cmpl %d3,%d0                                
   47c44:	670c           	beqs 47c52 <sigsuspend+0x56>                <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINTR );                    
   47c46:	4eb9 0005 09c0 	jsr 509c0 <__errno>                         
   47c4c:	2040           	moveal %d0,%a0                              
   47c4e:	7004           	moveq #4,%d0                                
   47c50:	2080           	movel %d0,%a0@                              
                                                                      
  return status;                                                      
}                                                                     
   47c52:	70ff           	moveq #-1,%d0                               
   47c54:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   47c5a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004625c <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
   4625c:	4e56 ffd8      	linkw %fp,#-40                              
   46260:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   46264:	286e 0008      	moveal %fp@(8),%a4                          
   46268:	246e 000c      	moveal %fp@(12),%a2                         
   4626c:	242e 0010      	movel %fp@(16),%d2                          
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
   46270:	4a8c           	tstl %a4                                    
   46272:	6732           	beqs 462a6 <sigtimedwait+0x4a>              
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
   46274:	4a82           	tstl %d2                                    
   46276:	6740           	beqs 462b8 <sigtimedwait+0x5c>              
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
   46278:	2f02           	movel %d2,%sp@-                             
   4627a:	4eb9 0004 9508 	jsr 49508 <_Timespec_Is_valid>              
   46280:	588f           	addql #4,%sp                                
   46282:	4a00           	tstb %d0                                    
   46284:	6612           	bnes 46298 <sigtimedwait+0x3c>              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   46286:	4eb9 0004 f190 	jsr 4f190 <__errno>                         
   4628c:	7816           	moveq #22,%d4                               
   4628e:	74ff           	moveq #-1,%d2                               
   46290:	2240           	moveal %d0,%a1                              
   46292:	2284           	movel %d4,%a1@                              
   46294:	6000 012e      	braw 463c4 <sigtimedwait+0x168>             
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
   46298:	2f02           	movel %d2,%sp@-                             
   4629a:	4eb9 0004 9578 	jsr 49578 <_Timespec_To_ticks>              
                                                                      
    if ( !interval )                                                  
   462a0:	588f           	addql #4,%sp                                
   462a2:	4a80           	tstl %d0                                    
   462a4:	6614           	bnes 462ba <sigtimedwait+0x5e>              <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   462a6:	4eb9 0004 f190 	jsr 4f190 <__errno>                         
   462ac:	7616           	moveq #22,%d3                               
   462ae:	74ff           	moveq #-1,%d2                               
   462b0:	2040           	moveal %d0,%a0                              
   462b2:	2083           	movel %d3,%a0@                              
   462b4:	6000 010e      	braw 463c4 <sigtimedwait+0x168>             
   462b8:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
   462ba:	4a8a           	tstl %a2                                    
   462bc:	6604           	bnes 462c2 <sigtimedwait+0x66>              
   462be:	45ee fff4      	lea %fp@(-12),%a2                           
                                                                      
  the_thread = _Thread_Executing;                                     
   462c2:	2079 0006 0f66 	moveal 60f66 <_Thread_Executing>,%a0        
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
   462c8:	223c 0000 0700 	movel #1792,%d1                             
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
                                                                      
  the_thread = _Thread_Executing;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   462ce:	2668 010e      	moveal %a0@(270),%a3                        
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
   462d2:	40c3           	movew %sr,%d3                               
   462d4:	8283           	orl %d3,%d1                                 
   462d6:	46c1           	movew %d1,%sr                               
  if ( *set & api->signals_pending ) {                                
   462d8:	2414           	movel %a4@,%d2                              
   462da:	2802           	movel %d2,%d4                               
   462dc:	222b 00d0      	movel %a3@(208),%d1                         
   462e0:	c881           	andl %d1,%d4                                
   462e2:	6730           	beqs 46314 <sigtimedwait+0xb8>              
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_highest( api->signals_pending );
   462e4:	2f01           	movel %d1,%sp@-                             
   462e6:	4eb9 0004 6210 	jsr 46210 <_POSIX_signals_Get_highest>      
   462ec:	2480           	movel %d0,%a2@                              
    _POSIX_signals_Clear_signals(                                     
   462ee:	42a7           	clrl %sp@-                                  
   462f0:	42a7           	clrl %sp@-                                  
   462f2:	2f0a           	movel %a2,%sp@-                             
   462f4:	2f00           	movel %d0,%sp@-                             
   462f6:	2f0b           	movel %a3,%sp@-                             
   462f8:	4eb9 0004 c034 	jsr 4c034 <_POSIX_signals_Clear_signals>    
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
   462fe:	46c3           	movew %d3,%sr                               
                                                                      
    the_info->si_code = SI_USER;                                      
   46300:	7001           	moveq #1,%d0                                
    the_info->si_value.sival_int = 0;                                 
    return the_info->si_signo;                                        
   46302:	4fef 0018      	lea %sp@(24),%sp                            
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
   46306:	2540 0004      	movel %d0,%a2@(4)                           
    the_info->si_value.sival_int = 0;                                 
    return the_info->si_signo;                                        
   4630a:	2412           	movel %a2@,%d2                              
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
   4630c:	42aa 0008      	clrl %a2@(8)                                
    return the_info->si_signo;                                        
   46310:	6000 00b2      	braw 463c4 <sigtimedwait+0x168>             
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
   46314:	2239 0006 1542 	movel 61542 <_POSIX_signals_Pending>,%d1    
   4631a:	4bf9 0004 c034 	lea 4c034 <_POSIX_signals_Clear_signals>,%a5
   46320:	c481           	andl %d1,%d2                                
   46322:	672c           	beqs 46350 <sigtimedwait+0xf4>              
    signo = _POSIX_signals_Get_highest( _POSIX_signals_Pending );     
   46324:	2f01           	movel %d1,%sp@-                             
   46326:	4eb9 0004 6210 	jsr 46210 <_POSIX_signals_Get_highest>      
   4632c:	2400           	movel %d0,%d2                               
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
   4632e:	42a7           	clrl %sp@-                                  
   46330:	4878 0001      	pea 1 <ADD>                                 
   46334:	2f0a           	movel %a2,%sp@-                             
   46336:	2f00           	movel %d0,%sp@-                             
   46338:	2f0b           	movel %a3,%sp@-                             
   4633a:	4e95           	jsr %a5@                                    
    _ISR_Enable( level );                                             
   4633c:	46c3           	movew %d3,%sr                               
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
   4633e:	7201           	moveq #1,%d1                                
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
   46340:	4fef 0018      	lea %sp@(24),%sp                            
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
   46344:	42aa 0008      	clrl %a2@(8)                                
  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;                                       
   46348:	2482           	movel %d2,%a2@                              
    the_info->si_code = SI_USER;                                      
   4634a:	2541 0004      	movel %d1,%a2@(4)                           
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
   4634e:	6074           	bras 463c4 <sigtimedwait+0x168>             
   46350:	2239 0006 0eac 	movel 60eac <_Thread_Dispatch_disable_level>,%d1
   46356:	5281           	addql #1,%d1                                
   46358:	23c1 0006 0eac 	movel %d1,60eac <_Thread_Dispatch_disable_level>
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
   4635e:	72ff           	moveq #-1,%d1                               
   46360:	2481           	movel %d1,%a2@                              
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
   46362:	7204           	moveq #4,%d1                                
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
   46364:	43f9 0006 14da 	lea 614da <_POSIX_signals_Wait_queue>,%a1   
    the_thread->Wait.return_code     = EINTR;                         
   4636a:	2141 0034      	movel %d1,%a0@(52)                          
    the_thread->Wait.option          = *set;                          
   4636e:	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;
   46372:	123c 0001      	moveb #1,%d1                                
    the_thread->Wait.return_argument = the_info;                      
   46376:	214a 0028      	movel %a2,%a0@(40)                          
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
   4637a:	2149 0044      	movel %a1,%a0@(68)                          
   4637e:	23c1 0006 150a 	movel %d1,6150a <_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 );                                             
   46384:	46c3           	movew %d3,%sr                               
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
   46386:	4879 0004 8fd0 	pea 48fd0 <_Thread_queue_Timeout>           
   4638c:	2f00           	movel %d0,%sp@-                             
   4638e:	4879 0006 14da 	pea 614da <_POSIX_signals_Wait_queue>       
   46394:	4eb9 0004 8ce4 	jsr 48ce4 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
   4639a:	4eb9 0004 884a 	jsr 4884a <_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 );
   463a0:	42a7           	clrl %sp@-                                  
   463a2:	42a7           	clrl %sp@-                                  
   463a4:	2f0a           	movel %a2,%sp@-                             
   463a6:	2f12           	movel %a2@,%sp@-                            
   463a8:	2f0b           	movel %a3,%sp@-                             
   463aa:	4e95           	jsr %a5@                                    
  errno = _Thread_Executing->Wait.return_code;                        
   463ac:	4fef 0020      	lea %sp@(32),%sp                            
   463b0:	4eb9 0004 f190 	jsr 4f190 <__errno>                         
   463b6:	2079 0006 0f66 	moveal 60f66 <_Thread_Executing>,%a0        
   463bc:	2240           	moveal %d0,%a1                              
   463be:	22a8 0034      	movel %a0@(52),%a1@                         
  return the_info->si_signo;                                          
   463c2:	2412           	movel %a2@,%d2                              
}                                                                     
   463c4:	2002           	movel %d2,%d0                               
   463c6:	4cee 3c1c ffd8 	moveml %fp@(-40),%d2-%d4/%a2-%a5            
   463cc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047e38 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
   47e38:	4e56 0000      	linkw %fp,#0                                
   47e3c:	2f0a           	movel %a2,%sp@-                             
   47e3e:	246e 000c      	moveal %fp@(12),%a2                         
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
   47e42:	42a7           	clrl %sp@-                                  
   47e44:	42a7           	clrl %sp@-                                  
   47e46:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47e4a:	4eb9 0004 7cac 	jsr 47cac <sigtimedwait>                    
                                                                      
  if ( status != -1 ) {                                               
   47e50:	4fef 000c      	lea %sp@(12),%sp                            
   47e54:	72ff           	moveq #-1,%d1                               
   47e56:	b280           	cmpl %d0,%d1                                
   47e58:	670a           	beqs 47e64 <sigwait+0x2c>                   
    if ( sig )                                                        
   47e5a:	4a8a           	tstl %a2                                    
   47e5c:	6702           	beqs 47e60 <sigwait+0x28>                   <== NEVER TAKEN
      *sig = status;                                                  
   47e5e:	2480           	movel %d0,%a2@                              
   47e60:	4280           	clrl %d0                                    
   47e62:	600a           	bras 47e6e <sigwait+0x36>                   
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
   47e64:	4eb9 0005 09c0 	jsr 509c0 <__errno>                         
   47e6a:	2040           	moveal %d0,%a0                              
   47e6c:	2010           	movel %a0@,%d0                              
}                                                                     
   47e6e:	246e fffc      	moveal %fp@(-4),%a2                         
   47e72:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000441aa <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
   441aa:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   441ae:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   441b0:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
   441b4:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
   441b8:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   441ba:	4282           	clrl %d2                                    <== NOT EXECUTED
   441bc:	142e 000b      	moveb %fp@(11),%d2                          <== NOT EXECUTED
	int i;                                                               
                                                                      
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
   441c0:	0280 0000 0e78 	andil #3704,%d0                             <== NOT EXECUTED
   441c6:	6734           	beqs 441fc <siproc+0x52>                    <== NOT EXECUTED
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
   441c8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   441ca:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   441cc:	2f2a 0018      	movel %a2@(24),%sp@-                        <== NOT EXECUTED
   441d0:	4eb9 0004 57c0 	jsr 457c0 <rtems_semaphore_obtain>          <== NOT EXECUTED
		i = iproc (c, tty);                                                 
   441d6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   441d8:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   441da:	4eba fe72      	jsr %pc@(4404e <iproc>)                     <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
   441de:	2f2a 0018      	movel %a2@(24),%sp@-                        <== NOT EXECUTED
	/*                                                                   
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
		i = iproc (c, tty);                                                 
   441e2:	2400           	movel %d0,%d2                               <== NOT EXECUTED
		rtems_semaphore_release (tty->osem);                                
   441e4:	4eb9 0004 58c4 	jsr 458c4 <rtems_semaphore_release>         <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
   441ea:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   441ee:	2002           	movel %d2,%d0                               <== NOT EXECUTED
	 * Obtain output semaphore if character will be echoed               
	 */                                                                  
	if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
		rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);   
		i = iproc (c, tty);                                                 
		rtems_semaphore_release (tty->osem);                                
   441f0:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
	}                                                                    
	else {                                                               
		i = iproc (c, tty);                                                 
	}                                                                    
	return i;                                                            
}                                                                     
   441f4:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   441f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   441fa:	4e75           	rts                                         <== 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);                                                 
   441fc:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
   44200:	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);                                                 
   44204:	2d42 0008      	movel %d2,%fp@(8)                           <== NOT EXECUTED
	}                                                                    
	return i;                                                            
}                                                                     
   44208:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   4420c:	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);                                                 
   4420e:	6000 fe3e      	braw 4404e <iproc>                          <== NOT EXECUTED
                                                                      

00044638 <stat>: int _STAT_NAME( const char *path, struct stat *buf ) {
   44638:	4e56 ffe0      	linkw %fp,#-32                              
   4463c:	48d7 001c      	moveml %d2-%d4,%sp@                         
   44640:	282e 0008      	movel %fp@(8),%d4                           
   44644:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
                                                                      
  if ( !buf )                                                         
   44648:	6612           	bnes 4465c <stat+0x24>                      
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   4464a:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         
   44650:	760e           	moveq #14,%d3                               
   44652:	74ff           	moveq #-1,%d2                               
   44654:	2040           	moveal %d0,%a0                              
   44656:	2083           	movel %d3,%a0@                              
   44658:	6000 009a      	braw 446f4 <stat+0xbc>                      
                                                                      
  status = rtems_filesystem_evaluate_path( path, strlen( path ),      
   4465c:	2f04           	movel %d4,%sp@-                             
   4465e:	260e           	movel %fp,%d3                               
   44660:	0683 ffff ffec 	addil #-20,%d3                              
   44666:	4eb9 0005 1250 	jsr 51250 <strlen>                          
   4466c:	7201           	moveq #1,%d1                                
   4466e:	2e81           	movel %d1,%sp@                              
   44670:	2f03           	movel %d3,%sp@-                             
   44672:	42a7           	clrl %sp@-                                  
   44674:	2f00           	movel %d0,%sp@-                             
   44676:	2f04           	movel %d4,%sp@-                             
   44678:	4eb9 0004 30ac 	jsr 430ac <rtems_filesystem_evaluate_path>  
                                           0, &loc, _STAT_FOLLOW_LINKS );
  if ( status != 0 )                                                  
   4467e:	4fef 0014      	lea %sp@(20),%sp                            
   44682:	4a80           	tstl %d0                                    
   44684:	6704           	beqs 4468a <stat+0x52>                      
   44686:	74ff           	moveq #-1,%d2                               
   44688:	606a           	bras 446f4 <stat+0xbc>                      
    return -1;                                                        
                                                                      
  if ( !loc.handlers->fstat_h ){                                      
   4468a:	206e fff4      	moveal %fp@(-12),%a0                        
   4468e:	4aa8 0018      	tstl %a0@(24)                               
   44692:	6628           	bnes 446bc <stat+0x84>                      <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   44694:	206e fff8      	moveal %fp@(-8),%a0                         <== NOT EXECUTED
   44698:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4469a:	670e           	beqs 446aa <stat+0x72>                      <== NOT EXECUTED
   4469c:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   446a0:	4a88           	tstl %a0                                    <== NOT EXECUTED
   446a2:	6706           	beqs 446aa <stat+0x72>                      <== NOT EXECUTED
   446a4:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   446a6:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   446a8:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   446aa:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         <== NOT EXECUTED
   446b0:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   446b2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   446b4:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   446ba:	6038           	bras 446f4 <stat+0xbc>                      <== NOT EXECUTED
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
   446bc:	4878 0046      	pea 46 <DBL_MANT_DIG+0x11>                  
   446c0:	42a7           	clrl %sp@-                                  
   446c2:	2f02           	movel %d2,%sp@-                             
   446c4:	4eb9 0005 040c 	jsr 5040c <memset>                          
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
   446ca:	206e fff4      	moveal %fp@(-12),%a0                        
   446ce:	2f02           	movel %d2,%sp@-                             
   446d0:	2f03           	movel %d3,%sp@-                             
   446d2:	2068 0018      	moveal %a0@(24),%a0                         
   446d6:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   446d8:	206e fff8      	moveal %fp@(-8),%a0                         
   *  versions of stat don't have to.                                 
   */                                                                 
                                                                      
  memset( buf, 0, sizeof(struct stat) );                              
                                                                      
  status =  (*loc.handlers->fstat_h)( &loc, buf );                    
   446dc:	2400           	movel %d0,%d2                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   446de:	4fef 0014      	lea %sp@(20),%sp                            
   446e2:	4a88           	tstl %a0                                    
   446e4:	670e           	beqs 446f4 <stat+0xbc>                      <== NEVER TAKEN
   446e6:	2068 001c      	moveal %a0@(28),%a0                         
   446ea:	4a88           	tstl %a0                                    
   446ec:	6706           	beqs 446f4 <stat+0xbc>                      <== NEVER TAKEN
   446ee:	2f03           	movel %d3,%sp@-                             
   446f0:	4e90           	jsr %a0@                                    
   446f2:	588f           	addql #4,%sp                                
                                                                      
  return status;                                                      
}                                                                     
   446f4:	2002           	movel %d2,%d0                               
   446f6:	4cee 001c ffe0 	moveml %fp@(-32),%d2-%d4                    
   446fc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000447c0 <symlink>: int symlink( const char *actualpath, const char *sympath ) {
   447c0:	4e56 ffe4      	linkw %fp,#-28                              
   447c4:	2f03           	movel %d3,%sp@-                             
   447c6:	262e 000c      	movel %fp@(12),%d3                          
   447ca:	2f02           	movel %d2,%sp@-                             
  rtems_filesystem_location_info_t    loc;                            
  int                                 i;                              
  const char                         *name_start;                     
  int                                 result;                         
                                                                      
  rtems_filesystem_get_start_loc( sympath, &i, &loc );                
   447cc:	240e           	movel %fp,%d2                               
   447ce:	0682 ffff ffe4 	addil #-28,%d2                              
   447d4:	2f02           	movel %d2,%sp@-                             
   447d6:	486e fffc      	pea %fp@(-4)                                
   447da:	2f03           	movel %d3,%sp@-                             
   447dc:	4eb9 0004 4728 	jsr 44728 <rtems_filesystem_get_start_loc>  
                                                                      
  if ( !loc.ops->evalformake_h ) {                                    
   447e2:	206e fff0      	moveal %fp@(-16),%a0                        
   447e6:	4fef 000c      	lea %sp@(12),%sp                            
   447ea:	2068 0004      	moveal %a0@(4),%a0                          
   447ee:	4a88           	tstl %a0                                    
   447f0:	6734           	beqs 44826 <symlink+0x66>                   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->evalformake_h)( &sympath[i], &loc, &name_start );
   447f2:	486e fff8      	pea %fp@(-8)                                
   447f6:	d6ae fffc      	addl %fp@(-4),%d3                           
   447fa:	2f02           	movel %d2,%sp@-                             
   447fc:	2f03           	movel %d3,%sp@-                             
   447fe:	4e90           	jsr %a0@                                    
  if ( result != 0 )                                                  
   44800:	4fef 000c      	lea %sp@(12),%sp                            
   44804:	4a80           	tstl %d0                                    
   44806:	6704           	beqs 4480c <symlink+0x4c>                   
   44808:	76ff           	moveq #-1,%d3                               
   4480a:	6054           	bras 44860 <symlink+0xa0>                   
    return -1;                                                        
                                                                      
  if ( !loc.ops->symlink_h ) {                                        
   4480c:	226e fff0      	moveal %fp@(-16),%a1                        
   44810:	2069 0038      	moveal %a1@(56),%a0                         
   44814:	4a88           	tstl %a0                                    
   44816:	6620           	bnes 44838 <symlink+0x78>                   <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   44818:	2069 001c      	moveal %a1@(28),%a0                         
   4481c:	4a88           	tstl %a0                                    
   4481e:	6706           	beqs 44826 <symlink+0x66>                   <== NOT EXECUTED
   44820:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   44822:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44824:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   44826:	4eb9 0004 f284 	jsr 4f284 <__errno>                         <== NOT EXECUTED
   4482c:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4482e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   44830:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   44836:	6028           	bras 44860 <symlink+0xa0>                   <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
   44838:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   4483c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   44840:	2f02           	movel %d2,%sp@-                             
   44842:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   44844:	206e fff0      	moveal %fp@(-16),%a0                        
  if ( !loc.ops->symlink_h ) {                                        
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->symlink_h)( &loc, actualpath, name_start);      
   44848:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4484a:	4fef 000c      	lea %sp@(12),%sp                            
   4484e:	4a88           	tstl %a0                                    
   44850:	670e           	beqs 44860 <symlink+0xa0>                   <== NEVER TAKEN
   44852:	2068 001c      	moveal %a0@(28),%a0                         
   44856:	4a88           	tstl %a0                                    
   44858:	6706           	beqs 44860 <symlink+0xa0>                   <== NEVER TAKEN
   4485a:	2f02           	movel %d2,%sp@-                             
   4485c:	4e90           	jsr %a0@                                    
   4485e:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   44860:	2003           	movel %d3,%d0                               
   44862:	242e ffdc      	movel %fp@(-36),%d2                         
   44866:	262e ffe0      	movel %fp@(-32),%d3                         
   4486a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000447b4 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
   447b4:	4e56 0000      	linkw %fp,#0                                
   447b8:	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;                                        
   447bc:	2028 0106      	movel %a0@(262),%d0                         
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
   447c0:	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 ) {                                                
   447c2:	4a80           	tstl %d0                                    
   447c4:	6728           	beqs 447ee <sync_per_thread+0x3a>           <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
   447c6:	2279 0006 0b16 	moveal 60b16 <_Thread_Executing>,%a1        
   447cc:	2429 0106      	movel %a1@(262),%d2                         
     _Thread_Executing->libc_reent = this_reent;                      
   447d0:	2340 0106      	movel %d0,%a1@(262)                         
     _fwalk (t->libc_reent, sync_wrapper);                            
   447d4:	487a 0046      	pea %pc@(4481c <sync_wrapper>)              
   447d8:	2f28 0106      	movel %a0@(262),%sp@-                       
   447dc:	4eb9 0005 00ea 	jsr 500ea <_fwalk>                          
     _Thread_Executing->libc_reent = current_reent;                   
   447e2:	2079 0006 0b16 	moveal 60b16 <_Thread_Executing>,%a0        
   447e8:	508f           	addql #8,%sp                                
   447ea:	2142 0106      	movel %d2,%a0@(262)                         
   }                                                                  
}                                                                     
   447ee:	242e fffc      	movel %fp@(-4),%d2                          
   447f2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000453b8 <sysconf>: long sysconf( int name ) { if ( name == _SC_CLK_TCK )
   453b8:	7002           	moveq #2,%d0                                
 */                                                                   
                                                                      
long sysconf(                                                         
  int name                                                            
)                                                                     
{                                                                     
   453ba:	4e56 0000      	linkw %fp,#0                                
   453be:	222e 0008      	movel %fp@(8),%d1                           
   453c2:	2f02           	movel %d2,%sp@-                             
  if ( name == _SC_CLK_TCK )                                          
   453c4:	b081           	cmpl %d1,%d0                                
   453c6:	6612           	bnes 453da <sysconf+0x22>                   
    return (TOD_MICROSECONDS_PER_SECOND /                             
   453c8:	41f9 0005 dcc4 	lea 5dcc4 <Configuration+0xc>,%a0           
   453ce:	203c 000f 4240 	movel #1000000,%d0                          
   453d4:	4c50 0000      	remul %a0@,%d0,%d0                          
   453d8:	6034           	bras 4540e <sysconf+0x56>                   
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
   453da:	7004           	moveq #4,%d0                                
   453dc:	b081           	cmpl %d1,%d0                                
   453de:	6608           	bnes 453e8 <sysconf+0x30>                   
    return rtems_libio_number_iops;                                   
   453e0:	2039 0005 dbe4 	movel 5dbe4 <rtems_libio_number_iops>,%d0   
   453e6:	6026           	bras 4540e <sysconf+0x56>                   
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
   453e8:	203c 0000 0400 	movel #1024,%d0                             
   453ee:	7433           	moveq #51,%d2                               
   453f0:	b481           	cmpl %d1,%d2                                
   453f2:	671a           	beqs 4540e <sysconf+0x56>                   <== NEVER TAKEN
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
   453f4:	143c 0008      	moveb #8,%d2                                
   453f8:	303c 1000      	movew #4096,%d0                             
   453fc:	b481           	cmpl %d1,%d2                                
   453fe:	670e           	beqs 4540e <sysconf+0x56>                   
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   45400:	4eb9 0004 e664 	jsr 4e664 <__errno>                         
   45406:	7216           	moveq #22,%d1                               
   45408:	2040           	moveal %d0,%a0                              
   4540a:	70ff           	moveq #-1,%d0                               
   4540c:	2081           	movel %d1,%a0@                              
}                                                                     
   4540e:	242e fffc      	movel %fp@(-4),%d2                          
   45412:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000446a0 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
   446a0:	4e56 0000      	linkw %fp,#0                                
   446a4:	202e 000c      	movel %fp@(12),%d0                          
   446a8:	2f03           	movel %d3,%sp@-                             
   446aa:	262e 0010      	movel %fp@(16),%d3                          
   446ae:	2f02           	movel %d2,%sp@-                             
   446b0:	242e 0008      	movel %fp@(8),%d2                           
  switch (opt) {                                                      
   446b4:	4a80           	tstl %d0                                    
   446b6:	672c           	beqs 446e4 <tcsetattr+0x44>                 <== ALWAYS TAKEN
   446b8:	7201           	moveq #1,%d1                                
   446ba:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   446bc:	6710           	beqs 446ce <tcsetattr+0x2e>                 <== NOT EXECUTED
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   446be:	4eb9 0004 f348 	jsr 4f348 <__errno>                         <== NOT EXECUTED
   446c4:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   446c6:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   446cc:	6034           	bras 44702 <tcsetattr+0x62>                 <== NOT EXECUTED
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
   446ce:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   446d0:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   446d4:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   446d6:	4eb9 0004 b7c0 	jsr 4b7c0 <ioctl>                           <== NOT EXECUTED
   446dc:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   446e0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   446e2:	6d1e           	blts 44702 <tcsetattr+0x62>                 <== NOT EXECUTED
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   446e4:	2d43 0010      	movel %d3,%fp@(16)                          
   446e8:	7002           	moveq #2,%d0                                
   446ea:	2d42 0008      	movel %d2,%fp@(8)                           
  }                                                                   
}                                                                     
   446ee:	242e fff8      	movel %fp@(-8),%d2                          
   446f2:	262e fffc      	movel %fp@(-4),%d3                          
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   446f6:	2d40 000c      	movel %d0,%fp@(12)                          
  }                                                                   
}                                                                     
   446fa:	4e5e           	unlk %fp                                    
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   446fc:	4ef9 0004 b7c0 	jmp 4b7c0 <ioctl>                           
  }                                                                   
}                                                                     
   44702:	242e fff8      	movel %fp@(-8),%d2                          
   44706:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   44708:	262e fffc      	movel %fp@(-4),%d3                          <== NOT EXECUTED
   4470c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045460 <timer_create>: timer_t *timerid ) { POSIX_Timer_Control *ptimer; if ( clock_id != CLOCK_REALTIME )
   45460:	7001           	moveq #1,%d0                                
int timer_create(                                                     
  clockid_t        clock_id,                                          
  struct sigevent *evp,                                               
  timer_t         *timerid                                            
)                                                                     
{                                                                     
   45462:	4e56 0000      	linkw %fp,#0                                
   45466:	2f0b           	movel %a3,%sp@-                             
   45468:	266e 0010      	moveal %fp@(16),%a3                         
   4546c:	2f0a           	movel %a2,%sp@-                             
   4546e:	246e 000c      	moveal %fp@(12),%a2                         
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
   45472:	b0ae 0008      	cmpl %fp@(8),%d0                            
   45476:	6620           	bnes 45498 <timer_create+0x38>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
   45478:	4a8b           	tstl %a3                                    
   4547a:	671c           	beqs 45498 <timer_create+0x38>              
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
   4547c:	4a8a           	tstl %a2                                    
   4547e:	672a           	beqs 454aa <timer_create+0x4a>              
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
   45480:	2012           	movel %a2@,%d0                              
   45482:	7201           	moveq #1,%d1                                
   45484:	5380           	subql #1,%d0                                
   45486:	b280           	cmpl %d0,%d1                                
   45488:	650e           	bcss 45498 <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 )                                         
   4548a:	202a 0004      	movel %a2@(4),%d0                           
   4548e:	6708           	beqs 45498 <timer_create+0x38>              <== NEVER TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
   45490:	5380           	subql #1,%d0                                
   45492:	721f           	moveq #31,%d1                               
   45494:	b280           	cmpl %d0,%d1                                
   45496:	6412           	bccs 454aa <timer_create+0x4a>              <== ALWAYS TAKEN
       rtems_set_errno_and_return_minus_one( EINVAL );                
   45498:	4eb9 0004 e8bc 	jsr 4e8bc <__errno>                         
   4549e:	72ff           	moveq #-1,%d1                               
   454a0:	2040           	moveal %d0,%a0                              
   454a2:	7016           	moveq #22,%d0                               
   454a4:	2080           	movel %d0,%a0@                              
   454a6:	6000 00a4      	braw 4554c <timer_create+0xec>              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   454aa:	2039 0005 fa9c 	movel 5fa9c <_Thread_Dispatch_disable_level>,%d0
   454b0:	5280           	addql #1,%d0                                
   454b2:	23c0 0005 fa9c 	movel %d0,5fa9c <_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 );
   454b8:	4879 0005 fd30 	pea 5fd30 <_POSIX_Timer_Information>        
   454be:	4eb9 0004 70e0 	jsr 470e0 <_Objects_Allocate>               
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
   454c4:	588f           	addql #4,%sp                                
   454c6:	2040           	moveal %d0,%a0                              
   454c8:	4a80           	tstl %d0                                    
   454ca:	6616           	bnes 454e2 <timer_create+0x82>              
    _Thread_Enable_dispatch();                                        
   454cc:	4eb9 0004 7d2e 	jsr 47d2e <_Thread_Enable_dispatch>         
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
   454d2:	4eb9 0004 e8bc 	jsr 4e8bc <__errno>                         
   454d8:	72ff           	moveq #-1,%d1                               
   454da:	2040           	moveal %d0,%a0                              
   454dc:	700b           	moveq #11,%d0                               
   454de:	2080           	movel %d0,%a0@                              
   454e0:	606a           	bras 4554c <timer_create+0xec>              
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
   454e2:	7002           	moveq #2,%d0                                
   454e4:	1140 003c      	moveb %d0,%a0@(60)                          
  ptimer->thread_id = _Thread_Executing->Object.id;                   
   454e8:	2279 0005 fb56 	moveal 5fb56 <_Thread_Executing>,%a1        
   454ee:	2169 0008 0038 	movel %a1@(8),%a0@(56)                      
                                                                      
  if ( evp != NULL ) {                                                
   454f4:	4a8a           	tstl %a2                                    
   454f6:	6710           	beqs 45508 <timer_create+0xa8>              
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
   454f8:	2152 003e      	movel %a2@,%a0@(62)                         
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
    ptimer->inf.sigev_value  = evp->sigev_value;                      
   454fc:	216a 0008 0046 	movel %a2@(8),%a0@(70)                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
   45502:	216a 0004 0042 	movel %a2@(4),%a0@(66)                      
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   45508:	2028 0008      	movel %a0@(8),%d0                           
   4550c:	4281           	clrl %d1                                    
   4550e:	2279 0005 fd48 	moveal 5fd48 <_POSIX_Timer_Information+0x18>,%a1
   45514:	3200           	movew %d0,%d1                               
    ptimer->inf.sigev_value  = evp->sigev_value;                      
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
   45516:	42a8 0066      	clrl %a0@(102)                              
   4551a:	2388 1c00      	movel %a0,%a1@(00000000,%d1:l:4)            
  ptimer->timer_data.it_value.tv_sec     = 0;                         
   4551e:	42a8 005a      	clrl %a0@(90)                               
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   45522:	42a8 000c      	clrl %a0@(12)                               
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
   45526:	42a8 005e      	clrl %a0@(94)                               
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
   4552a:	42a8 0052      	clrl %a0@(82)                               
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
   4552e:	42a8 0056      	clrl %a0@(86)                               
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   45532:	42a8 0030      	clrl %a0@(48)                               
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   45536:	42a8 0018      	clrl %a0@(24)                               
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
   4553a:	2680           	movel %d0,%a3@                              
  the_watchdog->routine   = routine;                                  
   4553c:	42a8 002c      	clrl %a0@(44)                               
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   45540:	42a8 0034      	clrl %a0@(52)                               
  _Thread_Enable_dispatch();                                          
   45544:	4eb9 0004 7d2e 	jsr 47d2e <_Thread_Enable_dispatch>         
   4554a:	4281           	clrl %d1                                    
  return 0;                                                           
}                                                                     
   4554c:	246e fff8      	moveal %fp@(-8),%a2                         
   45550:	2001           	movel %d1,%d0                               
   45552:	266e fffc      	moveal %fp@(-4),%a3                         
   45556:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000455f0 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
   455f0:	4e56 ffe8      	linkw %fp,#-24                              
   455f4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   455f8:	262e 0008      	movel %fp@(8),%d3                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
   455fc:	4ab9 0006 0f02 	tstl 60f02 <_POSIX_signals_Ualarm_timer+0x1c>
   45602:	6622           	bnes 45626 <ualarm+0x36>                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   45604:	42b9 0006 0eee 	clrl 60eee <_POSIX_signals_Ualarm_timer+0x8>
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   4560a:	4282           	clrl %d2                                    
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   4560c:	203c 0004 56dc 	movel #284380,%d0                           
  the_watchdog->id        = id;                                       
   45612:	42b9 0006 0f06 	clrl 60f06 <_POSIX_signals_Ualarm_timer+0x20>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   45618:	23c0 0006 0f02 	movel %d0,60f02 <_POSIX_signals_Ualarm_timer+0x1c>
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   4561e:	42b9 0006 0f0a 	clrl 60f0a <_POSIX_signals_Ualarm_timer+0x24>
   45624:	6058           	bras 4567e <ualarm+0x8e>                    
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
   45626:	4879 0006 0ee6 	pea 60ee6 <_POSIX_signals_Ualarm_timer>     
   4562c:	4eb9 0004 8d08 	jsr 48d08 <_Watchdog_Remove>                
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
   45632:	588f           	addql #4,%sp                                
   45634:	7201           	moveq #1,%d1                                
   45636:	5580           	subql #2,%d0                                
   45638:	b280           	cmpl %d0,%d1                                
   4563a:	6404           	bccs 45640 <ualarm+0x50>                    <== ALWAYS TAKEN
   4563c:	4282           	clrl %d2                                    <== NOT EXECUTED
   4563e:	603e           	bras 4567e <ualarm+0x8e>                    <== NOT EXECUTED
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
   45640:	2039 0006 0efa 	movel 60efa <_POSIX_signals_Ualarm_timer+0x14>,%d0
   45646:	d0b9 0006 0ef2 	addl 60ef2 <_POSIX_signals_Ualarm_timer+0xc>,%d0
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
   4564c:	486e fff8      	pea %fp@(-8)                                
   45650:	90b9 0006 0efe 	subl 60efe <_POSIX_signals_Ualarm_timer+0x18>,%d0
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
   45656:	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 );                             
   4565c:	2f00           	movel %d0,%sp@-                             
   4565e:	4eb9 0004 8830 	jsr 48830 <_Timespec_From_ticks>            
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
   45664:	202e fff8      	movel %fp@(-8),%d0                          
   45668:	4c04 0800      	mulsl %d4,%d0                               
      remaining += tp.tv_nsec / 1000;                                 
   4566c:	283c 0000 03e8 	movel #1000,%d4                             
   45672:	508f           	addql #8,%sp                                
   45674:	242e fffc      	movel %fp@(-4),%d2                          
   45678:	4c44 2802      	remsl %d4,%d2,%d2                           
   4567c:	d480           	addl %d0,%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 ) {                                                   
   4567e:	4a83           	tstl %d3                                    
   45680:	674e           	beqs 456d0 <ualarm+0xe0>                    
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
   45682:	280e           	movel %fp,%d4                               
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
   45684:	223c 000f 4240 	movel #1000000,%d1                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
   4568a:	5184           	subql #8,%d4                                
   4568c:	45f9 0004 88b4 	lea 488b4 <_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;               
   45692:	4c41 3000      	remul %d1,%d0,%d3                           
   45696:	4c41 3003      	remul %d1,%d3,%d3                           
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   4569a:	223c 0000 03e8 	movel #1000,%d1                             
   456a0:	4c00 1800      	mulsl %d0,%d1                               
    ticks = _Timespec_To_ticks( &tp );                                
   456a4:	2f04           	movel %d4,%sp@-                             
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   456a6:	2d41 fffc      	movel %d1,%fp@(-4)                          
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
   456aa:	2d43 fff8      	movel %d3,%fp@(-8)                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
   456ae:	4e92           	jsr %a2@                                    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
   456b0:	2f04           	movel %d4,%sp@-                             
   456b2:	4e92           	jsr %a2@                                    
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   456b4:	4879 0006 0ee6 	pea 60ee6 <_POSIX_signals_Ualarm_timer>     
   456ba:	4879 0006 07a4 	pea 607a4 <_Watchdog_Ticks_chain>           
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   456c0:	23c0 0006 0ef2 	movel %d0,60ef2 <_POSIX_signals_Ualarm_timer+0xc>
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   456c6:	4eb9 0004 8bec 	jsr 48bec <_Watchdog_Insert>                
   456cc:	4fef 0010      	lea %sp@(16),%sp                            
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
   456d0:	2002           	movel %d2,%d0                               
   456d2:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   456d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d374 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
   4d374:	4e56 ffbc      	linkw %fp,#-68                              
   4d378:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   4d37c:	262e 0008      	movel %fp@(8),%d3                           
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
   4d380:	2f03           	movel %d3,%sp@-                             
   4d382:	4eb9 0004 2696 	jsr 42696 <rtems_filesystem_dirname>        
                                                                      
  if ( parentpathlen == 0 )                                           
   4d388:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
   4d38a:	2c00           	movel %d0,%d6                               
   4d38c:	200e           	movel %fp,%d0                               
   4d38e:	0680 ffff ffe8 	addil #-24,%d0                              
                                                                      
  if ( parentpathlen == 0 )                                           
   4d394:	4a86           	tstl %d6                                    
   4d396:	6616           	bnes 4d3ae <unlink+0x3a>                    
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
   4d398:	2f00           	movel %d0,%sp@-                             
   4d39a:	486e fffc      	pea %fp@(-4)                                
   4d39e:	4204           	clrb %d4                                    
   4d3a0:	2f03           	movel %d3,%sp@-                             
   4d3a2:	4eb9 0004 3540 	jsr 43540 <rtems_filesystem_get_start_loc>  
   4d3a8:	4fef 000c      	lea %sp@(12),%sp                            
   4d3ac:	601e           	bras 4d3cc <unlink+0x58>                    
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
   4d3ae:	42a7           	clrl %sp@-                                  
   4d3b0:	2f00           	movel %d0,%sp@-                             
   4d3b2:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4d3b6:	2f06           	movel %d6,%sp@-                             
   4d3b8:	2f03           	movel %d3,%sp@-                             
   4d3ba:	4eb9 0004 27ac 	jsr 427ac <rtems_filesystem_evaluate_path>  
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
   4d3c0:	4fef 0014      	lea %sp@(20),%sp                            
   4d3c4:	4a80           	tstl %d0                                    
   4d3c6:	6600 015c      	bnew 4d524 <unlink+0x1b0>                   
   4d3ca:	7801           	moveq #1,%d4                                
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   4d3cc:	4878 0014      	pea 14 <OPER2>                              
   4d3d0:	2a0e           	movel %fp,%d5                               
   4d3d2:	0685 ffff ffe8 	addil #-24,%d5                              
   4d3d8:	240e           	movel %fp,%d2                               
   4d3da:	0682 ffff ffd4 	addil #-44,%d2                              
  name = path + parentpathlen;                                        
   4d3e0:	d686           	addl %d6,%d3                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   4d3e2:	45f9 0004 f5d0 	lea 4f5d0 <strlen>,%a2                      
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   4d3e8:	2f05           	movel %d5,%sp@-                             
   4d3ea:	2f02           	movel %d2,%sp@-                             
   4d3ec:	4eb9 0004 e9c4 	jsr 4e9c4 <memcpy>                          
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   4d3f2:	2f03           	movel %d3,%sp@-                             
   4d3f4:	4e92           	jsr %a2@                                    
   4d3f6:	2e80           	movel %d0,%sp@                              
   4d3f8:	2f03           	movel %d3,%sp@-                             
   4d3fa:	4eb9 0004 2658 	jsr 42658 <rtems_filesystem_prefix_separators>
   4d400:	d680           	addl %d0,%d3                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   4d402:	2f03           	movel %d3,%sp@-                             
   4d404:	4e92           	jsr %a2@                                    
   4d406:	4297           	clrl %sp@                                   
   4d408:	2f02           	movel %d2,%sp@-                             
   4d40a:	42a7           	clrl %sp@-                                  
   4d40c:	2f00           	movel %d0,%sp@-                             
   4d40e:	2f03           	movel %d3,%sp@-                             
   4d410:	4eb9 0004 26dc 	jsr 426dc <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   4d416:	4fef 0028      	lea %sp@(40),%sp                            
   4d41a:	4a80           	tstl %d0                                    
   4d41c:	6722           	beqs 4d440 <unlink+0xcc>                    
    if ( free_parentloc )                                             
   4d41e:	4a04           	tstb %d4                                    
   4d420:	6700 0102      	beqw 4d524 <unlink+0x1b0>                   
      rtems_filesystem_freenode( &parentloc );                        
   4d424:	206e fff4      	moveal %fp@(-12),%a0                        
   4d428:	4a88           	tstl %a0                                    
   4d42a:	6700 00f8      	beqw 4d524 <unlink+0x1b0>                   
   4d42e:	2068 001c      	moveal %a0@(28),%a0                         
   4d432:	4a88           	tstl %a0                                    
   4d434:	6700 00ee      	beqw 4d524 <unlink+0x1b0>                   
   4d438:	2f05           	movel %d5,%sp@-                             
   4d43a:	76ff           	moveq #-1,%d3                               
   4d43c:	6000 00e0      	braw 4d51e <unlink+0x1aa>                   
    return -1;                                                        
  }                                                                   
                                                                      
  if ( !loc.ops->node_type_h ) {                                      
   4d440:	226e ffe0      	moveal %fp@(-32),%a1                        
   4d444:	2069 0010      	moveal %a1@(16),%a0                         
   4d448:	4a88           	tstl %a0                                    
   4d44a:	6606           	bnes 4d452 <unlink+0xde>                    <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   4d44c:	2069 001c      	moveal %a1@(28),%a0                         <== NOT EXECUTED
   4d450:	605c           	bras 4d4ae <unlink+0x13a>                   <== NOT EXECUTED
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
   4d452:	2f02           	movel %d2,%sp@-                             
   4d454:	4e90           	jsr %a0@                                    
   4d456:	206e ffe0      	moveal %fp@(-32),%a0                        
   4d45a:	588f           	addql #4,%sp                                
   4d45c:	7201           	moveq #1,%d1                                
   4d45e:	b280           	cmpl %d0,%d1                                
   4d460:	6640           	bnes 4d4a2 <unlink+0x12e>                   
    rtems_filesystem_freenode( &loc );                                
   4d462:	4a88           	tstl %a0                                    
   4d464:	670e           	beqs 4d474 <unlink+0x100>                   <== NEVER TAKEN
   4d466:	2068 001c      	moveal %a0@(28),%a0                         
   4d46a:	4a88           	tstl %a0                                    
   4d46c:	6706           	beqs 4d474 <unlink+0x100>                   <== NEVER TAKEN
   4d46e:	2f02           	movel %d2,%sp@-                             
   4d470:	4e90           	jsr %a0@                                    
   4d472:	588f           	addql #4,%sp                                
    if ( free_parentloc )                                             
   4d474:	4a04           	tstb %d4                                    
   4d476:	6718           	beqs 4d490 <unlink+0x11c>                   <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
   4d478:	206e fff4      	moveal %fp@(-12),%a0                        <== NOT EXECUTED
   4d47c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4d47e:	6710           	beqs 4d490 <unlink+0x11c>                   <== NOT EXECUTED
   4d480:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   4d484:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4d486:	6708           	beqs 4d490 <unlink+0x11c>                   <== NOT EXECUTED
   4d488:	486e ffe8      	pea %fp@(-24)                               <== NOT EXECUTED
   4d48c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4d48e:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   4d490:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         
   4d496:	76ff           	moveq #-1,%d3                               
   4d498:	2040           	moveal %d0,%a0                              
   4d49a:	7015           	moveq #21,%d0                               
   4d49c:	2080           	movel %d0,%a0@                              
   4d49e:	6000 0086      	braw 4d526 <unlink+0x1b2>                   
  }                                                                   
                                                                      
  if ( !loc.ops->unlink_h ) {                                         
   4d4a2:	2268 000c      	moveal %a0@(12),%a1                         
   4d4a6:	4a89           	tstl %a1                                    
   4d4a8:	663c           	bnes 4d4e6 <unlink+0x172>                   <== ALWAYS TAKEN
    rtems_filesystem_freenode( &loc );                                
   4d4aa:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   4d4ae:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4d4b0:	6706           	beqs 4d4b8 <unlink+0x144>                   <== NOT EXECUTED
   4d4b2:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4d4b4:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4d4b6:	588f           	addql #4,%sp                                <== NOT EXECUTED
    if ( free_parentloc )                                             
   4d4b8:	4a04           	tstb %d4                                    <== NOT EXECUTED
   4d4ba:	6718           	beqs 4d4d4 <unlink+0x160>                   <== NOT EXECUTED
      rtems_filesystem_freenode( &parentloc );                        
   4d4bc:	206e fff4      	moveal %fp@(-12),%a0                        <== NOT EXECUTED
   4d4c0:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4d4c2:	6710           	beqs 4d4d4 <unlink+0x160>                   <== NOT EXECUTED
   4d4c4:	2068 001c      	moveal %a0@(28),%a0                         <== NOT EXECUTED
   4d4c8:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4d4ca:	6708           	beqs 4d4d4 <unlink+0x160>                   <== NOT EXECUTED
   4d4cc:	486e ffe8      	pea %fp@(-24)                               <== NOT EXECUTED
   4d4d0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4d4d2:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4d4d4:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   4d4da:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4d4dc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4d4de:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4d4e4:	6040           	bras 4d526 <unlink+0x1b2>                   <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
   4d4e6:	2f02           	movel %d2,%sp@-                             
   4d4e8:	2f05           	movel %d5,%sp@-                             
   4d4ea:	4e91           	jsr %a1@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4d4ec:	206e ffe0      	moveal %fp@(-32),%a0                        
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
   4d4f0:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4d4f2:	508f           	addql #8,%sp                                
   4d4f4:	4a88           	tstl %a0                                    
   4d4f6:	670e           	beqs 4d506 <unlink+0x192>                   <== NEVER TAKEN
   4d4f8:	2068 001c      	moveal %a0@(28),%a0                         
   4d4fc:	4a88           	tstl %a0                                    
   4d4fe:	6706           	beqs 4d506 <unlink+0x192>                   <== NEVER TAKEN
   4d500:	2f02           	movel %d2,%sp@-                             
   4d502:	4e90           	jsr %a0@                                    
   4d504:	588f           	addql #4,%sp                                
  if ( free_parentloc )                                               
   4d506:	4a04           	tstb %d4                                    
   4d508:	671c           	beqs 4d526 <unlink+0x1b2>                   <== NEVER TAKEN
    rtems_filesystem_freenode( &parentloc );                          
   4d50a:	206e fff4      	moveal %fp@(-12),%a0                        
   4d50e:	4a88           	tstl %a0                                    
   4d510:	6714           	beqs 4d526 <unlink+0x1b2>                   <== NEVER TAKEN
   4d512:	2068 001c      	moveal %a0@(28),%a0                         
   4d516:	4a88           	tstl %a0                                    
   4d518:	670c           	beqs 4d526 <unlink+0x1b2>                   <== NEVER TAKEN
   4d51a:	486e ffe8      	pea %fp@(-24)                               
   4d51e:	4e90           	jsr %a0@                                    
   4d520:	588f           	addql #4,%sp                                
   4d522:	6002           	bras 4d526 <unlink+0x1b2>                   
   4d524:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
                                                                      
  return result;                                                      
}                                                                     
   4d526:	2003           	movel %d3,%d0                               
   4d528:	4cee 047c ffbc 	moveml %fp@(-68),%d2-%d6/%a2                
   4d52e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048228 <unmount>: */ int unmount( const char *path ) {
   48228:	4e56 ffec      	linkw %fp,#-20                              
   4822c:	2f0a           	movel %a2,%sp@-                             
   4822e:	246e 0008      	moveal %fp@(8),%a2                          
   48232:	2f02           	movel %d2,%sp@-                             
   *    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 ) )
   48234:	240e           	movel %fp,%d2                               
   48236:	0682 ffff ffec 	addil #-20,%d2                              
   4823c:	2f0a           	movel %a2,%sp@-                             
   4823e:	4eb9 0005 4090 	jsr 54090 <strlen>                          
   48244:	7201           	moveq #1,%d1                                
   48246:	2e81           	movel %d1,%sp@                              
   48248:	2f02           	movel %d2,%sp@-                             
   4824a:	42a7           	clrl %sp@-                                  
   4824c:	2f00           	movel %d0,%sp@-                             
   4824e:	2f0a           	movel %a2,%sp@-                             
   48250:	4eb9 0004 4c18 	jsr 44c18 <rtems_filesystem_evaluate_path>  
   48256:	4fef 0014      	lea %sp@(20),%sp                            
   4825a:	4a80           	tstl %d0                                    
   4825c:	6600 0140      	bnew 4839e <unmount+0x176>                  
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
   48260:	246e fffc      	moveal %fp@(-4),%a2                         
   48264:	206e fff8      	moveal %fp@(-8),%a0                         
  fs_mount_loc = &mt_entry->mt_point_node;                            
  fs_root_loc  = &mt_entry->mt_fs_root;                               
   48268:	202e ffec      	movel %fp@(-20),%d0                         
   4826c:	b0aa 001c      	cmpl %a2@(28),%d0                           
   48270:	6724           	beqs 48296 <unmount+0x6e>                   
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
   48272:	4a88           	tstl %a0                                    
   48274:	670e           	beqs 48284 <unmount+0x5c>                   <== NEVER TAKEN
   48276:	2068 001c      	moveal %a0@(28),%a0                         
   4827a:	4a88           	tstl %a0                                    
   4827c:	6706           	beqs 48284 <unmount+0x5c>                   <== NEVER TAKEN
   4827e:	2f02           	movel %d2,%sp@-                             
   48280:	4e90           	jsr %a0@                                    
   48282:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EACCES );                   
   48284:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         
   4828a:	740d           	moveq #13,%d2                               
   4828c:	72ff           	moveq #-1,%d1                               
   4828e:	2040           	moveal %d0,%a0                              
   48290:	2082           	movel %d2,%a0@                              
   48292:	6000 010c      	braw 483a0 <unmount+0x178>                  
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   48296:	4a88           	tstl %a0                                    
   48298:	670e           	beqs 482a8 <unmount+0x80>                   <== NEVER TAKEN
   4829a:	2068 001c      	moveal %a0@(28),%a0                         
   4829e:	4a88           	tstl %a0                                    
   482a0:	6706           	beqs 482a8 <unmount+0x80>                   <== NEVER TAKEN
   482a2:	2f02           	movel %d2,%sp@-                             
   482a4:	4e90           	jsr %a0@                                    
   482a6:	588f           	addql #4,%sp                                
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
  fs_mount_loc = &mt_entry->mt_point_node;                            
   482a8:	206a 0014      	moveal %a2@(20),%a0                         
   482ac:	4aa8 0028      	tstl %a0@(40)                               
   482b0:	670a           	beqs 482bc <unmount+0x94>                   <== NEVER TAKEN
  fs_root_loc  = &mt_entry->mt_fs_root;                               
   482b2:	206a 0028      	moveal %a2@(40),%a0                         
   482b6:	4aa8 002c      	tstl %a0@(44)                               
   482ba:	6614           	bnes 482d0 <unmount+0xa8>                   <== ALWAYS TAKEN
                                                                      
  if ( !fs_mount_loc->ops->unmount_h )                                
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  if ( !fs_root_loc->ops->fsunmount_me_h )                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   482bc:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         
   482c2:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   482c4:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   482c6:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   482cc:	6000 00d2      	braw 483a0 <unmount+0x178>                  <== NOT EXECUTED
   *        that made the current node thread based instead           
   *        of system based?  I thought it was but it doesn't         
   *        look like it in this version.                             
   */                                                                 
                                                                      
  if ( rtems_filesystem_current.mt_entry == mt_entry )                
   482d0:	2079 0006 2a1c 	moveal 62a1c <rtems_current_user_env>,%a0   
   482d6:	b5e8 0014      	cmpal %a0@(20),%a2                          
   482da:	6724           	beqs 48300 <unmount+0xd8>                   
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
   482dc:	2f2a 002c      	movel %a2@(44),%sp@-                        
   482e0:	487a ff2e      	pea %pc@(48210 <is_fs_below_mount_point>)   
   482e4:	4eb9 0004 5724 	jsr 45724 <rtems_filesystem_mount_iterate>  
   482ea:	508f           	addql #8,%sp                                
   482ec:	4a00           	tstb %d0                                    
   482ee:	6610           	bnes 48300 <unmount+0xd8>                   
   *  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 )             
   482f0:	2f0a           	movel %a2,%sp@-                             
   482f2:	4eb9 0004 4ee8 	jsr 44ee8 <rtems_libio_is_open_files_in_fs> 
   482f8:	588f           	addql #4,%sp                                
   482fa:	7201           	moveq #1,%d1                                
   482fc:	b280           	cmpl %d0,%d1                                
   482fe:	6612           	bnes 48312 <unmount+0xea>                   
    rtems_set_errno_and_return_minus_one( EBUSY );                    
   48300:	4eb9 0005 10e4 	jsr 510e4 <__errno>                         
   48306:	72ff           	moveq #-1,%d1                               
   48308:	2040           	moveal %d0,%a0                              
   4830a:	7010           	moveq #16,%d0                               
   4830c:	2080           	movel %d0,%a0@                              
   4830e:	6000 0090      	braw 483a0 <unmount+0x178>                  
   * 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 )             
   48312:	206a 0014      	moveal %a2@(20),%a0                         
   48316:	2f0a           	movel %a2,%sp@-                             
   48318:	2068 0028      	moveal %a0@(40),%a0                         
   4831c:	4e90           	jsr %a0@                                    
   4831e:	588f           	addql #4,%sp                                
   48320:	4a80           	tstl %d0                                    
   48322:	667a           	bnes 4839e <unmount+0x176>                  <== 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){          
   48324:	206a 0028      	moveal %a2@(40),%a0                         
   48328:	2f0a           	movel %a2,%sp@-                             
   4832a:	2068 002c      	moveal %a0@(44),%a0                         
   4832e:	4e90           	jsr %a0@                                    
   48330:	588f           	addql #4,%sp                                
   48332:	4a80           	tstl %d0                                    
   48334:	671a           	beqs 48350 <unmount+0x128>                  <== ALWAYS TAKEN
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
   48336:	206a 0014      	moveal %a2@(20),%a0                         
   4833a:	2f0a           	movel %a2,%sp@-                             
   4833c:	2068 0020      	moveal %a0@(32),%a0                         
   48340:	4e90           	jsr %a0@                                    
   48342:	588f           	addql #4,%sp                                <== NOT EXECUTED
   48344:	4a80           	tstl %d0                                    <== NOT EXECUTED
   48346:	6756           	beqs 4839e <unmount+0x176>                  <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
   48348:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4834a:	4eb9 0004 94b8 	jsr 494b8 <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 );
   48350:	42a7           	clrl %sp@-                                  
   48352:	42a7           	clrl %sp@-                                  
   48354:	2f39 0006 48fc 	movel 648fc <rtems_libio_semaphore>,%sp@-   
   4835a:	4eb9 0004 8e78 	jsr 48e78 <rtems_semaphore_obtain>          
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   48360:	2f0a           	movel %a2,%sp@-                             
   48362:	4eb9 0004 9804 	jsr 49804 <_Chain_Extract>                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   48368:	2f39 0006 48fc 	movel 648fc <rtems_libio_semaphore>,%sp@-   
   4836e:	4eb9 0004 8f7c 	jsr 48f7c <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 );                          
   48374:	206a 0014      	moveal %a2@(20),%a0                         
   48378:	4fef 0014      	lea %sp@(20),%sp                            
   4837c:	4a88           	tstl %a0                                    
   4837e:	6710           	beqs 48390 <unmount+0x168>                  <== NEVER TAKEN
   48380:	2068 001c      	moveal %a0@(28),%a0                         
   48384:	4a88           	tstl %a0                                    
   48386:	6708           	beqs 48390 <unmount+0x168>                  <== NEVER TAKEN
   48388:	486a 0008      	pea %a2@(8)                                 
   4838c:	4e90           	jsr %a0@                                    
   4838e:	588f           	addql #4,%sp                                
  free( mt_entry );                                                   
   48390:	2f0a           	movel %a2,%sp@-                             
   48392:	4eb9 0004 4c94 	jsr 44c94 <free>                            
                                                                      
  return 0;                                                           
   48398:	588f           	addql #4,%sp                                
   *  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 );                          
  free( mt_entry );                                                   
   4839a:	4281           	clrl %d1                                    
                                                                      
  return 0;                                                           
   4839c:	6002           	bras 483a0 <unmount+0x178>                  
   4839e:	72ff           	moveq #-1,%d1                               
}                                                                     
   483a0:	242e ffe4      	movel %fp@(-28),%d2                         
   483a4:	2001           	movel %d1,%d0                               
   483a6:	246e ffe8      	moveal %fp@(-24),%a2                        
   483aa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000461cc <utime>: int utime( const char *path, const struct utimbuf *times ) {
   461cc:	4e56 ffe0      	linkw %fp,#-32                              
   461d0:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   461d4:	262e 0008      	movel %fp@(8),%d3                           
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
   461d8:	240e           	movel %fp,%d2                               
   461da:	0682 ffff ffec 	addil #-20,%d2                              
   461e0:	2f03           	movel %d3,%sp@-                             
                                                                      
int utime(                                                            
  const char           *path,                                         
  const struct utimbuf *times                                         
)                                                                     
{                                                                     
   461e2:	246e 000c      	moveal %fp@(12),%a2                         
  rtems_filesystem_location_info_t   temp_loc;                        
  int                                result;                          
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x00, &temp_loc, true ) )
   461e6:	4eb9 0005 1250 	jsr 51250 <strlen>                          
   461ec:	7201           	moveq #1,%d1                                
   461ee:	2e81           	movel %d1,%sp@                              
   461f0:	2f02           	movel %d2,%sp@-                             
   461f2:	42a7           	clrl %sp@-                                  
   461f4:	2f00           	movel %d0,%sp@-                             
   461f6:	2f03           	movel %d3,%sp@-                             
   461f8:	4eb9 0004 30ac 	jsr 430ac <rtems_filesystem_evaluate_path>  
   461fe:	4fef 0014      	lea %sp@(20),%sp                            
   46202:	4a80           	tstl %d0                                    
   46204:	6704           	beqs 4620a <utime+0x3e>                     
   46206:	76ff           	moveq #-1,%d3                               
   46208:	6052           	bras 4625c <utime+0x90>                     
    return -1;                                                        
                                                                      
  if ( !temp_loc.ops->utime_h ){                                      
   4620a:	226e fff8      	moveal %fp@(-8),%a1                         
   4620e:	2069 0030      	moveal %a1@(48),%a0                         
   46212:	4a88           	tstl %a0                                    
   46214:	6620           	bnes 46236 <utime+0x6a>                     <== ALWAYS TAKEN
    rtems_filesystem_freenode( &temp_loc );                           
   46216:	2069 001c      	moveal %a1@(28),%a0                         
   4621a:	4a88           	tstl %a0                                    
   4621c:	6706           	beqs 46224 <utime+0x58>                     
   4621e:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   46220:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   46222:	588f           	addql #4,%sp                                <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   46224:	4eb9 0004 f16c 	jsr 4f16c <__errno>                         <== NOT EXECUTED
   4622a:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4622c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4622e:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   46234:	6026           	bras 4625c <utime+0x90>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
   46236:	2f2a 0004      	movel %a2@(4),%sp@-                         
   4623a:	2f12           	movel %a2@,%sp@-                            
   4623c:	2f02           	movel %d2,%sp@-                             
   4623e:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   46240:	206e fff8      	moveal %fp@(-8),%a0                         
  if ( !temp_loc.ops->utime_h ){                                      
    rtems_filesystem_freenode( &temp_loc );                           
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = (*temp_loc.ops->utime_h)( &temp_loc, times->actime, times->modtime );
   46244:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   46246:	4fef 000c      	lea %sp@(12),%sp                            
   4624a:	4a88           	tstl %a0                                    
   4624c:	670e           	beqs 4625c <utime+0x90>                     <== NEVER TAKEN
   4624e:	2068 001c      	moveal %a0@(28),%a0                         
   46252:	4a88           	tstl %a0                                    
   46254:	6706           	beqs 4625c <utime+0x90>                     <== NEVER TAKEN
   46256:	2f02           	movel %d2,%sp@-                             
   46258:	4e90           	jsr %a0@                                    
   4625a:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   4625c:	2003           	movel %d3,%d0                               
   4625e:	4cee 040c ffe0 	moveml %fp@(-32),%d2-%d3/%a2                
   46264:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044f44 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
   44f44:	4e56 ffc4      	linkw %fp,#-60                              
   44f48:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   44f4c:	246e 0008      	moveal %fp@(8),%a2                          
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   44f50:	4bee ffec      	lea %fp@(-20),%a5                           
                                                                      
  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)])]); 
   44f54:	2a3c 0005 c425 	movel #377893,%d5                           
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
   44f5a:	266e 000c      	moveal %fp@(12),%a3                         
  for (; *fmt != '\0'; fmt++) {                                       
   44f5e:	6000 0218      	braw 45178 <vprintk+0x234>                  
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
   44f62:	49c0           	extbl %d0                                   
   44f64:	7225           	moveq #37,%d1                               
   44f66:	b280           	cmpl %d0,%d1                                
   44f68:	6706           	beqs 44f70 <vprintk+0x2c>                   
      BSP_output_char(*fmt);                                          
   44f6a:	2f00           	movel %d0,%sp@-                             
   44f6c:	6000 0150      	braw 450be <vprintk+0x17a>                  
      continue;                                                       
    }                                                                 
    fmt++;                                                            
   44f70:	528a           	addql #1,%a2                                
    if (*fmt == '0' ) {                                               
   44f72:	7630           	moveq #48,%d3                               
   44f74:	1012           	moveb %a2@,%d0                              
   44f76:	49c0           	extbl %d0                                   
   44f78:	b680           	cmpl %d0,%d3                                
   44f7a:	6704           	beqs 44f80 <vprintk+0x3c>                   
   44f7c:	7e20           	moveq #32,%d7                               
   44f7e:	6004           	bras 44f84 <vprintk+0x40>                   
      lead = '0';                                                     
      fmt++;                                                          
   44f80:	528a           	addql #1,%a2                                
   44f82:	7e30           	moveq #48,%d7                               
    }                                                                 
    if (*fmt == '-' ) {                                               
   44f84:	782d           	moveq #45,%d4                               
   44f86:	1012           	moveb %a2@,%d0                              
   44f88:	49c0           	extbl %d0                                   
   44f8a:	b880           	cmpl %d0,%d4                                
   44f8c:	6704           	beqs 44f92 <vprintk+0x4e>                   
   44f8e:	4206           	clrb %d6                                    
   44f90:	6004           	bras 44f96 <vprintk+0x52>                   
      minus = true;                                                   
      fmt++;                                                          
   44f92:	528a           	addql #1,%a2                                
   44f94:	7c01           	moveq #1,%d6                                
   44f96:	4282           	clrl %d2                                    
   44f98:	6008           	bras 44fa2 <vprintk+0x5e>                   
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
   44f9a:	528a           	addql #1,%a2                                
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
   44f9c:	41f0 08d0      	lea %a0@(ffffffd0,%d0:l),%a0                
   44fa0:	2408           	movel %a0,%d2                               
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
   44fa2:	2002           	movel %d2,%d0                               
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   44fa4:	7809           	moveq #9,%d4                                
   44fa6:	1212           	moveb %a2@,%d1                              
      width *= 10;                                                    
   44fa8:	e788           	lsll #3,%d0                                 
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   44faa:	2601           	movel %d1,%d3                               
      width *= 10;                                                    
   44fac:	2040           	moveal %d0,%a0                              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   44fae:	0683 ffff ffd0 	addil #-48,%d3                              
   44fb4:	1001           	moveb %d1,%d0                               
   44fb6:	0283 0000 00ff 	andil #255,%d3                              
      width *= 10;                                                    
   44fbc:	41f0 2a00      	lea %a0@(00000000,%d2:l:2),%a0              
   44fc0:	49c0           	extbl %d0                                   
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   44fc2:	b883           	cmpl %d3,%d4                                
   44fc4:	64d4           	bccs 44f9a <vprintk+0x56>                   
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
   44fc6:	766c           	moveq #108,%d3                              
   44fc8:	b680           	cmpl %d0,%d3                                
   44fca:	6604           	bnes 44fd0 <vprintk+0x8c>                   
      lflag = true;                                                   
      c = *++fmt;                                                     
   44fcc:	528a           	addql #1,%a2                                
   44fce:	1212           	moveb %a2@,%d1                              
    }                                                                 
    if ( c == 'c' ) {                                                 
   44fd0:	7663           	moveq #99,%d3                               
   44fd2:	1001           	moveb %d1,%d0                               
   44fd4:	49c0           	extbl %d0                                   
   44fd6:	b680           	cmpl %d0,%d3                                
   44fd8:	660c           	bnes 44fe6 <vprintk+0xa2>                   
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
   44fda:	2013           	movel %a3@,%d0                              
   44fdc:	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);                              
   44fde:	588b           	addql #4,%a3                                
      BSP_output_char(chr);                                           
   44fe0:	2f00           	movel %d0,%sp@-                             
   44fe2:	6000 00da      	braw 450be <vprintk+0x17a>                  
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
   44fe6:	7673           	moveq #115,%d3                              
   44fe8:	b680           	cmpl %d0,%d3                                
   44fea:	6676           	bnes 45062 <vprintk+0x11e>                  
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
   44fec:	2853           	moveal %a3@,%a4                             
   44fee:	588b           	addql #4,%a3                                
                                                                      
      if ( str == NULL ) {                                            
   44ff0:	4a8c           	tstl %a4                                    
   44ff2:	6606           	bnes 44ffa <vprintk+0xb6>                   
   44ff4:	49f9 0005 c424 	lea 5c424 <rtems_filesystem_default_pathconf+0x40>,%a4
   44ffa:	4283           	clrl %d3                                    
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
   44ffc:	6002           	bras 45000 <vprintk+0xbc>                   
   44ffe:	5283           	addql #1,%d3                                
   45000:	4a34 3800      	tstb %a4@(00000000,%d3:l)                   
   45004:	66f8           	bnes 44ffe <vprintk+0xba>                   
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
   45006:	4a06           	tstb %d6                                    
   45008:	6618           	bnes 45022 <vprintk+0xde>                   
   4500a:	2803           	movel %d3,%d4                               
   4500c:	6010           	bras 4501e <vprintk+0xda>                   
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
   4500e:	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++ )                                 
   45012:	5284           	addql #1,%d4                                <== NOT EXECUTED
          BSP_output_char(' ');                                       
   45014:	2079 0005 d7ac 	moveal 5d7ac <BSP_output_char>,%a0          <== NOT EXECUTED
   4501a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
   4501c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4501e:	b484           	cmpl %d4,%d2                                
   45020:	62ec           	bhis 4500e <vprintk+0xca>                   <== NEVER TAKEN
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
   45022:	4a82           	tstl %d2                                    
   45024:	6602           	bnes 45028 <vprintk+0xe4>                   
   45026:	2403           	movel %d3,%d2                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   45028:	4a82           	tstl %d2                                    
   4502a:	6716           	beqs 45042 <vprintk+0xfe>                   
   4502c:	600e           	bras 4503c <vprintk+0xf8>                   
        BSP_output_char(*str);                                        
   4502e:	49c0           	extbl %d0                                   
   45030:	2079 0005 d7ac 	moveal 5d7ac <BSP_output_char>,%a0          
   45036:	2f00           	movel %d0,%sp@-                             
   45038:	4e90           	jsr %a0@                                    
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   4503a:	588f           	addql #4,%sp                                
   4503c:	1014           	moveb %a4@,%d0                              
   4503e:	528c           	addql #1,%a4                                
   45040:	66ec           	bnes 4502e <vprintk+0xea>                   
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
   45042:	4a06           	tstb %d6                                    
   45044:	6700 0130      	beqw 45176 <vprintk+0x232>                  
   45048:	6010           	bras 4505a <vprintk+0x116>                  
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
   4504a:	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++ )                                 
   4504e:	5283           	addql #1,%d3                                
          BSP_output_char(' ');                                       
   45050:	2079 0005 d7ac 	moveal 5d7ac <BSP_output_char>,%a0          
   45056:	4e90           	jsr %a0@                                    
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
   45058:	588f           	addql #4,%sp                                
   4505a:	b483           	cmpl %d3,%d2                                
   4505c:	62ec           	bhis 4504a <vprintk+0x106>                  
   4505e:	6000 0116      	braw 45176 <vprintk+0x232>                  
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
   45062:	766f           	moveq #111,%d3                              
   45064:	b680           	cmpl %d0,%d3                                
   45066:	6764           	beqs 450cc <vprintk+0x188>                  <== NEVER TAKEN
   45068:	163c 004f      	moveb #79,%d3                               
   4506c:	b680           	cmpl %d0,%d3                                
   4506e:	675c           	beqs 450cc <vprintk+0x188>                  <== NEVER TAKEN
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
   45070:	163c 0069      	moveb #105,%d3                              
   45074:	b680           	cmpl %d0,%d3                                
   45076:	6758           	beqs 450d0 <vprintk+0x18c>                  <== NEVER TAKEN
   45078:	163c 0049      	moveb #73,%d3                               
   4507c:	b680           	cmpl %d0,%d3                                
   4507e:	6750           	beqs 450d0 <vprintk+0x18c>                  <== NEVER TAKEN
   45080:	163c 0064      	moveb #100,%d3                              
   45084:	b680           	cmpl %d0,%d3                                
   45086:	6748           	beqs 450d0 <vprintk+0x18c>                  
   45088:	163c 0044      	moveb #68,%d3                               
   4508c:	b680           	cmpl %d0,%d3                                
   4508e:	6740           	beqs 450d0 <vprintk+0x18c>                  <== NEVER TAKEN
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
   45090:	163c 0075      	moveb #117,%d3                              
   45094:	b680           	cmpl %d0,%d3                                
   45096:	673e           	beqs 450d6 <vprintk+0x192>                  
   45098:	163c 0055      	moveb #85,%d3                               
   4509c:	b680           	cmpl %d0,%d3                                
   4509e:	6736           	beqs 450d6 <vprintk+0x192>                  <== NEVER TAKEN
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
   450a0:	49c1           	extbl %d1                                   
   450a2:	7078           	moveq #120,%d0                              
   450a4:	b081           	cmpl %d1,%d0                                
   450a6:	6732           	beqs 450da <vprintk+0x196>                  
   450a8:	163c 0058      	moveb #88,%d3                               
   450ac:	b681           	cmpl %d1,%d3                                
   450ae:	672a           	beqs 450da <vprintk+0x196>                  <== NEVER TAKEN
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
   450b0:	7870           	moveq #112,%d4                              
   450b2:	b881           	cmpl %d1,%d4                                
   450b4:	6606           	bnes 450bc <vprintk+0x178>                  
   450b6:	163c 0010      	moveb #16,%d3                               
   450ba:	6020           	bras 450dc <vprintk+0x198>                  
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
   450bc:	2f01           	movel %d1,%sp@-                             
   450be:	2079 0005 d7ac 	moveal 5d7ac <BSP_output_char>,%a0          
   450c4:	4e90           	jsr %a0@                                    
      continue;                                                       
   450c6:	588f           	addql #4,%sp                                
   450c8:	6000 00ac      	braw 45176 <vprintk+0x232>                  
   450cc:	7608           	moveq #8,%d3                                <== NOT EXECUTED
   450ce:	600c           	bras 450dc <vprintk+0x198>                  <== NOT EXECUTED
   450d0:	760a           	moveq #10,%d3                               
   450d2:	7201           	moveq #1,%d1                                
   450d4:	6008           	bras 450de <vprintk+0x19a>                  
   450d6:	760a           	moveq #10,%d3                               
   450d8:	6002           	bras 450dc <vprintk+0x198>                  
   450da:	7610           	moveq #16,%d3                               
   450dc:	4201           	clrb %d1                                    
   450de:	200b           	movel %a3,%d0                               
   450e0:	5880           	addql #4,%d0                                
    }                                                                 
                                                                      
    printNum(                                                         
   450e2:	1c07           	moveb %d7,%d6                               
   450e4:	2813           	movel %a3@,%d4                              
   450e6:	49c6           	extbl %d6                                   
   450e8:	2640           	moveal %d0,%a3                              
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
   450ea:	4a01           	tstb %d1                                    
   450ec:	671e           	beqs 4510c <vprintk+0x1c8>                  
   450ee:	4a84           	tstl %d4                                    
   450f0:	6c1a           	bges 4510c <vprintk+0x1c8>                  <== ALWAYS TAKEN
    BSP_output_char('-');                                             
   450f2:	4878 002d      	pea 2d <OPER2+0x19>                         <== NOT EXECUTED
   450f6:	2079 0005 d7ac 	moveal 5d7ac <BSP_output_char>,%a0          <== NOT EXECUTED
   450fc:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
   450fe:	588f           	addql #4,%sp                                <== NOT EXECUTED
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
   45100:	2004           	movel %d4,%d0                               <== NOT EXECUTED
   45102:	4480           	negl %d0                                    <== NOT EXECUTED
    if (maxwidth) maxwidth--;                                         
   45104:	4a82           	tstl %d2                                    <== NOT EXECUTED
   45106:	6706           	beqs 4510e <vprintk+0x1ca>                  <== NOT EXECUTED
   45108:	5382           	subql #1,%d2                                <== NOT EXECUTED
   4510a:	6002           	bras 4510e <vprintk+0x1ca>                  <== NOT EXECUTED
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
   4510c:	2004           	movel %d4,%d0                               
   4510e:	99cc           	subal %a4,%a4                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45110:	3243           	moveaw %d3,%a1                              
   45112:	600e           	bras 45122 <vprintk+0x1de>                  
   45114:	9088           	subl %a0,%d0                                
   45116:	2040           	moveal %d0,%a0                              
   45118:	2001           	movel %d1,%d0                               
   4511a:	3e08           	movew %a0,%d7                               
   4511c:	1b87 c800      	moveb %d7,%a5@(00000000,%a4:l)              
   45120:	2844           	moveal %d4,%a4                              
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45122:	2200           	movel %d0,%d1                               
   45124:	280c           	movel %a4,%d4                               
   45126:	5284           	addql #1,%d4                                
   45128:	4c43 1001      	remul %d3,%d1,%d1                           
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   4512c:	3e09           	movew %a1,%d7                               
   4512e:	cfc1           	mulsw %d1,%d7                               
   45130:	3047           	moveaw %d7,%a0                              
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45132:	4a81           	tstl %d1                                    
   45134:	66de           	bnes 45114 <vprintk+0x1d0>                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
   45136:	1d80 c8ec      	moveb %d0,%fp@(ffffffec,%a4:l)              
   4513a:	600e           	bras 4514a <vprintk+0x206>                  
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
   4513c:	2f06           	movel %d6,%sp@-                             
   4513e:	2079 0005 d7ac 	moveal 5d7ac <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-- )                                  
   45144:	5382           	subql #1,%d2                                
    BSP_output_char(lead);                                            
   45146:	4e90           	jsr %a0@                                    
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
   45148:	588f           	addql #4,%sp                                
   4514a:	b882           	cmpl %d2,%d4                                
   4514c:	65ee           	bcss 4513c <vprintk+0x1f8>                  
   4514e:	49f5 c800      	lea %a5@(00000000,%a4:l),%a4                
   45152:	4282           	clrl %d2                                    
   45154:	601c           	bras 45172 <vprintk+0x22e>                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
   45156:	2045           	moveal %d5,%a0                              
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   45158:	5282           	addql #1,%d2                                
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
   4515a:	1014           	moveb %a4@,%d0                              
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   4515c:	538c           	subql #1,%a4                                
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
   4515e:	49c0           	extbl %d0                                   
   45160:	1030 0800      	moveb %a0@(00000000,%d0:l),%d0              
   45164:	2079 0005 d7ac 	moveal 5d7ac <BSP_output_char>,%a0          
   4516a:	49c0           	extbl %d0                                   
   4516c:	2f00           	movel %d0,%sp@-                             
   4516e:	4e90           	jsr %a0@                                    
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   45170:	588f           	addql #4,%sp                                
   45172:	b882           	cmpl %d2,%d4                                
   45174:	62e0           	bhis 45156 <vprintk+0x212>                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45176:	528a           	addql #1,%a2                                
   45178:	1012           	moveb %a2@,%d0                              
   4517a:	6600 fde6      	bnew 44f62 <vprintk+0x1e>                   
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
   4517e:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   45184:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005b5ac <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
   5b5ac:	4e56 fff4      	linkw %fp,#-12                              
   5b5b0:	202e 000c      	movel %fp@(12),%d0                          
   5b5b4:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   5b5b8:	242e 0008      	movel %fp@(8),%d2                           
   5b5bc:	222e 0010      	movel %fp@(16),%d1                          
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   5b5c0:	b4b9 0005 d6b4 	cmpl 5d6b4 <rtems_libio_number_iops>,%d2    
   5b5c6:	6414           	bccs 5b5dc <write+0x30>                     <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   5b5c8:	2479 0005 eddc 	moveal 5eddc <rtems_libio_iops>,%a2         
   5b5ce:	ed8a           	lsll #6,%d2                                 
   5b5d0:	d5c2           	addal %d2,%a2                               
  rtems_libio_check_is_open( iop );                                   
   5b5d2:	242a 0014      	movel %a2@(20),%d2                          
   5b5d6:	0802 0008      	btst #8,%d2                                 
   5b5da:	6610           	bnes 5b5ec <write+0x40>                     <== ALWAYS TAKEN
   5b5dc:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b5e2:	7409           	moveq #9,%d2                                <== NOT EXECUTED
   5b5e4:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   5b5e6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b5e8:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   5b5ea:	605e           	bras 5b64a <write+0x9e>                     <== NOT EXECUTED
  rtems_libio_check_buffer( buffer );                                 
   5b5ec:	4a80           	tstl %d0                                    
   5b5ee:	6708           	beqs 5b5f8 <write+0x4c>                     <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
   5b5f0:	4a81           	tstl %d1                                    
   5b5f2:	6756           	beqs 5b64a <write+0x9e>                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   5b5f4:	44c2           	movew %d2,%ccr                              
   5b5f6:	6710           	beqs 5b608 <write+0x5c>                     <== ALWAYS TAKEN
   5b5f8:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b5fe:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   5b600:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b602:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   5b604:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
   5b606:	6042           	bras 5b64a <write+0x9e>                     <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
   5b608:	206a 003c      	moveal %a2@(60),%a0                         
   5b60c:	2068 000c      	moveal %a0@(12),%a0                         
   5b610:	4a88           	tstl %a0                                    
   5b612:	6612           	bnes 5b626 <write+0x7a>                     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   5b614:	4eb9 0004 e1a4 	jsr 4e1a4 <__errno>                         <== NOT EXECUTED
   5b61a:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   5b61c:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5b61e:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   5b624:	6024           	bras 5b64a <write+0x9e>                     <== NOT EXECUTED
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
   5b626:	2f01           	movel %d1,%sp@-                             
   5b628:	2f00           	movel %d0,%sp@-                             
   5b62a:	2f0a           	movel %a2,%sp@-                             
   5b62c:	4e90           	jsr %a0@                                    
                                                                      
  if ( rc > 0 )                                                       
   5b62e:	4fef 000c      	lea %sp@(12),%sp                            
   */                                                                 
                                                                      
  if ( !iop->handlers->write_h )                                      
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  rc = (*iop->handlers->write_h)( iop, buffer, count );               
   5b632:	2200           	movel %d0,%d1                               
                                                                      
  if ( rc > 0 )                                                       
   5b634:	6f14           	bles 5b64a <write+0x9e>                     <== NEVER TAKEN
    iop->offset += rc;                                                
   5b636:	2600           	movel %d0,%d3                               
   5b638:	5bc2           	smi %d2                                     
   5b63a:	49c2           	extbl %d2                                   
   5b63c:	d7aa 0010      	addl %d3,%a2@(16)                           
   5b640:	202a 000c      	movel %a2@(12),%d0                          
   5b644:	d182           	addxl %d2,%d0                               
   5b646:	2540 000c      	movel %d0,%a2@(12)                          
                                                                      
  return rc;                                                          
}                                                                     
   5b64a:	2001           	movel %d1,%d0                               
   5b64c:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5b652:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045fac <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
   45fac:	4e56 ffe4      	linkw %fp,#-28                              
   45fb0:	202e 0008      	movel %fp@(8),%d0                           
   45fb4:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   45fb8:	266e 000c      	moveal %fp@(12),%a3                         
   45fbc:	262e 0010      	movel %fp@(16),%d3                          
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
   45fc0:	b0b9 0005 f054 	cmpl 5f054 <rtems_libio_number_iops>,%d0    
   45fc6:	6414           	bccs 45fdc <writev+0x30>                    <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   45fc8:	2479 0006 0f4c 	moveal 60f4c <rtems_libio_iops>,%a2         
   45fce:	ed88           	lsll #6,%d0                                 
   45fd0:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open( iop );                                   
   45fd2:	202a 0014      	movel %a2@(20),%d0                          
   45fd6:	0800 0008      	btst #8,%d0                                 
   45fda:	6612           	bnes 45fee <writev+0x42>                    
   45fdc:	4eb9 0004 ee58 	jsr 4ee58 <__errno>                         
   45fe2:	74ff           	moveq #-1,%d2                               
   45fe4:	7209           	moveq #9,%d1                                
   45fe6:	2040           	moveal %d0,%a0                              
   45fe8:	2081           	movel %d1,%a0@                              
   45fea:	6000 00ce      	braw 460ba <writev+0x10e>                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   45fee:	44c0           	movew %d0,%ccr                              
   45ff0:	665c           	bnes 4604e <writev+0xa2>                    <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
   45ff2:	4a8b           	tstl %a3                                    
   45ff4:	6758           	beqs 4604e <writev+0xa2>                    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
   45ff6:	4a83           	tstl %d3                                    
   45ff8:	6f54           	bles 4604e <writev+0xa2>                    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   45ffa:	0c83 0000 0400 	cmpil #1024,%d3                             
   46000:	6e4c           	bgts 4604e <writev+0xa2>                    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !iop->handlers->write_h )                                      
   46002:	206a 003c      	moveal %a2@(60),%a0                         
   46006:	4aa8 000c      	tstl %a0@(12)                               
   4600a:	6614           	bnes 46020 <writev+0x74>                    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4600c:	4eb9 0004 ee58 	jsr 4ee58 <__errno>                         
   46012:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   46014:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   46016:	20bc 0000 0086 	movel #134,%a0@                             <== NOT EXECUTED
   4601c:	6000 009c      	braw 460ba <writev+0x10e>                   <== NOT EXECUTED
   46020:	204b           	moveal %a3,%a0                              
   46022:	4281           	clrl %d1                                    
   46024:	4280           	clrl %d0                                    
   46026:	7801           	moveq #1,%d4                                
   *  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++ ) {                    
   46028:	5281           	addql #1,%d1                                
                                                                      
    if ( !iov[v].iov_base )                                           
   4602a:	4a90           	tstl %a0@                                   
   4602c:	6720           	beqs 4604e <writev+0xa2>                    
      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 )                                             
   4602e:	2268 0004      	moveal %a0@(4),%a1                          
   46032:	4a89           	tstl %a1                                    
   46034:	57c2           	seq %d2                                     
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   46036:	43f1 0800      	lea %a1@(00000000,%d0:l),%a1                
   *  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++ ) {                    
   4603a:	5088           	addql #8,%a0                                
      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 )                                             
   4603c:	c484           	andl %d4,%d2                                
   4603e:	1802           	moveb %d2,%d4                               
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
   46040:	b089           	cmpl %a1,%d0                                
   46042:	6e0a           	bgts 4604e <writev+0xa2>                    
   *  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++ ) {                    
   46044:	2009           	movel %a1,%d0                               
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
   46046:	b3fc 0000 7fff 	cmpal #32767,%a1                            
   4604c:	6f10           	bles 4605e <writev+0xb2>                    <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4604e:	4eb9 0004 ee58 	jsr 4ee58 <__errno>                         
   46054:	74ff           	moveq #-1,%d2                               
   46056:	2040           	moveal %d0,%a0                              
   46058:	7016           	moveq #22,%d0                               
   4605a:	2080           	movel %d0,%a0@                              
   4605c:	605c           	bras 460ba <writev+0x10e>                   
   *  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++ ) {                    
   4605e:	b681           	cmpl %d1,%d3                                
   46060:	6ec6           	bgts 46028 <writev+0x7c>                    
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
   46062:	4a02           	tstb %d2                                    
   46064:	6704           	beqs 4606a <writev+0xbe>                    <== ALWAYS TAKEN
   46066:	4282           	clrl %d2                                    <== NOT EXECUTED
   46068:	6050           	bras 460ba <writev+0x10e>                   <== NOT EXECUTED
   4606a:	588b           	addql #4,%a3                                
   4606c:	4284           	clrl %d4                                    
   4606e:	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 )                                        
   46070:	2013           	movel %a3@,%d0                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   46072:	5284           	addql #1,%d4                                
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
   46074:	4a80           	tstl %d0                                    
   46076:	673c           	beqs 460b4 <writev+0x108>                   <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->handlers->write_h)( iop, iov[v].iov_base, iov[v].iov_len );
   46078:	206a 003c      	moveal %a2@(60),%a0                         
   4607c:	2f00           	movel %d0,%sp@-                             
   4607e:	2f2b fffc      	movel %a3@(-4),%sp@-                        
   46082:	2f0a           	movel %a2,%sp@-                             
   46084:	2068 000c      	moveal %a0@(12),%a0                         
   46088:	4e90           	jsr %a0@                                    
                                                                      
    if ( bytes < 0 )                                                  
   4608a:	4fef 000c      	lea %sp@(12),%sp                            
   4608e:	4a80           	tstl %d0                                    
   46090:	6c04           	bges 46096 <writev+0xea>                    <== ALWAYS TAKEN
   46092:	74ff           	moveq #-1,%d2                               <== NOT EXECUTED
   46094:	6024           	bras 460ba <writev+0x10e>                   <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
   46096:	4a80           	tstl %d0                                    
   46098:	6716           	beqs 460b0 <writev+0x104>                   <== NEVER TAKEN
      iop->offset += bytes;                                           
      total       += bytes;                                           
   4609a:	d480           	addl %d0,%d2                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
   4609c:	2c00           	movel %d0,%d6                               
   4609e:	5bc5           	smi %d5                                     
   460a0:	49c5           	extbl %d5                                   
   460a2:	ddaa 0010      	addl %d6,%a2@(16)                           
   460a6:	222a 000c      	movel %a2@(12),%d1                          
   460aa:	d385           	addxl %d5,%d1                               
   460ac:	2541 000c      	movel %d1,%a2@(12)                          
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
   460b0:	b093           	cmpl %a3@,%d0                               
   460b2:	6606           	bnes 460ba <writev+0x10e>                   <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   460b4:	508b           	addql #8,%a3                                
   460b6:	b684           	cmpl %d4,%d3                                
   460b8:	6eb6           	bgts 46070 <writev+0xc4>                    
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   460ba:	2002           	movel %d2,%d0                               
   460bc:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   460c2:	4e5e           	unlk %fp                                    
	...